How to do a simple or basic actionscript on Adobe Flash CS4? I am just having problems

I am doing my simple portfolio on Adobe Flash CS4. However when I am already looking just for the basic action scripting from the tutorial I can't determine which is the most accurate for the buttons.
Here's my sample below
the texts that were listed below are my buttons such as  ABOUT, PROFILE, PRINT ADS, MAGAZINE, LOGO, PRINT, ILLUSTRATION, and DESIGN CONCEPT
I've already convert it into symbol as BUTTON and now I am ready to put a basic action script to function and transfer into another scene.
Example I want to function the ILLUSTRATION and PRINT button into Illustration and Print scene how would I do the action script about it?
Here's the example of next scenes that could be clicked from the homepage
This is the ILLUSTRATION scene
This is the PRINT scene
Please help me on how to do the action scripting by using the gotoAndPlay or anything else to function my portfolio. Thank you

Give each of your buttons an instance name via the Properties panel.  As an example fr coding them, let's say you named the button "about_btn" for the scene named "about" that you want it to go to.  Then to have that button make your file go to the about scene, you would add the following code into a frame of the timeline where that button is (in a separate actions layer preferably).  Select the frame and in the Actions panel write...
about_btn.onRelease = function(){
     gotoAndStop("about", 1);
If you wanted it to play instead of stop at frame 1 of the about scene, then you would use gotoAndPlay(...) instead of gotoAndStop(...).  If you intended to go to a frame other than 1, then it is best to use frame labels and specify the label instead of the frame number.
Just a word of warning, if you haven't gotten too far with the design yet, you should back away from using scenes and just build all your sections into the first scene as sections of the timeline and/or movieclips.  Combining scenes with navigation can be problematic... they just don't play right.  Scenes are more useful for animations that do not have navigation.
When you use just the one scene, all your gotoAndStop/Play commands only need to specify the frame... as in gotoAndStop(1);

Similar Messages

  • I am trying to update my adobe flash player and I am having problems logging on as I cannot remember my password-how do I reset that password

    I am trying to update my adobe flash player and I am having problems logging on as I cannot remember my password…how do I reset that password

    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password starting from Recovery HD
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • 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
    >

  • How do I fix a font compatibilty issue from Mac to Windows, using Adobe Flash CS4?

    Hi,
    I need to edit a Flash movie that somebody else developed in Adobe Flash CS3 on a Mac. I'm using Adobe Flash CS4 on Windows (Vista). However, the font that shows up on my computer is much bigger than on the .SWF that he produced.
    He used a custom font, which I had to add to my system Fonts folder. Because Adobe Flash detected the right fonts on my computer, it didn't map them to substitute fonts. I verified that Flash is indeed using the same font files that he used.
    I believe the fonts are being rendered differently because I'm using Windows.
    How do I fix this?

    hi all - I have a similar problem with flash - basically the plugin crashes pretty much every time I am not looking at it directly (playing online games in tabs for example)
    I have tried disabling the "memory-safe-away-time-out thingee" in config:about - to no avail. I have also tried disabling all other plugins (not that I actually have many - Java, VLC, quicktime, some windows stuff), have set themes to default, have made sure all plugins are latest version.
    currently running the 4.0.b2 Firefox version cause of the plug in crashes in the 3.6.8 version - same problem though.
    and where it gets really strange is that a friendly help person on the adobe site suggested I upgrade my firefox to version 3.8 (while I was on the 3.6.8 version) and that would fix it. which I thought was.. interesting as 3.6.8 is the latest version as Firefox upgrade check insisted.
    by now i have invested at least 4 days trying to fix this issue and I gotta say... I am tempted to actually try other browsers, though firefox is my default browser since years.

  • How can I import a .swf file in Adobe Flash CS4?

    Hi,
    How can I import a .swf file in Adobe Flash CS4?
    Thanks.

    you can use file/import but that would be a mistake.
    you should "load" your swf, not import it.
    if you want to load it and need help, are you using as2 or as3?

  • I am trying to experiment with Tweens and Easing Types in ActionScript 3.0, Adobe Flash CS4. help

    I am using ActionScript 3.0, Adobe Flash CS4 software
    I have created Tweens for some MovieClip properties and experimented with some of the easing types.
    This is what I have managed to create and works okay!
    grow_btn.addEventListener(MouseEvent.CLICK, grow);
    shrink_btn.addEventListener(MouseEvent.CLICK, shrink);
    rotate_btn.addEventListener(MouseEvent.CLICK, rotate);
    hide_btn.addEventListener(MouseEvent.CLICK, hideClip);
    show_btn.addEventListener(MouseEvent.CLICK, showClip);
    fadeOut_btn.addEventListener(MouseEvent.CLICK, fadeOut);
    fadeIn_btn.addEventListener(MouseEvent.CLICK,fadeIn);
    function grow(e:MouseEvent):void {
                    var scale1:Tween = new Tween(instrument, "scaleX", Back.easeIn, 0, 1, 3, true);
                    var scale2:Tween = new Tween(instrument, "scaleY", Back.easeIn, 0, 1, 3, true);
    function shrink(e:MouseEvent):void {
    var oneSmall:Tween = new Tween(instrument, "scaleX", Back.easeInOut, 0, -.2, 3, true);
    var twoSmall: Tween = new Tween(instrument, "scaleY", Back.easeInOut, 0, -.2, 3, true);
    function rotate(e:MouseEvent):void {
    var spin:Tween = new Tween(instrument, "rotation", Elastic.easeOut, 0, 360, 5, true)
    function hideClip(e:MouseEvent):void {
    instrument.visible = false;
    function showClip(e:MouseEvent):void {
    instrument.visible = true;
    function fadeOut(e:MouseEvent):void {
    var tweenfadeOut:Tween = new Tween(instrument, "alpha", None.easeOut, 1, -.1, 3, true);
    function fadeIn(e:MouseEvent):void {
    var tweenfadeIn:Tween = new Tween(instrument, "alpha", None.easeIn, 0, 1, 3, true);
    I am having trouble creating Tweens and add easing types for the action script below!
    I keep getting error message (“Access of undefined property Sine”) for example when I type
    function hideClip(e:MouseEvent):void {
    var noClip:Tween = new Tween(instrument, "visible", Sine.easeOut, 0, 1, 3, true);
    Can anyone help???? The original script is below
    hide_btn.addEventListener(MouseEvent.CLICK, hideClip);
    show_btn.addEventListener(MouseEvent.CLICK, showClip);
    function hideClip(e:MouseEvent):void {
    instrument.visible = false;
    function showClip(e:MouseEvent):void {
    instrument.visible = true;

    make sure you have imported the Sine class
    import fl.motion.Sine;

  • How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    Hello Allan,
    thank you for your promt message. I have download the installer like many times before and install the flashplayer like many times before, too. But it does not work ... only getting the black screen ... but then, after checking some settings and defaults i realize that i have to switch in Safari > Security > Plug in to status activated !!!
    Shame on me and sorry for wasting your time, but i started with Mac 3 weeks before and have to leave windows-thinking !!! But i am convinced that mac is the better way ...
    By Soeren

  • How stream Video at host, at me site using Adobe Flash Media Streaming?

    Please help me how stream Video at host, at me site using Adobe Flash Media Streaming? With using localhost and my ip I can just watch streaming in my computer. How should i configure my server to watch streaming at my site?
    Please help!
    Thank you!

    Petro,
    I have chacked code and changed src.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>SWFObject 2 static publishing</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="scripts/swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("flashId", "9.0.0", "flash/expressInstall.swf");
    </script>
    </head>
    <body>
    <div>
    <object width="600" height="409"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param><param name="flashvars" value="src=http://192.168.100.4/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&poster=http%3A%2 F%Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg&autoPlay=true"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="600" height="409" flashvars="src=http://192.168.100.4/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&poster=http%3A%2 F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg&autoPlay=true"></embed></object>
    <!--<![endif]-->
    </object>
    </div>
    </body>
    </html>
    But anyway I am facing same problem as I wrote already. I can see streaming just in my computer. From other computers it's writing error log. What should I do? Maybe I am trying to stream video at my site in a wrong way? I am using Adobe flash media Live Emcoder with Adobe flash Media Server 4.5. In my computer everything works fine. But I can't stream to otyer cimputers. Please help.

  • How to compile your flex application for Iphone Using Adobe Flash CS5?

    How to compile your flex application for Iphone Using Adobe Flash CS5?

    I'm so sorry, I'm not really familiar with the codes.

  • I just really need to know... After desigining my UX, how do I go about adding the image into ADOBE FLASH BUILDER to script on top of it?

    I just really need to know... After desigining my UX, how do I go about adding the image into ADOBE FLASH BUILDER to script on top of it?
    Any and all advice is welcome.

    Do you have different versions of the graphic novel pages, or is there just one version of the page? If there is one version, can you crop into the page without losing anything important?
    I would guess that there is one version, and that cropping into the page will lose something important. If that's the case, here's how I would handle it:
    Make a stage that is 14:9. The size doesn't matter, but 1400x900 could be a good starting point.
    Put down a background texture that fits well with the look of the other images. Make that fill the 1400x900 stage.
    Place your page graphics so that they are within the center 1200x788 area of the stage.
    Set the stage scalemode to "noBorder".
    You now have a layout that will work on all devices, as narrow as iPad, and as wide as iPhone 5. All without any code. On the widest devices you'll see a bit of your background pattern to the left and right of the page graphic. On the narrowest devices you'll see a bit of background pattern above and below the page graphic. But you won't lose sight of anything important.

  • How to record a simple sidebar video as in Adobe Presenter 7

    In Adobe Presenter 9, how to record a video with my webcam to put as a sidebar video for one slide ?
    In Presenter 7 we could do that easily.  Now with the new video editer we can make great videos and capture the screen.  But that's not what need...
    How to do a simple sidebar video without capturing the screen...
    Look at the point 4 on this website: http://help.adobe.com/en_US/Presenter/7.0/WS56318F3C-65A7-477b-8CAA-2CBF0902BA5B.html
    3-...Capture video...
    4-...then select... ...sidebar video to record video for the Presenter image area.
    It was easy in Presenter 7 !!!!!!!!!!!
    Thanks

    When you use the video recording feature in Presenter 8+, it does record a stand alone WMV of your webcam. While the workflow isn't as clean as before, it can be inserted back in just as a sidebar video, without the background screen capture. Here is how you can do it:
    Use the Presenter Video Creator to record your video. Disregard that your screen is being captured, you won't use it.
    After you record your video, Save your project. Don't publish it, as the published output is useless to you.
    Back in Presenter, choose to Insert Video.
    Browse to your webcam capture (My Documents > My Adobe Presenter Video Projects > {What ever you named the capture} > mt). Should be named something like presenter_video1.wmv
    Presenter will convert it to FLV, you can select the quality and location, slide or sidebar, as in previous versions of Presenter.
    If desired, you can use a 3rd part video conversion tool to convert the WMV video, but that may not be necessary.

  • How do I change the background to a picture on Adobe Flash CS4?

    Like, how do make it so no matter how big my stage is, my background will tile on the stage AND off the stage forever and ever and ever and ever?

    This seems like a possible answer if your background is a pattern:
    http://flashadvanced.com/actionscript-3-basics/actionscript-3-full-browser-background/

  • How do I import SWC files created with Flex info Flash CS4?

    I've created very nice UI component using Flex 3 and I have exported it into a SWC file.
    How can I import it into Flash CS4 to use it there?

    Hmm... if you happen to be familiar with C#, then you may probably know about the problem of P/Invoke (this is a command that lets you access Windows API through C# code, which will apparently prevent it from functioning on other OSs).
    What happens with Flex framework is somewhat similar to this. I.e. it relies to much on the features of Flex compiler and the components of the framework create a lot of cross-dependencies, which makes them barely usable outside the framework.
    So, if you have time and doing this just as a matter of learning, I'd suggest you start an AS project in Flex builder and advance with it compiling it both with Flex and Flash to see if there are any differences (basically, once you see it doesn't compile / doesn't behave as you'd expect in Flash, you'll know you used something that is specific to Flex). These would be mostly meta tags, like [Bindable] for example.
    And, if you need any tutorials on how to code in pure AS, then, well, there are really to many So that you can even choose what's appropriate / goes better with your learning habits.
    If you like video lessons, there're tons of them at gotoandlearn.com, if you prefer reading documentation, here you go: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/class-summary.html
    if you prefer forums / written tuts, then, kirupa.com, actionscript.org, flashkit.com as well as Adobe forums will provide you with a lot of information.

  • Basics on using Adobe Flash Player

    I'm trying to get a better understanding of some of the basics concerning Adobe Flash Player. 
    I'm developing a web page with some third party software and have been provided with an HTML file to add to the site.  If I try to launch the HTML file either in the web site or stand-alone, nothing happens.  However, the person who provided me with the file sees an animation, apparently because she has Flash Player installed and I don't. 
    There's a large user community who will view the site and rather than expect all users to install Flash Player, I'm looking for an alternative.  What I'm missing is how Flash Player effectively creates an animation from the HTML file that I was provided with ... HTML files are by themselves static.  I was hoping that I could somehow convert this animation into a WMV or similar file type that could run without having the site users install any software.
    I'd appreciate any ideas on this.  Thanks.

    Flash content on a web site is usually in the form of a SWF file.  The Flash Player browser add-on will then play its content.  That, of course, requires that Flash Player is installed on the client side.
    The alternative to Flash Player is HTML5, which is supported by all modern web browsers, and does not require the installation of any browser add-on.  See http://www.w3schools.com/html/html5_intro.asp

  • How can i watch videos in which they used adobe flash player?

    just want to know how to play adobe flash player videos in my ipad 2? thank you....

    Flash is not supported on the iPad and probably never will be, especially as Adobe have recently announced that they are stopping development on all mobile versions of flash player.
    Browser apps such as Skyfire, iSwifter, Puffin and Photon 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store.

Maybe you are looking for

  • Crystal Report Print

    hi, Now i am working in Asp.net.In this website i did one crystal report.if i have to take print from crystal report print icon .the will like some boxs will continuously appear.i attached the print image. And one think if i will use export to pdf an

  • Illustrator CS4 Not Starting (no error messages)

    I'm running into a problem trying to run Illustrator CS4.  It has worked int he past, but I've gone a month or two without touching it. Yesterday I installed a trial version of Photoshop CS4, which ran fine.  Today I tried to start up Illustrator and

  • Customs MIRO and MIGO

    Hi, I have entered the values of CVD and Customs duty during Customs MIRO as 100 USD for each line item and saved. When i do MIGO,asked for commercial Invoice number,entered and saved. When i see the FI documents,the each line item value varies from

  • Remove default export setting from media encoder... or allow mass deletion

    Every time I drag media into AME, it pulls up the most recent setting, or maybe a default I have set somewhere, and applies it to my entire import. I cant figure out how to "mass swap" with my desired setting, so i end up deleting 12 or 13 settings,

  • Boot failure2

    Hi, I got stuck in a serious booting problem and would like to find some help. The scenario is as follows: I put a wrong hostname for the loghost item in the /etc/hosts on a NIS client machine. That name is different from the one in the file /etc/hos