Use FlashVars

<object ... >

...

<param name='flashVars' value='empID=1234567890&url='www.anyUrl.com'/>

...

</object>
You can read it in your mxml/.as file as given below

var empID = *this*.parameters.empID

var myUrl = *this*.parameters.url

Hope this helps !!!
-Kaushal.
On Fri, Apr 9, 2010 at 9:22 AM, Shreyas <[email protected]> wrote:

> Flex India,
>
> I am extremely new to this technology and the use-case I have in my hand is
> looking like a monster. I hope I get some ideas and help here.
>
> I am trying to design a rating component on the player using the Open Video
> Player code. The UI is kept very simple; have a drop down of 1-3 and a rate
> button on the *player*.
>
> I am using FB 3 with some .html and .js. Here is where I am stuck:
>
> I want to be able to select a video from a drop down through a .html page
> and pass a value like "http://<host_name>/stream_name. to the .swf. I know
> I am being extremely generic with my question but
> what function do I write in my .mxml which can accept the arguments from
> the .html? I can send the code if someone is ready to help me.
> --
> Regards,
> Shreyas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to