Adobe Dreamweaver Forums



Last 10 THreads :         Re: Photoshop CS3 Keeps on Crashing at Random - Help! (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          bad luck (Last Post : Andrei1 - Replies : 1 - Views : 2 )           »          ActivMail (cf_mail) and Bare LF problem (Last Post : Fetch - Replies : 1 - Views : 2 )           »          Re: Lagging in CS3 Extended due to Antivirus permissions (Last Post : Lara_Shots@adobeforums.com - Replies : 0 - Views : 1 )           »          Cancel User Action (Last Post : Michael_L_Hale@adobeforums.com - Replies : 3 - Views : 4 )           »          Log email text (Last Post : Fetch - Replies : 3 - Views : 4 )           »          can't get rid of the space at the top of my page! (Last Post : djinn - Replies : 5 - Views : 6 )           »          delete all channels previously created by "save selection" (Last Post : Michael_L_Hale@adobeforums.com - Replies : 3 - Views : 4 )           »          Call out side flex (Last Post : run,ryan! - Replies : 14 - Views : 15 )           »          gotoAndPlay Looping Problem (Last Post : rachel_612 - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 10:54 PM
GarryBrother
 
Posts: n/a
Diggs:
Default Using ActionScript and FABridge to call JavaScript

Hi,

I understand how to use FABridge to register JavaScript functions as event
listeners on Flex
components. In my case, however, I want to programatically call a function
that I've passed
from JavaScript to my Flex app using ActionScript. Simply calling the function
from AS, e.g.,
my_js_function(), doesn't work and I suspect there's some vital FABridge proxy
magic I should
be using. All the FABridge examples I've seen cover the same ground: basic
bridge set-up,
changing Flex properties, registering JavaScript callbacks, etc. Can anyone
point me to an
example (or bridge documentation) showing how to program an ActionScript call
to a JavaScript
function through the bridge?

Thanks, Garry



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk