Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2010, 10:13 AM
informaticagm informaticagm is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Exclamation Exchange of information Delphi-Flash

Hello everybody,

I am developing an application in Delphi, that obtains external data in real-time. I need to pass this data to a flash movie, or in other words: to pass variables from Delphi to Flash.

I have tested the GetVariable, SetVariable methods, but its doesn┤t work (the variable value seems to change, but the flash application doesn┤t detect it); I also have tested the FlashVars method, but only works once (the first time I execute it).

I have read that the solution is in ExternalInterface of Flash but, ┐can anyone help me on how use it? ┐any other solutions?

Thanks a lot.
Reply With Quote
  #2  
Old 12-14-2010, 03:53 PM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default

See the demo code here:http://www.advertisesolutions.com/ed...Flash-Demo.zip
__________________
MrBaseball34

Hook 'em Horns
2005 College Football National Champions
2005 College Baseball National Champions
Reply With Quote
  #3  
Old 12-16-2010, 02:46 PM
informaticagm informaticagm is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Smile

Hi, thanks for your reply.

This example shows how to add a Flash animation to a Delphi form, but what I look for is how to send data from Delphi to Flash (and vice versa), and this example doesn┤t send any data from Delphi and neither to Delphi, but...thanks anyway!
Reply With Quote
  #4  
Old 12-16-2010, 05:00 PM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default

oops, Maybe I should have checked it out first.
I actually have something, this just wasn't it.
__________________
MrBaseball34

Hook 'em Horns
2005 College Football National Champions
2005 College Baseball National Champions
Reply With Quote
  #5  
Old 12-17-2010, 10:11 AM
informaticagm informaticagm is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Default

Well, don┤t worry. Anyway, if you find it I will appreciate if you post it!

Thank you.
Reply With Quote
  #6  
Old 12-27-2010, 07:14 PM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default

Ok, sorry it took so long. try this one.:
http://www.delphipages.com/comp/flashui-5844.html

It is a Delphi translation of an article I found. I will try to post lin to it later.
__________________
MrBaseball34

Hook 'em Horns
2005 College Football National Champions
2005 College Baseball National Champions
Reply With Quote
  #7  
Old 12-27-2010, 07:25 PM
MrBaseball34 MrBaseball34 is offline
Senior Member
 
Join Date: Jan 2001
Posts: 7,260
Default

Here's the article:
http://www.devx.com/dotnet/Article/21033/0
__________________
MrBaseball34

Hook 'em Horns
2005 College Football National Champions
2005 College Baseball National Champions
Reply With Quote
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.