Flex :: Loader That Supports Many Apps?
Aug 29, 2010
I have created a simple SWF-loader in ActionScript 3.0. It loads an SWF from a server and then plays it. While downloading, it displays the "loading" screen.Its main defect is that it can load only one Flash application - the one which it is compiled for. Let's say it's named test1.swf.Is there any way to make the loader support more than one Flash app (for example test2.swf and test3.swf)? I mean by passing external parameters to it and not by creating another loader. Is using Javascript the only way to do it? I don't want my loader to require the Javascript support.
View 1 Replies
Similar Posts:
Nov 15, 2010
I load an SWF using a simple loader but it changes the main applications x/y position and size.Which loader do I use to load an swf that will maintain the position size of my app?
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, function handleInit(event:Event):void{
var UIDesigner:UIComponent = new UIComponent();
[code]......
View 3 Replies
Jan 11, 2010
I have a situation where I need my swf to load from a domain. Currently my flex set up always loads a SWF from file [URL]...
View 1 Replies
Jun 25, 2011
im completely lost on how to do a simple multiline label. The docs say that labels are best used as single lined elements, but that alludes to it being able to do multiline if necessary. Anyone have any clarification on the subject?
View 3 Replies
Aug 11, 2009
I have 2 flex apps on the same page. I want them to be able to call each other's public functions. I am thinking of using either externalInterface calls or FaBridge to do so.
View 2 Replies
Feb 26, 2010
I would like create a text area with code highlighting in flex. Is there an advanced textArea witch suports css for real. For example:
myHtmltext:String = '<span class="keyword"> #include </span>';
myTextArea:TextArea = new TextArea();
myTextArea.htmlText = myHtmltext;
View 1 Replies
Jul 10, 2010
building a desktop app that can compile java, c, c++ files and display the results using the flex app
View 3 Replies
Jan 6, 2011
I know there have been similar threads in the past but I can't seem to find a decent definitive answer / workaround for the problem I'm facing.What I'm trying to do: capture ALT+SHIFT+something keyboard events. Pretty straightforward, right?
Issue: When pressing ALT+SHIFT doesn't seem to ever shoot an event. The only combination that seems to work with ALT is CTRL+ALT +something, as pointed out here.
Question: I've read that the browser catches some of the keyboard events, but this happens with the basic flash player too - maybe that catches events too? Would love to know if there is a solution that doesn't involve messing with JS.
View 1 Replies
Feb 14, 2011
Is it possible to have an AIR application built in Flex run as process or receive intents? For example if I wanted to make a calendar and each time there was an event at a certain time, have the AIR up which isn't running in the foreground, pop-up and inform the user that "it's time". Can it be done with the current stable versions of both AIR and Flex SDK?
View 1 Replies
Jun 27, 2011
Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).
View 2 Replies
Jul 21, 2010
I have a Flex app I built. It uses the BrowserManager class to listen for changes in the # part of the URL. When a change is made to the hash my application updates accordingly so you can link directly to a state of the application. Also inside my programming when a user clicks something, all I do is use the BrowserManager to update the # and then my listener will apply the correct changes once its finished. I believe this is the best practice way to doing this in Flex.
I have some issues though. When using the Back button in FF or IE, it gets "stuck". for example if the hash is like #state4 clicking the back button will take you to #state3 then #state2 but sometimes get stuck where you can be on #state3 click the back button, see it flicker to #state2 real quick then change back to #state3 preventing you from going back any further in your history.
[Code]...
View 1 Replies
Dec 21, 2010
What's the best way to communicate between 2 Flex/Flash apps on the same webpage? I need a 3rd party Flash app to call a function on my Flex 4 app (they are ready to customize their 3rd party app how I specify). I use ExternalInterface.call("javascript_function", arguments) extensively. I know there's a bridge to go from Javascript to Actionscript as well. So I guess I could go from their flash app -> javascript function -> flex bridge -> my flex app. Do I have to go through javascript? Is there a better way?
View 1 Replies
Jan 12, 2011
I´m looking for any kind of information on this subject, kinda hard to find. I´m a ruby programmer and i´m looking for ways to create web apps with RIA, like Adobe Flex.
View 3 Replies
Jul 1, 2011
I've looked at a few demos from adobe that show apps built with Flex 4.5 running on iOS from simple list views to video capture. This has made me wonder if its an effective solution to build cross platform mobile apps.
For those of you who have taken Flex 4.5 mobile for a spin, what is your impression on the capability and performance on iOS. Is there anything you can't do with Flex 4.5 mobile that you couldn't with a native app? Are there any limitations?
View 1 Replies
Feb 12, 2010
I always thought that separating the UI from the logic is the way to go like the use of class files in Flash CS3/CS4 or MVC in web frameworks but recently there are plenty of examples and posts using ActionScript embedded in MXML.
View 4 Replies
Apr 22, 2010
I've got an old flex builder 3 project that I imported into Flash Builder 4, and I want this project to run its web applications in my web browser. However, the apps persistently run in the Flash Player instead. This is causing no end of problems because of the flash player bug documented at [URL]..
View 2 Replies
Feb 25, 2011
I successfully did an application that uses Flex as a client as GAE as a backend.I would now like to public my application to a mobile device (galaxy tab) and still use my GAE application.
View 1 Replies
May 6, 2011
I have a task to make simple game that deployed as a facebook app using Adobe Flex. Like most facebook game, I need to show high score, compare score with friends and some other similar functionalities, which I think need some sort of database thing.
The problem is a had only little experience about database, only have tried simple things with MySQL and I don't know where to start.
View 1 Replies
Jun 13, 2011
I have an Actionscript 3.0 app that I've made using a trial copy of Adobe Flash Builder 4.5.
Now, Flash Builder license has expired. Is there any way to compile my code without using Flash Builder?
I read somewhere that there is a free compiler to do that. What about Flex? Is free? I can use my actionscript code with Flex
View 2 Replies
Jul 15, 2011
I need a custom multi-user multi-chatroom app to extend an existing Flex app that I have.
I obviously wouldn't like to develop it from scratch, but focus only on the customizations and integration.
Are there any products (free or commercial) that provide multi-chatroom functionality from which I could start?
View 3 Replies
Nov 10, 2011
My Flex person claims that now Flex can do for iPhone as well. Whereas my iPhone person says Apps done in windows environment cannot be acceptable by App Store. Does anyone expert in both can tell me real thing.
View 2 Replies
Feb 8, 2012
I keep getting an error when I try to run an app on BB Playbook that says Cannot create property editable on qnx.fuse.ui.text .StageTextInput.The same exact code works fine in Android and on the Flash Builder built in simulator, but errors on a physical Playbook and in the Blackberry Playbook Simulator. The area of code that seems to be causing the error is as follows:
<s:VGroup includeIn="login" top="10" left="10" right="10" id="loginForm">
<s:Label text="Email" />
<s:TextInput id="txt_email" width="100%" softKeyboardType="email" />[code].....
View 1 Replies
Jul 26, 2010
The popular debugging tool "Kap Inspect" [URL] Kap+Inspect Does this work with normal flash applications that have been built with Flash CS4 (and not Flex)? Their tutorials focus mainly on flex and mxml, etc.
View 2 Replies
Apr 28, 2010
I posted to the flash forum but really looking for feedback from flash, flex, AIR users as well.I'm looking for the forums thoughts and advice on which of Adobe's current technology set (CS5) is best suited for creating small interactive applications/packages by users who would not have any background in coding and very little interest in learning coding.
The idea is that users would know basic drag & drop development and maybe extend it to include some basic scripting to wire up elements of it. The ability to develope applications for a range of access points (website, mobile, desktop) would also an added benefit.The over arching idea would be to let the users create some apps/programmes/packages quickly on any topic they like but not bog them down with coding.Which CS5 technologies would be best for that
View 5 Replies
Jul 30, 2010
Maybe that's more of a Linux question than an Adobe Air one, but there you go: I have an AIR 2 app that does auto-update in the background, with no need for user interaction. It uses Air's own ApplicationUpdater framework (the one that doesn't require a UI) - all goes well until the package gets downloaded and needs to be installed - at that point, the Air Installer prompts for SUDO password and won't proceed without some user interaction.
View 2 Replies
Aug 15, 2010
How do you capture errors that happen on client side when building RIA apps using Flex and Silverlight? What are the common practices? I have seen some asynch js calls to a web service implemented but would like to know how the community is dealing with it.
View 5 Replies
Oct 19, 2010
I have a server side code written in java and client side code written in flex. As client makes a request roughly every 3 seconds to the server, then I'm pretty sure I'm running into scalability problems at some point.
As far as I can see, I can host the application either in Google Apps Engine or Amazon Cloud. As I understand Amazon offers a do-it-yourself approach and I have to set up and maintain the cluster myself, which I'm not really fond of so I'm inclined to use GAE, which promises virtually infinite scalability if one can conform to the limitations and restrictions of course.
One of the limitations is the number of requests at 500 per second (can request temporarily more by filling in a special form), which roughly translates to 1500 simultaneous users, each pinging after every 3 seconds to the server.
What bothers me is that I really don't know how big this thing can grow and 1500 players definitely doesn't seem like a lot so besides using Google Apps and perhaps AWS (unless it scales better with what I'm trying to do), what other options do I have, which wouldn't cost me a fortune?
View 1 Replies
May 17, 2011
I'm packiging AIR app both on Mac and on Windows. On Mac everything goes well, but on Windows I get an error.
Myapp-app.xml: error 102: Invalid namespace [URL]
I have latest SDK's installed on both machines, although Flash Builder is newer on Mac. Does the Flash Builder version even matter?
View 1 Replies
Jul 17, 2011
Suppose you have a view, which contains three control A, B and C. The control A and B are in a HGroup, which itself is inside a VGroup with C.
Based on user interaction, I'd like to re-arrange the controls to new layouts. For example all three inside a VGroup. Or for example a layout, which hides A and B and maximizes C in size.
While I could hand-write the code, I'd like to use something like a layout template. A template, which contains placeholders for A, B and C. Give the current view, I'd like to pass the new template and the view should rearrange.
View 1 Replies
Feb 10, 2012
Due to screen density of iPhone, image assets are developed larger. So, when specifying the icons and images to Flex components takes this form.
<s:ViewNavigator id="tab1" label="Tab1 width="100%" height="100%" firstView="views.Tab1">
<s:icon>
<s:MultiDPIBitmapSource source160dpi="@Embed('assets/tabIcon.png')"/>
</s:icon>
</s:ViewNavigator>
Flex of course renders this correctly and adjusts the size to what it should be. However, when I load images myself, they appear blown up as they would appear double in size. This is how I use it when overriding the tab bar.
[Code]...
View 1 Replies