Targeting an object/frame in a symbol movieClip from another symbol movieClip

I have a base flash file within it are 2 symbol>movieClips
I did it this way so that i can coltrol my animations more
effectively, but I am trying to have one of these access the other,
IE one is a menu the other is a main "page"(set up as a frame. so
as I click on something in hte menu I want it to load the correct
page/frame from the other movieClip
here is a sample of what I've written:
Zachary Bobo

I have a base flash file within it are 2 symbol>movieClips
I did it this way so that i can coltrol my animations more
effectively, but I am trying to have one of these access the other,
IE one is a menu the other is a main "page"(set up as a frame. so
as I click on something in hte menu I want it to load the correct
page/frame from the other movieClip
here is a sample of what I've written:
Zachary Bobo

Similar Messages

  • Targeting a specific frame on a specific movieclip

    Hi,
    I'm trying to get the following movieclip smallbutton to link to frame 5 on movieclip cont.
    The way the timeline is built is as so:
    content_mc > cont > (more mcs) > smallbutton
    This seems to be an issue from every answer I've tried so far since the movieclip "cont" is not being called in the main timeline; first there's content_mc and then comes cont.
    How would I go about getting the movieclip "smallbutton" to link to the 5th frame of movieclip "cont"?
    This is for AS 2.0
    So far I'm at:
    on (release) {
        _root.gotoAndPlay("cont");
        _root.smallbutton.gotoAndPlay(5);
    Any help is greatly appreciated.
    Thanks.

    This seems to make a bit more sense.
    Although still not working.
    What I want the code to do is call the content_mc from the main timeline and read frame 5 from the cont movieclip (which is inside the content_mc)
    I believe I should put this code on the smallbutton movieclip. I'm not sure it's necessary to write "smallbutton" inside the AS code since it's already on the button. But I might be wrong.
    The smallbutton movieclip has some code already on it like so:
    onClipEvent (load) {
        this.num = 1;
    this.hitArea = this.area;
    on (rollOver) {
        this.gotoAndPlay("s1");
    on (rollOut, releaseOutside ) {
        this.gotoAndPlay("s2");
    Maybe if we rearrange the code to something similar:
    on (release) {
         _root.content_mc.gotoAndPlay("cont", "5");
    I tried but no success. Not sure what to do.

  • How to add objects to panel in one class from another class

    Hi this is what i am trying to do. I have a drag and adrop tool working where the users and select objects on a small panel and drag them to another panel called the tpan. What i want to do is create another class, which creates objects and now i want to display these objects on the tpan. So say i have a class DisplayTpan(), this class is used to display the objects which have been dragged from the small panel, and objects on this panel have mouselisteners attached, so that these objects can be moved around on the tpan. I have created another class called creatObj(), and from this class i want to add objects to the tpan. The DisplayTpan class extends a Jpanel, would this be he case for the CreateObj() class? In the CreateClass i have made a call to DisplayTpan t = new DisplayTPan();
    t.add(object);
    But this does not add the object to the panel, any ideas on how it should be done?
    Problem number two i have is say, I have two objects created on that oanel, i now want to draw a line t connect the two objects, this is just simply a call to the drawLine function but how would it be possible to add a ,mouselistener to that line, so it can be extended moved around etc? Any help much appreciated thanks.

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

  • How to see every frame of an inserted movieclip?

    Suppose I have a flash movie with 100 frames and on frame 20
    I insert a movieclip with 10 frames.
    When I scrub through my timeline and get to frame 20-30 i
    only see the first frame of my inserted movieclip.
    Is there anyway of enabling so that you see each frame of all
    movieclips no matter how many you have
    inserted inside each other?
    Thx for listening :)

    I forgot to mention that you should convert it mack to a MC
    when you are done so it can be targeted
    with AS.
    Graphic symbols can also have their own number of layers and
    frames - most animators work inside
    Graphic symbols to keep animations in sunc with each other -
    they can also control the graphic
    symbol with the Properties panel as well. many uses.
    But my suggestion was a temporary one for you - switch it
    back when you need it to be a MC.
    -c
    ~~~~~~~~~~~~~~~~
    aquastealth wrote:
    > That works great :) but forgive me for asking: Ive
    always been told to use
    > everything as movieclips cause they are more
    controllable with actionscripting
    > etc than graphic symbols. I thought graphic symbols were
    only used as for
    > static graphics now Im really confused of when to use
    mc's contra graphic
    > symbols???
    >

  • Changing frames within a symbol

    Can anyone tell me how to change frames within a symbol, by using a button in the actuall stage. Every time I try searching for it, I get lost in half compleated answers, action script 2, and things that throw a ton of code and words and stuff at me, but never explain the parts of it. (Often also has losts of additional code that I probally don't need)
    I've got the button, but I need the function.

    I can see from your other posts you are familiar with coding a button, so... In your button event handler function you would use something like...
    symbolName.gotoAndStop(someFrame);
    where symbolName is whatever instance name you assign to the movieclip symbol and someFrame is either a number or a label for the frame you want to change to.

  • Auto fit table in object frame?

    Hi
    I'm setting up a spec sheet and have a 7.5" object filled with a solid colour/1pt stroke.  I also have a table which I'm trying to insert and I'm having a heck of a time trying to align everything perfectly.  I'd like if possible to set the table inside the 7.5"object frame, have no stroke on the table columns and expand the table automatically to snap to the inside edge of the stroke of the 7.5" object I'm inserting the table.  Right now I'm using the 'T' tool to adjust the table and it ain't working ;-))
    Thanks..

    It's still a bit unclear. How about an image? (Use the Camera Icon on the web forum to insert images.)
    This Javascript sets the width of the table the cursor is in to 7.5" exactly:
    if (app.selection.length == 1)
         myTable = app.selection[0];
         if (myTable.hasOwnProperty ("baseline"))
              myTable = myTable.parent;
         if (myTable instanceof Cell)
              myTable = myTable.parent;
         if (myTable instanceof Row)
              myTable = myTable.parent;
         if (myTable instanceof Column)
              myTable = myTable.parent;
         if (myTable instanceof Table)
              myTable.width = "7.5 in";

  • Oracle8i ora-12545: connect failed because target or object does not exist

    I am trying to get a Oracle8i database working on a Windows 2000
    platform for use on a single computer. I created the database
    using the Database Configuration Assistant. But cannot access
    it. I try and connect through SQLPlus but receive the following
    error: ora-12545: connect failed because target or object does
    not exist. Any ideas?

    I think ur not configured or installed directory server..
    Do this then it will work fine.

  • Remove empty object frame

    How to remove empty object frame.(rectangle without image)

    I try the below code but it delete tables inside rectangle. i tried in javascript.
    var doc = app.activeDocument;
    var myPages = app.activeDocument.pages;
        for (var p = 0; p < myPages.length; p++)
                             var myGraphicFrames = app.activeDocument.pages[p].rectangles;
                             for (j = myGraphicFrames.length - 1; j >= 0; j--)
                                       if (myGraphicFrames[j].graphics.length == 0)
                                                 app.selection = myGraphicFrames[j];
                                                 alert (app.activeWindow.activePage.name);

  • Removing a movieClip from another movieClip

    Hey,  How do I make visible a movie clip in the main movie from another movie clip when it loads? Not using addchild since the movie clip is on stage. thanks in advance...mesa
    Main timeline ---- a simple timeline with two movie clips named aMovie bMovie
    aMovieClip.visible =true;
    MovieClip2 code with button
    aMovieClip.visible=false;
    error:
    Symbol 'NavPage', Layer 'ActionScript', Frame 1, Line 1 1119: Access of possibly undefined property aMovieClip through a reference with static type flash.display:DisplayObjectContainer.

    You just said they were named aMovie and bMovie, so neither of the two lines of code you show would be correct, but you can work that out for whatever they really are named...
    main timeline:
    aMovie.visible =true;
    bMovie timeline:
    MovieClip(parent).aMovie.visible=false;

  • How can I Copy/paste the pixels within a frame in a video layer to another frame? (It duplicates the whole frame instead.)

    I'm making a handdrawn animation in the timeline using video layers, so each video layer contains the frames for the animation. The method works great..except for this -
    If lasso select a section of one frame and try to paste into another frame, it duplicates the the whole frame and pastes it with an arbitrary long frame duration for some reason (not the same duration as the frame its copied from)....not at all what I'm trying to do. Any work around? I've tried all the variations of 'paste special' to no avail.
    Thanks.

    Images and other object can either be floating or be inline. Yours are floating and will not move with the text. Inline object will move with the text but can't be outside the text layer. It doesn't help if you have created section in the document. Floating images doesn't care. Nor will it help if you create several documents that you want to merge later. Doesn't make any difference.
    My suggestion is that until your text is finished you have the images inline. Then as a last editing you can start make the images floating and move them a little.

  • How can i access all the objects of one schema from another schema

    Dear All,
    How can i access all the objects(Tables,Views,Triggers,Procedures,Functions,Packages etc..) and do the modifications of one schema from another schema (Without using synonyms concept).
    Thanks in advance,
    Mahi

    First of all, synonyms only help you easy reference the object. It doesn't have any implication of object privilege.
    As long as you have proper privilege on target object. You can access it with or without synonyms.
    Assuming you have proper privilege of objects, you can use following command to assume schema owner.
    ALTER SESSION SET CURRENT_SCHEMA = Schema_owner

  • Checking whether field-symbol from another program is assigned?

    Hi all
    I'm attempting to access a FS from another program.
    As the FS can be assigned, or unassigned within that program, how do I checked for that in my calling program?
    e.g. calling program;
    FIELD-SYMBOLS: <fs> TYPE STANDARD TABLE.
    DATA: lv_var(40) type c.
    lv_var = '(ZTGT_PROG)<read_fs>'.
    ASSIGN (lv_var) TO <fs>.   " statement might dump...

    Hi
    Go through this doc and use accordingly
    Field Symbols
    Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects.
    All operations programmed with field symbols are applied to the field assigned to it. For example, a MOVE statement between two field symbols moves the contents of the field assigned to the first field symbol to the field assigned to the second field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before.
    You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks the compatibility of the field symbol and the field you are assigning to it during the ASSIGN statement.
    Field symbols provide greater flexibility when you address data objects:
    If you want to process sections of fields, you can specify the offset and length of the field dynamically.
    You can assign one field symbol to another, which allows you to address parts of fields.
    Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
    You can also force a field symbol to take different technical attributes from those of the field assigned to it.
    The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
    While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
    For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. However, since the MOVE statement also supports variable offset and length specifications, you should use it instead. The MOVE statement (with your own auxiliary variables if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
    check the below links u will get the answers for your questions
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html
    Syntax Diagram
    FIELD-SYMBOLS
    Basic form
    FIELD-SYMBOLS <fs>.
    Extras:
    1. ... TYPE type
    2. ... TYPE REF TO cif
    3. ... TYPE REF TO DATA
    4. ... TYPE LINE OF type
    5. ... LIKE s
    6. ... LIKE LINE OF s
    7. ... TYPE tabkind
    8. ... STRUCTURE s DEFAULT wa
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Cannot Use Untyped Field Symbols ad Cannot Use Field Symbols as Components of Classes.
    Effect
    This statement declares a symbolic field called <fs>. At runtime, you can assign a concrete field to the field symbol using ASSIGN. All operations performed with the field symbol then directly affect the field assigned to it.
    You can only use one of the additions.
    Example
    Output aircraft type from the table SFLIGHT using a field symbol:
    FIELD-SYMBOLS <PT> TYPE ANY.
    DATA SFLIGHT_WA TYPE SFLIGHT.
    ASSIGN SFLIGHT_WA-PLANETYPE TO <PT>.
    WRITE <PT>.
    Addition 1
    ... TYPE type
    Addition 2
    ... TYPE REF TO cif
    Addition 3
    ... TYPE REF TO DATA
    Addition 4
    ... TYPE LINE OF type
    Addition 5
    ... LIKE s
    Addition 6
    ... LIKE LINE OF s
    Addition 7
    ... TYPE tabkind
    Effect
    You can define the type of the field symbol using additions 2 to 7 (just as you can for FORM parameters (compare Defining the Type of Subroutine Parameters). When you use the ASSIGN statement, the system carries out the same type checks as for USING parameters of FORMs.
    This addition is not allowed in an ABAP Objects context. See Cannot Use Obsolete Casting for FIELD SYMBOLS.
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See Defining Types Using STRUCTURE.
    Effect
    Assigns any (internal) field string or structure to the field symbol from the ABAP Dictionary (s). All fields of the structure can be addressed by name: <fs>-fieldname. The structured field symbol points initially to the work area wa specified after DEFAULT.
    The work area wa must be at least as long as the structure s. If s contains fields of the type I or F, wa should have the structure s or at least begin in that way, since otherwise alignment problems may occur.
    Example
    Address components of the flight bookings table SBOOK using a field symbol:
    DATA SBOOK_WA LIKE SBOOK.
    FIELD-SYMBOLS <SB> STRUCTURE SBOOK
    DEFAULT SBOOK_WA.
    WRITE: <SB>-BOOKID, <SB>-FLDATE.
    Related
    ASSIGN, DATA
    Additional help
    Declaring Field Symbols
    Reward points if useful
    Regards
    Anji

  • Hi I've a big problem with adobe acrobat reader XI pro and I hope you can help me. The problem is; when I past copied text from some pdf books (not all of them) it past symbols only! wherever I past it! and even if I coped that text from another pdf reade

    Hi
    I've a big problem with adobe acrobat reader XI pro and I hope you can help me.
    The problem is; when I past copied text from some pdf books (not all of them) it past symbols only! wherever I past it! and even if I coped that text from another pdf reader (adobe pdf reader, internet browsers, ...etc.).
    This problem started to happen since yesterday when I installed adobe acrobat reader XI pro to try it before I buy it, and before that when I was using the free adobe pdf reader I was totally able to copy any text from any pdf and past it anywhere with nothing wrong.
    What can I do?
    thank you a lot.

    There is no product called Adobe Acrobat Reader Pro. There is
    - Adobe Acrobat Pro ($$)
    - Adobe Reader (free)
    Which do you have? And are you a programmer?

  • [Solved] The requested object does not exist. (Exception from HRESULT: 0x80010114)

    I have a 8 node cluster with Hyper-V, which will be 10 nodes when it's finally done.
    Recently I've been try to add nodes and though that went fine, after about a week I could not open the Failover Cluster Manager anymore.
    After some checking I found out that the latest added node was giving problems.
    VM's on the node still run and function properly, but most Powershell commands result in a "The requested object does not exist. (Exception from HRESULT: 0x80010114)".
    I can suspend the node with Suspend-ClusterNode, but draining roles was unsuccesful in one case.
    In the other there were no VM's on the node so suspending went fine.
    What I did find out was that when I tried to ping the node from another, proper functioning node, it took a while before the pinging started. It felt like the interface had to come back online on the problem node.
    After that, I could add the cluster to the Failover Cluster Manager. However, Powershell commands still give a 0x80010114 error or a CIM error for when I use Get-NetAdapter.
    A reboot resolves the problem, but only for about a week.
    I know there is a topic with the same title already, but the wbemtest en rollup update "answer" is totally unclear to me why I should change something with wbemtest, or why to install updates that to me have nothing to do with this problem.
    Before I did the ping test from a functioning node I pinged my DC and another node from the problem node just fine.
    No waiting at all.
    The cluster has three networks. Management (host only), Live Migration and iSCSI (also a VMSwitch for certain VM's).
    I have no idea where to look. Evenviewer doesn't give me anything I can work with that I can find...

    Hi,
    Are you using the HP servers? It seems is the HP Nic team service was causing the issue, please try to
     disabled the HP NIC team service from services and restarted the WMI service.
    The related third party information:
    Advisory: (Revision) HP ProLiant Servers - Systems Running Microsoft Windows Server 2012 or 2012 R2 May Experience a Memory Leak Up To 5 Mb/ Hour for Some NIC Teaming Configurations
    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_ba847bafb2a2d782fcbb0710b053ce01=wsrp-navigationalState%3DdocId%253Demr_na-c04209163-2%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.tpst=ba847bafb2a2d782fcbb0710b053ce01&ac.admitted=1401176219136.876444892.199480143
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to populate one internal table from another using field symbols

    Hi Gurus,
      I have a problem. I have to populate one internal table (sructure t_otput) from another internal table (sructure t_from) using field symbol.
    Structure for from table.
    types: begin of t_from,
             year(4) type c,
             ww(2) type c,
             site type marc-werks,
             demand type i,
           end of t_from.
    Structure for output table.
    types: begin of t_display,
             title(30),
             WW1(10),
             WW2(10),
             WW3(10),
           end of t_display.
    The from table looks like this:
    Year | WW | Site | Demand
    2005 | 1  | OR1  | 12.00
    2005 | 2  | OR1  | 13.00
    2005 | 3  | OR1  | 14.00
    The display table which has to be populated should look like this:
    Title  | WW1   | WW2   | WW3
    OR1    |       |       |
    Demand | 12.00 | 13.00 | 14.00
    How to populate display table using field symbol?
    Please give code snippets
    Thanks,
    Gopal

    Gopal,
    Here is the code, however I am not vary clear about the ORG1 and Demand display that you have shown in the display. I am sure with this code it should not be a big deal to tweak in whatever manner you want.
    TABLES : marc.
    TYPES: BEGIN OF type_display,
    title(30),
    ww1(10),
    ww2(10),
    ww3(10),
    END OF type_display.
    TYPES: BEGIN OF type_from,
    year(4) TYPE c,
    ww(2) TYPE c,
    site TYPE marc-werks,
    demand TYPE i,
    END OF type_from.
    data : t_from type table of type_from,
           t_display type table of type_display.
    field-symbols : <fs_from> type type_from,
                    <fs_display> type type_display.
    data : wa_from type type_From,
           wa_display type type_display.
    wa_from-year = '2005'.
    wa_from-ww   = '1'.
    wa_from-site = 'OR1'.
    wa_from-demand = '12.00'.
    insert wa_from  into table t_from.
    wa_from-year = '2005'.
    wa_from-ww   = '2'.
    wa_from-site = 'OR1'.
    wa_from-demand = '13.00'.
    insert wa_from  into table t_from.
    wa_from-year = '2005'.
    wa_from-ww   = '3'.
    wa_from-site = 'OR1'.
    wa_from-demand = '14.00'.
    insert wa_from  into table t_from.
    data : variable(3) type c.
    field-symbols : <fs_any> type any.
    break-point.
    Loop at t_from assigning <fs_from>.
    variable = 'WW'.
    wa_display-title = <fs_from>-site.
    concatenate variable <fs_from>-ww into variable.
    assign component variable of structure wa_display to <fs_any>.
    <fs_any> = <fs_from>-demand.
    endloop.
    append wa_display to t_display.
    clear wa_display.
    loop at t_display assigning <Fs_display>.
      write :/ <fs_display>.
    endloop.
    Note : Please award points if this helps you.
    Regards,
    Ravi

Maybe you are looking for

  • Unable To Receive Finished Goods in production module

    Hi Experts,                     I am unable to receive some finished goods  in production module through Receipt from production form  and it will not through any exception. The problem occurs only for few production rest of production is received wi

  • Time Machine problem after restoring to a new HD (after my original HD failed)

    I am running Lion 10.7.5 on a MacBook Pro Late '11 My HD was getting SMART errors, so I did a complete back up using Time Machine using a WD My Passport 1TB external, and then sent my MBP to Apple for HD replacement (under my Applecare plan). I colle

  • APP - Clubbing of Items for Payment

    Hi, I am using APP for making Payment to the vendors. For APP, I have set the rule for the Minimum Payment Amount of INR 7500 for Payment Method u201CCu201D in FBZP. The u201CSingle Payment for marked itemu201D is not ticked. Now I have one vendor wh

  • Is there a way to make a document editable by a client?

    I am trying to design a flyer for a client that they can edit some of the features on such as daily weather (icons) restaurant featuers etc.  Does anyone know of a good program to make a nice looking document that they can edit?

  • I want to go back to the old fir fox before 4.0

    To many problems with 4.0 as in no lock at the bottom of my banking page, and java not working on one site I need for work. I would like to go back to the old Firefox.