Other _root solution

Hello,
I'm coverting my code from AS2 to AS3. I have public
variables I've declared on my main ".as" that I've always used in
my custom classes by saying _root.varname. Of course _root is gone,
so I was wondering if the code I have below is the best way to
solve this problem in AS3. I really hope it's not because I hate
passing _root to every class. Is there a way to use "parent" to
solve this?
Thanks
tk

Wow Adobe, what have you done to me!
Kglad, thanks for your help. Is there no way to have public
variables in flash anymore? Other than by using the 2 examples
you've given me?
Thanks
tk

Similar Messages

  • HT204347 Hi my serial number on bottom of my mac is W8*******66E when l try to try the computer on it is just going to grey screen with apple logo and spinning wheel i have tried starting in safe mode and a few other suggested solutions and they have not

    Hi my serial number on bottom of my mac is W8******66E when l try to turn the computer on it is just going to grey screen with apple logo and spinning wheel i have tried starting in safe mode and a few other suggested solutions and they have not worked?
    <Edited by Host>

    What other solutions have you tried?
    This may help you:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • I am constantly having problems with watching video on line especially Youtube. I have played with the html5 and uninstalled flash player and reinstalled and tried all these other common solutions. My macbook pro is up to date.

    I highly doubt that I need to switch to Mountain lion or any of that because I had this issue with my last macbook several years ago. This is hapening all the time and tends to occur after updating my mac. This time, nothing will fix it and I know many others having the same issues. I bought a macbook pro specifically so I did not have these issues. I can't exactly promote my business with these issues and I am so mad because of this. I feel we shouldn't have to pay to have customer support solve an issue that apple should have corrected by now.

    I fixed the problem. Sorry apple for wondering if it was on your end.
    These are what helped me:
    http://productforums.google.com/forum/#!category-topic/youtube/safari/CPW7r7OY5C o
    http://mitchribar.com/2013/02/time-warner-cable-*****-for-youtube-twitchtv/
    The solution worked instantly and my youtube plays super fast in hd just like verizons T.V. adds say they do. Now, that is. 

  • The sequence jump and any other good solution

    Hi everyone,
    One existing system apply for sequence number as report number. But sometime the report number will jump. Before create each report, the system will get the sequence number. Then the sequence number will plus one automatially. but how come the sequence number will jump from 32 to 250 itc. Seems it is impossible that user failed to create few hundreds report in a quite short term.
    Any oralce bug caused the problem or good solution to replace current report number design?
    Thanks in advance,
    Hawk

    Some users do like gap free serial numbers. To them it seems like a no-brainer, an easy thing to do. This is just one of the ways in which a real-world metaphor fails in RDBMS, because people don't understand database architecture. More importantly people have forgotten (or, increasingly, are too young to remember) how difficult this sort of thing used to be.
    In the days before computers serial numbers ("sequences") were tracked by using ledger books or self-incrementing stampers. This was usually foolproof but: [list]
    [*]If someone made a mistake - stamped a docket in error or entered an invalid application form - then we had a gap, there was no way to re-use that number.
    [*]Only one person at a time could get the next number: only one person at a time can write in book. Which is fine if we just have a single accounts clerk, but a nightmare if we need to share those resources. If you lock the stamper in your drawer (for safekeeping) and go off to tea, I can't stamp any dockets until you come back.
    [list]
    So you can see that computers are actually quite like real life. The SEQUENCE object is geared up to be a shareable source of unique IDs. The trade-off for shareability is gaps. The only way to guarantee no gaps is the solution you have already, a code control table. But that introduces a bottleneck - you need to be careful to ensure that the table does not remained locked for a long period of time. What happens if someone starts to run a report and then goes off to tea? Will they prevent anybody else using the report? You could use AUTONOMOUS TRANSCATION to acheive that, but if the surrounding transaction is rolled back for any reason...you get a gap!
    Ultimately this comes down to how often the report is run. If you've got hundreds of users running each day then you have a serious potential for resource contention. If it's only one guy running it once a week then it does not matter.
    Cheers, APC

  • Xen/KVM/other - which solution for Linux virtualization

    Hello,
    we are intensively using Solaris 10 virtualization called Solaris zones. It is so secure (in terms of separation), easy to use and has so little overhead that our DBAs doesn't want to install our RDBMS-es out of zones. But we are going to deploy some RedHat-based servers with Oracle. Could you write what kind of virtualization would you recommend in such (Linux) environment ? Would problems should we prepare for ? How about maturity of the solutions ? Would you deploy the most important Oracle databases (in your company) using Linux-based virtualization ?
    Regards

    user583010 wrote:
    But we are going to deploy some RedHat-based servers with Oracle. Could you write what kind of virtualization would you recommend in such (Linux) environment ?The only certified virtualization stack for Oracle Database is Oracle VM with Oracle Enterprise Linux, so I'd recommend that. :)

  • Why to use SQL Server's native backup facilities, not other backup solution?

    I've been asked in my company: why to use SQL Server’s native backup facilities? Instead, they currently rely on other backup software, like Backup Exec, BrightStor, or even Microsoft System Center Data Protection Manager. Those solutions let the
    company manage all of its backups—including SQL Server—in a single place, whereas SQL Server’s native backup abilities only apply to SQL Server.
    So what does SQL Server native backup facility give us more to be forced to use it?

    Satish and Pawan ... thanks but, a backup solution is just there. they don't need to pay anything. even though, having a backup solution that backup everything on the server, like files, software.. etc is needed regardless if you have SQL Server databases
    or not, and if it does database backup it would be even better and more complete as a backup solution. So sorry your answer is not an enough reason that will force me to leave that complete backup solution and use the SQL Server backup tools specifically to
    backup databases.  
    Olaf ... thanks as well. But I was just counting a number of solutions that i think they are related to backup things. yet I believe that Symantec backup exec does backup for SQL Server database, ain't?! what I understood from the link that you gave me,
    that some backup applications (if not all) use SQL Server backup facilities to do database backup, is what I understood correct? if yes then the question will be, is there any situation or reasons that force me to use SQL Server backup tools even if I have
    those backup solution (that some of them in the backgroud they are using SQL Server backup facilities)? does SQL Server backup tool give me more capabilities in backing up databases than what I find in backup solutions?
    The answer is NO, as of now you get all these features in 3rd party native backups...
    So in nutshell Microsoft never forces you to use SQL Servers Native backup -----The only reason why you get native backup featues is since SQL Server is an Enterprise Solution MS provide you all features in-built within the bundle so that you don't have
    to purchase any other license (incase you\your company doesn't have one already)
    Sarabpreet Singh Anand
    SQL Server MVP Blog ,
    Personal website
    This posting is provided , "AS IS" with no warranties, and confers no rights.
    Please remember to click "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Rsync or other backup solution- single source multiple target?

    Seems from http://www.linuxquestions.org/questions … ly-774225/ that I can't do what I want, but I thought I'd ask as well.
    My laptop hard disc is going to be backed up to two external hard discs (regular script). What I do right now is run two separate rsync commands, but of course this means that the data (all 300+ GB of it, currently) needs to be read twice. Seems it'd be much more efficient if the data were read once and then written to both external hard discs.
    It doesn't seem from the above link and other google resources that this is possible. Can anyone suggest an alternative short of scripting a file-by-file cache?
    Last edited by ngoonee (2013-10-31 01:33:22)

    cfr wrote:
    Doesn't this partially undermine the point of doing two backups? I realise one is off site and that they are on separate devices which rules out some sources of corruption/loss but if you run the backup as you wish and something bad happens to the source during the backup, you are likely to end up with three corrupted copies rather than only two.
    I don't manage to do this as I only have one complete backup but I thought that best practice involved not touching one backup while the other backup was being created (or restored or...). That way, you always have one "known good" backup whatever happens.
    EDIT: not "whatever happens" but "whichever of any of a larger number of possible catastrophes occurs". Obviously, the third copy could be on a device that dies or explodes or gets drowned by a peeved goldfish at just that moment when mice eat your source during a backup, thus corrupting your other two copies. But you can only plan so far...
    This isn't my complete backup solution. I have two hard discs in one location (what I'm asking about here) and another one at a different location. The reason I have two is simply because I have a spare which doesn't have any other use, and it may as well be put to use in this way.
    Besides, if something happens to the source, using --backup-dir means I'll still have the last known good copy anyway (not taking into account the backup which is at the different location.

  • Installation alongside other DPS solutions

    I'd like to test out some of the other digital publishing solutions out there - PressRun, Mag+ and Twixl, to name a few.
    But I'm curious if anyone has had any installation problems running several of these at once on the same machine.
    I've got such a clean workflow going with the Adobe DPS, I'm afraid of screwing things up by installing too many things on the same machine.
    Thoughts?

    I've seen no apparent problems with Mag+ or PressRun. Haven't installed the latest Mag+ software, yet, but I wouldn't worry.
    Bob

  • Certificates of App-V, MBAM and other Desktop solutions

    I´m stuck at certificate career, because my specialty covers desktop deployment solutions, like Configuration Manager, App-V, Images and all technologies around them. Sure I have some skills in Windows 2012, W8, W7, and AD, but these are not the
    main thing I do every day. It seems that Mbam and App-V were covered on Deployment and Optimization Pack few years back, but what about now? Also, is there a single cert about Hyper-V and MS virtualization?
    I already have ConfMgr and Image/MDT certs. 

    Hi,
    The certifications that cover SCCM, MDT, App-V and MS virtualization are part of MCSE tracks, MCSE: Server Infrastructure, MCSE: Desktop Infrastructure and MCSE: Private Cloud.
    http://www.microsoft.com/learning/en-us/mcse-certification.aspx
    In orde to achieve MCSE certification you will fist need to pass the three MCSA: Server 2012 exams:
    http://www.microsoft.com/learning/en-us/mcsa-windows-server-certification.aspx
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
    MCSE:Server Infrastructure, MCSE:Desktop Infrastructure, MCSA Server 2012, Citrix CCIA & CCEE, Cisco CCNA, VMware VCP 3/4/5 Twitter: @dnyvandam http://www.dannyvandam.net

  • Itunes 8.2 crashing Windows XP as with so many others, no solution given

    If you google this problem, there are so many people with Windows crashing when using Itunes but no real solution offered, Why ??? I have gone from Itunes 7 to 8 to 8.2, still the same. Removed all but essential other programmes, done virus checks, done registry repairs, removed itunes, cleaned the registry then a clean re-install, upgraded all drivers, it even goes down in safemode.
    Still Windows XP will crash only when itunes is open, even if it is sitting unused. The Event Viewer log identifies Itunes every time e.g. "faulting modules itunes.exe" and others that refer to itunes. With itunes closed down, I have no crashes
    What is wrong with itunes, why can't Apple provide a proper reply to resolve this - or if they havem then one that is easy to find.
    Please can someone help

    If you google this problem, there are so many people with Windows crashing when using Itunes but no real solution offered, Why ??? I have gone from Itunes 7 to 8 to 8.2, still the same. Removed all but essential other programmes, done virus checks, done registry repairs, removed itunes, cleaned the registry then a clean re-install, upgraded all drivers, it even goes down in safemode.
    Still Windows XP will crash only when itunes is open, even if it is sitting unused. The Event Viewer log identifies Itunes every time e.g. "faulting modules itunes.exe" and others that refer to itunes. With itunes closed down, I have no crashes
    What is wrong with itunes, why can't Apple provide a proper reply to resolve this - or if they havem then one that is easy to find.
    Please can someone help

  • Is there a way to project a slide show using iPad with Chromecast? Other better solution?

    When I travel for business I like to try to just bring my iPad and no laptop.  I need to be able to project some slides (could be .ppt or .pdf).  I have Chromecast installed and working on the TV.  I also have the latest "free" version of Powerpoint on my iPad. I do not pay for the MS360 subscription at this time - I only use it to view slides as needed and edit on laptop.  Series 3 iPad with latest software.
    1) Is there a way to project a slide show to a projector or TV using Chromecast in conjunction with either Dropbox or Powerpoint, on the iPad?
    or in absence of a "yes"
    2) What is the best toy to buy so that I can mirror my iPad screen to a projector / TV?  Note I don't need a $100 Apple TV brick, please.
    Thanks,

    Click For LINK OR THIS ONE FOR NOT LIGHTINING CONNECTOR CLICK FOR LINK 2
    YOU CANT USE FOR Dropbox etc

  • Suggest pattern or any other alternative solution

    Hi,
    We would like to build on java application using API which client suppose to provide. But Client asked to used existing jdk API indirectly I mean use one wrapper in between. So going ahead if client provides his own API that time without much change we should be able to use those. So please suggest how we can design inteface which will give us the flexibility...thnx

    From what I understand of your description, it sounds like Adapter is a fit. But could you clarify who is providing what?
    "client provides API" and "Client asked to [] use one wrapper in between" are not clear to me...

  • Lr CC won't open. Tried signing out and back into CC and other suggested solutions.

    I use Window 8.1. Downloaded CC trial two weeks ago and installed Lr 5 and Ps. I created the Lr catalog in a location other than that suggested by Lr 5 (a secondary drive). Lr 5 and Ps worked fine and I intended to buy the Photography package. Then I upgraded to Lr CC and uninstalled Lr 5. Lr CC won't open. The Trial screen appears, I click on "Continue Trial," it goes away and Lr doesn't open. I tried signing out and back into CC numerous times, I uninstalled and reinstalled Lr CC and even the CC app, still nothing. I tried deleting the .lrcat.lock file but couldn't find it, so I deleted all the catalog files and folders (it was just a practice run). There seems to be no way to get Lr CC to open.

    Hi,
    Please follow the suggestions mentioned here, Lightroom doesn't launch or closes automatically after splash screen.
    Let me know if the suggestions help.
    ~ Arpit

  • How to make Image Field readonly or any other substitute solution

    Hi,
    What is the attribute or property to make an image field in a form read only.
    It is an image field only,not just an image, because I need events on clicking that image.
    But the problem is that when I render the image in the form, when user clicks it shown a browse icon to upload an image in that place. I dont want that to happen. The image by itself should be display only, but I want to process events like "on click"
    Thanks,
    Harish

    Hi,
    U can change the access of any field to read-only using the scripting language "FormCalc". The syntax is:
    in the docReady event of the form:
    <path of the UI field>.access = "readOnly";
    for further info on scripting in Interactive forms:
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    Hope this helps you.
    Regards,
    Poojith MV

  • Other solution for MBST of 101 movement type

    HI,
    i am facing an issue that i am unable to cancel my GR, because we are doing GR with refernce to confirmation in PO but after doing the GR the confirmation tab isn't showing the quantity.Due to that i am uable to do 102 and 122 monement on that PO and material document. Kindly suggest me for this that what other possible solution i can do for this problem.
    Thanks

    Dear
    Please set the reversal setting in SPRO with movement type 101 to 102 & 122
    Please follow the below path
    SPRO>>Material Management>>Inventory Management and Physical Inventory>>Movement Types>>Copy, Change Movement Types>>Movement Type>>M/T 101>>Then Click Reversal /Follow
    There you can set Movement type 102 & 122
    your problem will be solve.
    Regards
    Aamir

Maybe you are looking for

  • My Mac Book's Safari is locked down

    I clicked on a bad link on my mac book's safari and a message pops up that says "Due To Trojan Virus Your Computer Windows Files Got corrupt,Error Code: Win32xepcj. Call System Administrator at: 1-800-786-0949." The message will not go away and I can

  • Journal Entry's Query

    Hi All, I need to come up with a Query/Report that displays a list of all the Manually-Entered journals with the Debit and Credit amounts as well as the User who did the Journal. How do I go about this? Are there better tables for achieving this than

  • VM, RAC on Win XP

    I created a new thread in Database General forum (VM, LINUX RAC on Win XP before I found this forum. Admin, please excuse the double post; but, I figure I will get more appropriate response here. As mentioned in that thread, I'm a newbie and I'm tryi

  • RESTful webservices invocation from OSB.

    Can some one please explain the best way to develop the OSB service to invoke the Restful services. 1. Only proxy service is enough to handle the request, no need of business service? 2. when moving the code from one env to other, we use a business s

  • Home on Leopard

    How do I change the name of the Home folder in Leopard without making any major changes to the system like reinstallation and the likes?