Switching from CS4 to flex

I have a game I've written in AS3 class files. I've been
compiling with CS4. The first frame of the main timeline has one
line of code that calls a static method on a class, and passes it
"this" (the main timeline). This is all the code the .fla contains;
the .as files do everything. However, there are visual assets in
the library of the .fla that the code needs to instantiate. Some of
these assets are linked to class files, and some are not. In other
words, say I have LinkedClass.as linked to library symbol, and
another library symbol which is being exported for actionscript
with no corresponding .as file, so the NonLinkedClass is
automatically generated when the .fla is compiled. My static method
contains both "new LinkedClass()" and "new NonLinkedClass()".
I've set up an actionscript project in flex with one new
class that I didn't have before when I was using CS4. In the
constructor for this class, all I have is the same line of code I
had on the first frame of the main timeline before, the static
method that gets passed "this". (Does "this" still refer to the
main timeline? In other words, is the class I'm compiling in my
actionscript project in flex becoming the main class of a swf?)
1. Is this even the right way to go about doing this? I'm
pretty lost here. I've gone through tutorials having to do with
MXML, but I'm not sure what relation they bear, if any, to what I
want to do. How do I make something that compiled in CS4 compile in
flex? (Keeping in mind, I have custom classes linked to library
symbols, and also library symbol with no custom class, for which
classes are defined automatically when CS4 compiles.)
2. When I tried to compile the flex project, I got an error
for NonLinkedClass, so I used CS4 to compile a .swc and added that
.swc to the library for the flex project, and then I no longer got
the error for NonLinkedClass. However, I continue to get errors for
LinkedClass. LinkedClass has variables defined in the .as file, and
display objects are assigned to those variables because I've put
display object instances inside the library symbol LinkedClass is
linked to and named them after the variables. This works fine when
I compile with CS4, but with flex, these variables are coming up
null. I tried adding this code to LinkedClass.as
[Embed(source="pathToMyGameSwf/game.swf",
symbol="LinkedClass")]
but I get an error
"An Embed variable must not have an existing value."
Am I anywhere near the right track? Is there a tutorial
for this problem specifically, that is, trying to port a
project from CS4 to flex?

Hi Joachim,
I suggest that you post this question on the Lightroom forum: Photoshop Lightroom.
thanks,
Elba

Similar Messages

  • Switching from CS4 & LR5 on Windowns desktops to CS+LR monthly subcription for Mac: be aware of, or beware of, before/during?

    Just switching from CS4 & LR5 on Windowns desktops to CS+LR monthly subcription for Mac, with catalogues, files etc residing on external HDD (multi-location living; lots of travel). Anything I need to be particularly aware of, or beware of, before/during? Thanks a lot for suggestions, recommendations, tips, experiences. Best, Joachim

    Hi Joachim,
    I suggest that you post this question on the Lightroom forum: Photoshop Lightroom.
    thanks,
    Elba

  • Just switching from CS4 & LR5 on Windows desktops to CS+LR monthly subcription for Mac, with catalogues, files etc residing on external HDD): Anything to be particularly aware of, or beware of, before/during switch?

    Just switching from CS4 & LR5 on Windows desktops to CS+LR monthly subcription for Mac, with catalogues, files etc residing on external HDD (due to multi-location living & lots of travel). Anything I need to be particularly aware of, or beware of, before/during switch? Thanks a lot for suggestions, recommendations, tips, experiences. Best, Joachim

    The switch should be straight forward but I would start by uninstalling LR 5. This is because there is no specific CC version of Lightroom and you can’t run the creative cloud version and the perpetual version on the same machine. Your catalog and images will be safe and will not be affected by uninstalling. CS4 will not be affected and will still work independently.
    Then launch CC desktop and go to the Apps tab. I would recommend installing in this order:
    Photoshop CC 2014
    Photoshop CC (if you need this to run old plug-ins)
    Lightroom 5
    If you install in that order LR will automatically recognize Photoshop for external editing from the LR Library.

  • Just switching from CS4 & LR5 on Windows desktops to CS+LR monthly subcription for Mac, with catalogues, files etc residing on external HDD: Anything I need to be particularly aware of, or beware of, before/during switch?

    Just switching from CS4 & LR5 on Windows desktops to CS+LR monthly subcription for Mac, with catalogues, files etc residing on external HDD (due to multi-location living & lots of travel). Anything I need to be particularly aware of, or beware of, before/during the switch? Thanks a lot for recommendations, suggestions, warnings, tips. Best, Joachim

    The switch should be straight forward but I would start by uninstalling LR 5. This is because there is no specific CC version of Lightroom and you can’t run the creative cloud version and the perpetual version on the same machine. Your catalog and images will be safe and will not be affected by uninstalling. CS4 will not be affected and will still work independently.
    Then launch CC desktop and go to the Apps tab. I would recommend installing in this order:
    Photoshop CC 2014
    Photoshop CC (if you need this to run old plug-ins)
    Lightroom 5
    If you install in that order LR will automatically recognize Photoshop for external editing from the LR Library.

  • Switch from cs4 to cs5

    can someone please remind me how to move my actions and plug ins from cs4 to cs5?

    Copy them from the folders
    /Applications/Adobe Photoshop CS4/Presets/Actions
    and
    ~/Library/Application Support/Adobe/Adobe Photoshop CS4/Presets/Actions
    into the analogous CS5-folders.
    (~ meaning your user account)
    Edit: Previously unsaved CS4-Actions you would need to save first (or save them directly into the CS5-folders).

  • Switching from Flash to Flash Catalyst/Flex

    For the last few years I have been developing applications for project reporting. To explain this in simplest terms, my clients give me hundreds of reports and supporting documents, graphics, videos, etc. which I then condense and reorganize into a presentation/application in Flash. The project is then published as an .exe to be burned to CD ROM or DVD along with any supporting files and is then distributed to project stake holders, investors, etc.
    I'm considering the possibility of a switch from Flash to Flash Catalyst/Flex and want to outline what my needs are, here in the forum, in hopes that others now using Catalyst/Flex can help me decide if this is an appropriate move.
    Features needed:
    1. Basic animation, transitions, etc.
    2. Full Navigation (up to 3 levels) for up to 300 slides.
    3. Keyboard navigation (PageUp/PageDown) to navigate sequentially through the entire presentation.
    4. Linking into other applications and documents - Word, Excel, Power Point, etc.
    5. Full Screen Mode
    6. Slide Show Mode
    7. Search Features
    8. Slide sharing (via email)
    9. Video and audio w/controls
    10. Pan and Zoom w/controls (panning and zooming of graphics and .swf files)
    11. Scrolling (scrolling of text, graphics and .swf files)
    12. Interactive forms
    Can anyone please comment specifically on these features and wether or not they are possible using Catalyst and/or Catalyst/Flex in combination.
    Thank you all for any insight or suggestions.
    John

    With the exception of making fre-form animations (like a cartoon for example), everything you can do in Flash can be done in Flex considerably faster.
    The downside is that Flex applications (especially ones designed in Catalyst) are generally larger, and consume more memory. Personally, I never publish anything made in Catalyst without optimizing it in Flash Builder first.
    If the drop in operating performance isn't a deal breaker (most of the time you can't even notice it), then I would certainly consider moving to Flex going forward on new projects.

  • Flex GUIs get a bad performance in normal screen mode when switched from full screen mode

    Hi, there :
    I encountered an odd situation and it is only happens on IE. Our project is a Flash 3D Game using Stage3D, and the Game's GUIs are created by CS6. When our game switch from the full screen( StageDisplayState.FULL_SCREEN_INTERACTIVE or StageDisplayState.FULL_SCREEN ) to normal screen ( StageDisplayState.NORMAL ), the performance of the Game GUIs decline to approximate a half FPS of full screen mode. But this condition is only happens on IE.
    The Game is normal screen when it is initialized and the performance is as same as fullscreen. The performance degradation only happens after switching to normal screen mode from full screen mode.
    p.s. : When the mouse is out of the view, the performance become better, from 20 fps up to 50 fps. But is still not as same as the original 60 fps.
    p.s. 2 : My colleague told me the Flash Pro CS6 be used to built a single swc file per GUI, and then package all ui swc files to one swc file by Flex Framework SDK( the command is "compc" ). and the IE version = 9.0.8112.16421, the Flash Player Version = 11.6.602.155.
    p.s. 3 : I have utilized Adobe Profiler Scout to observe the application, and I found that when it switches to normal screen mode from full screen mode, the time 「Waiting for GPU」 in 「Inactive」 grows up from 10ms to approximate 30ms which is triple. And in the 「Activity Sequence 」tab, it shows that the 「Waiting for GPU」 happens in the 「Copying to screen 」in 「DisplayObject List」.
    Thanks

    This does sound like a specific bug with IE. It would be great if you could file a bug report here (https://bugbase.adobe.com/), so we can get somebody to look into it.
    btw, Flex is really not a good framework for games - it's really slow and heavyweight. If you're just wanting some lightweight UI elements, you might want to check out the Feathers framework, which is built on top of Starling: http://feathersui.com/

  • Switched from Win to Mac, need CS4

    New here, I appreciate any help!!  I have just switched from a windows machine to Mac.  On the windows machine I had an education version of CS4 Design Premium.  Now I need it to work with Mac OSX Lion 10.7.3.  I downloaded the mac version of the software, but the installer would not take my old windows serial number.  What can I do??
    I sincerely appreciate any help you are able to give.  I am working on a project, and I don't want to have to rebuy CS4 again!!  Thanks!

    You upgrade to CS5.5 and make the platform switch. If you're still eligible for education pricing, you just buy anew. Until then you can always run your Windows version via Bootcamp or Parallels.
    Mylenium

  • Can I switch my CS4 master suite from PC to MAC?

    Can I switch my CS4 master suite from PC to MAC?
    And if not, can I apply for the CS customers discount for a Mac license with my PC license?

    Order product | Platform, language swap

  • Switching from windows based system to Apple Mac

    I'm switching from windows to mac before that i would like to know which Professional SLR Camera Brands are compatible with mac.
    Message was edited by: acyd226

    The link Kappy posted should give you peace of mind. I can tell you from personal experience that both the Canon EOS 550D and the Nikon D90 work seamlessly with OS X (10.6.4).
    You can use iPhoto, Image Capture or Adobe Bridge CS4 to import and organise your photos. I would definitely recommend Bridge over the others, but Image Capture (pre-installed on all versions of OS X) is surprisingly good and offers a range of features.
    Enjoy your shiny new Mac!

  • Help on saving back from CS4 to CS3 with the crop mark issue.

    I am not asking how to create crop marks I needing to know how to save back from CS4 to has already has been created in 3. See issue below.
    I am the only one with CS4 in this office. I have to save back to CS3 for everyone else to read. When looking in the artboard, I can see the un-editable crop marks that were made in CS3, but when I work on the file and save it down, they can no longer call up the crop marks. Any clue as to were they might access what should be there?

    These work great, thank you so much!
    So long as I only work on new stuff, I guess it doesn't matter if I switch to CS3.  :-)   I'll turn down requests for major edits to long documents already done in CS4!
    We have 2 feet of snow on the ground here and are expecting 10-20 more inches of snow starting around noon!  DC is basically shut down.  I live right in the middle of the District, and the roads are a mess here.  I can't imagine how bad the suburbs are.
    Thanks again!
    Phyllis

  • Plug-ins from CS4 to CS5?

    Best way to have the plug-ins transferred to CS5 from CS4?

    You can actually create a second copy of the application icon to run in 32-bit mode.  Just right-click on the application icon, select Copy, then right-click inside the CS5 folder and select Paste.  Rename it to "Photoshop CS5 32" or whatever you like, and then hit Cmd-i and check the "Open in 32-bit mode" box.  The new application will complain that it's been moved when you launch it - just click "Do Not Update" and it will open in 32-bit mode (you can see the x32 in the splash screen), and all of your old plugins will be available if you copied them over.
    I wanted to do this so that, when I don't need 3rd-party plugins (I don't use that many), I can launch in 64-bit mode without having to constantly switch back and forth.  It's particularly handy for launching from Lightroom - if I want to do a lens correction that's not in LR yet (and not in PS CS5 until the Camera Raw 6.1 update hits, but that's another story) I can do an "Edit in" that doesn't load plugins and works in 64-bit mode, but when I want to use Viveza, Noiseware, or the Topaz plugins, I can set up a separate "Edit in" pref to launch the 32-bit version.

  • Moving swatches from CS4 to CS5

    I have just bought AI CS5 and have not been able to switch over all my saved swatches in "user defined" from CS4 to CS5. Can someone advise me on how to do this?  thanks.

    If you are on a Mac the user folder is here:
    Macintosh HD/Users/your user name/Library/Preferences/Adobe Illustrator CS4 Settings/en_US (or whichever language you use) . And the CS5 folder is in teh same place only called Adobe Illustrator CS5 Settings.
    I would use the ase export though and then import into AI CS5.

  • Color Change when saving from CS4

    I have an image from which I wish to make a selection and save as a .png or .gif file on transparent background to use in a collage.  When I re-save the image from CS4, the color is changed quite drastically (face from color to ash!).  The image was shot with a P&S as .jpg but opens in PS first in the cameraRaw dialogue for unknown reasons:
    http://www.gobeck.ca/screenshots/cameraRAW.jpg
    When I save it from CS4:
    http://www.gobeck.ca/screenshots/color_rendition.jpg
    Result form the selection:
    http://www.gobeck.ca/screenshots/color_change.jpg
    How do I resolve this?
    Art

    For disabling JPEG in ACR go to EDIT => Preferences => Camera Raw and switch it to "Disable JPEG Support" at the bottom in JPEG and TIFF handling.
    It seems that you apply the ProPhoto colorspace via ACR.
    So the result can have two reasons: either the JPEG was saved untagged (converted to ProPhoto but without embedded colorspace) or it was tagged and saved with an embedded profile, but the other applications are non- or wrong colormanaged. Both will result in a desaturated image like it shows up to the right:
    How the appear in a non-colormanaged browser, see the names:
    Also the # in the image name (3rd image) indicates that your color settings (workspace settings) in PS are different from the colorspace of the image.
    Either apply sRGB when you go through ACR or disable the open JPEG with ACR feature as desribed above, which should preserve the original colorspace.

  • I am switching from a pc to mac and want to know how I go about transferring files from one to the other.  There is a chance that I will have to hand my pc back before I receive my MacBook so I will need to transfer on to some sort of external hard drive.

    I am switching from an acer laptop to a MacBook Pro.  I may have to hand in my laptop before I receive my new MacBook. What is the best way to back up my files so that I can transfer them to my MacBook.  I cloud cannot be installed on my laptop because it uses a version of windows that is older and doesn't support it.  Hope someone can help.

    Connect a blank powered external drive to the PC.
    Right click on the Disk in the File manager and choose format: exFAT 
    (if it's a XP machine, first install exFAT from Microsoft and reboot)
    navigate to your user account folders on the PC and drag and drop copy (or copy and paste) to the external drive.
    (if a program has your files, then export them out first)
    Hook up the drive to the Mac, and transfer files to the desktop or to their same appropritate folders.
    Import photo's into iPhoto program, import music into iTunes etc and they will manage those files.
    You can continue to use the external exFAT drive between Mac's and PC's
    Do not format the drive NTFS or FAT, NTFS can't be written too by the Mac and FAT can't hold over 4GB sized files.
    If you format exFAT on the Mac, it likely won't work correctly on the  PC.
    "Migration" type programs are a utter waste of time and effort between PC's and Mac's for the fact that only certain files (and no programs or anything else) will work between them, also it's a hassle and takes too long. So don't even bother with it.

Maybe you are looking for

  • How do I redownload itunes music files deleted from my harddrive?

    My hard drive was damaged and  now I've lost at least half of my purchased music.  DO NOT LINK ME TO THE SUPPORT PAGE HERE ON APPLE!!!!! That method does not work  for songs that are pre-iCloud and don't try to tell me otherwise! these songs are not

  • Error in generating a new XSL Transformer from large xslt File

    Good day to all, Currently I am facing a problem that whenever i try generating a Transformer object from TransformerFactory, I will have a TransformerConfigurationException threw. I have did some research from the net and understand that it is due t

  • How do you map a PFI to a clock to measure frequency?

    I am running LabVIEW 8.2 and I am trying to measure the frequency of a voltage on a PFI pin. I have heard that I can map that pin to a counter input to measure the voltage but i cannot figure out how to do it. Are there any VI's already set up to do

  • How to convert any datatype to a number

    Hi -- I have a query I'm writing, and for error-trapping purposes I want to convert whatever information I received in a bind variable into a number. For instance, in my query: SELECT TO_NUMBER('c') FROM dual I get an error because 'c' is not a numbe

  • Dynamic Popup iFrame Problem

    Hi, I'm adding a dynamically created iFrame tag to my main page using javascript to function as a popup page instead of faces-config navigation rules. It dramatically furthers data/page load rendering performance. However, I've got a problem with val