Can you explain this for me?

Hi Guys,
I'm a novice at best here, and get great satisfaction
tinkering and figuring things out with web sites. I have a question
about how to program a flash page that has a main navigation menu
on the left side of the page that stays constant while the right
side of the screen switches pages when you click a button.
I lifted the code from one of the navigation buttons and it
reads as follows:
on (rollOver) {
gotoAndPlay("s1");
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
on (release) {
if (_root.b<>2 and _root.m<>1) {
_root.cont1.gotoAndPlay("start");
_root.b = 2;
I know the "on realease" command will call a separate page on
to the screen but in order to acheive this, what do I have to do to
fly in the separate page? What's the connection?
Can you explain to a true novice what is happening here or
give me a resurce to learn more about this technique?
I really appreciate your time and knowledge.
Thanx again

OK your code isn't quite there. First of all look up
'Buttons' in the Flash Help guide and learn more about them.
'on(release)' is a 'handler' that respondes to a mouse click, it
doesn't do anything else, other than what you tell it to. it is the
same for 'on(rollOver)', 'on(rollOut)', and others.
'gotoAndPlay(frame OR label)' tells the playhead to move to a
new place in the timeline your calling, where you have placed new
content. You can keep the 'navbar' showing by placing it on a layer
that doesn't change throughout the timeline, and on different
'layers' you can place keyframes and put new content in them to
create a 'page' so to speak.
HERE is a very
basic example of the principle, however in this example I have
placed the button handlers on the main timeline and you call them a
little differently this way you say:
my_btn.onRelease = function() {
//...do something
but the basic system is the same. it's generally a good idea
to put your code on an actions layer in the timeline, instead of
attaching it to buttons or clips, it makes it easier to reference,
and debug.

Similar Messages

  • HT1589 how can you do this for windows 8?

    how can you do this for windows 8?

    It should be the same as in other versions of Windows; hold down the Shift key and launch iTunes. Have you tried that and found it not to work?

  • Daemon Threads: Can you explain this behaviour

    Hey All,
    Please refer to code segment given below. As per the defination of Daemon threads it should terminate when all other user threads die. In this case it should terminate when main thread ends as thread2 has not been initiated yet.
    The result is not consistent. We get the expected output sometimes, whereas sometimes program goes in to an infinite loop and other times excutes a few lines of thread2 and then quits.
    Can someone explain this?
    Thank you
    Vidur Gupta
    class simpleThread extends Thread
         public void run()
              System.out.println("Thread 1 daemon starts");
              babyThread thread2 = new babyThread(); //Thread2 created
              thread2.setDaemon(false); //Thread2 daemon=false
              thread2.start();          
              System.out.println("Thread 1 daemon status= "+ this.isDaemon());
              System.out.println("Thread 1 ends"); //thread1 ends
    class babyThread extends Thread
         public void run()
              System.out.println("Thread 2 starts");
              while(true) //Thread2 goes in to an infinite loop
              System.out.println("Thread 2 daemon status= "+ this.isDaemon());
    public class daemon
         public static void main(String[] args) //Main
              int i=0;
              simpleThread thread1= new simpleThread(); //Create thread1
              thread1.setDaemon(true); //Set Thread1 as Daemon
              thread1.start();
              while(i<1000000)
                   i++;
              System.out.println("Thread Main ends"); //Main ends
    }

    It's not clear what behavior you expect, or what behavior you're observing, but here's what I would expect to happen:
    thread1.start() is called.
    After that, either of two things could happen:
    1) the main thread could go into your very short spinlock counting up to 1000000
    OR
    2) thread1 starts running
    You can't predict or control which one of those happens, and it may be that on successive runs of your program, one happens sometimes and the other one happens other times.
    At some point, you'll get to where the main thread dies. If the only other thread that has been started is thread1, then, since it's a deamon, the program will die.
    However, it may be that sometimes that happens, and other times, thread1 gets enough CPU time to call thread2.start(). You may not see any output from thread2 or see the ""Thread 1 daemon status" output that comes right after t2.start() before main ends, but if t2 has been started, then you've got another non-deamon.
    Bottom line: Whether or not there's an additional non-deamon besides main depends on how the scheduler happens to schedule your threads, and you should not expect that to be consistent or predictable.

  • My daughter's stolen iPhone is CCing her eMail.  Can you explain this?

    My daughter had her brand-new (2 days old) iPhone stolen in Baltimore, MD last summer at a concert.  Recently, she has started recieving email  (on a gmail account that must have been entered/configured somehow) from the phone. Since this is Verizon CDMA phone (no removable SIM  - true?)  we believe the thief is using the phone more or less as an iPod Touch - using it on WiFi - they are sending all kinds of email bearing photo attachments and etc. to their family members.... and my daughter is getting a copy of all the messages on her Gmail account.   The thief apparently does not realize  there is a copy of their
    e-mails being forwarded somewhere.
    Can somebody explain what may be going on here  and what was configured  that is causing the phone to now send a copy of every email to a gmail acct?   I can post the header information from one such message if that would be helpful. 
    We got the phone disabled (I thought)  and replaced  soon after the incident - but I would still like to send the police to retreive the stolen phone - just to teach them a lesson.     Any ideas how this might be occurring and/or how I  miight be able to take advantage of the situation?    The header info has the IP address of the sender (presumably a router IP address... we'd have to get that provider to give up who the IP was leased to at that point in time, etc. ) 
    Any ideas on this bizarre  'iPhone back from the dead'  situation ?
    Thanks in advance.

    Did she have the Passcode lock enabled on her iPhone?
    If not, was she accessing her Gmail account with the iPhone's Mail app?
    If she was accessing her Gmail account with the iPhone's Mail app and she did not have the Passcode lock enabled on her iPhone, did she change the password for her Gmail account after her iPhone was stolen?

  • Transport Basics: Can you explain this to me?

    Hello Experts,
    In Transport Organizer: Requests (se09), I double clicked on a Transport request and I could see a display of the Transport Request number (Request/Task: BWIK…..) and 3 tabs (Properties, Objects, Documentation).
    1. Under Objects tab I see InfoArea, InfoObject, info Catalogue –Are these the referring to object grouped in the transportable package?
    The Status of each of them was “Object Locked”, what is the significance of this status?
    2. On double clicking the InfoObject, (ZCO_AREAS) from this list, I see a long list of infoobjects consisting of Table Names, Tale Keys, and A or A*. Can you help me interpret this information?
    3. On double clicking on the first (table name: RSDATRNAV) from the list, it gives
    the “Display Key for Table RSDATRNAV”
    Med. Field label        |   Field Name  |  T..    |  Length  |  Key Value
    Characteristic            |…………………………………………….
    Version                      |……………………………………………
    Attribute                    |……………………………………………
    If these are field names in the table RSDATRNAV, why is it listing e.g. Attribute? 
    When I double click on Characteristic from this screen, it brings another screen and it kept going.
    Can you help me interpret the above screen and what is going on?
    4. On the other hand, if I double click on the Transport Request number (Request/Task: BWIK…..) I get “Display key for Table” with this info:
    Med. Field label        |   Field Name  |  T..    |  Length  |  Key Value
    ………………          |…DIMID …   |  I       |    4          |  
    ………………          |…TCO45 …   |  C      |    5          |  
    ………………          |…TCO46 …   |  C      |    3          |  
    And when I click on e.g. TCO45, it brings a screen and it continues even much longer until a point when I get “No next object exists with keys”
    I will appreciate if you could help me to understand what is taking place. Please in your explanation touch on the tables and keys.

    Amanda,
    Its the contents of your transport requests, the name and properties of objects which you were trying to transport to next level.The objects will be on lock to break this lock then you have to go to SE03 click unlock object then mention your transport request then go with unlock.If you want to delete any object in your transport then first you have to unlock the request then you will be able to delete the object.
    BWIK is nothing but your transport name, its start with that name.
    Everything which you mentioned as question is properties.
    Once you release the request then it will display you the status.Is the transport moved to quality or to production all the details.
    Hope its help.
    Please let me know if you need anything more.
    Thanks
    Ram
    "BW is Everywhere"

  • Can You Explain This SQL Query - Inline View Included

    The query is taken from "Oracle Database 10g: SQL Fundamentals II" page 3-7 (chapter 3)
    I do not fully understand the following query:
    SELECT a.last_name, a.salary, a.department_id, b.salavg
    FROM   employees a, (SELECT   department_id,
    AVG(salary) salavg
    FROM     employees
    GROUP BY department_id) b
    WHERE  a.department_id = b.department_id
    AND    a.salary > b.salavg;
    The inline view can return several records. Can you please tell me in step by step how does this work. I understand the concept of join tables and aliases, etc. I just need to know the mechanism of this code.
    Thanks

    user11164565 wrote:
    The query is taken from "Oracle Database 10g: SQL Fundamentals II" page 3-7 (chapter 3)
    I do not fully understand the following query:
    SELECT a.last_name, a.salary, a.department_id, b.salavg
    FROM   employees a, (SELECT   department_id,
    AVG(salary) salavg
    FROM     employees
    GROUP BY department_id) b
    WHERE  a.department_id = b.department_id
    AND    a.salary > b.salavg;
    The inline view can return several records. Can you please tell me in step by step how does this work. I understand the concept of join tables and aliases, etc. I just need to know the mechanism of this code.
    The query is returning the last name, salary , department and average salary of all the departments where salary is greater than the average salary.
    HTH
    Aman....

  • Can You Explain This One? :-)

    Okay, so I installed a sound blaster xtreme gamer onto my computer.
    After manually installing the latest drivers for it from the creative website, I restarted the computer and
    creative audio control panel still could not detect the card. I checked in device manager though and sure enough it was there, ali've and ticking.
    I then proceed to Control Panel to set the creative as my primary device ( my other is onboard realtec)
    Here's the funny thing though. I set it as the default and nothing happens, no sound.
    I then set the default to the
    Speakers Creative SB XF and whoolah, sound is now working fine. Have to say, it sounds a step up from that realtec crap. But isn't it ironic that I don't have to set the default to the actual device but to the speakers? For the record I use the Logitech Z2300 2. setup
    Still can't get creative audio control panel to detect the card but hey, is it worth the pissing about with?

    ! Hell yes, been playing Half Life Episode 2 and I feel like jumping out of my skin!!
    I don't know why many people rave on about how onboard is almost as good as a dedicated good sound card because it really isn't. So glad I made the upgrade and it wasn't expensi've.
    I have disabled the realtec and still no update detecting the card.. Its not a big deal though, I can just check manually for drivers/software in the future.

  • Can you explain this? Export sizes are way smaller than I want!

    I shoot RAW files and I have a bunch of images from my recent vacation that are huge files like 16 - 20mp per image. I just exported a bunch of photos and now they are showing up as 64kb when I exported them to my desktop then I dragged them back into a new folder in Aperture 3 and those same files are showing up as 0.4mp! What is causing my files to get super small. I knew something was wrong when i looked at my images on my Apple TV and they looked horrible! I use my own presets I have been using since day one. Aperture is just acting real strange today. I don't know if I just need to reboot my system.
    When I export my RAW files, they are being exported as JPEG files. I don't need them to be 16-20mp after the export. I always make the images smaller for social networking sites, etc. This has never been an issue. I just can't figure out if I take one of my RAW files that when double clicked, it fills up my entire computer screen pretty much then export it out of Aperture and then check the file size after export. Its really really small like 0.4 or 64kb.

    What are the "Export Settings" that you are using when you export your images?
    To get the best jpeg quality, set the "Export Preset" for your Versions to "Jpeg Original Size". Then set the Preset to "Edit" and check, if the options are still correct: The "Size To" selector should be set "Original Size" and the "Quality" slider at least to "10".
    Regards
    Léonie

  • Can you programme this for me?

    Hello
    Have a look at this site:
    http://www.jeejuh.com/ made with
    Flash
    2Gether is a small Norwegian company who are going to sell
    music
    (mp3 files and midi files) through a webshop.
    2Gether ask for a proposal:
    Complete setup of a webshop based on Joomla / virtuemart at
    our domain :
    We have bought templates from YOOTOOLS and those might be
    used on my site.
    The best way to describe what we need is with an example of a
    perfect site:
    http://www.jeejuh.com/
    If you are interested, please send me an email with some
    information about you and I will send you more information about
    our project
    Regards
    Eivind Riseth
    [email protected]

    You can check the below tables in SE16/ SE16N
    BKPF = Document Header
    BSEG = All lines of document line items
    BSIK = Vendor Open Items for the document
    BSAK = Vendor Cleared Items for the document
    BSET = Tax lines for the document
    WITH_ITEM = TDS lines for the document
    Regards,
    Gaurav

  • Can anyone explain this for me?

    String outPutLine=bufr.readLine();
    StringTokenizer inReader = new StringTokenizer(outPutLine,":");
    String type=inReader.nextToken();
    What does this StringTokenizer actually mean, how to use this to cut String.

    you can use:
    if(inReader.hasMoreElements){
    String string=inReader.next();
    }

  • Can you explain this topics

    1.fixed value mapping 
    when we have to use and how?
    2. what are the objects will be transferd from ECC 6.0 to XI system.
    3. mapping template when and we have to use?
    4. i sent file from source directory but at target side i didnt have that target directory name where that file is stored and how can i view that file.

    Hi,
    1.fixed value mapping  when we have to use and how?
    If we have very less values to map like for Gender we have only 2 value Male and female then we will go for it. If we have more value we will go for value mapping
    In Message Mapping you will have functions there u will find Conversions in that fixValues will be there double click on it and speciy the vales.
    2. what are the objects will be transferd from ECC 6.0 to XI system.
    Didnt Get u Completely, Can u be more clear.
    IDOCs we can transfer.
    3. mapping template when and we have to use?
    If we want to save the part of mapping for further use we will go for Mapping Template.
    4. i sent file from source directory but at target side i didnt have that target directory name where that file is stored and how can i view that file.
    You can see in Pay Load and Receiver CC in RWB.
    Thanks.

  • Can someone explain this for me

    I seem to have a lot of this:
    Oa5be5e7f662a83c57d57ef0021le95p66fb3ba41.xml  Then under kind is XML.TXT
    When I go to open this it opens in "Open Office" and then is a bunch of jibberish.
    1. can I get rid of it?
    2. How can I take Open Office off this computer.
    Thanks

    Hi Marty
    Kernal panics are usually attributed to hardware problems.
    If you are under Applecare take it in.
    If you are not, you may glean some information from these links.
    What is a Kernel panic?
    Resolving Kernel Panic's by Dr Smoke
    I hope things work out.
    regards roam

  • Apple Hot News Headlines - Top Users can you test this for me?

    Some of us have been experiencing an issue where the "Latest News" headlines do not display after selecting "Hot News Headlines" from the Apple.com main site.
    The issue has been detailed, with pictures, at the following link.
    http://discussions.apple.com/thread.jspa?threadID=1963690&start=0&tstart=0
    Has anyone else experienced this issue?
    I thank you very much in advance!
    All the best,
    LukeD

    Hi Luke,
    All normal for me, both in Safari 3.2.1 in the Mac OS and IE7 in Windows (via Parallels).
    Mac Safari screenshot
    Windows IE screenshot

  • After I download the new version of firefox, it flashes that it cannot finish because I do not have privilages to certain things in the new version. Can you explain this?

    I get all through the downloading process and move it to my applications. It then ask me if I want to replace the old version with the new one. When I click on replace, a new window comes up with the fact that my computer does have privileges for some of the operations so I cannot complete the process. What really gets me though, is that it still pops up saying I need to download the new version. I do not know what to do.

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Can anyone explain this for me pls .. Thanks

    interface Serial1/0
    description S4/0 STUN 1 ELZBP S2/0 EMPC 7 Sec3 Cab1 IO346/J1
    mtu 2104
    no ip address
    encapsulation stun
    clockrate 56000
    stun group 1
    stun route all tcp 10.0.14.1

    Hello Ocporbust,
    this serial interface is configured for a form of tunneling called STUN
    every SDLC frame that is received is placed inside a TCP segment and sent to 10.0.14.1.
    It should be related to some form of IBM or mainframe networking.
    STUN SDLC is most commonly used in two environments: FEP to remote controller, and AS/400 to remote controller.
    see
    http://www.cisco.com/en/US/tech/tk827/tk369/technologies_tech_note09186a00800b451e.shtml#stun_sdlc
    Hope to help
    Giuseppe

Maybe you are looking for

  • BSOD System_Service_Exception and Driver_Verifier_Detection on HP m9520f PC

    Hello, I recently re-formatted and reinstalled Windows 7 Ultimate 64x on my HP Pavilion Elite m9520f PC. I encountered the BSOD crashes several times a day of having the "System_Service_Exception 0x0000003B" and DRIVER_VERIFIER_DETECTED_VIOLATION 0x0

  • How to create a matt for art simple objects on white.

    I would like to edit with a bunch of photos of objects from a book. They were all shot against white. can I get rid of the white background? I'm running FCP5 mac pro   Mac OS X (10.4.8)  

  • Nokia 5230 and Garmin Mobile XT

    Hi ! I have decided to install Garmin Mobile on my Nokia 5230. I have asked the official Garmin support for informations about Garmin Mobile and Symbiaa S60 v5. They answered that the last version of Garmin Mobile is v5.00.60 and in theory it should

  • How can I turn off the native support for .ogg files in Firefox 6?

    Duplicate of [/questions/877892] I want to install an external application to play this kind of file but I don't see any clear way to do it. Firefox does not ask me how I want to treat the .ogg file so I have no way to install a helper until I have t

  • Problem with Open Office 2.1 version - apps are missing, only got writer

    I downloaded open office 2.1 from openoffice.org website, had installed x-11 into utility folder - that was fine- when i open the app it all looks good except it opens with the Writer program and there are no menus to get into all the other applicati