Question from a newbie Square One

Good so I just recently started playing with flash. For my music, I create a site entirely in flash. I have the layout and everything I want to do.

Basically, I want to have the Viewer by clicking on a button (home, about me, music, ect...) and have the page above the bar "menu" change to the appropriate page. I know I know, use buttons and scenes.

BUT the question I have, is I have actionscript (not sure one, again I'm fairly new,) already in the script, and I don't know how to change it so that both a button scene that kind of thing might work.

This is what (I assume) the action of the scene button might look like. I know that it is actionscript 3:

button_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

function fl_ClickToGoToScene(event:MouseEvent):void
{
MovieClip (this.root) .gotoAndPlay (1, "Scene 3");
}

Here is the code I have in it the graphical thing slide:

Script section One:

If (_root._xmouse > _level0.circle._x) {}
_level0. Circle._x = (_level0.circle._x + 20);
} else {}
_level0. Circle._x = (_level0.circle._x - 20);
}

Script section two:


If (_root._xmouse > _level0.circle._x) {}
_level0. Circle._x = (_level0.circle._x + 20);
} else {}
_level0. Circle._x = (_level0.circle._x - 20);
}
gotoAndPlay (1);

http://karimusic.weebly.com/ < < <-I just put the SWF on a random weebly site, just watch the flash as it will be the entire site.

Thanks for any help!

1. you need a stop() attached to a frame where you want as your main stop scenario.  otherwise, your swf file will play through all your frames in all scenes and then wrap and repeat.

2. you have a button named button_1 onstage and you have a "scene 3"?  If so, the following should work:

button_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

function fl_ClickToGoToScene(event:MouseEvent):void
{
MovieClip (this.root) .gotoAndPlay (1, "Scene 3");  Yet once the timeline will not stop unless there is a stop() somewhere (or gotoAndStop()).
}

Tags: Adobe Animate

Similar Questions

  • Quick question from a newbie

    I want to implement VOIP trunk between two fixed location. Location A is as B location is the work from home. There is a virtual private network between the two, they are on different subnets. I want to access the PSTN line to site B to Site A (home) (work) using VOIP. In other words, I want to use the PSTN to work for voice calls when I'm working from home.

    Can I install the SPA3102 to work and use SPA901 home. No SIP server comes directly from trunk between the two. In other Woods can I just "dial" the SPA3012 using the SPA901 and get the PSTN tone. No other device will not involve just point to point between these two.

    Is it possible, is it easy to implement?

    Thank you very much

    Peter

    I found the answer in the excellent "sandbox SPA3000 to save the document. It seems that this question was asked several times our apologies for those who discover VOIP it also well know what question to ask and what to actually look for!

    Anyway sort

  • a question from a newbie: create user failed.

    Hello.
    I'm a newbie on the oracle database, and now, I encounter a question. It is said in the book that you can use:

    create username
    identified by password;

    to create a user. But when I test:

    create user test1
    identified by test1;

    the system returns:

    ORA-01031: insufficient privileges

    How does this happen?

    It happens because the user with which you are currently connected has no privilege to create users

  • A few questions from a newbie...

    Hello

    I just spent following design Adobe and purchased LightRoom too. Since I worked for more than 25 years with Corel, I have a few questions:

    01. is or there will be facial recognition? (as in 'elements')

    02. When is it possible to add a GPS log information to photos to adding photos from a card?

    03 what is the noise reduction work with exif values (iso, model of camera etc) of the specific photo or is it a ' diminution '?

    04. is there a place I can download more templates HTML/web?

    05. when adding keywords and other meta-data, may they be used in other programs too? (They will appear in other graphic programs?) Or is it something specific 'LightRoom '?

    Thanks for any help,

    Theo

    01. is or there will be facial recognition? (as in 'elements')

    02. When is it possible to add a GPS log information to photos to adding photos from a card?

    03 what is the noise reduction work with exif values (iso, model of camera etc) of the specific photo or is it a ' diminution '?

    04. is there a place I can download more templates HTML/web?

    05. when adding keywords and other meta-data, may they be used in other programs too? (They will appear in other graphic programs?) Or is it something specific 'LightRoom '?

    Theo...

    1. not at the present time but maybe in the future - you can place a request to feature here: https://www.adobe.com/cfusion/mmform/index.cfm? name = wishform & promoid = EWQQL

    2 Jeffrey Friedel has a lot of plugins including geo-coding here: http://regex.info/blog/lightroom-goodies

    3. Yes, noise reduction applied is sensor and iso-dependent.

    4 Matthew has a few nice guns, etc here: http://theturninggate.net/

    5. metadata are stored in IPTC format must be used. The metadata should be saved in files or xmp side cars having Autowrite enabled in the settings of the catalogue or by saving to files with cmd/ctrl-s.

  • Quick question from a newbie... Can I use an API of the Adobe Reader to open and fill out a PDF form to my MFC application?

    Hello people.

    If I'm in the wrong forum, might well want to suggest a more appropriate forum?

    It is a pretty basic question.

    I downloaded the SDK and watched, but I'm still a little uncertain. Simply because there is a ton of information to this site, and it's all new to me.

    I have a Visual Studio MFC application. (Visual Studio 2008)

    I want to change the application to read a PDF form to fill out, and I want to programmatially fill in some of the data in the field as it appears on the screen. This could be considered writing a PDF file, but I think it's only complete, because I can do this with Acrobat Reader. I assume that there is an API available to do this.

    I saw something on IAC, then maybe that where I need to study.

    I'm the developer. I need to buy Adobe Acrobat? Or is the right drive for this?

    My customers will need to purchase Adobe Acrobat? Or the drive will be enough?

    It's one thing for me as a developer to buy the tool to improve enforcement, but another question, if I go to the end users and tell them that they need to buy and install Adobe Acrobat.

    I'm not afraid to have a discussion, I just want to know ahead what debate, I need to have.

    Are there different APIs available for different Windows OS? One for XP for Vista 32-bit, one for Vista 64-bit, for Windows 7... etc.

    Or is this the same way, regardless of the platform?

    I'm looking for advice.

    All would be appreciated.

    Thank you

    The only way to fill a form in Adobe Reader is to use the file in FDF or XFDF format.   They are text-based formats that you can put the form data and a link to the PDF document in and then ask the REader to open it (and the associated PDF file) upwards and fill automatically.

    You can't poll drive for more information, however.

  • Questions from a newbie

    Hello

    I run several VM servers and some VM customers.

    Some of them get IP addresses based on my router/gateway that is 172.16.1.38 and sone of the EEG 192.168.xxx.xxx.

    Why are different sets of assigned addresses and how to get their evolution on the router?

    Also, I can ping virtual machines but the host IP addresses do not appear in the Windows project and I do not see the servers with my browdser. What should I do?

    Thanls!

    Looks like some of your virtual machines use bridged mode, while others use vmnet1 and vmnet8.

    You want to open for all if everyone must get their IP address from your router

    _________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • question from a newbie

    Hi everyone, as you can see, I'm a newbie to this forum and in mobile applications.
    I would like to know and get help with some advice if I can find some instructions for beginners.
    The scenario is: I'm developing my first Flash iOS app so I can compile to ipa. Up to this so good, but I have no idea how can I save the data of the application locally.
    I Don t know the options and where can I find the instructions for this level of stupidity.
    Thanks to you all!
    Leal

    Here are some useful (I hope) links:

    http://help.Adobe.com/en_US/AS3/mobile/flashplatform_optimizing_content.PDF

    http://download.Macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.PDF

    http://forums.Adobe.com/community/Labs/packagerforiphone?view=discussions&start=0

    http://floatlearning.com/2010/10/key-differences-in-air-for-Android-and-iOS/

  • BlackBerry Smartphones 1 easy question from a newbie

    I know this may sound silly but how come my # is not displayed on the "My Number" when you are on the phone screen?

    Oh 1 thing... How to remove downloaded files that are saved on the memory of the phone, but he can't find anywhere else? I think he said he was going to the 'home' folder but I see not all the files on the "home screen" jkust like when you something on the desktop of your PC.

    Thank you!

    Hello

    Call your carrier.

    Thank you

    Bifocals

  • Another lame real question from a newbie

    Hello

    Well I managed to install on a USB flash drive using the latest version of: VMware-VMvisor-big - 3.5.0_Update_3 - 123629.i386.dd

    http://www.VM-help.com/ESX/esx3i/boot%203i%20from%20USB%20flash%20DRIVE.html

    Also, I get a screen like this:

    "" Download tools to manage this crowd of ".

    ... and all I can do is 'customize the system' and stop restarting.

    Customization is simply keyboard/password/network settings parameters and not much.

    I guess what I have to do is a console of adequate management of a certain kind of startup in order to load the virtual images / manage devices etc.? Where's the guts of this thing? I'm at a loss where to begin.

    I watched a few PDF documentation without a lot of help. The FAQ here makes not much sense to me (sorry). He don'tt seem to be options through the current user interface.

    Thank you

    Alex

    lol you answered that I was typing this up. Good luck with your endevours of virtualization.

    See you soon

    Kevin

  • I'm new to lightroom. I downloaded a bunch of folders FRO my Mac HD. There is a question mark next to each one. What does that mean?

    I'm new to lightroom. I downloaded a bunch of files from my Mac HD. There is a question mark next to each one. What does that mean?

    Thanks for the update.

    Question mark on these files means that you must be moved/renamed/deleted files on your hard drive where they were originally.

    When you import an image in Lightroom, it does not matter the original copy of the image instead it saves to the original location when you import or where you copy the image using Lightroom and it always refers to this place.

    So if you want to move or rename these images, you should do it in Lightroom instead of outside of Lightroom.

    Now, if you know the current location of these images on your hard drive, you must move them into Lightroom.

    See this article for instructions: How to find missing photos in Photoshop Lightroom

  • Questions from the media on the report columns

    Hello

    I'm experimenting with questions from the media on the APEX components such as the columns on the report.

    I have an example that works, but I wonder if it's the best way to go about it.

    APEX media query example

    I applied the following CSS

    @media (orientation:portrait) {
      .landscape_only {display:none;}
    }
    @media (orientation:landscape) {
      .portrait_only {display:none;}
    }
    

    For components such as regions, buttons etc - I can apply "CSS Classes" attribute class to the component level.

    for example: I have applied the .portrait_only in the area of 'Code' in my example

    but for the columns in a report, I had to apply this jQuery on the page loading.

    $('th#HIREDATE, td[headers=HIREDATE]').addClass("landscape_only");
    

    If I applied to the class in the detail of the column that the data has been hidden when Guide to portrait - not the entire column.

    Are there more effective methods of enforcement of the class to the column?

    Reading articles like this lead me to think that way, but I don't know if APEX could be other solutions.

    5 tips for better jQuery selectors - SitePoint

    It becomes a little pain if I wanted to list a number of columns.

    I look forward to jQuery gurus ;-)

    Scott

    Rather than specify the classes at the level of the components and using jQuery when running, why not simply specify the items directly in the stylesheet?

    @media (orientation:portrait) {
      #P2_BUTTON2,
      th#HIREDATE, td[headers=HIREDATE]  {display: none;}
    }
    @media (orientation:landscape) {
      #P2_BUTTON1 {display: none;}
    }
    

    This seems to be a more effective approach that all orientation-based rules are easily visible and easy to manage in one place, rather than be dispersed through the definitions component and dynamic action.

  • How to move photos from multiple folders into one

    Hello!

    I exported photos of iPhotos to a folder on the Mac.

    He saved every moment in different folders.

    I want to combine them all, so that all the photos are in a single folder.

    How can I combine these multiple files from multiple folders into one?

    Thank you very much for your help!

    (PS next time I will not include fracture m´by moments, but for now, how do I fix?)

    Drag and drop one folder to the other.

  • Hello.. I've forgotten the answers to my security questions... I do not have the chance to remember the... What can I do now? No idea how delet old questions and put the new ones? PLEASEEE help me

    Hello.. I've forgotten the answers to my security questions... I do not have the chance to remember the... What can I do now? No idea how delet old questions and put the new ones? PLEASEEE help me

    Hello

    If you set an alternate e-mail address, you can reset your security questions. Follow the instructions here to check if this option is available:

    If you forgot the answers to your questions of security of Apple ID - Apple Support

    Otherwise, you will need to contact the Apple Support. The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

  • Can I print a Fax from my all-in-one HP Laser Pro M1217nfw newspaper

    Is it possible to print sent & FAX logs from my all-in-one HP Laser Pro M1217nfw?

    Hi mb_pe,

    Yes, follow the steps below.

    1. press the button on the key

    2. arrow to the right reports and press Ok

    3. right to Fax reports and choose the report you want to print

  • The transition from the bridge of one payment to another

    Hello

    We have a customer who currently treat offline credit card transactions that that they have their payment gateway set to 'process (process manually via the existing installation) offline '.

    Now, they want to put in place a bridge of the National Australia Bank (NAB).

    Could someone provide suggestions as to how it would approach the transition from the bridge of one payment to another whereas BC only allows gateway to a payment to be selected at a time?  In other words:

    1. Is it possible that the existing offline payment gateway and the new NAB gateway can coexist so that we could go through a test phase without interrupting the continuity of the customer with the treatment of existing credit offline transactions?
    2. Or do we have to "cut" their existing sales process until the new payment gateway is fully configured and tested?

    Any comments would be much appreciated.

    Gavin

    It is not that much work to spend from OFFLINE to NAB TRANSACT

    I'm not sure, that you need to worry too much on the implementation and testing before to cut more (unless you have a really high turnover store and you want to be careful)

    Perhaps you could watch you log in to your partner portal and reproducing the SITE you want to configure on (if you have an exact dupe). Then you can go about your tests on THIS site and get all tested and functional then cut on the settings when you are happy

    Good luck

    [email protected]

Maybe you are looking for

  • Why my iphone lose battery so fast

    I have an iphone 5 s.  32Gig memory.  Software version 9.3.1.  I start at 100% at about 08:00.  Maybe two short telephone calls, with usage, the battery will drain from 16:00.  I read all about what apps drain the battey and have them stop.  I bought

  • Have a new iPad 2.  Should I charge the battery before first use?

    I have an air new iPad 2 I need to charge the battery before first use?

  • system configuration utility has stopped working on vista home premium__

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • Battery indicator blackBerry Z10 is stuck at 100%

    After I've updated by BB Z10 for 10.2.1.2102 / 2141, the battery indicator always shows 100%. Even when the batteries get exhausted. Downside is that the phone suddenly stops after its battery is discharged. Before stopping this moemtarily shows the

  • First shot at the site to site VPN fails

    This is my first attempt at establishing a VPN site-to site on ASA 5505 s. Fortunately, I'm able to do on the bench and not on the real sites. As soon as I can verify connectivity, I'll move them to the physical sites. The two ASAs are running 8.3 (1