ActionScript 3.0 :: Flex Project - How To Publish To Mac / Flash Projector
Sep 27, 2009
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?
I'm using AS3 to author my project. I tried to publish as Flash Player 9 and this didn't work. I can't go down to Flash Player 8 because that predates AS3.
I have Mac Pro OSX 10.58 - CS 4 Creative Suite.I have been using Flash to produce projector files totally fine for months. However, today when I publish a Mac projector file I have come across a problem. Flash publishes a .app projector file OK, but, when I open it, it appears in the dock as if it were open but I don't see anything.
Any projector files I produced prior to today still play fine. But any projector files I have created today have the previously mentioned problem. I have tried creating a totally new FLA and publishing from that incase it was the FLA I was publishing from was to blame - same problem.
I have reinstalled Flash, but the error persists.Today I also installed new software. I installed the Developer tools because I wanted to use PackageMaker. I also installed Xray. I have removed Xray incase that was at fault - but the problem still persists.
I'm new to flash mx 2004 and I'm having a problem publishing and playing my finished project. Every time I try to play or publish the project I get a 'The Flash program is out of memory. Please increase virtual memory on your PC' message. I was originally working on a 1 gig RAM PC and thought this was the problem. I've since borrowed a 2 GIG RAM PC which allowed me to do a little bit more work before I got the same problem. I then got a 4 GIG PC and was able to finish the project but if I try to play it or publish it the program crashes. Any Ideas. This is a college project which I need to publish as a windows exe file and I can't do it. I don't know what's wrong. The project is about 280 meg in size. I tried to 'save and compact' but it still crashes. I also tried to debug the flash project and it crashed again. I'm baffled as I think a 4 GIG PC should be ample and I no longer think that this is entirely a RAM problem anyway.
My Stage size is 126*62. (it's a small animation).- When I publish the .SWF, no problem.- When I publish a projector .EXE file for windows, then, the width is still correct, but the height is higher than 62 : I got two small white bands beside top and bottom of my stage,see ?I don't understand why there's such a difference between publishing a SWF or EXE. And I'm afraid this also happens whatever the Stage size is (small or big, I mean) : you always get these blank bands on the top and the bottom, don't you ?
I wrote this class and calling that as3 class in my flash application when i run my FLA file swf file shows the things how i wanted, But when i put that file up on web in the webpage it does not show anything - it shows me blank white screen, none of my images that i am loading from XML or textfield or anything that i am showing dynamically are showing up . I make sure all the paths are correct and all necessary folders are also in right place on server.
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).
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.
Does anyone know of a flash projector 'project' or 'framework' that uses a new flashPlayer for each window?We've used mProjector, which works well to a point, but I'm very disappointed in the fileIO patterns they use. It is very buggy with regard to reading and writing files.
mdm zinc uses multiple windows, but it is all sits on one flashPlayer 'session'. The same applies for AIR. It is great, but there isn't a way to make each window run on a seperate flashPlayer... extreme number crunching on one window will lock up all other windows.
edit - Just to clarify my needs (since I'm adding a little bounty), the app is an ERP application, built on Flex 3.x, and the size and scope of the project == huge.
tl;dr -- I need an exe wrapper (for windows), similar to AIR, that can have multiple windows, running each window on a seperate flashPlayer instance, and when a window is closed, it blows-away that flashPlayer instance / stage / etc.
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'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex.
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]...
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php. This is working fine when I preview the movie as Flash. The php script prints the variables as intended.
But when I preview it as html the arrays are all empty...
[AS] on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array();
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'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?