Actionscript :: LoadMovieNum In Files Loaded Into An Air-based / Flex Application?

Aug 24, 2011

I am working with a very large number of legacy SWFs written in AS1 and AS2. These SWFs use loadMovieNum extensively.

I am trying to integrate these into a new Air-based app (written in either AS3 or Flex). However, loadMovieNum doesn't seem to work within the Air app.

For example, an AS2 SWF (file1.swf) may try to load another AS2 SWF using:

[Code]...

View 2 Replies


Similar Posts:


Actionscript 3 :: Reading Tiff Files In Adobe Flex Based Application

Jan 27, 2010

reading TIFF files at runtime in Flex/AS3 based applications?

View 2 Replies

Actionscript 3 :: Flex - Based Chat Application

Jan 21, 2011

I have been asked to develop a generic chat client which can be used as a widget(with fb,twitter) which works fine with all XMPP supported applications. I have decided to use flex along vit java. how the whole chat application works? Also which server to use?openfire or blaze DS?? what's the difference?

View 1 Replies

Flex :: Unit Testing Puremvc Based Application?

Jul 10, 2010

I have a flex application written using PureMVC framework.Now,I want to write tests.We are using FlashBuilder 4.Is FlexUnit sufficient for testing? Are there any issues you have faced while writing tests?

View 1 Replies

Multi Process Architecture For Flex AIR Based Application?

Nov 11, 2010

I developing an AIR application in Flex that would be dealing with playing different SWFs. I am finding some issues as these SWFs that I am playing are heavy. I find that the animation is not smooth and is causing the graph of CPU usage to go high (my be because single thread architecture of Flex). I am therefore planning to have a multi process architecture for my application. Something like Google Chrome. I have one main application as one process and other SWFs would be playing in separate process but should be seen inside the main application window. How to make it possible in Flex?

View 4 Replies

ActionScript 2.0 :: LoadMovieNum - Load In External Picture Files?

Apr 1, 2003

I am using loadmovienum to try and load picture files(.jpg) into my main movie. When loading it onto a certian "level" it works fine However, when using load movie in the past I have loaded separate .swf files into movie clip symbols on the main time line which greatly helps when trying to position the movies I am loading in.

I am trying to load in my pictures files in the same way (into movie clip symbol on the timeline) however it doesn't seem to be working. Is is possible to load in external picture files in this way?

View 1 Replies

ActionScript 2.0 :: Position A Swf After It Has Been Loaded Using LoadMovieNum?

Nov 12, 2002

How do I position an swf after it has been load using loadMovieNum???

View 1 Replies

Flex :: Flash - Using Sprite Objects In A MXML-based Application?

Oct 25, 2010

Canvas.addChild() insists any DisplayObject added implements IUIComponent. But I don't want my core graphics engine dependent on Flex. Is there an obvious/common way around this, to have simple graphical objects like Sprites & Shapes in a Flex application? The individual DisplayObject children I want to add as children represent objects in a game world, like a spaceship or a missile or a horse...

Not sure if Canvas is the most appropriate container, perhaps Group or another class is optimal for a game-engine... example MXML & AS3 code showing a skeleton setup is most welcome. I'm targeting Flex4 & Flash 10, but Flex3/Flash9 solutions are still of interest.

View 1 Replies

Flex :: Reduing The Layer Complexity Of A Cairngorm Based Application?

May 5, 2011

Could tools like SWFAddress be used in some clever ways to alleviate an existing client-server architecture. I see possibilities to even introduce REST-like pattern mapping or something like that.

What I am currently doing is following all the Cairngorm guidleines, which has already led to a bunch of commands which all make sense, but inclusing the business delegates, and all that stuff, I am getting into a hard time extending and refactoring the application Anyway, what I thought of was somehow reducing the number of application events flying around, and the number of commands responding to them. Actualy, I am quite OK even coupling the view with some logic, if I can get rd of some layer complexity.

What I mean by that: perhaps, I could bind a button click to a url pattern (or use SWFaddress to change the url globally). On the other end, I wll be waiting for changes of the url, reformat it, and pass it onto a service delegate, which has the necessary mappings in mind, so it knows what method to call, or it could even pass the url directly to an HTTPSErvice. The delegate will then deal with the server response, and update the model, which through the bindings will update the view.

I am not going to completely ditch commands. I thing that they are good for scheduling of the internal interactions (within the client itself), but I'd like to abstain from using them for communication with the server.

View 1 Replies

Professional :: Check If File Loaded Ok With LoadMovieNum?

Dec 9, 2010

is there a way to capture the Error loading message as a boolean when loading an external file (AS2)? I wanted to make a decision based on the success for loadMovieNum.
 
The scenario is that I have a file that I am loading with loadMovieNum and all is working successfully.
 
The circumstance I wish to cover is if the file is missing for any reason, I want to load a placeholder movie.
 
I have looked at onLoad and onClipEvent(load) but these appear to only be for movieclips and not external files.

View 5 Replies

ActionScript 2.0 :: Target Loaded Movies Other Than Through LoadMovieNum() Or Creating LocalConnection?

Dec 18, 2006

is there a way to target loaded movies other than through loadMovieNum() or creating localConnection?

View 1 Replies

Flex :: Performance - Printing From AIR/Flex Application Causes Large Files Being Sent To Printer?

Oct 25, 2010

I am working on an Adobe AIR (2.0) application that contains a feature to allow users to print documents (such as salary slips). Those documents are originally in PDF format. Due to circumstances we cannot directly display those PDFs in the AIR application (for example using flash.html.HTMLLoader). Therefore we convert the PDFs to SWFs (using the pdf2swf tool, see The SWFs are loaded into the application using a mx.controls.SWFLoader, like so:

<mx:SWFLoader
id="salarySlipImage"
loaderContext="{someLoaderContext}"

[code].....

View 2 Replies

Flex :: Jsp - Caching Of Swf Files In Application

Aug 21, 2009

I've created a Flex application and the size of the swf file is ~900KB. My trouble is that the files are not getting cached. When I launch the application for the second time, the swf file is fetched again from the server. I'm including the swf file in a jsp, and I'm not modifying any HTTP Caching Headers. I assumed that the swf files will be cached automatically. Isn't it so? How do I forcefully cache the file? Do I need to provide anything in the MXML code or just a response.setHeader("Cache-Control","max-age=100"); is enough? Can anything be done from the flex side itself?

View 2 Replies

Flex :: PenWithDefaultApplication Fails On Files In Application Folder

Oct 29, 2010

I'll ONLY recieve an "Error #3000: Illegal path name" if I try to open a file which is placed inside the app-folder of the air. If the file is somewhere else outside of the app-folder it works.

private var file:File = File.documentsDirectory;
public function download():void{
var pdfFilter:FileFilter = new FileFilter("PDF Files", "*.pdf");

[Code]....

When i try to get the same file and copy it to another place it's doing fine.

Why that? Something special to do if i wanna open files which are inside the appfolder? It also don't work in debug mode - bin-debug.

View 1 Replies

Flex :: Flash - Play SWF Files Inside Application?

Jan 5, 2011

Hey the think is, I need to play some swf file inside my flex 4 app, sometimes this swf file can be a Video, or just a object animated, I have a placeholder in my app which I want to play this swf file, how can I do this?

View 2 Replies

Flex :: AIR: Load Local Xml Files Outside The Application Folder?

Apr 22, 2011

I'm building an AIR application which will be used to edit slideshows for another app (also built by me, but not in AIR). The slideshows and other data are defined in several xml files which are in the other application's program folder. When trying to load these into my AIR app I get the following error:

fault(mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"

[code].....

View 1 Replies

Actionscript 3 :: What Files Are Required To Deploy A Flex Application Swf

Jan 27, 2012

I haven't written anything in Flex in a couple years and much has changed since. I used Flash Builder 4.6 to build my app now I want to deploy it to a ASP.NET application. What files other than the swf do I need to deploy to ensure everything works for my users? I see in the bin-debug folder of the project it spits out a bunch of swfs (framework, rpx, playerProductInstall, spark, etc) and the swfobject.js. Do I need all these files deployed to the same location as my swf?

View 1 Replies

ActionScript 3.0 :: Delete Temp Files With Refreshing Flex Application?

Apr 12, 2011

I am using many external swf file in my flex application,but when i use the files which are in same name its not getting refreshing properly, so i need to delete my temp file without refreshing the application.

View 0 Replies

Flex :: Build - Including Configuration Files While Compiling A Application With MXMLC

May 17, 2010

I'm using:

- Flex SDK 3.5.0
- Parsley 2.2.2.
- Flash Builder 4

Down in my src folder (which is configured as part of the source path in the Flash Builder), I have a logging.xml which I configure via Parsley:

[Code]....

View 1 Replies

Java :: Avoid Flex Application Store Temporary Internet Files?

Jan 12, 2012

I've programmed a Java application using BlazeDS and Flex, but i think the problem also occurs in any ajax style application. It's a monitoring application, so requests are made regularly to the server. The browser has stored a large amount of temporary internet files on the client pc even getting it saturated. How I can avoid this? I have seen some articles that say to include variables in the html header as:

[Code]...

View 1 Replies

Flex :: Application Interaction With Loaded Flash SWFs

Dec 14, 2009

I am creating a Flex application with a component that displays various dynamically loaded SWFs, one at a time (kind of like a kiosk). These loaded SWFs are created in Flash IDE, not Flex. They will not be created by us (we will provide a .fla template but that's it), so I am loading them into a separate SecurityDomain.

My Questions:

I want the application to be able to call methods inside the loaded SWF. To do this, would I just call Security.allowDomain("domain original app was loaded from") in the startup process for the loaded SWF? I want the loaded SWF to be able to throw events that are caught by the application. Can I accomplish this through the SWFLoader.swfBridge property? I am defining an interface for the methods inside the loaded SWF. But, I don't want to leave the implementation up to the customer. Instead, I want to provide another SWF that contains the interface implementation and have it be a constraint that the customer includes it in their SWF. I am not very familiar with the Flash authoring environment, how would it work so that the interface implementation SWF exposes its methods in such a way to be accessible to Flex? Is there a way to sign the SWF so that the Flex application knows that it is dealing with the original, not a spoof? How would the Flex code pass in arguments, since it is across SecurityDomain boundary -- is there marshalling involved (say if I want to pass in a Dictionary or some kind of object graph)? The Flex application may load hundreds of these smaller other SWFs during its lifetime. How do I make sure it doesn't keep using up more memory? I plan on using SWFLoader.unloadAndStop() and clearing all references in the Flex object that refers to it. Is this enough? Will the AppDomain for the loaded SWF be torn down automatically so that the class definitions are no longer in memory?

View 2 Replies

Flex :: Can A .swf Loaded With SWFLoader Propagate Events To The Parent Application

Aug 2, 2010

I am building a compartmentalized Flex application which uses <SWFLoader > to load additional Flex applications inside it. I am currently planning on using the LocalConnection class to have these two applications talk to each other, but I'm wondering if there's any kind of event driven way to have actions in the internal application propagate to the parent application, and/or any way for the parent application to trigger events in the internal application?

View 1 Replies

Flash :: Adding New Files To Application Storage Directory With AIR Application Installer

Feb 4, 2011

I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.

View 1 Replies

Flex :: Type Coercion Error When Casting An Object Loaded In A Different Application Domain

Apr 28, 2011

My application currently contains a number of Widgets that are managed by a Widget Manager. When the user clicks on a widget (e.g. a Helper widget), the Widget Manager loads the widget into a separate sibling application domain with the following line of code:

wgtInfo.load(null, null, null, moduleFactory); //wgtInfo = IModuleInfo

However, I am unable to use the widget's variables and functions later on. I attempt to find the Helper widget from the Widget Manager's list of widgets, and I do successfully. But when I try to caste the Helper Widget from type IBaseWidget (the interface all widgets share) to type HelperWidget, I receive the following error:

TypeError: Error #1034: Type Coercion failed.....

This is because the application domain of the class trying to use the Helper widget is different from the application domain of the Helper Widget. I tried to fix this by loading all widgets into the same application domain as the loader:

wgtInfo.load(ApplicationDomain.currentDomain, null, null, moduleFactory);

I now get the following error whenever I attempt to load the Helper widget:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

How can I load my Helper widget into a common application domain that is accessible by the other widgets?

View 3 Replies

Flex :: Alternatives To Create Swf Files (which Has External Content Loaded Into Them) Dynamically?

Jul 2, 2009

I'm about to start a project where there will be a Flash application where the visitor customizes a profile with externally loaded images and texts. Then the visitor needs to be able to download that profile as a dynamically created swf with all that external content baked into the swf.

View 2 Replies

Flex3 :: Put Ads On Based Application?

Jan 19, 2010

Can you please tell how can we place ADS (whether Google Adsense or others) on a website completely designed in FLEX?

View 2 Replies

ActionScript 2.0 :: Retaining Order Of Files Loaded Externally From Large XML Files

Jul 18, 2006

I was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:[code]Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded? I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles.

View 6 Replies

ActionScript 3.0 :: Socket And Server Based Application

Jul 18, 2011

I am wondering if it is better to write basic "chat" client based servers in java because then you can have multi threaded servers where clients can connect and chat or if you can do this in Actionscript- minus the multi threading because from what I know air and or AS3 do not support threading.

View 2 Replies

C++ :: Display Flash-based Webpages In A QT Application?

Dec 9, 2011

Im trying to show a flash animation in my QT application, I'm doing it by a QWebView. This is my code:

webpage = new QWebPage(this->window);
webpage->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
webpage->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);

[Code].....

So, Im able to show regular pages, but the pages that got a Flash animation doesnt appears. I receive a blank page and a symbol from adobe, like "Get flashplayer".
I already have it, those pages load ok in Firefox and Chrome. I have put the NPSWF32.dll e my project folder and in others standar paths, but it Didnt work. So I do not really know what to do now. Hope you guys can helpme, I couldnt find the plugin file in Firefox or Chrome folders, so I downloaded another NPSWF32 to put in the project folder, maybe is that?

View 2 Replies

Xml :: Transitions Between Different Menus In A Flash Based Kiosk Application

Aug 16, 2010

I want to know how to design a Flash CS4(AS3) based kiosk application where the screen changes according to the user events(to change the screens like this). Preferably use xml to describe the application.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved