Flash Catalyst import dilemma

I am trying to use the new workflow of creating screens in Flash Catalyst, which is a big plus.
However, I need to create a series of "sub-screens" for my application, which is similar to a "Wizard".  So I create a screen in FC, export it.  In Flash Builder, following the tutorial video on GoToAndLearn, I can import the FXP file only as a new project.  So I did, then switched to the Finder and copied the Main.mxml and its subfolders into my original FB project. 
I created an instance of this using <local:Main id="test" /> but the buttons and actions do not work o I get an error when clicking about a child relationship.
What's the correct workflow for creating PARTS of a larger project in FC, and then using them properly in FB4?

In an attempt to consolidate the FC->FB import discussions, I'll suggest we discuss over here: http://forums.adobe.com/message/2003319
But to briefly address your specific issue here...
I'm guessing that you probably do not want to copy/paste the Catalyst-produced Application directly into your FB project, but instead perhaps:
a) Import the Catalyst FXP as its own project, add your extra FB code to that project.
b) Import the Catalyst FXP as its own project, copy the components from it into your FB project, use them from your FB application.
c) Import the Catalyst FXP as its own project, copy the components from it into a new Library project
d) Import a Catalyst FXPL that consists of the components you created in your Catalyst application.  This will allow you to more easily separate your reusable components into their own project in a more automatic fashion.
If it's possible to keep a lot of the functionality out of the Application and instead stuffed into the components themselves, this may help save some time later when continuing development with the code in Flash Builder.  Basically, all I mean is that if you create multiple application-level States ("Pages") in Catalyst and then rely a lot on transitions between them, etc., then you'll be more likely to have to factor all that out functionality that's baked into the application when you are working in Builder.  For this reason, a more "developer-friendly" Catalyst app may involve a single Catalyst page which then has all the functionality stuffed into the content therein.  However, based on your design, this may or may not be practical and you may lose out on some features in Catalyst by limiting yourself to a single page.  I'm not a Catalyst pro myself, so I'd suggest you checkout the Catalyst forums to look for further tips.
Thanks,
Rob Brambley
Developer, Flash Builder

Similar Messages

  • Flash Catalyst

    The beta release notes for Flash Catalyst give the hardware requirements, but do not state which version of the Creative Suite is required. Is Creative Suite 4 required, or will Flash Catalyst import Ai and Psd files from Creative Suite 3 ?
    Thanks in advance.
    Daniel

    Daniel,
    CS4 is the currently supported release for Flash Catalyst import, but your CS3 files may work.  Features like round-trip to Illustrator do require CS4.
    --Nate
    Flash Catalyst QE

  • Flash Catalyst CS5.5 Crashes when importing photoshop document

    I am trying to import a photoshop file authored in Photoshop CS5.1 into Flash Catalyst CS5.5, and Flash catalyst crashes every time part way through the import. A few specifics:
    Mac OS X 10.6.8
    Photoshop CS5.1
    Catalyst CS5.5
    I have searched this forum for suggestions, and I have tried a number of them:
    * Removing layers from the source psd file to find a culprit layer (Removing all but one layer still crashes)
    * Running Photoshop in 32 bit mode, dragging the layers to a new document and saving
    * Waving chicken bones over my laptop (Nobody really suggested this, for good reason -- it doesn't work)
    I have also replicated this crash on other Macintosh computers running the same Catalyst and Photoshop versions.
    I have included part of the crash dump below. I've highlighted the section that mentions how many crashes I've had. I am happy to provide .psd files to demonstrate the issue, and troubleshoot any way necessary.
    Thank you,
    Cameron
    Process:         Adobe Flash Catalyst CS5.5 [22968]
    Path:            /Applications/Adobe Flash Catalyst CS5.5/Adobe Flash Catalyst CS5.5.app/Contents/MacOS/Adobe Flash Catalyst CS5.5
    Identifier:      com.adobe.thermo
    Version:         1.5.0 (1.5.0)
    Code Type:       X86 (Native)
    Parent Process:  launchd [428]
    Date/Time:       2011-11-17 14:26:50.806 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          130540 sec
    Crashes Since Last Report:           52
    Per-App Interval Since Last Report:  303281 sec
    Per-App Crashes Since Last Report:   11
    Anonymous UUID:                      F902AC97-7ADE-4BA0-80B6-8CCFD2B41396
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    Java information:
    Exception type: Bus Error (0xa) at pc=0000000093506dd0
    Java VM: Java HotSpot(TM) Client VM (20.1-b02-384 mixed mode macosx-x86)
    Current thread (0000000013000c00):  JavaThread "main" [_thread_in_native, id=-1602804416, stack(00000000bf800000,00000000c0000000)]
    Stack: [00000000bf800000,00000000c0000000]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.adobe.flexide.nativelibs.NativeImporter.ImportArtworkFileImpl(Ljava/lang/String;Ljava /lang/String;Ljava/lang/String;Ljava/lang/Object;I[I)I+0

    Hum. Have you tried a new Photoshop file with say one layer in it and just a fill or something very basic, then importing that in?
    This might tell us if it is the PSD that has the issue or the import engine in Catalyst.
    You said you removed the layers. So you tried importing each of the layers one by one into Catalyst with success? Then that means you have one layer that is troublesome. I would suspect that there is a filter or effect that has been applied that source of the issue.
    Have you read this? http://www.adobe.com/devnet/flashcatalyst/articles/best-practices-flashcatalyst-photoshop. html
    Chris

  • .swf imported in Flash Catalyst shows only the Flash Shockwave icon

    I have scoured the FC forums and watched all of the Adobe TV episodes
    on importing .swf files into Flash Catalyst but I am still faced with the following problem.
    I have a basic animated .swf file that I created in Flash CS5.  I am trying to import that .swf file into a Flash Catalyst project but when I do I only see the blue border around the asset when I click it in the layers panel.  In the top left corner is a small round Flash Icon ( I believe it is the Flash Shockwave version - Blueish Gray). Nothing shows when I "Run" the project nor when I added the .swf file in the local folder from where Flash Catalyst runs the project.
    I tried re-publishing the original Flash file in different version of Flash player, but to no avail.  Not sure if I am doing something wrong, or if I have imported incorrectly or what.
    Even though I cannot see the .swf file imported into Flash Catalyst, I still tried to add an interaction to play on Application Start, but nothing there either.
    At a loss and looking for some direction.
    Thanks in advance for your response.
    Cheers!

    Erik -
    It's a  pleasure to help someone!  I just got through this as you can see.  Only problem is I just hacked it with no precision, so for example I moved a lot of files to the server to make them accessable and then it played.  But near as I can tell, I'll tell you the story.
    There are two things going on.  When you play it locally it's different from when you play it on the web. You are correct, you should see the first frame of the swf  in your animation.  To get it to play (assuming it is set to play)you  then have to control+enter to preview (on windows). The assests are laid out locally in the file structure displayed in the url bar.  no?
    Part of it is that there may be several things going on here... All I can do is tell you all the numerous problems I had, made worse because I had 3 different work-stations...
    I had problems when I had several swfs floating around in the  library and I think similar names: Eventually I just did a clean export  of the swf (the first one was from Flash... 3?  4?  and Catalyst is  cs5... )  and such to just do the work-flow in one motion.  I had too  many work-stations going on. So that part I finally did cleanly, and when that was settled, I could handle the file issues.
    The swf: It does have to be in the same folder, and not in a sub-folder.  Also, all the contents from DEPLOY TO WEB - just drag it into your site folder defined by dreamweaver or whatever and put it on the server at the same level, NO russian dolls (no file folders within folders).  With Dreamweaver, when you upload a swf, you select the MAIN file and supposedly DW pulls files - it does, but not all of them, such as supporting swfs.
    I would have thought that DW would do it correctly automatically : It seems to want to: but there are still kinks.
    If you're like me, you recognize that catalyst is a powerful creative stage, but this stuff is just annoying and really easier just man-handled with precision once and forgotten about lol.
    I heard also some grumbling on swfs that are just too huge or have aspects that don't import well, but it doesnt' sound like a problem in this case. 
    Do update me  - I'm around this weekend, would love to see you succeed on this.
    Cache,
    Thanks for your replies. I have put the .swf file in the  same "local" directory as the main.html for the FC Project I am working  on and no luck locally. However, does the .swf file have to be in the  local directory of the FC project prior to it being imported into FC for  it to work locally?
    Also, when I was watching a video  tutorial about inserting .swf files into FC, the graphics/content of the  .swf that was inserted could be seen in the design view of FC. My  imported .swf only shows a small, round flash icon in the corner and  nothing else.  This doesn't seem right to me. Shouldn't one be able to  see the graphics/content of the imported .swf so that  it can be  properly placed in the design? That is how it was in the video tutorial.  If this is also due to the location of the imported .swf then Adobe has  not made that clear in anything I have read or seen.

  • Importing a flash Catalyst .swf file in Flash CS5 ?

    Hi,
        I found Flash Catalyst by luck while browsing the Adobe website and downloading the Flash CS5 trial...
    One simple question....
    Can I import a .swf file created in Flash Catalyst into a Flash CS5 .fla as an element ?
    I created a scrolling text attached to a custom made scrolling bar in Flash Catalyst, and I would now like to use it in my Flash CS5 project...
    Well, I will be waiting for your responses...
    Thanks in advance for your help !
    Gilbert Gour

    Unfortunately you can't import an SWF from Flash Catalyst into Flash CS5.  Flash Catalyst uses the Flex Framework for building the its SWF.  Flash CS5 does not use the Flex Framework and doesn't know what to do with that kind of file.  You can load an SWF from Flash CS5 into your Flash Catalyst project, though. 

  • Cannot import swf/air file from flash catalyst

    Cannot import swf/air file from flash catalyst, states error in code, there is nothing in the properties panel.

    Hi Kristen
    Have you tried using ActionScript 2? You might give that a go
    and see if things improve.
    Just a thought... Rick

  • Actions not working to imported swf files in Flash Catalyst

    Hi,
    I have a problem with manipulating my imported swf files (created in Flash professional) in Flash Catalyst CS5. Whenever I add any of the swf control actions to a swf file in the timeline such as 'stop', the animation ignores it and keeps replaying. I tried to add action sequence when a certain button is pressed, and also tried to create 'On application Start' and added 'stop' so that the animation stops immediately when the application opens. No matter what I do, the animation refuses to perform the actions and simply replays. The animation is a simple shape tween between 2 states with no action script attached to it. I published the animation as an swf and exported it to Flash Catalyst. Is there any suggestions whatsoever on why this is happening? Is it something to do with setting up my flash file prior to import? The only way I figured out to stop the animation from playing is adding action script to the flash file in Flash Professional however this is not what I want because I would like the animation to be controlled by components in my flash Catalyst document.
    Thanks

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • Flash Catalyst CS5 shuts down on video import

    Hello,
    After designing a working webpage with videos without any issue, my computer decided it no longer wanted to import videos into Flash Catalyst CS5 or Flash CS5 without causing the program to close. I assume the issue is with Flash Player, unfortunately that's about as far as my sleuthing goes. Help would absolutely be appreciated.
    Here's the top of the report thread:
    Process:         Adobe Flash Catalyst CS5 [659]
    Path:            /Applications/Adobe Flash Catalyst CS5/Adobe Flash Catalyst CS5.app/Contents/MacOS/Adobe Flash Catalyst CS5
    Identifier:      com.adobe.thermo
    Version:         1.0.0.273393 (1.0.0.273393)
    Code Type:       X86 (Native)
    Parent Process:  launchd [90]
    Date/Time:       2010-06-15 09:40:16.309 +0100
    OS Version:      Mac OS X 10.6.3 (10D573)
    Report Version:  6
    Interval Since Last Report:          2074546 sec
    Crashes Since Last Report:           17
    Per-App Interval Since Last Report:  268399 sec
    Per-App Crashes Since Last Report:   12
    Anonymous UUID:                      12B51525-E970-40FC-B773-0EC89CFA022E
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000261
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    Java information:
    Exception type: Bus Error (0xa) at pc=00000000991f916d
    Java VM: Java HotSpot(TM) Client VM (16.3-b01-279 mixed mode macosx-x86)
    Current thread (0000000013800800):  JavaThread "main" [_thread_in_native, id=-1599925024, stack(00000000bf800000,00000000c0000000)]
    Stack: [00000000bf800000,00000000c0000000]
    Theres about 48 pages more of that, so if it's of any use in diagosing, I can provide it.
    Thanks in advance,
    Adam Baroukh

    Hi,
    That really helped me out!
    I was playing around with importing all different file types to see what would crash Flash Catalyst and it appears to just be .flv files, because it imports images, mp3s, and swf files and .f4v video files with no problems. Hey, at least now I can continue importing videos as long as they are .f4v's!
    Would still be helpful to figure out why it doesn't like .flv's though...
    The step are: File>Import>Video/Sound File...Dialogue box opens, I choose any .flv file (include files which seemed to work fine before) and the program just quits itself giving me the error report window. When I use .f4v files no such problem occurs...
    Will send you a yousendit link containing one of the guilty .flv files now - this is a .flv file I used in creating a page with flash Catalyst just days ago before it decided it would no longer import them.
    Thanks for your help so far
    Adam

  • What is the maximum file size Flash Catalyst beta 2 can import?

    I have designed the webpage in Illustrator cs2 and tried to import to Flash Catalyst beta 2 (FC), however it does not respond to me at all. I think maybe my AI file size is too big. Therefore I reduced my AI file down to 1 page only and now FC has no problem importing my file. I would like to know what is the maximum file size that FC beta 2 can import? thanks

    In beta1 I believe the max size was 15megs, I am not 100% for Beta2 but I doubt they would have changed the amount.
    I created an online menu for a fake restraunt for fun, the file was quite large with the high-res photos in it. How I got the whole file into Catalyst from Photoshop is I removed the large background images and then imported them individually into the Catalyst project.
    Hope that helped

  • Importing Flash Catalyst file into Dreamweaver

    Is it possible to import or use a swf file created in Flash Cataylst into Dreamweaver?
    stevent2011

    Yes, Flash Catalyst content can be used in Dreamweaver. However, the version of swfObject might be out of date. You might need to look at the object code in the html. When you publish from Flash Catalyst, there is also a main.html file that you can use a reference for the html.
    Chris Griffith

  • Importing a custom component from Flash Catalyst with Assets

    I am experimenting with Flash Catalyst to see if it would work well for us to create components for Flash Builder to use. As a test I created a very simple component with a Pie Chart and a button and exported it as a fxpl file. In Flash Builder I created a Flex library project and imported the component to it. When I tried to use the component in a trivial test app it gave me an error, saying 'Could not resolve <graphics:fc_pie> to a component implementation', presumably because it had not put the component files in the right place of the library tree - by default they were put in a folder at the same level as components but with the name of the component, below which it had a components folder and an assets folder. If I move the files in these folders to the corresponding folders under src then it works fine.
    The question is, how do I get Flash Builder to do this correctly? I assume I'm missing something obvious but I am a real Flash Builder Novice and this process is about evaluating which tools to use. Sorry if I'm being a numpty. I'm using Flash builder 4.5 and Flash Catalyst CS5.5.
    Any help much appreciated.

    If you look in the library panel, there should be an entry for your custom component - probably something like CustomComponent1.mxml. Drag this out onto the artboard to create a new instance of the component.
    In the case of a custom component, you can't change much on the second instance. If you have something like a text input skin though, you can change the text it is displaying for each instance.
    We are working on making this sort of thing easier in the future, so stay tuned

  • Flash Catalyst not imported .PSD

    Flash Catalyst content can not be imported into the PSD, but the AI can be imported. Why is that?

    What happens if you try a file with just those two layers in it? And if that doesn't work can you email me a file with those two layers in it? [email protected]
    =Ryan
    [email protected]

  • FAQ: How can I make my Flash Catalyst application scale/use a liquid layout?

    Flash Catalyst CS5 currently only supports applications with fixed dimensions. Custom components you create in Catalyst have absolute sizing.
    If you want to experiment with creating resizable applications (liquid layouts) and components in a preview of the next version of Flash Catalyst, codenamed "Panini",  you can find more information here:
    Introducing Adobe Flash Catalyst "Panini"
    Download Adobe Flash Catalyst "Panini"
    Adobe Flash Catalyst "Panini" help
    Keep in mind that Flash Catalyst "Panini" preview is meant for exploration and testing, not real production. If you are doing real production work, here are some options that work with Flash Catalyst CS5 and Flash Builder:
    Liquid Layouts
    If you are building an application that requires relative constraints, you can take the FXP file from Flash Catalyst into Flash Builder, and apply constraints there so that your components resize according to your application dimensions.
    For more info, see this Help topic:
    Using constraint-based layouts in Flash Builder
    SWF Scaling
    If you want your swf to scale, without relative constraints, there's a simple way to make that work in Builder as well. Simply save out your FXP file from Flash Catalyst and import it into Flash Builder. Open up the "Main.mxml" file. Remove the width and height attributes on the Application tag, and add the attribute:
    preinitialize="systemManager.stage.scaleMode='showAll'
    The entire Application tag should look something like:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:d="http://ns.adobe.com/fxg/2008/dt"
                      xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
                      xmlns:ATE="http://ns.adobe.com/ate/2009"
                      xmlns:ai="http://ns.adobe.com/ai/2009"
                      xmlns:flm="http://ns.adobe.com/flame/2008"
                      xmlns:lib="assets.graphics.*"
                      xmlns:components="components.*"
                      backgroundColor="#FFFFFF"
                      preloaderChromeColor="#FFFFFF"
                      preinitialize="systemManager.stage.scaleMode='showAll'"
                      >
    There are a couple other scale modes you may want to try, such as "exactFit", which are outlined at the below link:
    Flash Stage Scale Modes
    Finally, you will have to adjust the object embed code in your html page to set the size of your swf.
    Original discussion here

    you can`t. allow your application internet access without the network admin defining an exception for it specifically.
    If you have admin rights use the router`s/proxy`y configuration software to allow an exception.

  • FAQ: SWF's and loading external files in Flash Catalyst

    How do I make the images in my Flash Catalyst project external to the published SWF?
    You can choose whether images are embedded in your Flash Catalyst SWF, or loaded dynamically; this can help to keep your SWF's small. Simply right-click an image and chose "Externalize Image".
    Answered by: Adam Cath.
    See entire discussion.
    How do I make the SWF I imported to Flash Catalyst load external files?
    When importing a SWF, Flash Catalyst only pulls the SWF asset into your project. Many SWF's, such as slideshows and media players, rely on external data files, such as configuration files or media assets. If you would like to use such a SWF in Catalyst, then you will have to place these external resources into your Catalyst project as well as importing the SWF.
    Let's assume you have a SWF source folder that contains your SWF file and all of the external files it needs. You can open the SWF file from this folder and it works fine. But, if you import the SWF into Catalyst, the Catalyst project doesn't display it correctly because it can't load the external files. Here's what you do:
    1. Open your swf source folder, and copy all of the files/folders there except the SWF you imported.
    2. In Catalyst, Run/Preview your project (Ctl/Cmd-Enter)
    2. Note the file path to Main.html in your browser
    3. In your OS, open the folder that contains /bin-debug/Main.html from above
    4. Open the "src" folder
    5. Paste all of the files from step 1 into the src folder.
    6. Catalyst won't pick up that your project changed, so tweak it a bit (add a Rectangle), and save it.
    7. Run your project. If it doesn't work, try closing and reopening your project and running again.
    For an example, check out: Using an XML-driven SWF in Catalyst to create a slideshow.
    See entire discussion.
    Answered by: Bear Travis

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • How to send submited information on the form created in flash catalyst to an email??

    Hi,
    i have created a contact form in flash catalyst including submit button and i need this information to be emailed, when people press the submit button.
    does anyone here have the idea what should i do and what is the easiest way????
    please help me on this...

    Hi Faryar,
    Emailing a form requires some special setup on your web server. The actual sending of the email is done on the server-side. The SWF you create in Catalyst sends a request to your server, which then sends the email. Unfortunately, you have to be prepared to learn some server-side coding to get this to work.
    Here are some resources to help you get started:
    - A tutorial on making web forms: http://www.javascript-coder.com/html-form/how-to-make-a-form.phtml . Note that you'll be doing the actual form UI in Catalyst, instead of HTML (so you can skip those parts).
    - Using the Flex Form control to sending email using PHP on the server: http://cookbooks.adobe.com/post_Submitting_a_Flex_form_using_PHP-8523.html . Note that you're not using the Form control, but this demonstrates how to write the PHP code.
    - A good discussion of this topic. http://www.actionscript.org/forums/showthread.php3?t=181049
    - One cheesy way of doing this without a server is to create a mailto link with the email body pulled from the form. When the user clicks the link, his email client will open up with the email pre-written, but he will still have to send it. I don't really recommend this method as many users don't have mailto configured on their machines. If you do want to do it, you just need to construct a mailto link dynamically from the form contents. Add a "Go to URL" interaction in Catalyst, import the project to builder, and then change the URL to something like this:
    "mailto:[email protected]?subject=Form Submission&body=" + firstNameTextInput.text + ", " + lastNameTextInput.text".
    -Adam

Maybe you are looking for

  • BW Data Load error due to special char's

    Hi Experts, Our BW System is a Uni Code, Master data load din BW failed due to special chars, I corrected the field manually in PSA and loaded the data. But I would like to know the reason for failure. Issue for failure is term SOCIÉTÉGÉN-..My unders

  • Row as Column

    <tt>Hi Exports, I have one doubt TO build the query.. i.e., how can i CHANGE the ROW AS COLUMN.. I wrote one query which returned the below output </tt>     A          B           C           D   224      88           224      98   224               

  • Arabic Report

    Hi, I got a requirement to create an xml report in Arabic, i have created the layout in english and in Template registration i have given language as Arabic, territory as Kuwait. I am getting the letters in english only and numbers in '?' format, and

  • Using USEREXIT_FIELD_MODIFICATION

    Hello SDNites, Please tell me how to insert code in USEREXIT_FIELD_MODIFICATION and also tell me whether this exit is applicated for Sales Order transaction or can be used with Purchase Order or not? Please provide me steps for writing the code in US

  • Large flash size problem

    In China, I found that an animation-like flash in 2MB on our website takes more than one minutes to download to clients' PCs. Users have to wait until the download of the whole flash program complete. Could we cut/split the flash into smaller segment