Skip navigation
PlayMyTone
Currently Being Moderated

Passing parameters to an embedded swf

May 8, 2013 1:29 AM

Tags: #as3 #flex #swf #actionscript_3.0

Hi all,

 

I'm trying to embed a SWF animation that contains parameters (flashvars). I successfully used this animation in HTML and passed values to these parameters and now I want to embed it in a Flex project.

I managed to load and show the animation in several ways but I can't find how to pass it values for the parameters.

Anyone knows how to do this?

 

Thanks!

 
Replies
  • Currently Being Moderated
    May 8, 2013 8:50 PM   in reply to PlayMyTone

    I don’t know of any way to do that without modifying the SWF to accept some handshake from the loading application.  An embedded SWF is being loaded via loadBytes and there is no parameter/flashvar passing mechanism.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points