Flash buttons do not work. help please.

iv created a flash gallery using AS3. im having it self study so im not sure how well to manipulate the codes. what i did was place some codes on each frame where my next/previous buttons are place.. it works fine locally, but when i upload it online, it seems not to work and the whole frame runs when it should stop frame by frame. please help. i really don't know what happening coz its working fine locally.
(example code below)
stop();
btn_nstand2.addEventListener(MouseEvent.CLICK, onstudio3);
function onstudio3(event:MouseEvent):void {
    gotoAndPlay("studio3");
btn_close1.addEventListener(MouseEvent.CLICK, onstudio4);
function onstudio4(event:MouseEvent):void {
    gotoAndPlay("Home");
btn_pstand1.addEventListener(MouseEvent.CLICK, onstudio5);
function onstudio5(event:MouseEvent):void {
    gotoAndPlay("studio1");
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(studiopic1, {type:Fade, direction:Transition.IN, duration:2, easing:Strong.easeOut});
stop();
Regards,
nikki.

no i dont think there is any other file that is calling at. because if i were to click the room and rates link, it goes directly to that rates.swf file. the problem only occur when i begin to view the web gallery, that is if i start clicking on the text buttons iv created which are the "Standard room", "STudio room", "SUite Room" and" apartment" it takes awhile for that gallery to pop up and same goes when i click on the next button, it lags and suddenly would just play continously which it shouldn't be that way and should stop on the called frame. and yes the thing is that i didn't get notified with any errors. well maybe there is something wrong with how i called the frames?  by the way, my frames are labeled/named accordingly to be called, the AS3 code iv used to call each of frame is:
stop();
stand_btn.addEventListener(MouseEvent.CLICK, onmain);
function onmain(event:MouseEvent):void {
    gotoAndPlay("stand1");
studio_btn.addEventListener(MouseEvent.CLICK, onmain1);
function onmain1(event:MouseEvent):void {
    gotoAndPlay("studio1");
suite_btn.addEventListener(MouseEvent.CLICK, onmain2);
function onmain2(event:MouseEvent):void {
    gotoAndPlay("suite1");
apart_btn.addEventListener(MouseEvent.CLICK, onmain3);
function onmain3(event:MouseEvent):void {
    gotoAndPlay("apart1");
And for my next button, prev buttons, its written like this: (for every frame where there is the next and prev button the code is similar)
stop();
btn_nstand2.addEventListener(MouseEvent.CLICK, onstudio);
function onstudio(event:MouseEvent):void {
    gotoAndPlay("studio2");
btn_close1.addEventListener(MouseEvent.CLICK, onstudio1);
function onstudio1(event:MouseEvent):void {
    gotoAndPlay("Home");
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(studiopic, {type:Fade, direction:Transition.IN, duration:2, easing:Strong.easeOut});
TransitionManager.start(BG1, {type:Fade, direction:Transition.IN, duration:3, easing:Strong.easeOut});
Thanks for the reply again=).
Regards,
Nikki

Similar Messages

  • I have updated itunes and the newest software. My home button does not work.  Please help

    I have updated itunes and the newest software. My home button does not work.  Please help

    It could be that your button has justy gone out.  You may try getting compressed air to blow out any dust in there.  If that doesn't work, you may have to get your button and ribbon replaced.

  • In Camera raw setting of CS6, using the adjustment brush, the new, add or erase buttons do not work. Please advise.

    In Camera raw setting of CS6, using the adjustment brush, the new, add or erase buttons do not work. Please advise.

    What operating system are you using?
    Which version of camera raw do you have in photoshop cs6?
    After you select the Adjustment Brush, the New button should already be enabled.
    Then after you draw on an area of the image, the Add button should be enabled, with the option to choose either of the other two buttons; New or Erase
    Could you post a screenshot?
    Maybe all the adjustment values are set to zero?
    (at least one needs to have a value other than zero)

  • Lower volume button control not working help?

    Lower volume button control not working help?

    If you only restored from backup, restore to factory defaults/new iPod.  If you then still have the problem it is likely a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • HP pavilion dv6 microphone not working . help please . . .

    HP pavilion dv6 microphone not working . help please . . .

    Hi,
    DV6 is a series of hundreads of models, what is yours ? To help us answer question quicker, please read this:
       http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to/Welcome-Get-started-here/td-p/699035
    You may wat to try this first:
    1. Right click speaker icon (right hand corner)
    2. Select Microphone devices
    3. Right click Microphone
    4. Enable it
    5. Click Apply/Ok
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • On my iPhone 5 camera photographed not clear. blurry pictures, autofocus does not work. help please!

    on my iPhone 5 camera photographed not clear. blurry pictures, autofocus does not work. help please!

    Could you please describe how you are trying to delete a single text message and it will not work? What are you seeing in place of the trash can icon?

  • Ok i literally just took my ipod 5 out of the box and the home button is not working help me pleasee!

    ok i literally just took my ipod 5 out of the box and the home button is not working help me pleasee!

    I would go straight back to store, state the problem and ask for a replacement. Good luck.

  • HT201263 my iphone 4 switched off on 70% battery and now wont switch on? also my home button does not work?please help

    My iphone 4 suddenly switched off on 70% battery and now it wont switch back on? my home button does not work either so i can not do the normal reset please help!!

    Sophierose21 wrote:
    my home button does not work
    Then it looks like a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is required... Be sure to make an appointment first...

  • TS2755 When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    Try closing all apps in Multitask Window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • When i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    when i go in my settings on my ipod touch 3gen it says no wi-fi as in i cant connect to any wi-fi at all i tried to restore but did not work HELP PLEASE

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • After update.. i can not start the ipad, when i press agree in the terms ...it will freeze and the screen not working///help please

    after update.. i can not start the ipad, when i press agree in the terms ...it will freeze and the screen not working///help please

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • HT201210 I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

    Hello

    I can not restore my iPhone 4S itunes error says I have 29 and I put it in DFU mode and not working help please

  • Tell a Friend - Not Working - Help Please

    in the web gallery tell a friend it wont work I press it it sstays dark for like five seconds then goes back to white and no email message comes up.
    Whats wrong

    I´m having the same problem, but i've noticed that the same library works on snowleopard (10.6.4) and doesn't work on 10.5.8.
    My main computer is a Mac Pro 2007 running 10.5.8, and in this machine, "tell a friend" button does not work.
    Any ideas?
    Regards
    Edited to add **********************
    I've deleted Aperture preferences, bun in Mail preferences I only can select Mail 3.X.X (Mac OSX 10.5.8)
    Message was edited by: Antonio Muñoz
    Message was edited by: Antonio Muñoz

  • Flash Game Score not working AS3, please help?

    So Im creating a game and all I wanted to add was a counter that increments constantly until a player loses the game.
    I created my score class and it looks like this:
    package
        import flash.display.MovieClip;
        import flash.display.Stage;
        import flash.text.TextField;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class Score extends MovieClip
            public var second:Number = 0;
            public var timer:Timer = new Timer(10);
            private var stageRef:Stage;
            public function Score(stageRef:Stage)
                x = 537.95;
                y = 31.35;
                this.stageRef = stageRef;
                timer.addEventListener(TimerEvent.TIMER, clock);
                timer.start();
            function clock(evt:TimerEvent):void
                second += 1;
                scoreDisplay.text = String("Score: " +second);
    and this is my engine class that adds it to the stage:
    package  {
    //list of our imports these are classes we need in order to
    //run our application.
    import flash.display.MovieClip;
    import flash.display.Stage;
    import flash.events.Event;
    public class Engine extends MovieClip{
        private var enemyList:Array = new Array();
        private var ourBoat:Boat;
        private var score:Score;
        public function Engine() : void{
            //create an object of our ship from the Ship class
            ourBoat = new Boat(stage);
            score = new Score(stage);
            //add it to the display list
            stage.addChild(ourBoat);
            stage.addChild(score);
    So that creates a timer on the stage and continuously increments, but when I compile, I get no errors and my timmer for some reason doesn't work, it just displays random numbers, please help! If there is a better way of doing this please enlighten me.

    When I said it continuosly increments, I meant thats the function I was looking to do. The file compiles fine with no errors, but when you look at the textbox where im displaying the timer it flickers strangely and shows random numbers as if its crashed or that its not working properly just a load of 1's and 0's. I even tried changing the miliseconds to 1000ms it still does the same thing.

  • My "About" button is not working HELP

    Hello fellow BB owners ive been tweaking and updating my new 8330 and it seems that now my about button does not respond.All the other menus and places work fine but when i click on the about button it just does not respond.
    thanks in advance
    Jason
    Solved!
    Go to Solution.

    Jason, have you recently upgraded your device to OS 4.5, and in that process did you remove the Voice Activated Dialing features? If you did, that also disables the Options > About screen, and was likely explained in the upgrade process you used.
    Workaround: on the homescreen, press and hold ALT while typing E A C E 
    or 
    Press ALT + rightSHIFT + H at the same time.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • How to change the path of the Transport

    HI all! I had the system of portal dev,qas,prd,I want to made the export folder of the dev point to the import folder of the qas.But how to change the path of the transport ?I change the file of the D:\usr\sap\dev\SYS\global\pcd\pcdStartup.properties

  • Create a java.util.Map in JNI

    hello all, Can anyone tell me how to create & use Java Maps in my C++ code... I've used java.util.Vector, it works fine. I work on a Sun Fire V440 machine. regards, gautam.

  • SAPSCRIPT-printout problem in collective invoice

    Hi,   We have created a new output in SAPSCRIPT for the printout of the invoice.All the datas are fetching  and getting printed correctly if i am selecting only one invoice.If there are for ex--4-5 collective invoices printout then for the 1st invoic

  • Search  Music Store-to no avail!

    The search facility has to be the worst I've ever encountered and unless the song/album I want is very famous or by a big name, it seldom finds it. For example I put in the title 'Angel is a Centrefold' and it found nothing. So I Googled it, founs ou

  • Flash content error: 9

    I'm getting error code 9 on the built-in FL2.0 player on N95, though the same FL2.0 code runs fine in the emulator (Device Central) and on FL2.1 player on Windows Mobile 5. Does anyone know what error code 9 means? I couldn't find a corresponding err