Using onPress multiple times on different frames

Hi,
I have a menu file (cs3) for navigation on a web site. It's
pretty basic, as I am new to using flash extensively. I always try
to do it all with JS.
There is a list of 5 "sections" (buttons), and when one is
clicked a sub-menu fades in beside it. These new buttons, however,
do not work. All buttons use a onPress function . I have studied
this some and read something about parent and child movieclips, but
there aren't any mc's in my file. Not sure if this can apply to
buttons as well...
Basically, I just need the second sets of buttons to work. I
will attach code for them. The AS is in a separate keyframe from
all of the buttons but on the same timeline frame number. All links
are opened within an iframe on the same page.
Any help would be appreciated!

It is most likely (I'm not certain from the description) that
the 'sub-buttons' are a 'child' MC of the main button? if so, the
'on' handler for the 'main' button will override any handlers
attached to 'child' buttons within it. the only solution is to use
a hitTest method for either the 'parent' button or the 'child'
buttons, OR separate the two MCs and use the 'main' button to bring
a MC of the 'sub' buttons to the Stage.

Similar Messages

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • Re: Running the same (Forte) application multiple times -for different

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Can Elements be installed multiple times on different computers?

    Can elements be installed multiple times on different computers.

    It can be installed on as many computers as you want, but it can only be activated and thus used without restrictions on 2.
    Mylenium

  • HT201210 my iphone 3gs keeps showing the screen with the connect to itunes display, and I've restored it multiple times on different computers, but everytime it finishes restoring, it shows the display again and the computer says it needs to be restored.

    my iphone 3gs keeps showing the screen with the connect to itunes display, and I've restored it multiple times on different computers, but everytime it finishes restoring, it shows the display again and the computer says it needs to be restored. can anybody help me with this?

    it was saying error code 1, i tried the things it said but none of it worked. now it is not showing an error code at all, it just keeps saying it needs to be restored.

  • Executing a program multiple times with different variants

    Hi All,
    I want to create a tool which executes a program multiple times taking different variants (which I would be
    maintaining in an excel sheets) and for each time the program gets executed, its output would be
    written to a particular file.
    I understand that this requirement is quite vague but I am trying to figure out if a tool/program could
    be written in abap which does this or do I need to think of a different platform such as C#.Net
    Thanks,
    Faiz

    Hi Rahman,
    This class 'cl_salv_bs_runtime_info' will get the output of internal table.
       DO n times.
          cl_salv_bs_runtime_info=>set
          SUBMIT ZARCHER_0099 WITH VARIANT..(variant name can from your excel sheets?)
          cl_salv_bs_runtime_info=>GET_DATA
          call 'GUI_DOWNLOAD'  or OPEN DATASET...(down output to file)
       ENDDO.
    Hope can help you.
    regards,
    Archer

  • How can we use a pdf form multiple times for different people (students)?

    Our school created a pdf form of our report card but we are not able to "save as" the forms for use by multiple teachers for multiple students. Please advise.

    Just use Adobe Reader XI.  Adobe Reader XI allows for forms data saving but it does NOT allow for locking down that data.

  • Not able to use collection multiple times in a jsp using logic:iterate

    I have following question:
    I am working on a report using J2EE. I have a collection(resultset) which has 3 different types of vendors information along with other information in the collection and I want to put them into 3 different sections on my report depend on vendor type in the collection (resultset).
    Anyone know that I can able to use same collection multiple times uisng <logic:iterate> or is any other way of doing this.
    Thanks,

    Enable the logs on your router. Then try to do remote desktop. It will fail of course. After it does, view the logs, there might be ports listed in the incoming logs that you failed to forward.

  • Can I have the same printer installed multiple times under different names?

    On WIndows I have the same printer installed multiple times
    All using the same driver
    I have a Canon printer that has a rear tray and a bottom tray
    So, I will have one printer that prints to the rear and the other to the bottom
    Other printers (the same one) will be set so that they print in high quality and in duplex for example
    I'll name the printers 1.Canon 2.Canon 3.Canon etc
    So, when I go to print, I just hit a number on the keyboard and the printer I want is selected
    Can I do the same on my laptop?
    Thanks
    Omar

    Back Up - that's in case things go wrong.
    In the case you cite:
    You have
    Mother
    Mother Maiden Name
    as Faces, right?
    In the Corkboard view click on Mother Maiden Name and delete the 'Maiden Name'.
    It will disappear and all the photos will be in the Mother face.
    Note that 'Mother' and 'Mother ' (that is, with a trailing space) are not the same.
    You can  also just edit the name 'Mother Maiden Name' to 'Mother'
    As for photos staying in manual sort, I can only say that mine do. But as I've no idea what troubleshooting steps you've used.
    Regards
    TD

  • How do I use the same track multiple times in different playlists? I want to rename it multiple times.

    Hi, I am an entertainer that want rename a track a music a number of different ways so it will come up in playlist that work alphabeticly.
    for instance:
    Good Song I want to change to:
    A Good Song
    B Good Song
    C Good Song
    D Good Song
    So I can place them in different playlist and keep the order straight.
    Todd

    You can't give a single track multiple sets of properties, but if you want four copies of a song with different metadata then find the original and copy/paste it three times into the Automatically Add to iTunes folder, then edit the properties of each in turn.
    tt2

  • UIX  validation entity attribute on page multiple times via different views

    We have a situation where an ADF entity attribute appears in multiple views which appear on the same page. Each view selects a different entity row.
    When validation fails on one of these attributes, we register an AttrSetValException, as we want to take advantage of attribute level error messages.
    The problem is that the validation error message appears for all messageTextFields (for the same entity attribute) when only one of the fields failed validation. Also, the invalid value replaces all input fields even if the other ones were not changed by the user.
    I have tried using ex.setNeedsEntityToVOMapping(true) on the exception to no avail. It is as if the entity validation is unable to discriminate between view usages of an entity attribute.
    Steve Muench, I have read much of what you have written, but have not seen this particular scenerio. Any advice would be welcome.

    The issue is fixed. The reason of the problem that I missed overwriting of the validateParameters() in the custom controller class and the custom parameter was missed from the parameter list and it effected parameter validation error.

  • Can someone help me get my IPOD Touch 3g started? It will only flash the Apple logo off and on. Has been through restore multiple times on different computers, and still will not start.

    I have tried restoring the ipod on different computers, one Vista, and one 7. On both, the restore process seems to complete just as it should, until the point where it says "your IPOD will now restart and will appear in listed devices. This IPOD never restarts. The Apple logo just stays on for approximately 30 seconds and then the screen turns off for five or ten seconds and the logo comes back on, over and over for approximately forty five minutes or so, Occasionally the "connect to USB" will come back on, but that is rare. When that does happen, the I-Tunes recognizes it again as an IPOD that needs to complete the restore process. VERRRRRY AGGRAVATING!!!

    Time for an appointment at the Genius Bar of an Apple store. It appears you have a hardware problem.

  • How to use same dynamic text, multiple times in a Movie

    FLASH CS5.5
    How can a dynamic text field be used multiple times, on any
    frame, in any new layer during a Movie?
    ~~
    A number of unique dynamic text fields are being used.
    The intent is to use them each, many times during a Movie.
    (i.e. a users first name)
    They are successfully being "ExternalInterfaced" from a PDF form field.
    (the SWF is displayed within the PDF as a RMA)
    This all works well, IF I only use one instance of the dynamic text field.
    (one use of each unique text field)
    If I try and use that same dynamic text field, again, in a new layer, later in the SWF,
    all of that said, duplicate dynamic text fields do not display.
    ~~
    Stumped!!!
    Thanks in advance for your advice / comments!
    D-

    Thanks Ned,
    I always welcome learning something new.
    I did not know creating a new keyframe,
    creates a new instance.
    Yes, I had used the same dynamic text field instance name in
    numerous, new layers (great observation).
    With the objective to display the User's name throughout
    the timeline (on and off)...
    I'll attempt to paraphrase your solution;
    Use a single layer to display the dynamic text field.
    Extend this layer's timeline throughout the movie, or end use of the dynamic text field.
    Help with this one ??
    Set the visible properties to true or false as need through out the timeline.
    ( Does require an AS3 ? )
    I'll give that a try.....
    ~~
    Side of effect of using the above solution;
    The SWF in it's attempted state, uses the dynamic text field instance, in
    different places, different text sizes, on the stage, throughout the Movie.
    (i.e. the User's first name appears in different sentences...)
    Per the solution above,
    I believe I will be limited to One location, one format setting.
    Is this assumption correct?
    I can make this work from a display / Movie point of view.
    However, your first VAR concept, noted above, might be
    worth exploring should more flexibility be required.
    Thanks for making the time to coach...
    D-

  • Use a sequence template multiple times in same project

    I have created a lower-third animated title and saved it as a sequence as it has sound. What I'm confused about it how I import that sequence and use it multiple times in the same project and change the content of the title for each sequence. If I import the sequence and change the title in one instance, it changes the title of all instances. I would like to use the sequence and be able to change each title. I have even tried copying sequences and renaming them but any editing still seems to affect the parent sequence file.
    I know this must be really simple but I'm going round in circles here. Any pointers appreciated.

    Take a look at this thread:
    style sheets for titles?
    I'm not sure if an AFX Live text will bring over the audio, it is not something I have tried.

Maybe you are looking for

  • Java lookup udf in graphical mapping

    Hi experts, I have java look up udf where it will look material number and display UOM but I dont want all UOM to get display. I want only one UOM to get display suppose if I have material 1 and UOM is EA and material 2 UOM is CR(as we are in milk bu

  • Before installing SSD in macbook pro, should I first partition it through USB?

    Hi there, I've got the Crucial MX100 as an upgrade from my Hitachi HDD. I don't need to copy anything from the old drive, and I will install Yosemite via usb flash. I did a bit of research and some people (not mac users necessarily) have had problems

  • How to design a VC to add listed and structural data?

    Dear all,     I want to create a VC component to add listed and structural data.     With GP, I can set parameter as a structure type and list, but I can`t do that with VC.     Can anyone do me a favor?    THX ^^

  • IPod touch photo cache duplicates

    My iPod photo cache has multiple duplicate images. I believe they appeared after picking up a virus on my PC and I synched the iPod. Now the virus has been removed from my PC, how can I remove just the duplicate photos from my iPod?

  • Photoshop is broken and the error occurs when I print

    The error occurs when I print : Faulting application name: Photoshop.exe, version: 15.2.2.310 Faulting module name: ntdll.dll, version 6.1.7601.18247 Exception code: 0xc0000374 Fault offset: 0x00000000000c4102 Faulting process id: 0x1984 Faulting app