[flexcoders] accessing flex functions from outside an app

2009-02-27 Thread el_koose
hi guys, 

i'm fairly new to flex but ok with my as3. have built an app with all
functionality enclosed but in the real life version part of the nav
will not be flex, perhaps HTML. What, if any, are the best ways to
trigger state changes and functions from outside a flex app? is this
possible?

i have looked around for answers but it seems to be a fuzzy thing to
search for. 

hope you can help,

el_koose



RE: [flexcoders] accessing flex functions from outside an app

2009-02-27 Thread Gregor Kiddie
Read up on ExternalInterface.

You can expose functions to the outside using it.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of el_koose
Sent: 27 February 2009 10:12
To: flexcoders@yahoogroups.com
Subject: [flexcoders] accessing flex functions from outside an app

 

hi guys, 

i'm fairly new to flex but ok with my as3. have built an app with all
functionality enclosed but in the real life version part of the nav
will not be flex, perhaps HTML. What, if any, are the best ways to
trigger state changes and functions from outside a flex app? is this
possible?

i have looked around for answers but it seems to be a fuzzy thing to
search for. 

hope you can help,

el_koose





Re: [flexcoders] accessing flex functions from outside an app

2009-02-27 Thread Ashish Verma
You can take advantage of following things

1. navigateToURL() - fro calling javascript function from Flex check browser
comptability
2. flash.netExternalInterface - with call () and callable () to call
function flex to javascript and vis versa
3. FA Bridge - Flez AJAX bridge : wraped ExternalInterface to provide
simplicity to call function from flex java JS and JS to flex.


Best,
Ashish

On Fri, Feb 27, 2009 at 3:42 PM, el_koose euroko...@yahoo.co.uk wrote:

   hi guys,

 i'm fairly new to flex but ok with my as3. have built an app with all
 functionality enclosed but in the real life version part of the nav
 will not be flex, perhaps HTML. What, if any, are the best ways to
 trigger state changes and functions from outside a flex app? is this
 possible?

 i have looked around for answers but it seems to be a fuzzy thing to
 search for.

 hope you can help,

 el_koose