| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
swf as link
how do i make a swf file as a link on an asp page?
|
|
#2
|
||||
|
||||
|
This has nothing to do with ASP so I'll move it to the multimedia forum.
When you create the swf file you need to embedd the URL in the file.
__________________
-
thought-after | my thoughts on web development Get Firefox, the developers browser Budget hosting - recommended [/left] |
|
#3
|
|||
|
|||
|
Quote:
<object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/...version=4,0,2,0" width="324" height="283"><param name=movie value="muvi1.swf"> <param name=quality value=high> <embed src="muvi1.swf" quality=high pluginspage="http://www.macromedia.com/shockwave...=ShockwaveFlash" type="application/x-shockwave-flash" width="324" height="283"> </embed> </object> this code is in my asp page. how do i make 'muvi1' as a picture link to another page? i tried adding the anchor tag before <object> but it didn't work |
|
#4
|
||||
|
||||
|
Like I said in my previous post, the link URL needs to be embedded in the swf file. This can only be done at design time of the swf file. So you need to open the original fla files and embed the url then resave as swf.
|
|
#5
|
|||
|
|||
|
how do i that??
Quote:
|
|
#6
|
||||
|
||||
|
Do you have access to FLASH software and the original .fla file for the .swf file you are working with?
|
|
#7
|
|||
|
|||
|
Quote:
yes |
|
#8
|
||||
|
||||
|
OK so open the fla file in FLASH. You now need to create a new layer that spans the whole timeline of the movie. On the new layer draw a rectangle to cover the whole movie, convert it to a button (F8) and then on the Effect pallette drop the alpha to 0%. This will create an invisible button layer over the whole movie. You can now set an action for the button layer to GetURL and specify the full URL. Save the project as an swf and all should be good.
|
|
#9
|
|||
|
|||
|
Quote:
all's good. thanks a lot |
|
#10
|
|||
|
|||
|
you could just put a shape over the top of the whole movie and then turn that into
a button by cliucking on it and then pressing f8 then selecting button then go into the button and put the first and only keyframe to the last space if this makes any sense |
|
#11
|
||||
|
||||
|
Isn't that what was advised? Where's the difference?
|
| Viewing: ASP Free Forums > Web Design > Multimedia > swf as link |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|