Hi all,
I know most of you probably don't touch screens but here goes...
it's driving me nuts...

I have a flash doc with several nested screens.
- 2nd level screen has a button to go to another 2nd level screen.
- On target screen I load another .swf
[code]

//// --- button code ---
on (click) {

        // GoTo Screen behavior
      if((this._parent.es_topics != undefined) && (this._parent.es_topics != null))
      {
        var screen = null;
        var target = this;
        while((screen == null) && (target != undefined) && (target != null))
        {
          if(target instanceof mx.screens.Screen)
          {
            screen = target;
          }
          else
          {
            target = target._parent;
          }
        }
        if(screen instanceof mx.screens.Slide)
        {
          screen.gotoSlide(this._parent.es_topics);
        }
      }
        // End GoTo Screen behavior
   
}

//// ---target screen code in frame : this .swf is datagrid loading xml ---
on (reveal) {
        this.contentPath="es_topics_table.swf";
}
[/code]

- the screen with button has transitions for fade in and out on reveal & hide

ISSUE:
 - on publishing movie, first button click navigates to the screen but then the content

disappears...
- on navigating back to the primary screen and 2nd click it works!

I NEED IT TO WORK ON THE FIRST CLICK!!!!

Can anyone help please?

Jason Davey | Project Manager | Reading Room Sydney
16/101 Locomotive Workshop | Australian Technology Park | Eveleigh | NSW 1430
T: +61 2 8374 5050 | F: +61 2 8374 5060 | E: [EMAIL PROTECTED]
--------------------------------------------------------------------------------------
SYDNEY/ LONDON
www.readingroom.com.au

Best UK Design Agency 2002 | Best B2C eCommerce Site 2002 [Webspace Awards]
Best B2C eCommerce Site 2002 [Webspace Awards]
Best B2B Website 2000-01 [Internet Business Awards sponsored by ntl]


This e-mail message and any attached files are confidential and may contain privileged
information. If you are not the addressee of this e-mail you may not copy, distribute or
otherwise use it or any part of it in any form whatsoever. Any opinion expressed in this
e-mail does not necessarily represent the opinion of Reading Room Ltd.
If you received
this in error, please contact the sender and delete the material from any computer.






---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to