Parent/Action Script advise, please

Hello
I am posting to ask for some advice. I have Flash MX 2004.
I have a series of thumbnails (Movie Clips) which seem to be
arranged over two layers (layers 1 and 2). Layer 1 holds each
individual thumbnail (movie clip) in several keyframes, so that
with Layer 1 highlighted, when I click on frame 1 I can see
thumbnail no. 1 on the stage, when I click on frame 2 I see only
thumbnail 2 on the stage, when I click on frame 3 I see only
thumbnail 3 on the stage, etc.
I see no Action Script when I click through the frames:
Layer 2, however, does appear to hold Action Script. Please
see here:
http://www11.brinkster.com/stevehigham/parent.html
When I click on Layer 2 frame 1 I can see Action Script for
the first thumnail:
gotoAndStop(_parent._name);
When I click on frame 2 I can see my second thumbnail, but
the same script:
gotoAndStop(_parent._name);
When I click on frame 3 I can see my third thumbnail, but
again the same script:
gotoAndStop(_parent._name);
I am trying to get my limited cognitive ability to grasp how
the file works (I bought it as a template) so that I can change it.
I wish to ask two questions. Does the gotoAndStop(_parent._name);
mean that every time I click on thumbnail 1 I go to this file:
--> _parent._name?
And does it mean that every time I click on thumbnail 2 I
also go to this file: --> _parent._name? Does it also mean that
every time I click on thumbnail 3 I go to the same file: -->
_parent._name?
When I go to Ctrl + Enter and click on the thumnails
(regardless of which one it is), I am always taken to the same
place. Is it this script, the _parent._name that takes me there? If
so, my second question concerns how can I change it - what is it in
the script that I need to change - so that each thumbnail takes me
to a different place?
Many thanks for reading such a long message!
Steve

Hello kglad
Thank you for your message.
In relation to your comment:
'you need to label your frame and you probably are supposed
to load that swf into another swf'.
How do I do that? If I create something new on my stage in a
new layer in the first frame how to I change the Action Script so
that when the thumbnail is clicked, I go to that particular frame
in that particular layer?
Thank you for your help.
Steve
Text

Similar Messages

  • Action script..PLEASE HELP..

    ...hello guys...i really dont know what to do...i have a drop
    down menu here..it is an xml driven menus...and i want to put a
    scroll bar in the submenus....so even if the submenus will be to
    many..it will not go across the movie....PLEASE HELP.. i am really
    new in actionscripting and i dont have any programming
    backgrown...hope for your response...this a vertical dropdown
    menus....

    The link in your message is also broken.

  • Action Script Help Please

    I am trying to figure out the proper verbage for this. If I
    want to have a button gotoAndPlay "home" but then immediately
    after, without stopping, gotoAndPlay something else, What is the
    code for that?
    I.E.:
    on (press) {
    gotoAndPlay ("home");
    [what do I put in next to make it go play something else
    without pausing?]
    Text
    Text

    You need to see that task with different eyes, as soon as the
    script reaches the gotoandplay line, the playhead will jump
    instantly to that location and you need to write the next jump on
    that home frame.
    Why don't you rather set a variable saying where it should go
    after home like:
    on(press){
    gotoAndPlay("home");
    var nextGoTo = xxx;
    and on your home frame you have an case statement runnning
    checking which variable you activated so it will jump directly to
    it.
    If you don't undestand what I mean with it, you can send me
    the fla file and I will show you how to create it.

  • Action Script?

    Hi All,
    I have create a Application for transaction VA01. Can anybody tell me how to write Action script ?
    Please Help. ASAP.

    Hi,
    Transaction code for action script is WDK_APPL_REG
    1) There you need to register your Variant transaction and specify your floor plan
    either QAF or GAF or OIF in Applications.
    2) You have to spcify your different Floor Plan States like INI, S01, S01, CFN etc.
    3) For Floorplan states you should assign dynpro assignment ( i.e., Program name and screen number ).
    4) And u need to assign actions for every state.
    5) Next go to Script definition and assign action script and u need to record va01 transaction with SHDB, and submit program, dynpro, bdc filed value in batchinput data.
    6) If u want to raise any messages, click on Message Mapping and submit message name and number.
    Finally you need to save your action script.
    Best Regards,
    Vara Prasad.

  • Action Script to add a parent node value to the top node

    I need to add a new parent node value to a hierarchy for the top node.  The action script parameters to add a node is "Add|Version|Hierarchy|Node|Parent Node|Leaf property".  I am at a loss on what to do for the top node since there is no Parent Node above this top level, but the parameters require it.  I have reviewed both the user manual and admin manual, but did not find any assistance.  Can anybody help me?
    Thanks!

    You have the answer with you, don't get confused between Parent Node and Top Node in this context, while Adding a new node your Top Node will become your Parent Node.
    "Add|Version|Hierarchy|Node|Parent Node|Leaf property"
    If you still have confusion, simply do the below,
    1. Right Click on your Top Node and Add a new Leaf or Limb Node manually
    2. Once added, go back to Home -> Script
    3. Select Source Type as Transaction Log and then select the newly added node and Load
    4. In the bottom select Script -> Download -> Download as Action Script.
    5. Open in a Notepad and leverage it to create your new script.

  • Help with action script please

    hay guys, im having trouble with changing my action script to
    allow multiple layers of the same thing in order to show a greater
    sense of depth than the normal application. im using a flash
    toutorial on making a sort of matrix like falling text (
    link)
    and im not completely understanding what to change in order to
    accomplish my goal. i tryed to send them a message using their
    contact page, but its broken, forcing me to find a forum. im sure
    it has something to do with the third group of code where it
    identifies what its using. but whenever i change anything there to
    either match the identifiers or movie clip names the action script
    crashes when i test the movie. any help is appreciated.
    im using flash cs3 and made sure to create it all in action
    script 2.0
    please excuse my spelling, im sure i made a mistake
    somewhere.

    "FlashTastic" <[email protected]> wrote in
    message news:e4ir4t$ru4$[email protected]..
    >I don't think an enterframe will be your best bet.
    >
    > You might want to use something like
    >
    > if(_root._currentframe >= _root.totalframes){
    > loadMovie("myMovie.swf",_root)
    Why in the world would you do that when you can just put a
    keyframe on the last frame and ..
    loadMovie("myMovie.swf");
    tralfaz

  • Help with Action script 2.0 please

    Hi,
    I am new to actionscript and i could really do with some help
    please. I am trying to load external movie clips into two different
    containers depending on which button is clicked. Sometimes there
    may be two conatiners attached to a buuton click, whilst other
    buttons may only need to load one movie clip. Here is the action
    script i have been using:
    button1.onPress = function () {
    _root.createEmptyMovieClip("container", 1);
    _root.createEmptyMovieClip("container1", 2);
    unloadMovie("container1");
    loadMovie("scene2.swf", "container");
    loadMovie("scene5.swf", "container1");
    container._x = 50 ;
    container._y = 110 ;
    container1._x = 170 ;
    container1._y = 5 ;
    button2.onPress = function () {
    loadMovie("scene6.swf", "container");
    unloadMovie("container1");
    container._x = 50 ;
    container._y = 110 ;
    This does load the movies, however i have to press button one
    first before button two will work. Ideally i need to be able to
    call any movieclip at any time. Can anyone tell me where i am going
    wrong?

    quote:
    Originally posted by:
    NedWebs
    Try moving these lines outside of the button function:
    _root.createEmptyMovieClip("container", 1);
    _root.createEmptyMovieClip("container1", 2);
    You can use "this" instead of "_root"... that'll save any
    problem if you ever move this within some other movie. Also, move
    the x/y assignments just under those lines since they relate to
    them directly.
    Hey thankyou for your help, that works now. although if i
    move the x and y assignments i would have to create another
    container right? Thanks again for your help.

  • Using  FDM Import Action script to import data from ERPI table "tdataseg_t"

    Hi Experts
    I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
    I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
    Requirement : I have to restrict the custom 2 dimension based on Account dimension.
    Dim Account
    Account = ???? ( i am struck here)
    If Account = 1000 to 5000 Then
    Custom2 = Right( product , 5)
    End If
    but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
    Please Advise
    Thanks
    Sak
    Edited by: user12292415 on Feb 26, 2012 1:19 AM

    Hello,
    Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
    Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
    Thank you,

  • Action script 2 not working

    New to Flash CS4, but could do basic button stuff like this in Flash MX 2004. (Haven't been doing anything with Flash in the meantime, but now have CS4 and am determined to get back into it.)
    I chose Action script 2 when starting, and in the publish settings. Made some very simple buttons and used the action script assistant but cannot figure out why they are not working. i keep going around and around and getting nowhere.
    would someone please take a look and advise? I am STUCK.
    Please?
    the file is too big to attach, but if anybody is willing to help, i'll share the file via my iDisk. Thanks so much.

    I have a few suggestions for you -- not that you asked, but hey it is a free forum with volunteers, so you get what you get!
    First if you really don't know AS2 all that well, but you want to get into coding I would suggest starting with AS3. It is the future and if you have to learn new stuff it might as well be the newest, new stuff. AS3 is the future of Actionscript and Flash. It is a little more complex in some respects, but in many others it isn't that much more difficult and it really helps if you haven't learned all kinds of "bad" ideas from how AS2 was....
    Next, if you decide to stick with AS2, I would suggest learning the latest ways of doing stuff in AS2. Using the on(event) type of coding is really old and it won't serve you well if you want to advance very far with your coding.Here is a great article on the transition to the newer style and why it is a good idea:
    http://www.quip.net/blog/2006/flash/museum-pieces-on-and-onclipevent
    After that, consider ditching buttons all together. They are really twitchy and strange and most people I know gave them up when movieclips could have button events attached to them.
    Finally on the issue of Scenes, they are a great way for timeline animators to organize their content. And they are great when everything is just played back to back. In fact that is what happens to scenes, when you publish the timelines are strung together in sequence and then the "scenes" are deleted. The whole thing becomes just one big long timeline. The problems come in when you start using code to move the playhead around. The documentation seems pretty straight forward and it should work, but there are just several little tricky things where it doesn't work. Sounds can cause problems too. So if you plan to use code I always recommend that you use movieclips to organize your "scenes" and not the actual scenes....

  • OS UDM's and Corrective action Script at a central Location

    Is that we can place the OS UDM's and Corrective action Script are to be placed at Target server side or can we place these scripts at a central location say on OMS/ OMR server and trigger from here. As if we change a particular script we need to propagate particular script to all location. Instead if we keep these at a central place we can replace that particular script at a single location.
    Please advise.
    Thanks.

    When creating an UDM, you need to create this for a specific Target like a database instance or host
    This means, when you want to create a SQL based UDM, you first need to select a database in OEM and next select the User Defined Metrics link that will allow you to create the UDM.
    After finishing the creation of a UDM, the UDM will be "owned" by the database you selected in OEM.
    This means, when having 50 databases, you are able to create several UDM's spread over all of these databases. This is a situations you don't want to get into. You most probably will want to reuse UDM on several or even all databases.
    To avoid UDM getting duplicated, being spread all over the pace you actually need a "library" where you would be able to locate the UDM's.
    Unfortunately there is not such a library in OEM. However if you decide to choose one of your databases for playing the role of a "library" at least you found a way to centrally locate all your UDM's.
    If you then want to apply one or more UDM's to several database you could create a monitoring template, include the UDM's you want to reuse on other databases and apply this template.

  • How do I use the button states in an action script?

    In my Captivate 8 project I use smart shape as buttons. The buttons have different images presented dependent on the state of the button. I have also created a simple action script that shows what happens when the button is pressed. When the button has been pressed the normal state of the button appear. I, however, want the down state of the button to remain visible util the user presses another button. How do I accomplish this? Is there variables for the buttons different state or how can I create that?
    BR,
    Madeleine

    When you talk about 'actionscript' do you mean advanced or shared actions? You cannot write actionscript within Captivate, only Javascript. If you use advanced/shared actions they'll be converted on runtime to either Actionscript (for SWF output) or Javascript (for HTML5 output).
    The states in shape buttons are the normal way buttons behave (not only in Flash). If you are indeed using shared/advanced actions, and you want the down state to remain until the next shape button is clicked, you'll have to go the way described by iFlashAppsToo. Create shapes that have the look of the down state, make them initially invisible and group all those shapes on one slide. Add two statements to the shared/advanced action (please do use shared actions, you'll save time):
    Hide Group   so that eventual down mimicked states on previously clicked buttons disappear
    Show Im_Downx    to show the down image for that button

  • Adding data to cfgrid using action script

    how can i add data to a grid row called name in action
    script. i have a cfselect control containing name of students and i
    want to add the values of the selected student from the list to
    grid.

    Did you add your instance of SpectrumCanvas to the stage with addChild()?
    If so, you should boil your posted code to a more simple example.
    If this post answered your question or helped, please mark it as such.

  • Error while loading an child movieclip if the child has any action script

    Hi
    I am developing an application where I need to load a child.swf . All works fine when I load the mc but as soon as I add Action Script (lets say trace("test")) to the Child.swf I get a Error #1009: Cannot access a property or method of a null object reference. On the addChild line.
    Code
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child);
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

    Sorry.Thanks
    Typo on the forum.
    I can load the child.swf see the image/text in the child  displayed in the parent but as soon as I add as3 to the child page I receive the above mentioned error. If I run the child.swf from the IDE or by itself everything works fine .
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child.swf");
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

  • Could someone help me with my action script?

    I followed a tutorial on how to make an interactive photo gallery but for some reason the file isn't working. I am new to flash and no very little about action script.
    Would someone be willing to take a look at my file and advise me?
    Thanks

    Did your tutorial have you download XML from a server to feed the images to the gallery? Many people forget to check for errors loading the XML file or forget to "do something" once the XML is loaded. Common things not to look for are IOErrorEvent.IO_ERROR or SecurotyErrorEvents warning you the XML you're trying to load is on a different domain (a webserver online) and it doesn't have permission (a crossdomain.xml).
    In those situations it can appear like it's doing nothing.
    Did you just take the code of the tutorial at the end and try to play it as you went through the tutorial? If you just copy and pasted it all you'lre going to have a hard time isolating the issue. In that case you can always re-do the tutorial until you start to see issues. Then you know where they are.

  • Action Script to add MC as sub-pages ??

    Alright please help.. I have tried everything, been fooling
    around with this in the past 5 hours and its not going anywhere :(
    . Here is what i have. :
    I have 6 menu buttons... Button 4 is what i am concentrating
    on.
    at the moment here is the current action script of button 4 :
    --CODE---
    //-----this first few lines just controls the button
    animation --
    on (rollOver) {
    if (_root.link<>4) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    if (_root.link<>4) {
    gotoAndPlay("s2");
    //-----end of button animation-----
    on (release) {
    _root.scroller.scroller.gotoAndStop(3); // I understand this
    calls for fram 3 in an mc within an mc.
    if (_root.anim==true) { // not really sure where this means
    if (_root.link<>4) { // if value of _root.link
    <> 4 then activate the following code
    _parent["but"+_root.link].gotoAndPlay("s2"); // I kind of
    understand this part, i know it has to do with playing the button
    animation, but i am stuck where it says "but" + _root.link .
    _root.link = 4; // value of root.link
    _root.all.play();
    ok so basically, from what i can figure out what this action
    script does is : somehow it calls out a mc called "all action page"
    and the contents inside this mc are two layers. one layer is just a
    stop frame, and the other layer has multiple frames, each frame in
    the layer are each different mc's .. the _root.value is the value
    of each frame, for example if i change the value to 2 or 3 it will
    load frame 2 or 3 within the "all action page" mc..
    now my question, is is there any way i can replicate this
    script for the use of button 4 ?? i know i can just keep adding new
    frams and mc's to the current "all action page" and just keep
    changing the value that corresponds to the frame number, but i
    would like to make it more neater and structured incase if i need
    to change anything. any suggestions ??
    -Steph'

    This package contains two scripts the use EXIF meta data. The one you want is StampExif the other GoogleMapGPS....
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Download

Maybe you are looking for

  • Can't find my Photoshop preferences file

    I KNOW this is stupid, but on Windows 7, 64-bit, with all the stuff turned on to show me hidden files and system files and everything, Photoshop CS6 (13.0.1?), and Lightroom 4.3 I'm trying to follow the advice that everything I do in Photoshop should

  • DBMS_LDAP package

    Hi, Please, where can I find the DBMS_LDAP package. I've Oracle 8.1.7 with Win2000? Am I oblige to install Oracle Internet Directory to use it? Thanks.

  • Controlling language for spelling check in Keynote on iPad

    Hello, I use Keynote on my iPad. The iPad is configured to use Russian UI. However, I would like to create a presentation in English. The spellchecker marks every English word as misspelled. I could not find any way to tell the spellchecker to use En

  • Need stand for older HP pl5060n

    Hello all I am intersted in purchasing a stand for my older HP pl5060n 50" plasma TV. It was mounted on the wall for years but we just relpalced it.  We had the stand but either acidentally threw it out or misplaced it either way I am intersted in fi

  • Tabbed windows won't close!  Click on close box, stays open! Any solutions?

    Frequently in Safari 3.1.2, when I click on the close tab circle, the tab doesn't close! It may not even close after several tires. Command-w is what I resort to, but it's irritating that mouse clicks don't their biz. After a few tries, it often rest