Help creating a path using variables.

HI
I;m trying to create a path to a movievclip created with
attachMovie. I need tio create the path using variable:
_root.var1.var2.gotoAndPlay("something");
How can I tell flash that var1, var2, etc are variables and
not a relative path?
Tks,

Hello Tks,
depending where the movieclip is that you are trying
communicate with you need to use either other movieclips or you
will need to use _parent.
var gong:MovieClip;
var bong:MovieClip;
var song:MovieClip;
this.attachMovie("gong".....
gong.attachMovie("bong"....
bong.attachMovie("song"...
to access song from the timeline in which all these movie
clips were attached
this.gong.bong.song.variable
from song to the timeline in which all movie clips were
attached
song._parent._parent._parent.variable
Hope this helps..
moozungu

Similar Messages

  • Help! Problem with using variables/objects

    I am writing a method that will create a new object based on a class. Obviously, the following code works:
    Line victoria = new Line("Test");
    But now I want to be able to put any string I like where victoria is. Something along the lines of:
    public void createNewObject(String newObjectName)
    Line newObjectName = new Line("Test");
    But this won't work because it says I have already named newObjectName.
    How can I get it use the value contained WITHIN the string rather than the string itself?
    Thank you in advance,
    G

    Yes. The method signature declares a variable
    newObjectName of type String whose scope is the entire
    method. So you can't declare another variable with the
    same name within the method, as you attempt to do. I
    think you want to replace Line newObjectName =
    new Line("Test"); with Line newObject =
    new Line(newObjectName);Then you'll need to
    think about how to make the new object available to
    the code which called the method...YATArchivist, thank you for the reply but I don't think it solves the problem.
    Your solutions passed the string into the creation of the object but the object name is still static. This mean that if I create another object it will still have the name newObjectName.
    Maybe I am approaching the problem incorrectly. Imagine I had a class called Book. If I had a library program and wanted to create more than one book based on the class Book, how could I do it?
    Please help me!!!
    Thank you,
    G

  • Please help on how to use variables inside a method call

    Hello guys,
    How's it goin?
    Pardon me if you find my question silly, but I am relatively
    new in ActionScript 2.0 programming.
    I have here a simple problem. It seems I can't use a variable
    inside a method call of an object. Here's the code. Please note of
    the authParams string variable below.
    import AkamaiConnection;
    import mx.services.WebService;
    var GeneratedToken:String;
    var authParams:String;
    // Create a Web Service object
    var TokGenService:WebService = new WebService("
    http://webservice.asmx?wsdl");
    // Call the web service method
    var myToken:Object = TokGenService.GenerateToken();
    // Create an AkamaiConnection object
    var connection:AkamaiConnection = new AkamaiConnection();
    connection.addEventListener("onConnect", this);
    connection.addEventListener("onError", this);
    // If you get a result from the web service, save the result
    in a variable
    myToken.onResult = function(result)
    // If you get a result from the web service, save the result
    in a variable
    myToken.onResult = function(result)
    GeneratedToken = result;
    authParams = GeneratedToken +
    "&aifp=v001&slist=37414/test/Streaming/";
    //Call the Connect method of the AkamaiConnection class
    connection.connect("cp37414.edgefcs.net/ondemand",true,true,5,true,false,"443","rtmpt",
    authParams);
    But then, if I use a hard-coded string value in lieu of the
    variable, the method call works!
    connection.connect("cp37414.edgefcs.net/ondemand",true,true,5,true,false,"443","rtmpt",
    "testStringvalue");
    I don't know what I'm missing or what I'm doing wrong... Can
    somebody help me please? I am using a 30-day trial version of Adobe
    Flash CS3. Also, when I Trace output the variables, the values are
    there. It just that they can't be read or recognize inside the
    method call. Is this a ActionScript limitation?
    Thanks so much in advance!

    The result param is a returned, “Decoded ActionScript
    object version of the XML”. I am not exactly sure what that
    means but I have had issues of returned XML values and their
    datatype. When I did have these issues I had to cast or convert
    into the desired datatype. Try one of the following, assuming the
    problem is related to the code that you have bolded.
    GeneratedToken = result.toString();
    authParams = GeneratedToken +
    "&aifp=v001&slist=37414/test/Streaming/";
    Or
    GeneratedToken = String(result);
    authParams = GeneratedToken +
    "&aifp=v001&slist=37414/test/Streaming/";
    Or
    GeneratedToken = result.toString();
    authParams = String(GeneratedToken +
    "&aifp=v001&slist=37414/test/Streaming/");

  • Create theme path using Command prompt & telnet?

    Hey guys I want my SMP to display linksheets. I have the latest firmware installed. I have been successfully running GBBM off of a usb (using the latest wdlxtv firmware) & my linksheets display fine. However, some films stutter & pause when using wdlxtv (they play fine when I unplug the usb stick & run the official firmware). So my aim is to change the theme path so that GBBM is booted from my usb stick & I can display linksheets but I will be using the official firmware. I have been following this guide found on the forum: http://community.wd.com/t5/WD-TV-Live-Streaming/Getting-around-the-30MB-theme-limit-and-repointing-the-SMP-to/td-p/631463 After attempting to set the theme path I reboot my SMP but it is still at the default theme.
    When I look under 'appearance', it states my theme path that I entered in Command Prompt.
    I think that I may be entering the theme path slightly wrong.
    My USb is identified as: /tmp/media/usb/USB210/4489-F8EA
    The folder that I created on my USB was: wdtv_​themes
    So I assumed my theme path would be: config_tool -c THEME_PATH=/tmp/media/usb/USB210/4489-F8EA.wdtv_​themes
    However, this doesn't seem to work.
    Any help?  

    this is all over my head, but KAD79 is about the only person that could help you with this but i did notice one thing, the path is missing a missing forward slash ?   bird06 wrote:
    My USb is identified as: /tmp/media/usb/USB210/4489-F8EA
    So I assumed my theme path would be:config_tool -c THEME_PATH=/tmp/media/usb/USB210/4489-F8EA.wdtv_​themes config_tool -c THEME_PATH=/tmp/media/usb/USB210/4489-F8EA/.wdtv_​themes     

  • Help creating clipping path???

    I have a wreath I would like to use as a picture frame and have Adopt Photoshop Elements 6 ... how can I create a clipping path to make this possible? Thanks. Gary.

    Well, I can make the frame within photoshop and make it blank, but I want to use this as the frame for several pictures, so I want to be able to have the center cut out and import into Quark and put the pictures below this in Quark. I don't want to put the pictures in in Photoshop. I was also unable to select the simplify option in photoshop elements but somehow got the inside cleared out. How can I make a clipping path in photoshop elements or how can I make this work so that I can put my picture behind the frame in Quark. Thanks for your help.

  • Need help creating a form using show/hide functionality

    I'm tring to add javascript to a drop down box so that, when a selection has been made in the drop down box, it will display a image/button. I need the drop down box to have a default value that will hide all images/buttons.
    The list in the drop down box is going to be a list of products e.g. product A, B, C, and the default value to be "please select a product..."
    Can this be done in Acrobat Pro X? If so can someone point me in the right direction?
    Cheers

    Your site is running on an Apache server, so it definitely doesn't support ASP. Apache frequently supports PHP, but I couldn't tell from the headers sent by your server whether it's supported on your site.
    I suggest that you contact BT Business support to see if they offer a formmail script. Most hosting companies do. The support pages should describe how to set it up.

  • Path: Using measuredWidth (or similar)?

    Hello all,
    I'm using a spark.primitives.Path instance to create an "image" with a couple of nice curves etc in it (in this particular instance I'm skinning the ScrollBarUpButton). What I would like to do is use this path to create a background for the button, which is easy enough with skinning (loving it's flexibility) but I'm not sure how I can create the path using relative dimensions. The background should cover up to measuredWidth and measuredHeight - is this possible using Path? I can only find in the documentation that you can specify left and right coordinates, so I suspect not, but equally, I'm assuming that there might be a way of achieving what I am looking for that I'm not aware of.
    I could of course do it in AS3 with a Sprite, but if possible, it would be create to use MXML as I find it somewhat easier for fills etc.
    Many thanks,
    Allan

    I'm not sure if it will help in your use case, but you might want to play around with the resizeMode property on Group.  For example:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
        <s:Group width="100%" height="100%" resizeMode="scale">
            <s:Path data="M 0 0 L 20 20 L 0 20 Z">
                <s:fill>
                    <s:SolidColor color="red" />
                </s:fill>
            </s:Path>
        </s:Group>
    </s:Application>
    Here I draw a Path with absolute values and and then set resizeMode="scale" on the Group to have the Group scale its content to its size.

  • Can any body help me in creating a jar using Weblogic server tool

    I have created the class files of the container manged bean successfully.I want to create the jar file using the weblogic tool.
    I have created a new jar file and now I have to add a bean class file and a home class file to it.In the tool I choose a the path using the choose button.When I say next it complaints that it cannot locate the bean files.
    Can any body please help me soon..
    waiting for your reply.

    I had similar problems with the WLS deploy tool. I think they were solved by making sure that I started the tool from the directory that contained the root package of my EJBs.
    It might work...

  • How to get a field that using variable in order to create a query

    Hi,
    I found a difficulty when creating a query. so, I would like to ask you some question.
    1. How to get a field that using variable which that field I want to put it in my query?
    For example, I would like to take quantity field in inventory audit report. And when I put my cursor in
    quantity field, there was only variable, item, etc. How to get this and put it in query?
    2. How to combined the invoice quantity with inventory audit report quantity?
    3. I have a query like this:
    SELECT distinct T0.[DocDate] as 'Tanggal', T0.[DocNum] as 'No.Faktur', T1.[ItemCode] as 'Kode Barang',
    T1.[Dscription] as 'Deskripsi', T1.[Quantity] as 'Quantity', ((T1.[LineTotal])/(T1.[Quantity])) as 'Harga
    Satuan', T1.[LineTotal] as 'Harga Total', T3.[CalcPrice] as 'HPP Satuan', ((T3.[CalcPrice]) * (T1.
    [Quantity])) as 'HPP Total', T4.[ItmsGrpNam] as 'Jenis Barang', T5.[SlpName] as 'Nama Sales', T1.
    [WhsCode] as 'Kode Gudang' FROM [dbo].[OINV] T0 INNER JOIN [dbo].[INV1] T1 ON T0.DocEntry =
    T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OINM T3 ON T2.ItemCode
    = T3.ItemCode INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod INNER JOIN OSLP T5 ON
    T0.SlpCode = T5.SlpCode WHERE T3.[TransType] = '13' and T3.[CreatedBy] = T1.[DocEntry] and T0.
    [DocDate] >=[%0] and T0.[DocDate] <=[%1] and T4.[ItmsGrpNam] =[%2] and T1.[WhsCode] =[%3]
    Is it possible if I just take one invoice with invoice quantity and only show up at once although I have a
    lot item cost for that item? (because I'm using FIFOmethod).
    Please help me.. cause I'm stuck with this thing :l.
    Thank you very much, and I'm waiting your respon soon.
    Regards,
    Sisca

    Try this one:
    SELECT distinct T0.DocDate as 'Tanggal', T0.DocNum as 'No.Faktur', T1.ItemCode as 'Kode Barang',
    T1.Dscription as 'Deskripsi', T1.Quantity as 'Quantity', ((T1.LineTotal)/(T1.Quantity)) as 'Harga
    Satuan', T1.LineTotal as 'Harga Total', T3.CalcPrice as 'HPP Satuan', ((T3.CalcPrice) * (T1.
    Quantity)) as 'HPP Total', T4.ItmsGrpNam as 'Jenis Barang', T5.SlpName as 'Nama Sales', T1.
    WhsCode as 'Kode Gudang'
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON T0.DocEntry =T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OINM T3 ON T2.ItemCode = T3.ItemCode AND T3.TransType = '13' and T3.CreatedBy = T1.DocEntry AND T3.Warehouse = T1.WhsCode
    INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
    INNER JOIN OSLP T5 ON T0.SlpCode = T5.SlpCode
    WHERE T0.DocDate >=[%0\] and T0.DocDate <=[%1\] and T4.ItmsGrpNam =[%2\] and T1.WhsCode =[%3\]
    Thanks,
    Gordon

  • FTPs connection error:When using Variable substitution for Directory path

    Hi
    I am transferring data from BI to xml file via PI: Here a Client proxy from BI sends the data to PI and the PI FTPs the XML file to a remote location. For FTP I am using FTPs SSL connection.
    It was working fine untill I used Variable susbstitution to determine Directory path dynamically. I am using this because different xml files are intended to goto the different locations.
    I did the variable substitution like this:
    Target Message Structure:
    ---> Target Directory: %var1%
    <?xml version="1.0" encoding="UTF-8" ?>
    <MT_BI_EXTRACT_FILE>
      <Header>
         <Directory>/Customer</Directory>
    </Header>
    <Detail>
    </Detail>
       </MT_BI_EXTRACT_FILE>
    And in the variable substitution I am doing it this way
    payload:MT_BI_EXTRACT_FILE,1,Header,1,Directory,1
    And the error I am getting is:
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure.
    Does anybody have some Idea of this ??
    Regards
    Naina

    Hi,
    I guess the problem is not with Variable Substitution..
    Error when getting an FTP connection from connection pool:
    So its a connection problem..
    Also check the option Disable Security check and try again...
    Try to check again if the interface is executing properly without Variable substitution and let us know..
    Babu
    Edited by: hlbabu123 on Jan 7, 2011 2:46 PM

  • Create Navigation path in IDT4.0 and how to use these navigation paths in Webi report

    Hi All, I want to know how to create navigation path in universe? I am using IDT BO4.0 SP4 and relational connection and want to create navigation path. I would like to know how to use this navigation path in Webi report? If I create a webi report where can I see my navigation paths and how to use it. If you can give any document or link which expalins this whole process, that would be great. Thanks,

    HI REMI ,
    1. ANSWER TO YOUR 1st QUESTION i.e. HOW TO CREATE A NAVIGATIONAL PATH :
        IN IDT 4.0  , YOU WILL FIND A NAVIGATIONAL PATH IN BOTTOM WHEN YOU WILL OPEN YOUR      BUSINESS LAYER , THERE YOU CAN CLICK CUSTOM NAVIGATION PATH -> THEN CLICK AT      ADD A NAVIGATIOAL PATH BUTTON->THEN GIVE NAME NAVIGATIONAL PATH NAME->THEN ADD THE OBJECTS UNDER YOUR NAVIGATIONAL PATH IN A HIERARCHICAL SEQUENCE .     FOR EX :     COUNTRY->STATE->CITY . AND YOUR CUSTOM NAVIGATIONAL PATH IS     CREATED.
    2. ANSWER TO YOUR SECOND QUESTION WHAT IS THE USE OF NAVIGATIONAL PATH IN WEBI REPORT :
    NAVIGATIONAL PATH HELPS YOU TO PERFORM DRILL DOWN ON YOUR DIMENSION OBJECTS , FOR EX : LET 'S SAY YOU CREATED A NAVIGATIONAL PATH- REGION SALES  : Containing COUNTRY->STATE->SALES. THIS WILL HELP YOU TO DRILL DOWN IN YOUR WEBI REPORT AS SHOWN BELOW :
    COUNTRY                      SALES
    INDIA                             $1000000
    (after clicking INDIA you will get below structure in your Report)
    STATE                           SALES
    DELHI                             $600000
    ANDRA-PRADESH          $200000
    MAHARASHTRA             $200000
    (after clicking MAHARASHTRA you will get below structure in your Report)
    CITY                              SALES
    MUMBAI                         $150000
    NAGPUR                        $  50000  
    ACTUALLY , DRILL - DOWN AS THE NAME SOUND HELP TO DRILL THE DIMENSION TILL ROOT LEVEL & SEE THE MEASURES VALUES ASSOCIATED WITH THOSE VALUES LEVELS.
    1ST LEVEL WILL ALWAYS CONTAIN THE SUM OF THE MEASURE OBJECTS
    CHEERS ,
    KAPIL

  • How to create a Hierarchy Node Variable to be used in Infopackages ?

    Hello,
    I use BW 3.5.
    I need to create a hierarchy node variable (filter) to be used further in Infopackages as OLAP Variable.
    How can I do ?
    Please give a step-by-step answer,
    Thank you very much,
    Thomas

    Hi Again,
    You can use ABAP program in the process chain.
    I guess there are some OS level commands in ABAP which will allow you to open, close, read , write and move files.
    Serach in ABAP help or on net.
    Bes regards,
    Sunmit.

  • BPS ERROR I CREATE A NEW Manual Planning when a use variable in lead column

    Dear
    when a create a new manual planning have a message.
    Frist
    I create two variable one is Controlling Area other is Cost Element
    in planning area.
    next
    I a create a manual planning to make a report form.i create a
    manual planning layout category is key Figures and make Controlling
    Area and Cost Element as lead column in next continue setup lead
    columns tab.i set key figure and set Controlling Area and Cost Element
    to use variable above.and finish other tab.
    next
    i double click manual planning system give me a message
    The environment has changed; the layout can no longer be executed
    notes: i can insure Controlling Area and Cost Element is a single value
    and make sure both can mapping in cube
    by the way when i use fixed value this form will be run.
    Edited by: frank ju on Aug 6, 2009 11:13 AM

    Hi Everybody:
    I summarize the last post: In RoboHelp 7 for Word, the problem is that when I try to create a winhelp2000 project importing from a .hlp file of origin created previuosly, the import process makes error because it want to extract images that not exist on the .hlp file of origin. Thanks in advance for all the help that you can give me.
    Ismael.

  • Help with updating PATH variable

    I am using a T42 with WinXp pro
    I installed JAVA SDK then I tried to update my cmd window path permanently so that I don't have to typed in the full path everytime, so I followed the description:
    Microsoft Windows NT, 2000, and XP - To set the PATH permanently:
    Choose Start, Settings, Control Panel, and double-click System. On Microsoft Windows NT, select the Environment tab; on Microsoft Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is:
    C:\j2sdk1.4.2_<version>\bin
    Capitalization doesn't matter. Click "Set", "OK" or "Apply".
    The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.2_<version>\bin.
    The new path takes effect in each new Command Prompt window you open after setting the PATH variable.
    The wired thing is that there is no variable named: PATH in my environmental variables, so I added a new one, and it did not work, the one that I always get when I do run-> cmd is
    c:\> documents and settings\my user name
    which I found out is the so called"HOMEPATH", and it is not seen in the environmental variables tab.
    How can I change it permanetly? Please help me

    then I run cmd again, I still get
    C:\Documents and Settings\user>set path
    Path=C:\JAVA\j2sdk1.4.0\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WS
    ;.pyo;.pyc;.py;.pyw
    It did not seem to help. The path variable that cmd
    uses remained the same.In Reply #2, you said the set path shows "Path=C:\WINDOWS\System32" Now you say "Path=C:\JAVA\j2sdk1.4.0\bin" That makes it look like changed the path. If you enter "javac" it should run. However, I recommend that you go back into the Environmental Variables and change the Path you added so it says "C:\JAVA\j2sdk1.4.0\bin;C:\WINDOWS\System32"

  • I am struggling to learn  to create queries(using variables)

    Hi all,
    I am struggling to learn  to create queries(using variables)
    I want to learn from basics to all existing technics.
    (eg of each variable types and process types).
    if you have any docs please mail to <REMOVED>.
    thanks,
    BW Cheta

    check these links.
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/809528939d5b4fbff7e16a5bdc0d85/content.htm
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    thanks
    kevin.

Maybe you are looking for

  • Oracle Application Server 10g Release 2 (10.1.2.0.2)  on 64bit RHEL

    HI, EBS-12.1.3 DB 11gR1 I am Facing following Error: while installing Oracle Application Server 10g Release 2 (10.1.2.0.2) on 64bit RHEL pwd pwd /shared/bishiphome/Disk1/install/linux64 [[email protected] linux64]$./runInstaller -ignoreSysPreReqs Starti

  • Cannot install or uninstall AIR

    I am using Vista. I have tried all option to uninstall and reinstall include the CMD option which comes with an error message. As well I have tried and delete the AIR 1.0: msiexec /x {00203668-8170-44A0-BE44-B632FA4D780F} AIR Beta3: msiexec /x {E6672

  • Elementary Problem With Submitting A PDF Form Via Email?

    Hello all! I'm brand new to creating forms with Adobe.  I have Acrobat X Pro.  I have created a form with multiple fields to fill in and placed a button at the top of the form.  Under button properties I selected the submit a form option under the ac

  • How to make the light of screen the same every time

    every time I restart the laptop, the light of LCD will return to the maximum. I hope I could change it one time. Thank you.

  • How do I make an application the default?

      I installed Microsoft Office 2011.  I do not want to use Outlook for mail.  I want to use Apple Mac Mail.  Sometimes Outlook opens instead of Mail.  For instance if I click on an email link in Safari.  How do I stop this?    How do I make an applic