| | |
Using same swf for different links
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
well i saw a problem with many while using same swf file and use it as a link in webpage. It wold show the quality of showing the required title and go to the webpage.
Make a box i.e. your button and a dynamic text field with var value linkName.
Convert that box into a symbol('option: movie clip') and write this code
thats over now whenever you make a link using flash button use this code in html file
note:
<embed src="new.swf?linkName=Google&linkValue=http://www.google.com/"
you give few parameters to that swf link
vishesh
Make a box i.e. your button and a dynamic text field with var value linkName.
Convert that box into a symbol('option: movie clip') and write this code
Graphics and Multimedia Syntax (Toggle Plain Text)
on (release) { getURL(_root.linkValue.split("^").join("&"), ""); }
Graphics and Multimedia Syntax (Toggle Plain Text)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="157" height="26"> <param name="movie" value="../../Swf/BTN157x26BLANK.swf?linkName=View Website&linkValue=http://www.livingchildren.com/"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <embed src="new.swf?linkName=Google&linkValue=http://www.google.com/" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="157" height="26"></embed> </object>
<embed src="new.swf?linkName=Google&linkValue=http://www.google.com/"
you give few parameters to that swf link
vishesh
Last edited by vishesh; Oct 16th, 2006 at 4:41 pm.
![]() |
Similar Threads
- swf decompiler for mac? (OS X)
- Search links are being redirected. Please help!! (Viruses, Spyware and other Nasties)
- Takeout Links Section (DaniWeb Community Feedback)
- general links board? (DaniWeb Community Feedback)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: Flash buttons
- Next Thread: window.close() not working in flash MX???
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday






