Flex :: Importing Existing Flash .xfl And .as Files Into Flash Builder 4?
Nov 6, 2010
I got a XFL file, its library files and AS files in a directory.I would like to use Flash Builder 4(FB) for editing AS files, running the compiled SWF and profiling.When I created a New->ActionScript project in FB, I could edit the AS files but didn't know how to link the XFL file and run them.When I created a New->Flash Professional Project, I was prompted for a XFL file, and although the chosen XFL file and the AS files are in a same directory, the AS files are not automatically included in the project. I couldn't find a way to add exiting files in the project either.
I received an inheritance old flex project. I've never worked with Flex. I installed the latest Flash Builder and I need to know the exact version of used Flex SDK. Is there any way to know used SDK version from project files?
I am trying to import an swf file into Flash builder. My swf file is correct, and displays the correct data. However, when I import into Flash builder and launch my project, I get a blank HTML. Not sure why? I am carrying out the following steps in the sequence listed below
1. Create an FLA component in Flash Professional.
2. Go to Publish settings, click on export to SWC.
3. Exported SWC displays correct data.
4. Create new action script project in Flash Builder.
5. Add the SWC folder as path of the referenced library section.
6. Added the following code in action script code
var mystickyman:MovieClip = new stickman as MovieClip; addChild(mystickyman);
Here stickman is the linkage if of swc given in Flash Professional.
I am using SWC for the first time , and am sure am missing out on some steps.
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
I am wondring if anyone has a good resource for opening existing Flex projects that where created in Flex / Flash Builder and run them using the TextMate bundle for Flex and Actionscript projects.
Basically I just want to know if I can walk into an existing project and configure this easily or am I pretty much stuck with using Eclipse ?
I am facing a really weird issue while trying to use an "swc" file imported from Flash CS5, that I am trying to use in Flex Builder 3 (by converting symbol to "Flex Component"). The errors are coming in files which are not even remotely related to the "swc" file that i am importing. Now, I know that the automation stuff has come as a part of FB4, but I don't really have an option to migrate to FB4.I have tried to change the flex sdk settings in Flash CS5 (steps given below), but that has not helped.Edit-->Preferences-->Actionscript-->"Actionscript 3.0 Settings"-->"Flex SDK Path" (pointing this to flex3.5 sdk instead of Flex4.0 sdk)I feel that the issue is most probably a compatibility issue b/w Flex 3 and Flex 4, but have not been able to find a workaround for the same.[code]
According to the answers to this question here, the reason why I'm not seeing errors as I work in Flash Builder is that FB is "optimizing" them out because they aren't referenced at any point in the code execution. Is there an option to force Flash Builder to compile all files regardless of whether they're used in the software?
According to these instructions, I'm trying to use ANTLR generated *.as files in a current Flash Builder 4.5.1 project. Therefore, I added this ANTLR's Actionscript runtime to my project - without problems. I compiled lexer/parser specs using ANTLRWorks without problems too. I added the language option to the source *.g file to make ANTLR generate Actionscript sources:
I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question -- how to run each of these five files?
Since I've named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn't help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.
There must be some simple way to run those .mxml files that I'm missing.
I am trying to import a FlashDevelop project into Flash Builder. I simply started an ActionScript project and dragged and dropped files & created packages as needed, selected "Set as Default Application" on the main file .as file and deleted the default application .as file. But when I compile I get the following errors
[Code]...
In my build path I have Flex 4.5.1 and for framework linkage I am doing "Merged into code".
I'm currently trying to move from flash CS4 to flex 3. When I create an AS class and want to use a component in CS4 i import a component: import fl.controls.Button; and make sure that the button component is in the library of the .fla file which calls the AS class. Now I'm trying to do something similar in flex 3. I can import the component in AS: but when i try to add it to the display it doesn't exist. Is this because it's not in the library? It doesn't throw an error, but doesn't get added to the display. Is there a walk-though about adding a component from within AS3 in flex 3?
so Flash was importing my PSD files in the folders I had my layers filed into. Well ... now, Flash will only import PSD folders as one big file and so I cannot edit in Flash.
i created a 3d model using sketchup and exported it as a DAE file.
then i try to import the model into papervision, but the model never appear.
when i use the DAE file provided in the examples, it works. only when i tried to create my own models, it doesn't work. does this have anything to do with sketchup?
Well I have been having a major problem for the past four days. I imported 1 photoshop file into flash, everything was okay. I tried to import the others and an error message appeared stating that flash has crashed and has to close unexpectedly. I've re-installed flash and it does the same thing- so I know that isn't the issue. I have used other computers and it is still the same. I have been racking my brain everyday trying to figure it out. I checked the file sizes and they aren't that big and I compared them to other photoshop files I've imported and they are roughly the same size.
Also other photoshop files import, but the ones I actually want to use do not work at all. There is no way I'm re-designing 10 photoshop files!!
By the way when I saved some of the PSD files there was no extensions on the files, so I had to add them afterwards.
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
I am trying to create a flex app but facing a weird problem I have created a package to keep my mxml file separately and action script file separately. But the problem I am facing is when I am trying to import one of the .mxml component in my actionscript of main file of mxml application then I am not able to do so .can some one help me in importing one mxml file into other mxml file. my flash builder is not recognizing the package in which i have kept my other mxmk file
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
It looks perfect when the stage is set to 100%. But when I shrink the stage (even in the SWF), the quality of the image becomes choppy and the edges of objects become pixelated. Same thing with enlarging it. The publish setting JPG quality is set to 100%. How do I fix this? It's mostly the quality of shrinking it that I'm worried about; this image/flash will go on a webpage & I plan to have it automatically adjust its size based on the browser's size.I'm using Flash CS5 with Actionscript 3.0.
I've been using Flash for a couple of years now... I use it mostly for designing fashion graphics (!!!). I know that Illustrator is excellent for creating artwork, I export Flash files as AI ones, but encounter numerous errors while opening such files in Illustrator. I think the problem is with the Color settings. Flash uses RGB, and CMYK is Illustrator's default settings. When I try to export a graphic symbol (with layers, groups of objects and simple shapes) from Flash Professional as an AI file, it always exports as Illustrator 6.0 version (wonder why)...
Then I try to open this file in Illustrator CS2 and always get a "BG" error message which is similar to this one: Can't open illustration. The illustration doesn't have the correct number of operands for an operator. Offending operator: "Bg" Contex: Bb 0000 Bh 1.0.0.000819.20.....etc. (lots of figures)...Bg
So after getting such a message and pressing "OK" there are 2 possible results: 1. The program (Illustrator CS2) opens a blank artboard (stage) with absolutely NO objects or symbols on it. 2. The program opens an incomplete graphic on the artboard (stage) with many missing objects and shapes (say, if I exported a graphic with 2 layers, the top layer will be missing).
Unfortunately, these are the most common results....Though a few days ago I hkept several AI files open and tried to export an AI file made in Flash. To my greatest surprise Illustrator could open the file with absolutely everything I exported from Flash! Except for Bitmap fills, of course....But everything else was just perfect! I was amazed no end! What settings should I have in order to be able to open AI files exported from Flash? If I got it once, it means it is possible to open such files... I have to use Illustrator more often now, and I need my artwork to be covered to AI files without significant modifications or corrections... Is it doable?
So I been trying to import a psd file in flash to animate using diifferent layers from Photoshop. The problem is there's always artifacts around the image once it imports. I can't seem to get rid of themwhen I need clean shapes to animate. When I go back to reclean the image in photoshop, it looks crisp and I don't see obvious artifacts spots as I do in flash.
So how does one get clean image shapes from photoshop or detect artifacts before going through the trouble of importing?
Im using PS CS5 to build the parts of animation i am making in Flash CS5. Im not using PS for the animation as the GIF quality is horrendous, and also rotating layers for animation is a no go!Anyway, im saving the individual layers in (Save for Web) as PNG-24 files with transparency. Then importing them 'To Stage' in Flash. That side is all good. When ive made the animation in Flash and go to 'Publish Preview' there is a 'background' there. Also there is a border around the files on the stage. This appears to be the size of the 'background' in the animation. Transparency is set in the GIF settings.
I have Flash CS5 at work, and CS3 at home. I am creating a FLA file at home that I'd like to append to an existing file at work. I'm guessing that I'll just need to import all of the symbols from the CS3 file into the CS5 file and then copy and paste the frames - or is there a better way to do it? What I'd really like to do is to somehow convert the CS3 file into a movie clip symbol that I could just run in the CS5 file. Is this possible?
I cannot open any .fla file with FlashBuilder 4 under Windows:When I click on a .fla file I get the following error: "Windows cannot find 'Flash'. Make sure you typed the name correctly, and try again."