If you need some data when html loads up, you can use FlashVars and
pass data to player.

If you want to invoke javascript from your app, you can use
ExternalInterface API

If you want send data to server, you can use URLLoader, HTTPService,
RemoteObject or other networking calls.


What I understand from your question is, you want an ability to switch
videos from html-select boxes. I believe, you can write a javascript
handler to handle change event of html-select-box. From withing change-
handler, you can call functions within your Flex app. You can expose
some actionscript functions to javascript using
ExternalInterface.addCallback (..).

This way, you can play different videos without reloading the entire
page/player.

-abdul



On Apr 10, 5:14 pm, HISSAM <[email protected]> wrote:
> Google on ExternalInterface
>
> http://www.igorcosta.com/flex3/doc/flash/external/ExternalInterface.html
> <http://www.igorcosta.com/flex3/doc/flash/external/ExternalInterface.html>http://www.google.co.in/search?hl=en&safe=off&q=flex+language+referen...
>
> On 9 April 2010 19:52, 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.
>
> --
> ----------------------------------
> Hissam,
> Flex Developer,
> INDIA
> (m) +919860694301
>
> If I CRY angels deserves to DIE
> --------------------------------

-- 
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