DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    164

    how send data to flash?

    hi,
    i have a page with a html/php and a flash movie in a table, now i want change the frame position by clicking outside of the flash movie in the links of html, i have tried to send get/variables to flash when the page load but the the flash appear with the line to click and then click again for acess the buttons inside the flash and i donīt want that i have see in a site some time ago this, the flash controlled by outside but i canīt remember where i see that

    any one can help?
    thanks a lot for your help

  2. #2
    Join Date
    Sep 2008
    Posts
    9
    You have to use JavaScript to send a message back to the flash application.
    Look into the ExternalInterface.addCallback() method in actionscript.

    sample:
    ExternalInterface.addCallback("setTitle", setTitle);

    Drew

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,651
    What browser are you using?

    ExternalInterface.addCallback() has some problems with FireFox.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  4. #4
    Join Date
    Mar 2008
    Posts
    164
    hi,
    i using ie6 and firefox 2.0
    i will test this ExternalInterface.addCallback() to see if affect what i want to do
    thanks

  5. #5
    Join Date
    Sep 2008
    Posts
    9
    I have 1 app that uses this frequently and its currenty working in IE6, FF2, and FF3.
    the one issue I ran into was ensuring the flash app was 100% loaded first.

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,651
    Quote Originally Posted by cgishack
    I have 1 app that uses this frequently and its currenty working in IE6, FF2, and FF3.
    Really!!??? You should let the FireFox people know....nearly everything I read indicated issues with that brower.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 3
    Last Post: 08-27-2006, 01:08 AM
  2. Send Raw data to printer using vb.net
    By estrella in forum .NET
    Replies: 0
    Last Post: 07-19-2002, 04:19 PM
  3. Send Data Information to a text, HTML, ASCII File
    By Luis Zapata in forum Database
    Replies: 1
    Last Post: 05-25-2000, 12:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links