Search the Community
Showing results for tags 'swf click'.
-
Hi I'm trying to click on a swf object on a webpage. the HTML looks like this: <td style="text-align: center;"> <input name="fileInput" width="110" height="30" id="fileFloorplans" style="display: none;" type="file"> <object width="110" height="30" id="fileFloorplansUploader" data="uploadify/uploadify.swf" type="application/x-shockwave-flash" style="visibility: visible;"><param name="quality" value="high"><param name="wmode" value="opaque"> <param name="allowScriptAccess" value="sameDomain"> <param name="flashvars" value="uploadifyID=fileFloorplans&pagepath=/Site/Dea/Upload/&buttonText=Select%20files&script=Upload.ashx?HipRef=xx&DEA=xxx&width=110&height=30&wmode=opaque&method=POST&queueSizeLimit=20&simUploadLimit=1&fileDesc=Image Files&fileExt=*.jpg;*.png;*.gif;*.bmp;*.jpeg;*.doc;*.pdf;*.tiff;*.wmf;*.emf;*.vpf&multi=true&sizeLimit=104857600&fileDataName=Filedata"> </object> <div class="uploadifyQueue" id="fileFloorplansQueue"> </div><br> <a href="javascript:$('#fileFloorplans').uploadifyUpload();">Upload Files</a> | <a href="javascript:$('#fileFloorplans').uploadifyClearQueue();">Clear Queue</a> </td> I'm trying to click on the object that has the id "fileFloorplansUploader". I'm using: $oSelectButton=_IEGetObjById($oIE,"fileFloorplansUploader") If Not IsObj($oSelectButton) Then MsgBox(0,"$oSelectButton","Error not an object") EndIf _IEAction($oSelectButton,"click") Which does nothing. I've looked through the forums and online and it seems to me as if the above code should work. What am I missing. Thanks for your time in solving this one. - Steve