[flexcoders] error whenr .swf file tries to access variable like this Application.application.variableName

2009-04-09 Thread Jigar Kapadia
I am loading a .swf file which is buit in FLEX 3 into an AIR project.

and that .swf file again loads another .swf file

I get error whenever .swf file tries to access variable like this 
Application.application.variableName

How can it be fixed.?


~ Jigar



  

[flexcoders] how to get parameter into .SWF file in AIR application...

2009-03-24 Thread Jigar Kapadia
Hello,

I am using a .SWF buit in FLEX 2 and have to use it in AIR application.

I need to pass a parameter to that .swf file.

I am using swfloader to load the .swf file and passing parameter like
swf..load(/assets/Sample.swf?ptID=+ Patient.ID);

As this .Swf file is built in another project.
How can .SWF file get parameter ptID into it in AIR application?


Thanks,
Jigar


  

[flexcoders] Error #2044: Unhandled NetStatusEvent

2009-03-04 Thread Jigar Kapadia
Hi,

I've got following error...

Error #2044: Unhandled NetStatusEvent:. level=error, 
code=NetStream.Play.StreamNotFound
 at views.recorder::VideoView/establishStream()
 at views.recorder::VideoView/showPtPhoto()
 at views.recorder::MediaCenterController/showPtPhoto()
 at DoctationsApplication/onPatientChosen()
 at DoctationsApplication/onPtFound()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at managers::DataManager/doResults()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()

I can see lots of blog post on different sites. but no luck.
Any Idea?

Thanks
J


  

[flexcoders] how to call javascript functions in AIR application?

2009-02-09 Thread Jigar Kapadia
He All,
 
I have Flex web application ready with me.
At many places, javascripts functions are being called.
 
Now, I have to convert it to AIR application.
How can I call javascrips functions in AIR application that I have already used 
in FLEX web application?
 
Can someone send me a sample test application?
 
 
Thanks 
Jimmy.