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
Similar Posts:
Nov 17, 2009
I want to develop an AIR desktop application using CS4 and want to play flash games (SWF files) in it which have to be packaged along with the application...
View 0 Replies
Aug 29, 2011
I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.
View 1 Replies
Jan 8, 2011
I am trying to load a external flv video to my Flash application. I tried the code below first, but it doesn't work.[code]...
View 0 Replies
Sep 20, 2011
I have a transparent windows (skinnable). Inside, I'd like to preview some pdf file. BUT, in the only a black screen appear
View 3 Replies
Jul 5, 2010
I'm new at AS3. I'm pretty good when it comes to PHP, MySQL or HTML but I'm totally lost in AS.I have a project in Flash Builder 4 that I'm trying to add something to that was built in Flash Professional. It's supposed to loas a couple of external AS files, then execute functions from them at a certain point in the application. I know where I want the functions to execute in the application, and I have linked the AS files to "test.as" which is the main AS file for "testapp.mxml". The problem is calling the "Detector" function from inside "FaceDetector.as" which is one of the external AS files. What is the best way to do the following.[code]I want to start the script and let it do what it's supposed to do inside the application at that given time.
View 8 Replies
Feb 11, 2010
Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?
The scenario is as follows:
I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.
Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.
View 1 Replies
Sep 24, 2010
I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is undesirable for a live stream.
Another option is to utilize the motion JPEG. I have some generated code (shown below), but unfortunately only the first image is displayed when viewed via adobe air (if I were to view it in a HTML browser, the image would automatically update, effectively showing the stream:
<SCRIPT LANGUAGE="JavaScript">
function displayImage( )
{
// Set the BaseURL to the URL of your camera
[Code].....
View 1 Replies
Jan 19, 2010
I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.
View 1 Replies
Jul 15, 2010
Is a website with a banner
the banner is a symbol in the main movie called [B]screen[B]
the 3 external swf files are: mov01, mov02, mov03
i use the loader component but play 1 file only
i need play the 3 movies random in the "screen symbol" inside the main movie.
View 0 Replies
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
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
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
Nov 5, 2009
I have created a flex SWF file for my web page. I also have a AIR application.
Is it possible to use the install badge that is available for HTML pages inside my Flex web application?
View 3 Replies
Dec 10, 2009
Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?
View 2 Replies
Apr 26, 2010
EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made?
I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done the following:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication windowComplete="loadSwfApplication()" xmlns:mx="http://www.adobe.com/2006/mxml">
[Code].....
How can I load this swf application and USE the stage without any problems?
View 3 Replies
Jun 2, 2010
I create some elements( UIComponents, mainly Panels) inside the "mx:Application name=tst . I need to cleanup all those UIComponent's on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used var totalChildren:Number = this['tst'].numChildren ; but looks like it fails to access the children list).
View 1 Replies
Jan 28, 2011
How to include google search page inside of my flex web application without using iframe.
View 2 Replies
Jan 30, 2011
I have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?
View 1 Replies
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
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
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
Jan 24, 2012
what the best way to embed a youtube player inside a flex app is. I've looked around and it seems that one can
Try to use SWFLoader (as with what's described here) but this ends up throwing crossdomain violations Use the YouTuve API Ideally use the Spark VideoPlayer component, although I have not been able to figure out how to play a YouTube video through it and am starting to think that it is, in fact, not possible.
View 2 Replies
Jun 8, 2011
I have drop on a strange occurance - inserting a ButtonBar inside ListItemRenderer freeze the application. The bug is highly reproductive.ere is a bit of the code :
<s:VGroup id="buttonHolder" visible="false" gap="0" width="100%">
<s:ButtonBar id="buttonMenu" width="100%" height="18" minWidth="100" change="buttonMenuChangeHandler(event)">
[code].....
View 1 Replies
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
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
Mar 26, 2010
Is it possible to play these files in Adobe Flex or flash?
View 2 Replies
Jan 19, 2010
When using as3 and embed my swf via swf object JS, one of the parameters that being transferred to the embed JS function is "base=http://www.mydomain.com" which needed in order to load external widget into application.
Now, am also loading external assets like Styles.swf that placed locally on client side, and when I'm trying to load these assets I get error that they don't found in [URL]
For example: StyleManager.loadStyleDeclarations("Styles.swf");
Error: can't load [URL]
Is it possible somehow to load Styles.swf as local assets??? I've tried use
StyleManager.loadStyleDeclarations("../Styles.swf");
StyleManager.loadStyleDeclarations("./Styles.swf");
StyleManager.loadStyleDeclarations("/Styles.swf");
View 1 Replies
Jan 27, 2010
reading TIFF files at runtime in Flex/AS3 based applications?
View 2 Replies
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