Defining Variables so that MC can use them too.

OK I know that this is a basic question. I have variables defined in the Root directory of the flash file so that the If statement in the root directory can use them. However there are goto-statements in the movie clip right under the Root directory that also uses the same variables.  How do I define the variables so that act like 'global variables'? I mean I want to define the variables so that the code in the movie clip will use them along with the code in the root directory.

Ok I tried that to no avail.  This is how my file is set up
Root->Animation->Action script
stop();    var Home;  var Roster;
function mouseDownHandlerHome(event:MouseEvent){Content.gotoAndStop(Home);
function mouseDownHandlerEnlist(event:MouseEvent){ navigateToURL(new URLRequest("https://spreadsheets.google.com/viewform?key=psvc5aYhLuFoImejmLioWew&hl=en"));}
function mouseDownHandlerRoster(event:MouseEvent){Content.gotoAndStop(Roster);}
topmenu.home.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandlerHome);
topmenu.Enlist.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandlerEnlist);
topmenu.Roster.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandlerRoster);
|
Content(movieclip)
|
Home(movieclip)-> Action Script
(stop();
Home=1; Roster=3;
var xmlholder:URLLoader=new URLLoader(new URLRequest("Home.xml"));
->Roster (which has similar code)
As you can see I have a variable in the root timeline that I am defining in the embeded Movieclip.  So if there is an easy way to do a global variable or something please tell me.
NOTE: I have looked it up and people say that I would have to use a package to define a new class and then import it.  This is a problem because I am too green to know how to do that. So if that is the only way to do it, please explain the process in small simple words.
Thanks in advance.

Similar Messages

  • TS1702 I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    You could try downloading a program called Calibre.  It is very good at converting files between formats.  I use it all the time to convert PDF's from work to read on iTunes when I don't want to have to keep zooming in and out to read the actual text. 
    I know that iBooks will read PDF's but they can get pretty squashed down some times. Especially if the original font was small to begin with.  So I run them through Calibre and then email them to my phone and open them in iBooks. 

  • HT5624 I WOULD LIKE TO HAVE MY PREVIOUSLY USED PASSWORDS CLEARED SO AS THAT I CAN USE THEM AGAIN. IT'S HASTLE THAT YOU HAVE TO CREATE NEW PASSWORDS THAT ARE HARDER TO REMEMBER THAN THE LAST AS YOU ALWAYS CHOSE SOMETHING EASY TO START WITH

    It's a pain to have to keep thinking of new and more elaborate passwords simply because you're unable to re call one temporarily.
    I'm signed into accounts most of the time and when I'm on another interface and can't recall or have access to my password then I'm forced to chose another. After a year and several situations like this I'm forced to create yet another non repeated password that only gets forgotton again from the fact it's something totally obscure to the standard passwords I use.
    Can't passwords be returned to use after a period if so required by the account holder.

    If you want to leave feedback for Apple then you can do so via this page (we are fellow users here on these forums) : http://www.apple.com/feedback/itunesapp.html

  • I have AVI files that I need to be MOV files so that I can edit them in Final Cut Pro. I am going to use Quick Time Pro for this....do I have to 'export' it or can I just 'save as', or is there even a difference? Thanks in advance for your help!

    I have AVI files that I need to convert to MOV files so that I can edit them in Final Cut Pro. I am going to use Quick Time Pro for this....When I have the files open in QT Pro do I have to 'export' it or can I just 'save as', or is there even a difference? Thanks in advance for your help!

    I strongly recommend you use compressor to do the conversion (if it will open the files - since quicktime will open them, it will more than likely do it.
    Compressor allows you to customize presets and save them and apply them to multiple files.  Although the interface may seem daunting, it's actually pretty simple.
    Even if you can edit the avi in fcp, it's not a good idea.  Liable to cause problems down the road. 

  • I have an iphone 4 with videos on it that I'd like to transfer to an IMac so that I can email them.  (the iphone isn't in use anymore.)  What's the procedure for transfering videos from an iphone to an iMac?

    I have an iphone 4 with videos on it that I'd like to transfer to an IMac so that I can email them.  (the iphone isn't in use anymore.)  What's the procedure for transfering videos from an iphone to an iMac?

    Connect the iPhone to your Mac with its USB cable and launch iPhoto.  In iPhoto you can select which files to upload into the library.  Once in the library export them out of iPhoto to a folder on the Desktop via File ➙ Export ➙ File Export  with Kind=Original. That will give you copies of the videos in the folder for use outside of iPhoto.
    If you want to bypass importing into iPhoto try launching Image Capture and manually upload the selected video files to the folder of your choice.
    OT

  • I've lost half of my icons such as calculator, fonts, chess, automator,ichat,ical it it saying that you can use this version with the OSX.  You have version 4.04. And, there is no way to update them.  What do you do?

    I've lost half of my icons such as calculator, fonts, chess, automator,ichat,ical it it saying that you can use this version with the OSX.  You have version 4.04. And, there is no way to update them.  What do you do?

    If I'm understanding you correctly, those apps have stopped working and you are getting a message saying that they won't work with this version of Mac OS X when you try to open them. Is that right? If so, have you moved those apps out of their original locations? That is a bad idea, as it prevents them from being properly updated. If this is what has happened, what version of the system were you running before they stopped working, and what version are you running now, after installing the update that has made them stop working?

  • If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    BuckeyeNative wrote:
    how can I merge them under one email ...
    you can't.
    ... so that I can use it on multiple devices?
    a single iTunes can be authorized for up to five iTunes store accounts (Apple IDs). a library thusly set up will sync content purchased with any of the five Apple IDs to any device.

  • Can I use creative cloud marketplace assets in my projects for my clients. By definition I mean that I can add them as part of say a clients website

    I've started using Creative Cloud Marketplace and I need to check that I can use the assets from it in my projects and what I mean by this is the projects that I create for my clients. So if I have a website and they like some icons I've created using some Marketplace assets then is this okay to do?
    Thanks

    Cloud Market http://terrywhite.com/adobe-creative-cloud-market/ may help
    -and http://helpx.adobe.com/creative-cloud/help/market.html
    or
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Map the user exit variables with the queries/cubes using them

    Hello Friends,
    What are the post unicode conversion tests that you can perform on front end/existing queries?
    is there any added advantage for queries due to unicode?
    is testing the working of variable  enough? is there any table to map the user exit variables with the queries/cubes using them?
    Thanks
    Tanya

    Guys, any clue about this? Answer are appreciated.
    Thanks
    Tanya

  • Two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account?

    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?

    crazyshark wrote:
    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?
    You can't do this, and you can't transfer purchases between accounts. There is no conflict about using one ID for iTunes, iTunes in the Cloud and iTunes Match (the ID you've been using for iTunes) and using the other ID for iCloud.

  • How to set up my elderly parent with Mac so that I can use remote access to help her?

    I want to set my elderly mother up with a new Mac mini so that I can use remote access to show her how use email, browse the internet, share photos.  (She lives in KY, I live in OR)
    She has had an iPhone and an iPad for about 6 months and she can barely use them without becoming frustrated.   I want to be able to see her screen with her and show her how to do things.
    My plan is to set her up with a Mac mini and I'll use my MacBookAir to remote into her system.  I'm buying the mini to configure and then I'll mail it to her.
    My question is whether to try to use Back to My Mac or Teamviewer for remote access
    I have broadband with comcast and she has broadband with Access Cable.  Each have their company modem/routers--neither of us have Airport Express.
    I have my own iCloud account and she has her own.   If I use Back to My Mac, it seems that I would need to set up a separate account on my Mac that would sync to her iCloud account.
    Teamviewer seems easier because I don't have to use a separate account.   Any advice?   Anything that I'm not thinking about?

    As Linc says, you can establish a Screen Sharing session via iMessage and Facetime.  The advantage of these 2 approaches is that once your Mom gets used to using them, she will be more comfortable using them to communicate with you.  I've talked to my Mom via iChat (aka iMessage) more since she learned to use them, then in all the years before that (including when I was a child ).  And just being able to see your Mom via Facetime can be useful when you want to gage how she is doing.
    However, if you are any distance from your Mom, they you want backup methods incase something goes wrong.
    So beside iMessage/Facetime, the next best would be Back-to-My-Mac via iCloud, however, you will want to establish her Mac as using your account so that you have the right to take control remotely.
    An alternative that does not mix up your iCloud acounts would be to use TeamViewer.com (which has an unattended mode so you can do off-hour maintenance when your Mom is not around; or check up on her to find out if she is dating - Turns out if I had been paying attention, I would not have been blind-sided by my Mom getting Married again last Summer - she is in her 80's! ).
    LogMeIn.com, as dwb says, can be used the same was as TeamViewer.com
    Both LogMeIn.com and TeamViewer.com are very good at making it easy to get through the home router and if you are having any problems connecting using other Methods, TeamViewer.com or LogMeIn.com will most likely not have any issues.
    Back-to-My-Mac allows screen sharing and file sharing so you can transfer files as well as control the screen.
    Screen Sharing via Messages allows cooperative file transfer. That is to say, you can try pushing a file to your Mom, but she has to accept each transfer.
    TeamViewer.com has an unattended file transfer mode.
    LogMeIn.com requires the paid version to transfer files.  However, there are other ways to transfer files, such as downloading them from the original source on your Mom's system while using screen sharing, using Dropbox (or similar), emailing them, etc...
    Of course if you are really network savvy, you can roll your own via ssh tunnels, port forwarding routers, getting dynamic DNS names, transferring files via scp, or tunneling AFP file sharing, tunneling your screen sharing sessions.  Lots of fun and excitement playing with terminal commands

  • I can't figure out how to transfer my albums on my iphone to photo stream so that I can see them on my apple computer. It did not automatically sync.

    I can't figure out how to transfer my albums on my iphone to photo stream so that I can see them on my apple computer. It did not automatically sync.

    kellyfromdanville wrote:
    I am new to Apple!
    Ah, new to routers too.
    Perhaps it's best to have a local computer support person come set you up?
    To explain everything would require writing a book here.
    But this is what you want basically.
    Router, new Wireless N, firmware updated.
    1: Two accounts, one admin, one guest Internet access. Random +30 plus character lenght passwords each preferred.
    (guest password to max password length of any iDevices)
    2: Encryption: WPA2 AES. No Ping. No remote access. No MAC filtering. Visible.
    3: Guest access on devices and computers only.  Passwords written down and stored.
    4: OpenDNS preferred but not mandatory.
    If you get OpenDNS, you can log into their website for free and set parental controls on things like inappropriate sites for children. So whatever device is used on your network can't access a large portion of those sites (nothing is perfect) by most users who are not technical oriented.
    What your doing now is running the bare bones unsecure router which can be used harmfully against you.
    Even a Apple Airport router has to be very well secured. The defautl cd and out of the box setup is not a secure solution.

  • I have 2 iphones, 1 personal and 1 business.  I thought I was supposed to have 2 separate itunes accounts.  I now have a work ipad and want to only have 1 itunes account that I can use for all 3 devices.  How do I cancel 1 account or just combine the 2?

    I have 2 iphones, 1 personal and 1 business.  I thought I was supposed to have 2 separate itunes accounts.  I now have a work ipad and want to only have 1 itunes account that I can use for all 3 devices.  How do I cancel 1 account or just combine the 2?

    I want to be able to transfer my apps from my original itunes account that I have on my personal iphone 3 and work ipad 3 to my work iphone 4S ,as well as purchase more more apps for the work iphone with the original itunes account.  Plus I need to sync all 3 of them with my work tower computer.  I really appreciate you're trying to help me out.

  • How do I get my purchased Itunes, which I can see in my Itunes account library on my computer, downloaded to a folder on my computer so I can use them?

    How do I get my purchased Itunes, which I can see in my Itunes account library, transferred to a folder on my computer so I can use them?

    Hello apple1helpme,
    It sounds like you would like to download your iTunes purchases to your computer rather than streaming them from iTunes in the Cloud.  I recommend downloading your purchases directly to your computer using the Purchases page in the iTunes Store:
    Download previous iTunes Store purchases to an authorized computer
    Click iTunes Store near the top of the iTunes window.
    Click the Purchased link at the right of the iTunes Store homepage (below Quick Links).
    In the page that appears, select a category. 
    iTunes shows you which of your purchases are available for download. You can view all of your past purchases, or just the ones not currently in your iTunes library. Items already in your library aren’t available for download. If you select Music, you can view your purchases by song, artist, or album. If you’re viewing by album, click an album to see which songs on it are available for downloading.
    To download all available items, click Download All.
    iTunes 11 for Windows: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12491
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I am copying audiobooks on CD to the iTunes, so that I can send them to my iPod, however I do not know how to keep all the disks that comprise a book ( sometimes up to 18 disks ) organized so that they are recognized as part of abook and played in sequenc

    I guess I asked the question in the title, anyway one more time:I am copying audiobooks on multiple CDs to Itunes so that I can sync them to an Ipod and listen to them, how do I keep the multiple disks inone folder under one book title and how do I keep the tracks from intermingling with the tracks from another disk?  EXAMPLE: I just downloaded one book, consisting of three CDs and I see the Track o1 information from each CD in sequence followed by three Track 02, instead of all tarcks from the first CD followed by the tracks of the next CD etc.

    Thank you, I read that lengthy procedure before I asked the question.
    I have no way of following all of those steps successfully since I am about butterfingered a sthe last dinosaur and will make every  mistake in the world and get frustrated with  something that SHOULD be simple.
    I have the three disk autobook showing in iTunes library as one title , I had to  enter the dat amyself since it was not listed on the internet data base, All entries for all tracks match and I have indicated  the disk number  as  one, two or three of three as indicated.
    Yet when I sync the iTunes to the iPod I am being presented with each individual track listed in the Audiobook Menu.
    I am using the latest version of iTunes and a iPod Classic 160G-- that I purchased three days ago purposefully for the converting of the audiobooks to a portable device since the Library of Congress  ( NLS BARD ) books are formatted differently and the player is bulky.
    Does anybody hav eany other ideas?
    Does anybody have an e-mail address for Apple,  preferably iTunes folks?
    This is a handicap accessability problem since my wife cannot see and depends on these audio books.
    Obviously I will try that link to that Chapter and Verse site and see what I can do.
    Thank you for your quick response

Maybe you are looking for

  • P45D3 Platinum And G.Skill 4GB Dual Kit DDR3-1333 F3-10666C FREEZE!? HELP!

      Hi there! First sorry bout my bad english! I bought yesterday the new p45d3 platinum mainboard and g.skill 4GB Dual Kit DDR3-1333 F3-10666C memory and i have this same problem that seems to be popular. The Bios works fine, but when installing xp sp

  • HTML Content in UWL Description

    Hi All, We are developing UWL Connector with third party system. We want to display HTML Content in UWL Description.  I tried with embedding HTML tags with Description. But it displays description with HTML tags. Is it possible to embed HTML design w

  • How to save iMovie project as .mov file?

    That's my question!

  • Printed text comes out in miniature

    I have converted a mobile phone user manual to MSWord. The on screen view and preview modes show text as normal filling the page however when I print it it comes out as if the page was 3.5 x 2.5 inches. There is no truncation just a very small font.

  • Lightroom 6 standalone student discount

    My daughter is a university student and would like to buy Lightroom 6 as a standalone. Is there student discount for this? how does she purchase it?