Transition script and button script don't work together

Hi
I've been experiementing with actionscripting transitions
between sections... this is the first site I have tried this with
(last 3 had swf loaded in one after another rather than
transitioned between). I used some code from kirupa.com which works
for loading movies in and out, but I also have some code for my
movie buttons. I can get one or the other working, but not
together, so I guess I'm clashing code somewhere, I could do with
some help please to find what I'm doing wrong...
The transistion code and calling-up buttons is;
Code:
Menubar.b1.onRelease = function() {
if (_root.section != "about.swf") {
_root.section = "about.swf";
_root.transition.gotoAndPlay("closing");
Menubar.b2.onRelease = function() {
if (_root.section != "portfolio.swf") {
_root.section = "portfolio.swf";
_root.transition.gotoAndPlay("closing");
Menubar.b3.onRelease = function() {
if (_root.section != "contact.swf") {
_root.section = "contact.swf";
_root.transition.gotoAndPlay("closing");
and the code I have on my movie buttons is;
Code:
on (rollOver) {
gotoAndPlay("rollover");
on (releaseOutside, rollOut) {
gotoAndPlay("rollout");
Is there a way to combine them???
Thanks. Wayne.

your on(rollover) handlers are applied to buttons that are
children of a movieclip that has handlers defined. the parent
movieclip (Menubar.b1 etc) is going to intercept those mouse
events.
to remedy move you on(rollover) etc handlers to your
movieclip buttons b1, b2 and b3 on MovMenu's timeline.

Similar Messages

  • ADDT Datepicker and spry validation don't work together

    Datepicker and spry validation don't work together
    the problem is in: /includes/wdg/classes/MXWidgets.js
    (necessary to datepicker)
    Does anyone have a solution??
    Thanks

    Hi Gabriele,
    technically speaking, ADDT and the Spry framework have about nothing in common, and you´re going to stumble across many compatibility-related issues when trying to use them together.
    Does anyone have a solution??
    any regular user who´d like to provide a solution to this, would have to be a pretty skilled programmer and would have to know the "technical details" of both ADDT and SPRY very well to be of help -- I don´t think that you´ll find many folks here who are capable to do that.
    However, why not making the date field required in ADDT ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Spry and custom Javascript don't work together

    I'm using Spry form field validation, but also need to do some more specialized input checking. I've tried to add some custom Javascript to do this, but now my Spry stuff doesn't work!  Is there a way to combine the two -- Spry + custom Javascript? (testing in Safari) 
    Here's a very simplified example:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Test Doc</title>
    <script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
    <!-- Hide script from old browsers
    function procform(f) {
    if (f.name.value =="test") {
    alert("You entered the word 'test' ")
    return false
    // End hiding script -->
    </script>
    </head>
    <body>
    <form id="form1" name="passForm" method="post" action="#" onsubmit="return procform(this)">
    <span id="sprytextfield1"><span class="textfieldRequiredMsg">A value is required.</span></span>
    <input type="text" name="name" id="name" />
    <input type="submit" name="submit" id="submit" value="Submit" />
    </form>
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
    //-->
    </script>
    </body>
    </html>

    jrcatfan wrote:
    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.
    My car radio has 2 separate Bluetooth input source's. Phone and Music A2DP, verbal directions can only be heard when Music source is selected.

  • TP4 - PPR and af:subform don't work together

    Hello,
    I have a form (enclosed in a af:subform) that is refreshed by PPR from a table. If I don't use af:subform PPR works correctly, but if I use af:subform only af:inputText that have readOnly="true" gets refreshed.
    I need subform because I have required fields and I need validation to happen only when save on that subform occurs.
    This behaviour was in TP3 too.
    Is there a workaround for this?
    Thanks,
    Dan.
    Message was edited by:
    Dan Rece

    Here is a sample of code:
    A simple bean (I don't add getters and setters):
    package test;
    public class Person
      private Integer id;
      private String name;
    }Managed bean class:
    package test;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import org.apache.myfaces.trinidad.event.SelectionEvent;
    public class ManagedBean
      private List<Person> rows;
      private Person selectedPerson = new Person();
      public ManagedBean()
        rows = new ArrayList<Person>();
        rows.add( new Person( 1, "Mike" ) );
        rows.add( new Person( 2, "Luke" ) );
        rows.add( new Person( 3, "John" ) );
      public List<Person> getRows()
        return rows;
      public void setSelectedPerson(Person selectedPerson)
        this.selectedPerson = selectedPerson;
      public Person getSelectedPerson()
        return selectedPerson;
    }jspx file:
        <af:document maximized="false">
          <af:form>
            <af:panelGroupLayout layout="vertical">
              <af:panelBox text="Persons">
                <af:table id="persons"
                          value="#{managedBean.rows}"
                          contentDelivery="immediate"
                          columnSelection="none"
                          rowSelection="none"
                          var="row">
                  <af:column sortable="false" headerText="Id" align="start">
                    <af:outputText value="#{row.id}"/>
                  </af:column>
                  <af:column sortable="false" headerText="Name" align="start">
                    <af:outputText value="#{row.name}"/>
                  </af:column>
                  <af:column sortable="false" headerText="Edit">
                    <af:commandLink partialSubmit="true"
                                    id="edit_link"
                                    shortDesc="Edit item '#{row.id}'">
                      <af:setActionListener from="#{row}" to="#{managedBean.selectedPerson}" />
                      <af:image source="/common/images/edit.gif" />
                    </af:commandLink>             
                  </af:column>
                </af:table>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 1" partialTriggers="persons:edit_link">
                <af:subform id="edit_subform_1">
                  <af:panelFormLayout>
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
                </af:subform>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 2">
                <af:subform id="edit_subform_2">
                  <af:panelFormLayout partialTriggers="::persons:edit_link">
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
                </af:subform>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 3">
                  <af:panelFormLayout partialTriggers="persons:edit_link">
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
              </af:panelBox>
            </af:panelGroupLayout>
          </af:form>
        </af:document><managed-bean>
    <managed-bean-name>managedBean</managed-bean-name>
    <managed-bean-class>test.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    There are 3 ways of refreshing edit form in this jspx file. If you run it you will notice that only latest panel box (the one without af:subform works correctly).
    In the first two... only the first field is refreshed correctly.
    Thanks,
    Dan
    Message was edited by:
    Dan Rece
    Message was edited by:
    Dan Rece
    Message was edited by:
    Dan Rece

  • G5 Quad (Geforce 6600) and Dell 2405fpw don't work together

    I purchased both (G5 Quad (Geforce 6600) and Dell 2405fpw) brand-new a few days ago.
    When I connect the display using the supplied DVI->VGA cable, the display works. When I connect them using (about any type of) DVI-D cable, I get no picture. The dell screen just stays in stand-by mode. BUT it gets detected (I can see this when I connect a second screen). And the screen show a test image when I disconnect it from the mac, so there's at least SOMETHING happening...
    What is wrong here?
    I am first-time Mac user and on edge to go to the PC/Unix world again, without ever looking back to apple-land, because of this, as it is SERIOUSLY SCREWING UP christmas for us this year.
    Thanks for your help.

    Actually ``detect displays'' found the screen, that was what I meant in my first post.
    The issue is kinda solved now, the DVI-Port of the ``brand-new'' display, which was delivered directly from the Dell factory in Limerick, is non-functional.
    I tried it with a different setup (PC) and see the same symptoms, which lead me to this conclusion. I will get a full refund and possibly buy a 3007WFP if the price is decent.
    It should work with a Geforce 6600 - even at 2560x1600.
    Thanks,
    Robert
    PowerMac G5 Quad Mac OS X (10.4.3)

  • Named View Criteria and Range paging don't work together

    Hi,
    I am using a named view criteria for a view whose access mode is set to range paging.
    When I use the named view criteria on my page to do a search I am getting the below error. If I don't use range paging as access mode for the view I don't get this error. Looks like when I use the search it doesn't pass the row numbers properly and they are not set in the query.
    Is this a known issue or am I missing something?
    Thanks
    SQL error during statement preparation.  Statement: Select *
      From (Select /*+ FIRST_ROWS */
             IQ.*, ROWNUM As Z_R_N
              From (Select Persons.PRINCIPAL_NAME,
                           Persons.PERSON_ID,
                           Persons.TITLE,
                           Persons.FIRST_NAME,
                           Persons.LAST_NAME,
                           Persons.PHONE_NUMBER
                      From PERSONS Persons
                     Where ((((UPPER(Persons.FIRST_NAME) Like UPPER('%' || :p_name || '%')) Or (:p_name Is Null))))) IQ
             Where ROWNUM < :1)
    Where Z_R_N > :2
    Missing IN or OUT parameter at index:: 4 Message was edited by:
    Muhammed Soyer

    Hi Frank,
    I didn't test it in 10g. It was something that I came across and thought that it might be a known issue..
    The query is not something that I built manually. My entity is created from a table and my view is using the entity. I added a Named Criteria to the view and used Range Paging as access mode for the view.
    The actual query is this
    SELECT Persons.PRINCIPAL_NAME,
           Persons.PERSON_ID,
           Persons.TITLE,
           Persons.FIRST_NAME,
           Persons.LAST_NAME,
           Persons.PHONE_NUMBER
    FROM PERSONS Persons

  • Bluetooth and Z10 speaker don't work together

    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.

    jrcatfan wrote:
    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.
    My car radio has 2 separate Bluetooth input source's. Phone and Music A2DP, verbal directions can only be heard when Music source is selected.

  • Lightroom 3 and Photoshop CS5 don't work together

    Hello,
    I recently updated from PS CS4 to PS CS5 and Lightroom 2.7 to Lightroom 3.
    Everything went smoothly and i'm very happy with performance overall.
    The only problem that i'm having is that now in Lightroom the "Edit in Photoshop" is greyed out. I can still edit the preferences for this option but i cannot choose the option when i want a photo to go to PS.
    I can still edit in Photoshop if i use it as an "another external edit program", but my question is how do i get the two programs aware again of each other?? So i can edit in photoshop as a smart object again. I updated ACR to the latest version.
    My computer runs a copy of Win7 64-bit Ultimate.
    Thanks
    Jan

    JanGeloen wrote:I guess these forums aren't so bad after all
    As long as you have protective body armour on, you're quite safe! 

  • IPhoto and Mountain Lion don't work together

    I consistently have problems with iPhoto and my entire computer locks up and runs at less than a snail's pace. I paid $15 to install iPhoto after upgrading to Mountain Lion and now wish I had stayed with Snow Leopard and the old iPhoto. Having to type this on my iPad while I wait for something to unlock on my computer. I am merely trying to export one image to my desktop and it's taken about 10 minutes. Apple - PLEASE fix this!

    There is no problem with iPhoto and Mountain Lion. You're not talking to Apple here, and as it's not happening to everybody else they're not going to fix it because you have a local problem.
    If you want help try give us a full description of the problem.
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • HT1430 My phone locked up during sync to I tunes,   Power button and sleep/wake don't work

    My  phone locked up during sync to I tunes,  Power button and sleep/wake don't work.

    We here http://support.apple.com/kb/HT1808 and here http://support.apple.com/kb/ht4097

  • Accordion Panels and List Menu don't work if I place html files in subfolders

    Hi all,
    Switched from Dreamweaver to Muse and I have very limited knowledge of code.
    Not an IT expert and not a web developer this is just for my own site.
    I have sub-folders in my site. All html files are inside sub-folders except index.
    ie contact.html or products.html I move them manually from root to the subfolder, using the easy interface of Dreamweaver. I call the subfolder "en"
    so I can have pages such as mysite.com/en/contact.html
    In the subfolder I copy and paste from  root the css, images and script folders,
    keeping the original css/images/scripts as well, in the root, so index.html is not affected.
    and same time the look of the html pages inside the subfolders does not change.
    BUT
    list menus and accordion panels don't work. I click and there is no movement
    How can I solve this ? I know Muse does not allow the creation of subfolders,
    everything is uploaded in the root.
    When in Dreamweaver I had placed 50 pages in subfolders and I was indexing them in google and bing.
    Now can't again put 50 pages in root and can't remove URLs and make new indexing for all these pages
    Any help ? many thanks for any assistance.

    The iPhone, like the Ipad, uses the Mobile Safari browser, so here's an earlier thread that might give you some insight: http://forums.adobe.com/thread/613494

  • Mobile wifi mouse back and forward functions don't work

    I just bought the hp wifi mobile mouse model MOWFFKUL and back and forward functions don't work and it's driving me crazy. I bought it for these specific functions. At first I thought that it was a broken mouse. So I went and returned it, got back home, and the same thing. I set the side buttons to other functrion options and they work. What the hell??? just the back and forward buttons don't. I'm losing my mind big time because I REALLY NEED those buttons/functions to work!! All the regular top buttons functrion fine, it's only the back forward setting that DOESN't WORK.

    I restarted my laptop, and the buttons worked! For only 2 minutes. Then nada ever again. What a POS. Come on HP, give a solution. I bought and returned it twice, which makes this my third wifi mouse. What a waste of my time. I think I'm just gonna return this mouse and forget the wifi mouse. Functionality is more important than a freed up USB port. I bought it for the forward/backward buttons specifically. HP used to make wonderful products, but this experience bring that into question now.

  • Updated iPad and now bookmarks don't work  says address invalid

    Updated iPad and now bookmarks don't work         Safari says address invalid for the bookmark symbol

    Clear Safari. Close Safari. Reset your iPad.
    Go to Settings>Safari>Clear Cookies and Data.
    To close an app, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the Safari app then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Ipad gets hot and then touch don't work..

    ipad gets hot and then touch don't work..

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Leopard 10.5.6 bluetooth and sync MobileMe don't works

    After 10.5.6 bluetooth icone is disappeared and now I can't sent in sleep my MacBook. I try to remove battery and keep for 5 seconds shut down button but don't work again.
    Push Sync for MobileMe don't work with my iPhone from iCal and Address Book. Only web application's sync work.
    This update is very bad.

    Kirocop wrote:
    After 10.5.6 bluetooth icone is disappeared and now I can't sent in sleep my MacBook. I try to remove battery and keep for 5 seconds shut down button but don't work again.
    Push Sync for MobileMe don't work with my iPhone from iCal and Address Book. Only web application's sync work.
    This update is very bad.
    Download the 10.5.6 Combo Update and run it. Be patient because it will take a while and reboot twice. This should fix your problem. Good Luck.

Maybe you are looking for

  • Fiber Channel Error

    Having a problem with the Fiber Channel on our Xserve RAID. The Admin Utility says that Fiber Link 1 is Down (and it's red), but everything is properly connected, I have restarted several times, unplugged and plugged back in, done a few upgrades to t

  • IPods apps in the classroom

    I was wondering why Apple doesn't allow educators to sync up to 10 devices for each app like regular users.  My district has purchased all this Apple technology and we are limited by the license agreements for education.  I would like to purchase som

  • SQL*Loader running forever

    Hello, I am using Oracle 10.2.0.4 on RHEL 4u4. I am trying to load a table with data using "Load Data from User Files" in Enterprise Manager (SQL*Loader). When I run the job, it just runs forever and never finishes. I am only trying to load about 6,4

  • Deleted bootcamp by mistake in windows partition

    Hi guys, I deleted by mistake the bootcamp in the windows partition, while I wanted to install SP3 for Win XP as it is required for a program I need. Unfortunately I do not have neither my installation DVD for OS Snow Leopard nor for the XP with me.

  • Boot Camp won't update from 3.1 to 3.2

    I have been running bootcamp for several years now and I'm stuck on version 3.1.  The apple software updater (in Windows) will download version 3.2 but crashes when trying to install it.  I have also downloaded the 3.2 file directly from Apple, saved