Actionscript 1 in Flash CS 5

Hi,
  I have been given the "opportunity" of working with a Flash application using AS 1.  The big however, besides being new to Flash, is that I have also been provided with CS 5 to use as development tool.  The question I have is will this work or do I have to use AS2? If I have to move to AS 2 how much pain am I in for with moving to AS 2?
Oh and I have a very short deadline for a few minor tweeks.
Thanks in advance.

You should be able to use any version of Flash to work with an AS1 file.  Saving it as an AS2 file shouldn't be a problem since you can pretty much mix AS1 and AS2 into the same file anyways.

Similar Messages

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • ActionScript 3.0 Flash video gallery Tweak

    Hi,
    Is there a way to remove the 2nd filter option on the
    ActionScript 3.0 Flash video gallery ?
    Sadly our coding guru is away on holiday and we need to try
    and find a solution asap.
    (commenting section out etc just makes it fall over)
    Any help would be most appreciated.
    Cheers,
    Andrew

    To do it in AS2 you need just install the remoting classes again. You can either copy them fro your old install or get them:
    http://drupal.org/node/258605
    Scroll down a bit and you'll see a link to the as2 remoting classes: Remoting_FlashCS3.zip
    In AS3 there are a few ways. Some people have made classes for it, or you can use the built in methods of NetConnection. Here's a couple examples of that:
    http://www.oscartrelles.com/archives/as3_flash_remoting_example
    http://www.flash-db.com/Tutorials/helloAS3/

  • Learning ActionScript for developing FLASH Games

    Hi ,
    I dont whether i can post this question here or there is any other Forum for ActionScript , if so sorry for that .
    Now to the question , I know some what ActionScript like Events , custom UI Components , and classes  as required for simple FLEX development .
    To what extent we need to learn ActionScript to develop Flash Games ??
    Can anybody suggest me as where to start with , what is the correct approach and is there any IDE avialable for that .
    Please share your ideas on this     

    hi,
    Depends on what sort of games you want to write, firstly you will definitely need to become familiar with actionscript, most gaming and 3d engines for flash games are done in pure actionscript. You can developer your games in flex even if you don't uses mxml basically the real power of games is in the code which means actionscript.
    http://pushbuttonengine.com/  a gaming engine for flex/ flash
    http://away3d.com/  3d engine for flex/flash
    http://www.flashrealtime.com/flash-game-library-engine-list/   a site that will have you reading lots of interesting stuff.
    David.

  • How do I use Embed with an environment variable in an Actionscript AIR project Flash Builder 4.7

    I am using Flash Builder 4.7 to build an Actionscript AIR project.  The project embeds a number of png files from my local directory and I have been using absolute paths which all works fine.
    I have a laptop with which I want to start developing the same project - I set up a git repository that both the laptop and main pc can pull from and so I can get the source where I need it and push it back to the central repository.
    My problem is that the absolute paths for the embed commands don't work on the laptop as it has a different filesystem setup (Windows 8 with one drive as opposed to Windows 7 with a SSD and a data drive).  I thought the solution would be as easy as using an environment variable to specify the path which could then point to a different physical directory on both machines, i.e:
    [Embed(source = "DEVELOPER_RESOURCES/graphics/are/here.png"]
    I did a bit of research and there was quite a lot mentioned about setting up resource directories using path variables which I worked through but I just can't get it to compile.  The Actionscript compiler just won't find the png files however I specify the path.  I tried something with a FLEX project and the compiler didn't complain but I think this is because the compiler for FLEX uses a different convention.
    [Embed(source ="/Project Name/DEVELOPER_RESOURCES/graphics/are/here.png"]  works with FLEX but not Actionscript.
    So does anyone have a recipe for using the Embed command referencing assets using an environment variable that works across multiple machines with different file structures?

    I managed to find a solution on Windows which was to use symlinks and absolute paths.  You an basically point one directory to another so I did something like:
    mklink c:\developer_resources c:/the/local/path/to/my/resources
    and then reference all resources as c:\developer_resources\...
    Now as long as a developer machine has the right link (from c:\developer_resources to the place where the resources are kept) then it seems to work. 
    This doesn't however work for Mac and certainly isn't a solution for passing files between Mac and windows

  • Error#1009. Actionscript error in Flash Game I'm making...

    Hi,
    I'm making a Flash game and rather than putting all the AS3 on a seperate .as file, I'm throwing it on the timeline, which may or may not be a mistake since this game is getting really big, really fast and messy.
    And so I'm getting this error when I test:
    TypeError: Error #1009: Cannot access a property or method of a null object reference at GameBeta_MainTimeline_fla::MainTimeline/frame1()
    From what I've read on this error, it refers to something that isn't instantiated yet, like something that's out of order? Like I'm referring to something that doesn't exist at the point in time that I'm referring to it? So I'm looking at my AS3 and have NO idea. Here is what I have written:
    stop();
    //TITLE PAGE
    play_game.addEventListener(MouseEvent.CLICK, startgame)
    function startgame(evt:MouseEvent):void
        gotoAndStop("Name Input");
    //Name and Gender input page
    var userName:String;
    inputField.addEventListener(Event.CHANGE, onInput)
    function onInput(e:Event):void
         outputField.text = "So your name is " + inputField.text + " are you sure?";
         userName = inputField.text;
    confirm_input.addEventListener(MouseEvent.CLICK, toCreationpg)
    function toCreationpg(evt:MouseEvent):void
        gotoAndStop("Fem Creation");
        outputField.text = "So your name is "+ userName;
    //Character Creation Page
    readytostart.addEventListener(MouseEvent.CLICK, firstscene_plz)
    function firstscene_plz(evt:MouseEvent):void
        gotoAndStop("Day03");
        outputField.text = "Let's make your character, "+ userName;
    So, any ideas as to why I'm getting this error?
    Before I had each page with it's own Actionscript and buttons inside their own movieclips on the timeline. That was getting confusing so I took everything out of the movieclips to place everything on one timeline and have one layer of Actionscript hoping to simplify things and find the problem easier. No luck. It's supposed to have a Title page and a button that goes to the 2nd page where you input your name, and while you type, it shows your name before you confirm by hitting another button that finally goes to the Character Creation page. When I test, I just get that Error#1009, it'll get to the 2nd page for the name input, but the text fields act wacky and the button to proceed isn't working. I'm hoping that when I find the source of this error, the rest will be fixed as well.
    Thanks in advance for any advice offered! I'll greatly appreciate it.

    Yeah, that's what makes me even more confused. I have a seperate file where I'm testing the name input mechanics alone, just using this piece of actionscript, one input box with an instance inputField and a dynamic box outputField, a button, instance enter_name, that confirms and repeats the input on the next page. And it works.
    inputField.addEventListener(Event.CHANGE, onInput)
    var userName:String;
    function onInput(e:Event):void
         outputField.text = "You typed " + inputField.text;
         userName = inputField.text;
    enter_name.addEventListener(MouseEvent.CLICK, onClick)
    function onClick(evt:MouseEvent):void
        gotoAndStop("frame two");
        outputField.text = "So your name is "+ userName;
    So I don't get the error with that seperate file so could it be that other things are conflicting with this? Perhaps the order in which I've written my actionscript or the way I've organized my frames? In my other file, it says it's the inputField Event Listener but it'll work when I take out all the other frames and script...

  • Where is flash remoting in actionscript 3.0\flash cs5

    hello everybody,
    i have been looking throught all the available tutorials on this site including flash cs5 help, actionscript 3.0 developer's guide, learning actionscript 3.0 and i can't seem to find anything relating to flash remoting (i.e how to retrieve and send data to and  from a server like coldfusion). has it been removed?
    i have solutions that were built with flash and actionscript 2.0 that uses data retrieved from coldfusion server for it's operation, i was thinking of migrating them to actionscript 3.0, but it keeps saying that the classes, packages or interfaces like mx.remoting, mx.rpc can not be found. even when i create a new flash document specifying 2.0 as the docuent type, it is still not compiling,. does this mean i have to revert to flash 8\actionscript 2.0 because that is what i built the programs with. please  any information or guidiance will be highly appreciated.
    thanks to you all.

    To do it in AS2 you need just install the remoting classes again. You can either copy them fro your old install or get them:
    http://drupal.org/node/258605
    Scroll down a bit and you'll see a link to the as2 remoting classes: Remoting_FlashCS3.zip
    In AS3 there are a few ways. Some people have made classes for it, or you can use the built in methods of NetConnection. Here's a couple examples of that:
    http://www.oscartrelles.com/archives/as3_flash_remoting_example
    http://www.flash-db.com/Tutorials/helloAS3/

  • Actionscript 2 and Flash Publish Settings

    Hi Everyone,
    I have posted a couple questions as of late and received fantastic support from other members (Thanks K-Glad).
    I do have what I'm assuming to be a basic question however I cannot find an answer for it.
    I added some login script to a page as listed below.
    stop();
    eval("$version");
    appname="mikesapp"
    loadVariablesNum("http://bars.bevinco.com/mike/newlogin.php", 0, "POST");
    //This verifys the users status and forwards them to the portion of the website they are authorized to access. Frame 100 = Regional Access, Frame 200 = Franchise Access, Frame 300 = Employee Access and Frame 400 = Denied Access and Back Button
    this.onEnterFrame = function () {
        if(_root.checklog == 100){
            _root.gotoAndStop(5);
        if(_root.checklog == 200){
            _root.gotoAndStop(10);
        if(_root.checklog == 300){
            _root.gotoAndStop(15);
        if(_root.checklog == 999){
            _root.gotoAndStop(20);
    My Question
    When testing this movie, I found that it was not moving to the section of the flash file that is relative to their "authorization level". I.E. I manually had my PHP echo back to flash, advising that REGIONAL ACCESS was used therefore it should be move this user to FRAME 5 of the file.
    I found that it was staying stuck on the first frame and not moving beyond the 1st frame which I thought had something to do with the stop(); that is listed at the top of the actionscript.
    However, when I changed the FLASH PUBLISH settings from Flash Player 8 to Flash Player 6, it works flawlessly.
    I attempted to publish using Flash 7 however it appears FLASH 6 is as high as I can go without loosing it's functionality.
    I'm curious WHY and will this limit our users from using the site if they have a lower version of Flash installed on their CPU?
    I have attached the project FLA file and the PHP file, being used on the server to manually tell this file that a REGIONAL has signed in or someone with "100" level status.
    As always, thanks in advance to anyone that has taken the time to read this post.
    Cheers,
    Mike

    checklog is a string (even though it looks like a number to you).  flash 6 allowed quite a bit more code sloppiness than later versions.  so, it's very common for users to find publishing for fp6 works, while publishing for fp's higher breaks their code.
    you should use:
    this.onEnterFrame = function () {
        if(_root.checklog == "100"){
    delete this.onEnterFrame
            _root.gotoAndStop(5);
        if(_root.checklog == "200"){
    delete this.onEnterFrame
            _root.gotoAndStop(10);
        if(_root.checklog == "300"){
    delete this.onEnterFrame
            _root.gotoAndStop(15);
        if(_root.checklog == "999"){
    delete this.onEnterFrame
            _root.gotoAndStop(20);

  • ActionScript version for Flash 8 Pro?

    I just bought Flash 8 Pro, and discovered that the
    ActionScript version is 2.0. I was really hoping for the Regular
    Expressions classes, but they are only coming in ActionScript 3.0
    evidently.
    Will we be able to update the ActionScript version in our
    present Flash systems?
    Bob, Moscow Idaho

    probably not. but you can download flash 9 alpha (or maybe
    it's beta by now) for free. search google for a link.

  • Webservice, actionscript 3 and flash

    Hi,
    a simple question : Is it possible to use webservice with
    actionscript 3.0 and flash?
    I know it was possible with actionscript 2.0 and actionscript
    3.0 with flex, but under flash....
    Thanks,
    Pascal

    Pascal,
    > I don't find the three classes show on Michel's page
    > :Operation, OperationEvent and WebService. I get
    > a unique item instead called as3webservice whose
    > icon looks also different...
    The single component is in your Library, which is all you
    need. Just
    start coding, and the classes should work just fine.
    The three items showing on his website are taken from a
    snapshot of an
    older version of the component. Pieter changed it at my
    request when I
    discovered that his component didn't work in Flash CS4 (it
    does now). That
    wasn't his fault, by the way ... in fact, it wasn't anyone's
    fault. Adobe
    engineers corrected a bug in the way components are
    implemented in CS4, and
    that fix meant Pieter had to recreate his component ... which
    may also be
    true for many component developers.
    Here's a free tutorial at Community MX on a suggested usage
    scenario for
    this component (in fact, this is an excertp from the book I
    mentioned) ...
    http://www.communitymx.com/abstract.cfm?cid=2266C
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Problem with actionscript window in Flash CS3 IDE

    The actionscript window doesn't open up for any frames on the
    timeline. When I press 'F9' or try to access via context menu the
    action window tab appears at the top in minimized form. No matter
    how many times I click on it or on the maximize button the window
    doesn't open up. I tried reinstalling Flash CS3 but it didn't help.
    Any help with this issue is appreciated.
    Thanks!

    Found a solution for this atlast ! Delete the Users/AppData
    folder for flash CS3 and things will be back to normal. It seems
    the Flash IDE screws somewhere while saving the local users
    settings. Clearing these settings restored my action window
    !

  • DW CS5 use ActionScript files without Flash

    Our websites must avoid requiring a Flash download in the client browser.
    Can we use Dreamweaver CS5 with ActionScript files (.as) without requiring Flash in a browser?
    For example, DW CS5 menus include File -> New ... -> ActionScript,
    but I cannot find literature or examples on using .as with Dreamweaver.
    thanks,
    Bruce

    ActionScript is the backbone for Flash applications (FLV or SWF).
    Unlike HTML & JavaScript, ActionScript is not a web programming language per se.  It is a Flash programming language.  And while some web devices support Flash many others do not.
    If your site cannot use Flash then your ActionScript will need to be replaced with a suitable web alternative.  Perhaps jQuery or Ajax (JavaScript & CSS).
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Actionscript that runs Flash animation

    Hi
    I tried out the 101 flash tutorial here -
    http://www.adobe.com/designcenter/flash/articles/flacs3_createfla_02.html
    The animation works fine (the circle moves from left to right
    thanks
    to a "motion tween") but can I see the actionScript code for
    that?
    The question is essentially, if you make a flash animation
    using this
    GUI editor, can you see the actionScript commands that drive
    this
    animation? e.g. I have Alias Maya before and that generates
    MEL script
    code for all animations so you can control your animation via
    the GUI
    editor in addition to a script editor also
    This would be useful if you could switch between GUI view and
    command-editor view for your animation - I could not locate
    this on
    the net ...
    Thanks
    - Sami

    Ok, I'm a bit confused.  When you boot into safe mode, does it work?  If so, then it's definitely a service/utility that is being loaded on boot (in normal mode) that is conflicting.  My first inclination is to suspect the virus/security software that you have installed.
    Normally, I'd use the tool "msconfig" to turn different items off until I discovered the culprit.  However, sometimes this isn't enough for a virus scanner.  So, to start I'd try temporarily uninstalling your virus/security software, then rebooting into normal mode to see if that makes a difference.
    If it fixes the problem, then I'd recommend contacting the security company to see what they'd recommend.
    If it still occurs, then try using msconfig to selectively disable apps/services until you've found the problem.
    http://www.makeuseof.com/tag/how-to-troubleshoot-your-windows-with-the-msconfig-utility/

  • Actionscript is causing Flash to crash everytime, Here are my error reports

    Someone please help, I have built an animation and can't apply the stop action to my final frame so the animation just replays over and over. BIG PROBLEM.
    Console saying:
    Jul 19 20:23:22 Brad-Haynes-Computer crashdump[230]: Flash crashed
    Jul 19 20:23:24 Brad-Haynes-Computer crashdump[230]: crash report written to: /Users/brad/Library/Logs/CrashReporter/Flash.crash.log
    Flash.crash.log saying: (last few crashes)
    0xc2000000 - 0xc21c9fff Xerces /Applications/Macromedia Flash 8/Flash 8.app/Contents/Frameworks/Xerces.framework/Versions/A/Xerces
    0xc3000000 - 0xc3017fff com.macromedia.NetIO NetIO v1.0 (1.0) /Applications/Macromedia Flash 8/Flash 8.app/Contents/Frameworks/NetIO.framework/Versions/A/NetIO
    0xc7000000 - 0xc7025fff CoreTypes.dylib /Applications/Macromedia Flash 8/Flash 8.app/Contents/MacOS/CoreTypes.dylib
    thanks in advance,
    brad

    This help? (still not log in its entirety, but that is just too long to post.)
    /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x9423e000 - 0x9423efff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x94240000 - 0x943f3fff com.apple.QuartzCore 1.4.8 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x94446000 - 0x94483fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x9448b000 - 0x944dbfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x9467e000 - 0x9468dfff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94695000 - 0x946a2fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x946e8000 - 0x94701fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x94708000 - 0x949bcfff com.apple.QuickTime 7.1.2 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x94a80000 - 0x94af1fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x94b64000 - 0x94b85fff libmx.A.dylib /usr/lib/libmx.A.dylib
    0x94eed000 - 0x94f0afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x95629000 - 0x956b7fff com.apple.WebKit 418.8 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x95713000 - 0x957a9fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
    0x957e6000 - 0x95af2fff com.apple.WebCore 418.19 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x95c7b000 - 0x95ca4fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
    0x9642c000 - 0x96442fff libJapaneseConverter.dylib /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    0x96ec1000 - 0x96ee0fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x976e6000 - 0x976f3fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x98b8e000 - 0x99564fff com.apple.QuickTimeComponents.component 7.1.2 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    0x9a33e000 - 0x9a35cfff com.apple.OpenTransport 2.0 /System/Library/PrivateFrameworks/OpenTransport.framework/OpenTransport
    0xc0000000 - 0xc0019fff ZLib.dylib /Applications/Macromedia Flash 8/Flash 8.app/Contents/Frameworks/ZLib.dylib
    0xc2000000 - 0xc21c9fff Xerces /Applications/Macromedia Flash 8/Flash 8.app/Contents/Frameworks/Xerces.framework/Versions/A/Xerces
    0xc3000000 - 0xc3017fff com.macromedia.NetIO NetIO v1.0 (1.0) /Applications/Macromedia Flash 8/Flash 8.app/Contents/Frameworks/NetIO.framework/Versions/A/NetIO
    0xc7000000 - 0xc7025fff CoreTypes.dylib /Applications/Macromedia Flash 8/Flash 8.app/Contents/MacOS/CoreTypes.dylib

  • TextArea - Adobe ActionScript 3 (AS3 Flash) API Reference

    This question was posted in response to the following article: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/controls/TextArea.ht ml

    >verticalScrollPosition     property     
    >Gets or sets the change in the position of the scroll bar thumb, in pixels, after the user scrolls the text field vertically. If this value is 1, the text field was not vertically scrolled.
    >The default value is 1.
    I think this should say "in lines" rather than "in pixels", same as scrollV property of the source TextField.

Maybe you are looking for

  • Birthday calendar bizarre repetitions and other issues

    I have the STRANGEST things happening with birthdays on both my iPhone (5, 32GB, white, iOS 6) and iPad (32GB, iOS 6, white). I'm posting it here in the iPhone forum, assuming more people may be able to help. First of all, I sync a Google Apps calend

  • Why was the split pane removed from Acrobat?

    I recently upgraded from Acrobat 9 to Acrobat 11, and find that I'm not able to be as productive in 11. It's much harder to perform reviews because the Comment pane is difficult to work with. By default, the Comment pane is too narrow to be useful. I

  • Account Assignment Tab not in PO

    Hi All.    If Account Assignment Category is not entered for a particular PO, will Account Assignment Tab be there for that PO? Please help Regards Jyothi

  • A tricky requirement

    All, I have a tricky requirement. I have a table A which has around 50 million records. I have 10 other tables say tab1, tab2 ..... tab10. Each of these tables have records from 10 million (from tab1-tab5) and half/1 billion (tab 5 -tab10). The requi

  • Phone won't turn on after lock screen until I reset

    So recently every time I lock my phone I can't unlock it with out restarting it using the off button near the sim card. Certain apps such as Facebook and Sky News then won't work. My phone is about 8 months old and is up to date so don't know why thi