User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 391,618 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,699 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser:
Views: 1707 | Replies: 0
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Tutorial Using same swf for different links

  #1  
Oct 16th, 2006
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
 on (release)
 {
     getURL(_root.linkValue.split("^").join("&"), "");
 }
 
thats over now whenever you make a link using flash button use this code in html file
 <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>  
note:
<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 3:41 pm.
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Graphics and Multimedia Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Graphics and Multimedia Forum

All times are GMT -4. The time now is 12:32 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC