ActionScript 3.0 :: Flex SWF Loaded Into Flash Project
Mar 14, 2009
I am using Flash CS4 so I was hoping this would work fine as it can target the flex library. I have a contact form created in flex which uses the accordion component and flex's great validate functions and the alert box. Now I can load the contact form into the flash project via a loader and I have no problem with it bieng viewable or opperational in the final swf. However when the user clicks the submit button, nothing works and I get a bunch of error messages:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.core::UIComponent/setFocus()[C:autobuild3.2.0frameworksprojectsframeworks rcmxcoreUIComponent.as:6857]
at mx.controls.alertClasses::AlertForm/commitProperties()[C:autobuild3.2.0frameworksprojectsframeworks rcmxcontrolsalertClassesAlertForm.as:243]
at mx.core::UIComponent/validateProperties()[C:autobuild3.2.0frameworksprojectsframeworks rcmxcoreUIComponent.as:5807] .....
It looks like Flash is having problems creating the Alert box from the flex library, but surely this has been exported into the flex swf when that was compiled?
I have a CodeIgniter project and I made a back-office in Flex. I was wondering how I can implement the Flex project in my CodeIgniter since I'm working with routing I can't route to any directory. So there isn't a way to display the back-office.
I have 2 flex projects which were create in flash builder 4.5.....how can i call one project from second??? the best would execute to the same window.... I'm interesting about both possibility (in browser and air too).
Nothing on the screen, nothing in the console. I do, however, see adl.exe hanging in the processes and eating up memory - i assumed its the loaded, but invisible application.
Update:Created a blank Flex 4.5 (Air 3.1) project that changes the background - and it worked out fine. Tried to use this config (tweaked the filename) - and it doesn't work. Seems the problem only applies to mobile projects.
With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.
G:Projects est>mvn -e + Error stacktraces are turned on. [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom
[code]....
Looks like its trying to download the project from maven's central repository instead of building it.
I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?
I have one Eclipse Workspace containing two projects. - The first is my actual library. - The second is example code for using the library.When I push this code to GitHub, I don't want two separate projects, I want the example code to go into an "example" folder of the second library.How and where would I do this? From Eclipse, GIT, or GitHub?Or is there a better way of including sample code in GitHub projects? (the example code doesn't actually need any version control)
I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.
I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???
I am trying to build a youtube player with flash and everytime I load a video, there is a runtime security sandbox error..I already put crossdomain.xml in my root serverbut I am still getting the errors...Do I miss something? Do I have to load it into my flex project?
<!-- <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy>
When i change the code into my Flash Builder 4.5 project and hit run the output doesn't show the new result but the old one, only after a while the new result is showed on subsequent project runnings. Has anybody encounter this problem? Are there some hidden settings?
I am developing a project in Flash Builder which will load a file built by Flash CS4. The code in Flash CS4 is below, it's a doc class. I am sure the dispatchEvent has been invoked[code]...
I'd like to write a program using the facebook-actionscript-api. The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources.
how can I add them to my Flash Builder project ? Do I need to compile the sources ?
I'm not a flash developer.We paid a developer to build us an app. It is nearly perfect, but a few things in the actionscript need tweaking (purely the values of some URL's for action when buttons are clicked.)I believe I need to rebuild the project to pull this information through.I believe he has sent me the full source. Do I need to install all of the dependencies to get this to work? I'm tempted to just go in and make the changes in a hex editor..
I'm working on Flash Builder 4 and want to export a flex project so my colleague, with Flex 3, can open it. Unfortunately, exporting a .fxp file doesn't work with Flex 3. Is there any other way to do it?
I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!) Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
I recently made a flash app in flex that is to be deployed on a memory stick as a flash projector but it also needs to include an app folder so it can be run on Mac's. In flash I know I can just publish to mac as well as flash projector, would I have to remake my little project in flash or is there a sneaky tricky way to make it work?
Can anyone enlighten me on how I can use the Flex mx.charts component in my Flash Project? I am using Flash Professional CS4 Are there any tutourials on the subject.
Is there a way that I can load (or export) Flex/Flash builder project in Flash Professional CS5?As it turns out we got Flash Prof for our team, but it may look like we actually need Flash builder to build lots of UI related stuff..
I want to use Open Flash Chart in Flex3/AS3 project?
I mean,How Can I use Open-flash-chart in Flex application client side.. ??? (I use FlashDevelop)
Can i do that by just adding .swf file?? If yes? then where to add? I am not using FlexBuilder, I am using FlashDevelop OR Command line for compiling..
Or I have to add .swc file.. ??? If yes, then how to generate one for open flash chart..???
I'm creating a project in flex builder but it's not using the flex framework, it's just pure actionscript.
At the moment I have some bitmap resources embedded for drawing things, but I'd like a little animation and thought I could create swf animations for them in flash and use the [Embed()] thing to embed them in the actionscript project.
This works perfectly well for me, however I'm a little concerned about efficiency and how well this approach will scale when my project gets larger.
Does anyone know if there are any efficiency implications to embedding maybe 20 or 30 swf files, or do they get efficiently integrated into the main swf file? Most of the animations are really simple and I could probably redo them in actionscript if needed but it's a lot easier just to draw them in flash and embed them.
I am debugging both a flash cs4 project and a flash builder project, actually the flash builder project will load the flash cs4 project thru swfloader, but the system can only support one debugger at a time. So I am seeking a method to debug it simultaneously...
The Flash IDE is capable of embedding many types of uncompressed sound files, including wav, and offers optional compression when publishing.However,the [Embed] tag, only seems to allow embedding of mp3 files.Is it truly impossible to embed an uncompressed wav file,or am I missing some magic, undocumented mimeType?I was hoping for something like:
...but I get no transcoder registered for mimeType 'audio/wav'.It's possible to embed wav or other format as an octet-stream and parse at runtime,but that's pretty heavy handed I think. I'm surprised that even though the Flash IDE can embed uncompressed sound data,[Embed] cannot, given that the swf spec can contain uncompressed sound data.
I will not be hosting the .swf file and I would like to include images using Flash Builder 4. The images appear in a folder in the exported version and I'm not sure how to "embed" them into the .swf (so that I can deploy the file to sites like Kongregate, etc.)
Seems like it should be simple, but my Google fu is currently poor.
Edit: Note, I would like to continue using the Flex framework, which is what I am using now.
I am developing a project with Flex, and I need to deploy my project in a form which can be used by developers who do not have access to Flash Builder. I've found references to plugins from Faratasystems, but it appears their sourceforge site is a little bit rusty. I could not find an up to date installation file that'd include FX2Ant plugin and work with my Flash Builder 4
One of the most annoying things when working with Flash/Flex projects is that it takes soo long to build the project. In a Flash game I am doing, it takes more than one minute to build it.