EXPORT FOR ACTIONSCRIPT

I'm noticing that in the Flash Library panel either the original bitmap image file (JPG, PNG, etc.) or its graphic symbol can be exported for actionscript.  Is it best to use the original file (e.i., PNG) and do away with creating a symbol?  Those images will only be used via AS3, not on the stage within the Flash authoring environment.
Regards,
Ron

graphic symbols can be useful for designers that like to design using the timeline:  when you scrub the playhead across a movieclip, the movieclip doesn't play.  but when you scrub the playhead across a graphic, the graphic will play.
i'm a developer, not a designer.  i've never used a graphic even when i was a newbie.  and, i'd venture to say 90% of the contributers to these forums are also developers/not designers and i'll bet they don't use graphics, either.  if you don't use timeline animation, you have no use for graphic symbols.
but for designers that do a lot of timeline animation, graphics can be very useful.

Similar Messages

  • Flash IDE not compiling movieclips with "export for actionscript"

    I'm having a really odd problem with Flash CS5 where I'm getting random compiling errors for movie clips that are exported for actionscript. These are simple graphics that will be created at runtime. Nothing special.
    When I first open the project it gives errors for all the symbols in the project, but if I open and save the settings dialog the errors go away. Sometimes I have to go into individual symbols and check/uncheck the "export for actionscript" box. This is a AS2/Flashlite project.
    Anyone else having these errors? I tried to "save as" the project and clean the ASO cache. No luck.
    Here's an example of the error:
    Symbol=movieBkgrdSmall, layer=Layer 1, frame=1, Line 1    The class or interface 'movieBkgrdSmall' could not be loaded.

    cs5 will scan the current directory and all subdirectories for class files.  sometimes you can have a name conflict and not realize it and that can cause substantial problems.
    when desperate, create a new directory with no subs, save your current project there (with a new name).

  • Import and/or export for actionscript without extention?

    I have a project in which I need to import several hundered png images.
    When I import them into the library, then select all the images, then view the properties, I Check the export for action script and the export in frame 1.
    Now, all my images have class names that I can access though my code, however, it included the file extensions in the class names, thus making invalid class names.
    Is there any way I can import and/or set class names so they do not include the file extensions without having to do it manually for EVERY file?

    My actual project has something like 9200 images in it.
    if  my main project, let's call it "main.fla", was to contain every one of  those images, every time I tried to run or debug it, it would take  FOREVER to compile... as a work around that I discovered in a previous  project was to put all my graphics and media into an swc file. (Let's  call it MyLibrary.swc)
    While I was trying to get the  swc working, I discovered that while my media in the swc was indeed  setup to be exported for actionscript with unquie classes and  everything, when I compiled and built my project, I could not get any of  those media elements using the getDefinitionByName function.
    After alot of reading and trail and error I found that the only way to get it to work was to have someplace in my code, an actual reference to the objects that I was trying to get with getDefinitionByName. It turned out, that without instantiating the object in the code, the compiler was omitting it.
    Now, but instantiate, I mean doing this:
    var bm:BitmapData = new MyImage();
    Where MyImage.png is in my swc and has a class defined as "MyImage"
    Once I do that, then I can do this
    var classRef:Class = Class(  getDefinitionByName("MyImage")  );
    But without that line above SOMEWHERE in my code (even if it's not actually executed), the getDefinitionByName returns an error saying it can't find the class.
    Now, here's the problem.
    When I import all my images into my swc library they get named with the file extention... "MyImage.png" and when I select all the images that Imported and batch set the export for actionscript, they get automatically assigned a class name equal to their library name, so the class name is "MyImage.png"
    so if I wanted to use getDefinitionByName to access the class, I would need to instantiate it in my code by doing this:
    var bm:BitmapData = new MyImage.png();
    BUT, that is erronous as the period causes an error and the adobe docs says right in it that class names can't use periods or any other non-alphanumeric character.
    So while the getDefinitionByName function DOES actually work with classes with periods in them, because my media is external of the main.fla, I can't load it unless it's instantiated first, which leaves me right back where I was.... having to to manually rename over 9000 classes manually one at a time.
    I did some searching and found the "Flash Library Renamer" extension, but it requires me changing all my class names to be sequenial, which the vast majority is not.
    Is there a way that I can import the files into the library and have it omit the file extension?
    if not, is there a way that I can set the class names in a batch and not have it use the file extentions?
    if not, is there an Flash Extention or plug in that will allow batch renaming using regular expression or wildcards?

  • Export for actionscript - Not in first frame

    Just a simple question.
    Don't need to know if it works or not I have tested it. What
    I want is to understand. Here it is:
    If I use the Export for actionscript and I unselect the
    Export in first frame, the item that will be linked by the ID in
    the library must appear on the timeline. Normally it must be on a
    frame that has played. IE frame 3 the item is there so I can use it
    from the frame 3 to the last frame. This is how it works for the
    _root. If I'm in a clip, the code can be on the first frame with a
    stop. That means that the Item is on the second frame and has not
    displayed, but it is accessible by the code.
    Why?
    Why on the root the item must appear on the frame where the
    code is or before the code, but if in a clip, the code can works
    even the item reside on a later frame that will never display
    because there is a stop on the first one?
    Tanx for your help to understand!

    I think that this is probably because of how flash streams
    content. In order for flash to play frame 2 on the timeline, it
    COMPLETELY loads all the code and assets for that frame (but not
    frame 3) and then 'plays' that frame. Therefore on the main
    timeline, code on frame 2 can't access exported clips from frame 3.
    However, if your movie clip is (for example) on frame 4,
    flash will stream/load everything (including your complete move
    clip) when the play head reaches that frame, so all assets within
    that frame are available because in order to even 'play' frame 4,
    flash has had to load the entire movie clip contents.

  • "Class" for Exporting for ActionScript not accessible

    I am trying to export some audio files with Sound Properties > Export for ActionScript. However, for some reason the "Class" box is greyed out and unaccessible. I've tried out a number of different files: .mp3, .wav,  .aif, but Class is still greyed out.
    What is the problem? Is there some sort of workaround?

    I just found out that the reason the reason why it was not editable is because the document has been set up for Actionscript 1.0 and 2.0, not 3.0. I tried to follow this video: http://www.youtube.com/watch?v=r5Ai4-j0bUc on how to export sound to actionscript.
    I've been trying to find the Actionscript 1.0/2.0 version of that workflow to set up a sound, volume, play, frame range, play increment, etc. Is it essentially the same coding?
    import flash.media.SoundTransform
    import flash.media.SoundMixer
    SoundMixer.stopAll()
    // The section below imports the sound you just "Exported for Actionscript"
    // Replace "sound" with the "Class" name you put in the ActionScript tab for the audio clip
    // ** If there is more than one sound, then copy & paste the line below and rename the "sound1" and "sound" to each new audio.
    // ** Do the same process with the ".play" line at the bottom of the program
    var sound1 = new sound();
    // Section below controls the audio volume. Range is between 0-1.
    // Example:  .5 >>>> 50% volume
    var myvolume:SoundTransform = new SoundTransform(.5);
    // Below controls the
    // (<starting frame within audio track>, <frame increment or how fast the track plays>,<Connects to Volume - ignore it>)
    sound1.play(0, 1, myvolume);

  • Font - Export for ActionScript

    Hello,
    When I add a font to the library, export it for ActionScript and select Bitmap text what is that doing exactly ? I am never able to reproduce that font in Photoshop, Notepad or any other program, the one my SWF displays is always a little different.

    Does anyone know what exactly happens when you click 'export for actionscript' on a Font Symbol? I suspect it changes the textfield from unicode to latin-1. Since I lose typical unicode characters while basic latin onces work fine. Anyone how knows for sure or can direct me to some documentation about it?

  • Flash CS5.5 crashes when exporting movieclip for Actionscript

    Hello,
    My Flash CS5.5 crashes when exporting movieclip for Actionscript (select movieclips -> modify -> convert to symbol -> check export for actionscript). I think this only happens when Photoshop CS5 is open.
    Does anyone know how to fix this? I'm using Win7 64-bit. The only open programs are Flash, Photoshop, and Firefox.

    Oddly enough, I opened up Flash again, today, just to see if it was still the same, and it had worked. Everything seemed normal, I opened a new document and started working. Then, out of nowhere it stopped responding again. So I waited for it to respond, it didn't. I closed it from the task manager, and now it's back to the original problem of crashing when I try to create a new document or open an old ontrie
    Update: I tried the cleaner, as you'd suggested. Followed all the steps, but to no avail. Think it may have something to do with my machine, and less with the software?

  • Export for AS: Class vs Base Class

    when i export a movie clip for actionscript, what are the differences between Class & Base Class?  i see most tutorials change Base Class and leave Class as the name of the movie clip defined in the library.

    the main use of the base class is to extend it so many different classes can share it's functionality.
    but even when not needed as a super class, the base class is also helpful when you want to instantiate many different objects using code and you don't want to write/compile many different class files.
    if flash finds you failed to write a class file (for every class exported for actionscript), flash writes a default class files for you.

  • OSX Lion and exporting for iPhone

    There was a thread about how when trying to set and/or publish for iPhone or edit its settings, Flash CS5 immediately crashes. The problem has been experienced by many Mac OSX Lion users and they talked about it in this unresolved thread: http://forums.adobe.com/thread/888198#3851750 but still no updates from Adobe. Adobe sent me a response to my Support ticket that "it's an Actionscript 3 coding issue" then closed it so I couldn't reply. Ummmm, NO it isn't a coding issue, I tried to export an FLA file with no code in it. That's a really bad way to do business, Adobe. But since they're not going to be helpful (and probably lose me as a customer) has anyone else found a workaround for this?

    ccroo wrote:
    The aspect ratio of the iphone screen is 480 x 320, but that size is not an option when exporting for iPhone using Compressor. You have to use a custom setting.
    Why is this the case?
    You have to understand that the Apple-provided presets are good launching points, not end-all, be-all settings.
    And iPhones do support material encoded as 640 pixels wide so the preset for VGA (up to 640x480) works fine for most people. I personally rarely use anything smaller than the VGA setting for Apple Devices as I find that's the perfect middle ground for iPods, iPhones and AppleTV.
    If you (understandably) need to limit your file and frame sizes, adjusting the device setting in Compressor to iPhone (Local/WiFi) does the trick - fitting your movie into a 480 pixel-wide frame size and capping the video data rate at 1000 Kbps.
    Letterboxing - as in hard mattes - is not needed when encoding for Apple Devices. In fact, if you have letterboxing in your source media, use the Geometry pane to crop out the Letterbox Area of Source. That will provide you with a better quality encode and the preset will know to adjust your output frame size, so you need not worry about distorting your movie.

  • Problem with Exporter for MS Access 3.2 in SQL Developer

    Hi,
    I have problem with exporting tables and data from MS Access to XML with Exporter for MS Access 2000.
    This error ocurr: 'Error #5 - XML Exporter'
    When I use Exporter for MS Access 2002 this error ocurr: 'Error #3478 - XML Exporter'
    Any leads how to solve this problem ?

    Thread moved to Forum Home » Database » SQL Developer
    SQL Developer
    Please, stay tune there.
    Nicolas.

  • Edit Color Sync for Exports for Web Sites

    Hi,
    Perhaps this has been covered, but I've not found the thread. Most of the export color sync questions seem to revolve around printing or displaying on one's own monitor. Neither is an issue for me. However, I note that my RAW images exported from Aperture 2.0 as jpg's and then uploaded to web sites such as Jalbum and Orkut are washed out. Some forums have suggested this is due to those websites being optimized for sRGB. I understand that Aperture uses a proprietary color sync profile; however, my default EXIF - Expanded shows "Color Model" as simply "RGB", and "Profile Name" is Adobe RGB (1998) (my Canon 50D is set to sRGB). Again, I have seen suggestions on this forum that one can change these settings, but the process appears to be only for printers and monitors. Where/how can I change the export for uploading jpg's to the web.
    Thanks,
    Nick

    I understand that Aperture uses a proprietary color sync profile
    If the profile were proprietary, it would be an illegal profile under the ICC Specification.
    However, I note that my RAW images exported from Aperture 2.0 as jpg's and then uploaded to web sites such as Jalbum and Orkut are washed out.
    If you did not disable embedding of an ICC source colour space in Aperture, if you did not use a non-ICC enabled browser, the OS X system level services will set up a ColorWorld and convert the pixels in your JPEGs matching from the ICC source colour space to the ICC destination colour space of your display. Thus you will get what you uploaded in the first place.
    I have seen suggestions on this forum that one can change these settings, but the process appears to be only for printers and monitors.
    The idea is that each and every colour device is calibrated and that calibration is captured in a colourimetric colour characterisation from which an ICC colour device profile is computed. Colourants that form certain colours one one colour device at one calibration will form other colours in the same colour device at another calibration and in other colour devices at yet other calibrations. By means of device profiles, the COLOURS can be kept constant while the COLOURANTS are recomputed to compel the device to paint the closest possible match it is capable of.
    Some forums have suggested this is due to those websites being optimized for sRGB.
    The issue is whether people who post pictures do or do not embed ICC source colour spaces into their pictures and whether they pick browsers that are ICC-enabled or pick colour blind browsers.
    To determine if there is an embedded ICC source colour space in a picture, download the picture to disk, open iApple Preview and select Tools > Get Info > Summary.
    Colour Model: This defines the format or model of the colourants, e.g. three component RGB, four component CMYK.
    ColorSync Profile: This defines the ICC source colour space. If there is none in the image file, the system level service assigns the Generic RGB Profile for model RGB, the Generic CMYK Profile for model CMYK and so forth. Therefore, any ICC source colour space than a Generic Profile source colour space is embedded in the image file itself.
    In technical terms, the rule is that to construct a ColourWorld that does a colour space conversion through the PCS Profile Connection Space, you have to have an ICC source colour space and an ICC destination colour space (typically your display profile). It follows that the system level service ASSIGNS an ICC source colour space automatically where is none embedded. The ICC source colour space that is assigned when there is none embedded is the Generic RGB Profile for colourant model RGB, as explained.
    /hh

  • Mail export for OS 10.8.5

    Mail export for OS 10.8.5 (OS Mountain Lion):
    How to export your mailbox?
    Press Option button (keyboard) AND select "Go" folder using your mouse at the top of the window in Finder.
    Look for "Library" on the menu bar.  After you select the Library, you will see Mail folder.
    Open that Mail folder.
    There is only one folder that shows you "V2."  I do not know why it is created.  Go look inside that folder.
    Now, you see your created mail folder such as Mailboxes, MailData, POP- ... folders, and RSS.  Please becareful.
    Please go back two times (arrow left) where you found Mail folder.
    Finally, you drag that specific folder manually - Mail folder   into your external hard disk drive.  That's what you wanted for your backup.
    Hope that help!

    Mail export for OS 10.8.5 (OS Mountain Lion):
    How to export your mailbox?
    Press Option button (keyboard) AND select "Go" folder using your mouse at the top of the window in Finder.
    Look for "Library" on the menu bar.  After you select the Library, you will see Mail folder.
    Open that Mail folder.
    There is only one folder that shows you "V2."  I do not know why it is created.  Go look inside that folder.
    Now, you see your created mail folder such as Mailboxes, MailData, POP- ... folders, and RSS.  Please becareful.
    Please go back two times (arrow left) where you found Mail folder.
    Finally, you drag that specific folder manually - Mail folder   into your external hard disk drive.  That's what you wanted for your backup.
    Hope that help!

  • Export for web doesn't work (X and 7).

    I use the export for web feature a lot.  I find that I have to bounce back and forth between Quicktime 7 and X because sometime this feature will work and sometimes it doesn't.  There's no consistent reason I can figure out why the applications will or will not work properly.  On some occasions I get some small 8Kb file.  On other occasions, I only get the audio.
    Any ideas?

    Uhh, the system requirements for Photoshop CC state you need 2 GB RAM, 8 GB recommended. This is likely your problem.
    Benjamin

  • Strokes on appearance is getting cut off when exporting for web & Devices

    I'm a screen print artist using Adobe Illustrator CS5 in windows 7(blah!) to export images of our customers' artwork into a huge folder of images on a server. The images are then loaded into a program so that they can be viewed company-wide and by the customer.
    Occasionally, when there is an appearance applied to text it seems to cut off the tops and/or bottoms of the outermost stroke.This seems to be only happening to text, and happens randomly and is very annoying. See the image attached.
    it does this with both JPEG and PNG images, and whats more, changes when you adjust the image size. it either gets better or worse. I have to change the image size on every export so that they are all within our size requirements.
    I have found that if you put the art into an envelope with all the settings at 0 and then export for web it prevents this from happening. However, that isn't very efficient as i need to be moving a ton of artwork a day, and I am not the only person who may be working on the Illustrator file.
    Is there any setting either in illustrator or windows that may be causing this anomaly?

    Try adding:
    Effect >> Path >> Outline Object
    So  your type will still be editable
    If that does not work you may want to:
    Type: Create Outline
    I only had this problem once before, on some snickerdoodle cookies package, and that was a script font. Might be related to the font you use.

  • FCP 7 exporting for DVD, Image problems

    Hey,
    New here so sorry if I'm a little slow with everything.  We shot some concert footage using 4 cameras, 3 cameras shot in 1440X1080 HDV 1080i60 and the other camera shot in AVCHD but was imported as 1440X1080 ProRes 422.  I edited the video in a sequence with settings of 1440X1080, field dominance of Upper (odd), and compressor HDV 1080i60.  I was trying to find a way to export for SD DVD in the best quality I could and found Ken Stone's site,
    http://www.kenstone.net/fcp_homepage/hdv_timeline_to_sd_dvd.html
    It's worked for me on other projects. This project is a 2 1/2 hour DVD, so I tested that method on a minute of the footage and it didn't come out well just for one camera.  I followed Ken Stone's page and took the sequence and changed the settings to field dominance None, and compressor to ProRes 422.  Then I exported using quicktime conversion with settings of ProRes 422 HQ.  Once that file is exported I've been taking it to Compressor and using either DVD Best 90 Minutes or 120 Minutes.  On the max bitrate I don't go above 7.9 and on the average I'm usually around 6.7 for Best 90 minutes and 5.2 for Best 120 minutes.  Whenever I put the footage in DVD Studio Pro, the footage from the 3 cameras shot in 1080i60 look great but the footage originally shot in AVCHD has all sorts of lines and distortion on movement.  I'm just trying to find out if there is a better way for me to take my footage from final cut to SD DVD and still get good looking footage out of the original AVCHD footage.  I don't really understand why the footage from the AVCDD footage is coming out like that since it was imported as ProRes 422.  Any ideas on how to fix this?
    Thanks,
    Matt

    Thanks a lot, this did the trick.
    Yeah I'm doing a dual layer dvd, but I'm sending it off for replication so from what I've read it sounds like I have to build and format the dvd, then burn each Layer to it's own dvd.  Do you have any experience with this?  The break point is kind of confusing me right now because it sounds like just a lot of trial and error.
    Thanks again
    Matt

Maybe you are looking for

  • External HD won't work and cannot repair or erase? please help!!

    Hello, I brought a 1 TB WD external hard drive and formatted it to use with both my mac and windows. At first it was working perfectly but after around 1-2 weeks it suddenly stopped. Now it doesn't show up on a mac or windows. I can see it on my disk

  • [SOLVED] Verifying systemd conversion

    Good Afternoon Fellow Archers, I have an x86_64 installation of Arch when Arch was still using sysV init. When systemd was recommended, I switched over as recommended. So my system should be pure systemd, at least so I think. And the changeover was f

  • Product Category field in basic list be edit mode.

    Hi Expert, We are using SRM 5.0. In basic data we have a field Product Category which is gradeout mode(not editable). my requirement was to make it editable. please help me. Thank and reagrds, Tirumala

  • User status for production order

    From which table i can get the USER STATUS for a  production order?

  • Setting HTML tag defaults

    Using robohelp 10 on win 7 Is there a way to change or set the HTML tag used by WYSIWYG "formatting" toolbar? For example, when i click "bold" using the formatting toolbar it creates a span tag <span style="font-weight: bold;"> instead of simply usin