I created few flex components in flash using flex component kit for flash. It generates a swf and a swc file. my question is, how can i load these flash created flex component at runtime and use them.
I'm looking at a tutorial to display placemarks using a KML file on a flex application. I'm using IGN API (openscales) in flex project. The example works perfectly (http:/[url].......
I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :
I have created an e-card template for a record company. Most of the text and images are dynamically loaded into Flash file so that the client can change them for each individual band. The only problem is i have some pictures that need to link to the bands website which also needs to be changed by the client. Is there any way i can load hyperlinks into the Flash file?
I am loading a swf file, which I did, but the think is, in this swf file I am doing URL request to get an image file, when I open the swf it works fine, but when I loaded using the code above, I`m getting a error:Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.everything loads fine, just the image which I am getting externally it`s not loadingf I run as debug mode, I got this message in console:
[code]the page does not display the CheckBox as expected, could someone point out where I have gone wrong. (Flash Builder lists my version of Flex as 4.1)
Based on the Kirupa Flash XML Gallery, I tried to expand it as far as I could. Right now, it loads the images, generates buttons dynamically according to how many images are in the XML que, and each image is hyperlinked. I want to load in a swf file dynamically via XML into an another empty movieclip everytime I go to a new image. In another words if I have 9 images in my gallery, each image is assigned a swf file to load into another empty movieclip.
I've seen the Loom project, but are there any alternatives that are more mature (and actively developed)? I am looking for something that would allow load-time weaving of pointcuts into existing binary code at runtime with the AVM2 runtime.
I have been stuck on this for far too long. I think it's simple so I must be misunderstanding something. I want these to display across the full width of my flash app. When I shrink the width of the flash player I want a scrollbar to appear. At the moment no scroll bar is appearing.
We are using an XML file as an external configuration file for several parameters in our application (including default values for UI components and properties values of some service layer objects). The idea is to be able to load the XML configuration file before the flex application initializes any of its components. This is crucial because XML loading is processed a-synchronously in flex, which can potentially cause race-conditions in the application.
For example: the configuration file holds the endpoint URL of a web service used to obtain data from the server. The URL resides in the XML because we want to allow our users to alter the endpoint URL according to their environment. Now because the endpoint URL is retrieved only after the XML has been completely loaded, some of the application's components might be invoking operations on this web service before it is initialized with the correctendpoint.The trivial solution would have been to suspend the initialization of the application until the complete event is dispatched by the loader. But it appears that this solution is far from being trivial. I haven't found a single solution that allows me to load the XML before any other object in the application.
I'm trying, without success, to make a class to manage a XML file configuration. This class has some methods to get a XML file and return a object E4X (XML) to user (programmer).
Then I created a package: components.datahandlers And the class to handler XML config file: XMLConfigHandler.as
The code, that class, is below: package components.datahandlers{ import flash.net.URLLoader; import flash.net.URLRequest; import flash.xml.XMLDocument; import flash.events.*; import flash.errors.*; public class XMLConfigHandler { [Code] .....
The trace above shows: NOT. But if I get a trace inside onLoaded method, it is show: YES. Why "xmlLoaded" property don't change to YES? How can I make this works?
I have a AS3 project in Flash CS4 in which I am dynamically loading in a font whose location is passed in via XML. It works when I write in the font name (here EASTERAR.TTF). However, if I replace it with a variable, I get an invalid metadata error.
Works fine
[Embed(source='C:/fonts11/EASTERAR.TTF', fontFamily="xyz")] var xyz:Class; var arialEmbeddedFont:Font = new xyz(); var textFormat:TextFormat = new TextFormat();
Having got into flash about a year ago, I have a fairly good understanding of as3, but I have never had any reason to learn as2. For an upcoming project, we were looking to use Scaleform GFx, with the UDK. (Unreal Development Kit) Trouble is, Scaleform only supports as2. From what I've been told, as3 is supposed to be better in just about every way, so I really don't want to learn a language that?s most likely on the way out, if I have any other options.
Is there any converters out there, that can convert script from as3 to as2? Or another workaround possibility, since flash communicates with the UDK by means of just calling a function, could I create an as2 file that could dynamically load an as3 file?
I want to use actionscript 3 to create mxml(flex 4) controls dynamically and automatically taking care of layout. For example, if I want to put 6 buttons and a s:label in a layout container by just specifying the positioning of the container and not the locations of individual controls.
I try to load an swf in my flex 4 project using the following line of code: <mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" /> the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else. if i try to load a different swf file (for a example a game i downloaded), it loads just fine.
flash builder 4 comes with a couple of cool spark themes, and there are tons of others out there on the web, I want to be able to change the theme at runtime, without recompiling.
It is possible to load a pdf file within a flash movie. Basically I want the user to be able to click on a link to a pdf file and for that file to appear within a designated area of the stage. I know I can load it externally within an html window.
I am trying to load a movie into flash using an asp file to get the names of the url. the start will be "WEB_ADDRESS" and then it will add a the end using script.
it is looking into the ASP file and trying to fine fileName which is the problem. the filename has a number after it, in this case it is the variable [i] but it is returning this
the Blah is the start of the address which you dont need to know about but the undefined with the number after it should be what it is loading. undefined0 should be "fileName0".
is there any way of making it think the _root.myVars.fileName + [i] is all one name?
I'm currently making an animation which will eventually exceed the 16,000 frame limit (don't ask haha), so, short of making two movies and having to just start up the next one, what is the code for loading a movie? I presume they need to be in the same directory? So basically all I want is on the last frame of the movie the code executes and the second movie file opens up and starts. I guess I'd want the current movie to close, too.
I have a basic site for an old age home. Recently I decided to put a Flash Movie on the Homepage but even though all files are loaded and links correct it won't show in either IE or Firefox...
The movie should be loading here (...bellvilleseniorsentrum.com/engels/home.html)
There is a white space where the movie should be loading... But it doesn't...
I've done lots of sites with the same kind of movies and they all work fine... But this ons just doesn't work. It views fine when I test it on my computer but as soon as I load it - nothing...
i managed to load an svg tiny file on flashlite 3.0. Is there any way to load an svg file dynamically through as2? (i suppose that as long as it is loaded in flashlite there is also a way to load it by as2).
Can you load a vector file such as .svg or .eps dynamically? I know you can import a .jpg or a .swf file, but those same methods dont seem to work when it comes to vector
I have a pre-made solution I purchased. But it only works when it's variables are all loaded from a #include .txt. Here's a sample file: [URL] It's all in the form of an include rather than a loadVars. Is there anyway to load this file with a loadVars?
How do set up my Actionscripts so it can load a dynamically updated XML file? As you can see in the code below, I am able to load two items from my XML file; however, my XML file will be updated with more items to the list. Will I have to go back into Flash and hard code that in if I want Flash to read additional items.
Code: var req:URLRequest=new URLRequest("applications.xml"); var loader:URLLoader = new URLLoader(); var list:XML;
I'm more Graphically inclined so bare with me. I need to dynamically load images from an XML file and I usually find badly written tutorials that I can't understand or I find a .fla but don't understand the code in it.
I am using Flash CS4 and ActionScript 3.I am trying to dynamically load text and an image from an XML File.I can load the XML file, and populate the dynamic textbox with the text.But I can't figure out what to put the image in.[code]