Very basic Question on Hierarchy

Where do I place a function, at the lowest level, so I can call it from any other container above it?
For example, I have 3 frames and they all need to use the same function, called "myFunction()".
Do I really have to create it in each frame? There has so be a lowe level where this can be placed?
Is there a good simple description of AS3 Hierarchy somewhere?
Also, how do you specify global variables in AS3?
Thanks very much,
e

Yes, write the function in the first frame and extend the frames for the objects in several layers, if you create the objects in several keyframes then you'r not able to call the object in the firstframe (within the function) which you had created in another frames. This should be controlled by the good organisation of layers and objects in a single frame.
You can access the varaible as global by declaring anywhere on the timeline as:
MovieClip(root).varName="Raja";

Similar Messages

  • If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question

    If I upgrade to Mountain Lion on the computer that will install it, will my WIFI still work on the computer that cannot be upgraded? I know this is a very basic question. Trying to hold out as long as I can, but purchasing an iPhone for Christmas and new iMac next year when warrently expires.

    Thank U very much for the quick reply, I wanted to upgrade this weekend, but still on the fence. I can live with the software that is not compatible, they are on another compuetr, just didn't want the obvious stuff to stop working.

  • Possibly a very basic question but I have set up a spread sheet in Numbers and have viewed help videos but I can't get it to give me sums for the columns I highlight.  Keeps coming up with the figure zero.  I have version 09 2.3(554). Can anyone help

    Possibly a very basic question but I am going nowhere without a solution.  I have set up a spreadsheet in Numbers but it won't give me sums for chosen columns. I  have viewed the run through videos and used the formula but nothing happens apart from giving a figure of zero or a red arrow.  The sum icon in the bottom left hand section of the window does not highlight or show any total as I understand from the video that you can drag whatever total is here onto the relevent position on your spreadsheet.  I have Numbers 09 version 2.3 (554). Can anyone advise. Thanks.

    Hi Sohojools,
    To sum a column, use a formula such as this one in Cell A6
    Type this in a cell below your data:
    =SUM(A2:A4) or whatever range of cells you want to sum. The easy way is to type:
    =SUM(
    and then drag or shift-click to select the range of cells. Close the formula with a final bracket ")".
    The sum icon in the bottom left hand section of the window does not highlight or show any total
    To see the sum (and other simple statistics) in the bottom left, select a range of cells. That tells Numbers which cells you are refering to.
    The videos are good, but the Numbers'09 User guide, and the Formulas and Functions User Guide are better. Download them from the Help Menu in Numbers.
    Regards,
    Ian.

  • Very basic questions on text/email

    So I'm now convinced - with the 3.0 OS and the 3GS handset, the iPhone finally does all I want it to do and I'll be buying my first one in a couple of weeks.
    Before I do, though, I have a couple of very basic questions:
    1. Does predictive text only work in the SMS app, or does it work in the apps for email, writing notes, etc?
    2. Can you turn the predictive text off? (I find it wildly irritating, because I know far better what words I want to write than a pesky phone does!)
    3. Having email sent to a mobile is a whole new world for me! Do I need to subscribe to MobileMe at £££ per month, or is there another way of having email from my three accounts forwarded to my mobile?
    Hope someone can help!
    Cheers,

    1. Does predictive text only work in the SMS app, or does it work in the apps for email, writing notes, etc?
    It works with Safari, the Mail client, the Notes app, and with the SMS app.
    2. Can you turn the predictive text off? (I find it wildly irritating, because I know far better what words I want to write than a pesky phone does!)
    Yes.
    3. Having email sent to a mobile is a whole new world for me! Do I need to subscribe to MobileMe at £££ per month, or is there another way of having email from my three accounts forwarded to my mobile?
    You can access any IMAP or POP account with the iPhone's Mail client, and access multiple email accounts. I currently access to email accounts with the iPhone's mail client - my MobileMe account, and a business POP account. You can access all 3 of your email accounts with the iPhone's Mail client.

  • A very basic question regarding data block

    Hi All,
    I've a very basic question concerning data blocks in oracle forms 10g.
    I want to make a view only screen (only query allowed, no update, insert or delete).
    I'll have 6-7 fields on the screen but all the fields are not from a single table.
    For e.g, let say we've field names to display on the screen are f1, f2, f3, f4..
    Out of this f1 and f2 will come from table A and f3, f4 will come from table B.
    Now, my question : Is it possible to create a data block using the data block wizard for such situation if we select create data block from table options?
    If no, can you please tell me an approach to do this.
    Regards,
    Navnit

    Hello ,
    First write your query & select datablock property.
    just change the below properties
    Query Data Source Type=From Clause Query
    Query Data Source Name = (Paste query here)
    now you should add the block ITEMs and give their names according to query columns names. shows the column on canvas and run..
    Best Regard
    skyniazi
    Edited by: SKYNIAZI on Mar 29, 2009 1:32 PM

  • Very basic question... can photoshop overwrite the original file?

    Very basic question... can Photoshop Elements 13 overwrite the original file?

    You will need to check the Photoshop Elements for any particulars about that software.
    For Photoshop, if I make changes and exit saving those changes, yes the original is overwritten.
    Keep backups at all times and don't work off flash external drives. When people tell me their original 500 layer file got corrupted, and they didn't keep copies, I hate to tell them their weeks of work is down the bucket.
    In Photoshop, we use Image > Duplicate to work on a copy if we don't want the original touched, or File > Save as... where we give the file a different name. We save image.psd as image1.psd and image.psd is closed. We then have a copy, "Image1" opened.
    Gene

  • Here's a very basic question about 2 TB external drives and Time Machine.

    Here's a very basic question about 2 TB external drives and Time Machine.
    Ihave a Mac Pro with a .75 TB and 1 TB drive.  It also has a 1 TB 2ndinternal drive.  My current external drive is too small so I'll begetting a 1.5 TB or 2 TB drive.
    Obviouslythe new larger 2 TB drive will backup everything on the Mac Prointernal drive with Time Machine.  But there will be 1 TB of space leftover going to waste.
    ShouldI partition the external drive so that the TM portion will be 1 TB andthe use the remaining extra partition for additional file backups withCarbon Copy?
    Thanks for any insights.
    I tried searching around on the new Apple discussion forum, but I find it much harder to use than the old forum I used to use.

    The problem with terabyte drives is that that a 3 TB is about as big as you can get without going into RAID territory. Ideally, a Time Machine drive should be 3 times as large as all the drives you are backing up. So, if you have 2.75 TB of internal storage, you should have 8 TB of Time Machine space.
    Of course, that is "should". If your TB drives are mostly empty, then you can get away with something 3 times the size of your used disk space. Just remember that you are pushing it. Linc is right about Time Machine needing space to work.
    It is unlikely that you have regular churn on 2.75 TB of disk. I suggest identifying which drives and folders have the most activity and excluding those drives and directories that don't change much. It would be better to archive the data that doesn't change often and keep it out of Time Machine. Then you may be able to get away with a 2 TB Time Machine drive.

  • Entities not showing Contribution - very basic question

    Hi guys,
    Apologies for this very basic question - I'm very new to Hyperion, with just a weeks training! Anyway I'm building a basic model and have noticed that in the Value dimension my entities are not rolling up to the [Contribution Total]. This means that Entities do not roll up!!
    One suggested issue was that I needed a Sub Consolidate in the Rules, however I've set the attribute "ConsolidationRules" to be = to N. In the documentation this is defined as "N to use the default consolidation and eliminations."
    Wondering is there anything else that is needed to use default consolidations, or do I need to create some Rules??
    Thanks
    G

    Why do you think it is not rolling up? If your Consoldiation Rules are set to 'N' you do not need rules.
    Make sure your accounts are set to IsConsoldiate. Make sure you are viewing a 'Parent.Child' at Contribution Total.

  • One very basic question about inheritance

    One very basic question about inheritance.
    Why we need inheritance?
    the benefit of inheritance also achieve by creating instance of base class using it in other class instead of extending the base class.
    Can any one please explain why we are using inheritance instead of creating object of base class????

    SumitThokal wrote:
    One very basic question about inheritance.
    Why we need inheritance?
    the benefit of inheritance also achieve by creating instance of base class using it in other class instead of extending the base class.
    Can any one please explain why we are using inheritance instead of creating object of base class????What did you find out when you looked on Google?
    One example of inheritance comes in the form of a vehicle. Each vehicle has similarities however they differ in their own retrospect. A car is not a bus, a bus is not a truck, and a truck is not a motorbike. If you can define the similarities between these vehicles then you have a class in which you can extend into either of the previous mentioned vehicles. Resulting in a reusable class, dramatically reduces the size of code, creates a single point of definition, increases maintainability, you name it.
    In short there are thousands of benefits from using inheritance, listing the benefits could take a while. A quick Google search should give you a few hundred k if not million links to read.
    Mel

  • VERY Basic Questions about Oracle eBusiness - what "languages" are used?

    Please forgive the very basic nature of this post- (I have been in systems (IT) for over 20 years, so I do have lots of systems experience, but no exposure to this particular software.)
    So here are the basic questions - I assume that much of the data base logic is written in PL/SQL, but what other tools / languages are the applications written in?
    (Oracle Forms, Oracle Reports, Java, C, something else?)
    With over 20 years and experience with a number of other packages, I can learn a great deal about an application by 1. Looking at the DB structures (charts), 2. looking into DB code (Packages, triggers, procedure, functions) and 3. Seeing the screen shots.
    None of my customers have had Oracle eBusiness - that have had home grown applications or other COTS/packages.
    can anyone suggest a place where an independent person can inexpensively get some exposure?
    My sincere thanks for any answers/suggestions. 

    Hi,
    Please refer to the following links for details about the different database releases and Oracle tools.
    Oracle Timeline
    http://www.oracle.com/timeline/index.html
    http://www.oracle.com/oramag/profit/07-may/p27anniv_timeline.pdf
    Oracle Corporation - Oracle FAQ
    http://www.orafaq.com/wiki/Oracle_Corporation
    Oracle E-Business Suite consists of Application/Database/Client tiers, you can find more details in [Oracle Applications Concepts|http://www.oracle.com/technology/documentation/applications.html] manual.
    Oracle Forms
    http://en.wikipedia.org/wiki/Oracle_Forms
    Regards,
    Hussein

  • Very Basic Question i think ?

    Hi im very new to flash but am looking to learn some more
    about it i have tried to use the pre-built components in flash and
    was just wondering where or how you can retrieve the values from
    the checked boxes
    i know how to do for 1 checkbox by using
    if ( instancename.value = true){
    trace("Box was ticked");
    but what i am looking to do is run through a series of 5
    checkboxes and retrieve all the labels at first i can probably work
    out the checking if they are ticked but all i get traced is
    undefined which i guess means no value.
    This is the code i used to try to retrieve all the labels of
    every checkbox on press of a button
    on(release)
    trace("Clicked");
    var i = 1;
    while (i < 5){
    trace("While Running");
    i++;
    trace(CheckBox
    .Label);
    trace(i);
    It would be most appreciated if anyone could point me in the
    right direction for very basic tutorials on flash components as i
    could only find the macromedia livedocs which i didnt find a lot of
    help as its all technical speak which i am not familiar with
    yet....
    Thanks Pinky

    Many Thanks!!!!!
    This was the output i had to change the for to say i < 6
    to do the final checkbox but it is exactly whati wanted to do
    without having to use multiple if,s :D
    Many Thanks now just gotta try to work my head round
    comboboxes which i would have to start a new thread :D lol

  • Very basic questions about SMC

    I've never used SMC before and I have some basic questions. I'm trying to set up the Sun Management Colsole to manage LDAP users in accordance with the instructions in Tom Bialaski's book LDAP IN THE SOLARIS OPERATING ENVIRONMENT.
    My questions are:
    1) What's the difference between Sun Management Center and Sun Management Console?
    2) The book references Sun Management Console 2.1, what's the latest version and where do I get it? Version 2.1 is already installed on my machine and running.

    1) What's the difference between Sun Management Center
    and Sun Management Console?This forum is for Sun Management Center:
    http://wwws.sun.com/software/solaris/sunmanagementcenter/
    It's Sun's unified monitoring tool, specializing in Sun hardware/OS/apps. It ties into storage, cluster, N1 Grid Containers, flar deployment, PatchPro etc... as well as lots of 3rd party addons.
    Regards.
    Note: I am an employee of Halcyon (www.HalcyonInc.com)

  • Very Basic Question c:out

    I can't seem to get a very simple "HelloWorld.jsp" file to work in Tomcat. I have the file helloworld.jsp with the following:
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <html>
    <head>
         <title>helloworld.jsp</title>
    </head>
    <body>
         <c:set var="hello" value="Hello World!" />
         <c:out value='${hello}' />
    </body>
    </html>But when I view the page I see the output:
    ${hello}
    I thought this was very basic, but it doesn't work. I know that tomcat is running well, but the problem seems occur when I use a tag library. Otherwise the server and jsp works well. Thanks for any help.

    Thanks to you both, however, I am well aware of my option to use out.println..., but what I was trying to achieve is using the JSTL, and that is where I am having problems. Also, switching the order of my arguments in the taglib declaration made no difference. Anybody else have an idea on how to get the JSTL working?

  • Very Basic Question - Resizing Image

    Cannot believe I am having to ask such a basic question, but in order to scan and send documents to a particular database, there are two requirements:
    1) 200 dpi, and
    2) Greyscale
    The greyscale I found quickly enough by going to image adjustments -----> B&W. However, how do I get to 200 dpi and then export? Thanks.
    Scott

    Applying a B&W adjustment doesn't change your output color space to grayscale.
    You should create an export preset for this particular purpose. To do this, go to Aperture -> Presets -> Image Export and make a new preset with correct values for image size and resolution. Use Generic Gray Gamma 2.2 as color profile.

  • Very basic question in forum :)

    I know its kind of a basic question, but struggling to get this right while posting.
    Just wanted to know the steps for linking text to hyperlink during posting of answers..
    can someone elucidate the example :_go here_ should be a hyperlink and the link should point to google.com
    Cheers,
    Manik.

    Girish Sharma wrote:
    Something like this :
    [url http://oracle.com]Oracle
    How to write above ?
    [url http://oracle.com]Oracle[/url][url http://www.google.com]Checking
    working thx.
    Cheers,
    Manik.

Maybe you are looking for

  • ABAP OO - Passing Internal Tables from Method to Method

    I'm new to writing methods. I have a need to build an internal table in METHOD1 and pass the internal table to METHOD2. I'm confused how to declare the table in 'Parameter' section of the METHOD2. I have specified the following: Parameter = WTAB1 Typ

  • How to turn off the dialog box in the Write to Spreedshee​t File

    I am saving data in a loop using "Write to Spreedsheet File". When I gave a constant path to this Vi, it was fine. However, when I gave a path defined by a global variable, it consistantly popup dialog box and asked for my choice. How can I turn off

  • FindClass can't find a class. need  HELP.

    In my C++ code, JavaVMOption options[2]; JavaVMInitArgs vmArgs; options[0].optionString=(char*)"-Djava.class.path=/javahome/V1.3/lib/dt.jar:/javahome/V1.3/lib/tools.jar:/javahome/V1.3/jre/lib/rt.jar:/javahome/V1.3/jre/lib/i18n.jar:/myapps/lib/myLib.j

  • Itunes Library reinstalled from backup disk- but doesnt work without DISK

    i recently cleaned up some bugs on my computer. I also installed Avast antivirus. I turned off the computer- a couple days later when I turned it on-my itunes library was empty. I reinstalled the library from my backup disk now lots of songs onthe li

  • UEFI/GOP Vbios Request - R9 270 Gaming 2G

    Hi, can you please provide me the UEFI VBIOS update for my video card? R9 270 Gaming 2G - S/N: 602-V305-03SB1402037946 Current BIOS: _https://mega.co.nz/#!spIGjbgJ!l36xkvNeHV-ev60tLxuMPqN3toPIaoL4IqaSgguys8E Thanx.