Advertisement

07.23.2008 at 01:17AM PDT, ID: 23587666 | Points: 500
[x]
Attachment Details

Import a SWF widget, with parameters, into flash.

Asked by phatsion in ActionScript, Macromedia Flash

Tags: , , ,

Hi all.
I am currently making a flash site for a band, and need to embed an external SWF widget into it..

((Widgets available here http://www.soundclick.com/bands/default.cfm?bandid=850463&content=widgets&style=player&id=2 ))

Its easy enough to embed it into HTML page, but idealy this site will endup a single SWF file, to make distribution onto the bands various pages (MYspace etc) easier.

I have attached the code given to embed the swf in html.

Some one told me it should be no probs to embed a swf with some sort of LoadMovie command, but he didnt have a qule about assigning flashvars to it.

Also. Asuming i can embed this flash widget no problems, will it then be possible to mute it and unmute it with a button in the main movie?

Any help here would ge greatly apreciated. I have hit a brick wall with thisn one, and cant finish this site.

Cheers.
SionStart Free Trial
1:
<embed src="http://www.soundclick.com/player/V2/mp3player200.swf" width="200" height="140" flashvars="bandid=850463&playType=band&ext=1&testMode=0&autoplay=1" name="MP3PlayerBasic" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />
[+][-]07.23.2008 at 12:40PM PDT, ID: 22073041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628