Adobe Dreamweaver Forums



Last 10 THreads :         Get Locale country and language codes (Last Post : PaulH **AdobeCommunityExpert** - Replies : 21 - Views : 22 )           »          Odd.... (Last Post : steve grosz - Replies : 2 - Views : 3 )           »          Spry Tabbed Panels - Start with no default tab?? (Last Post : rhore - Replies : 0 - Views : 1 )           »          Flash Player 10 compatibility (Last Post : Captiv8r - Replies : 3 - Views : 25 )           »          Connecting to a Database (Last Post : sugar_d - Replies : 5 - Views : 6 )           »          Cannot import audio into Captivate 3.0 (Last Post : Captiv8r - Replies : 1 - Views : 2 )           »          dynamic table rows created based on input value (Last Post : AthroughZ - Replies : 4 - Views : 12 )           »          How to communicate between clients? (Last Post : yancaoshi - Replies : 9 - Views : 12 )           »          Release Key check (Last Post : Tomboyo - Replies : 0 - Views : 1 )           »          Tabbing in flash created code (Last Post : PaulGene - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flash > Actionscript
 
Tags:



Reply
  #1 (permalink)  
Old 10-15-2008, 07:01 PM
kbodesign
 
Posts: n/a
Diggs:
Default Icon Text sticks when returning to home page..

The text below works on stopping the text from sticking on the icons when
returning to the home page when the close button is clicked. All work except
the careers button which looks like a news paper on my site below. The button3
is targeted to the correct icon. This all worked until the last two set of code
here were added. This first code right below for the close button always worked
until now.

http://kbodesign.com/ostendo/index.html

This is the code on the close button

on (release) {

//unload Movie Behavior
if(this._parent == Number(this._parent)){
unloadMovieNum(this._parent);
} else {
this._parent.unloadMovie();
}
//End Behavior
_root.button3.onRollOut();
}
Here is the code on the careers button

on (release) {

//unload Movie Behavior
if(this.content_mc.content2_mc == Number(this.content_mc.content2_mc)){
unloadMovieNum(this.content_mc.content2_mc);
} else {
this.content_mc.content2_mc.unloadMovie();
}
//End Behavior

}
Here is the text on the main timeline so the scroll.swf when imported will
work.

this._lockroot = true;

If anyone can help I would appreciate it. Thanks Ken



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-16-2008, 12:45 AM
kglad
 
Posts: n/a
Diggs:
Default Re: Icon Text sticks when returning to home page..

show button3's onRollOut() handler.

(and _lockroot is only useful when used in swfs that are loaded into other swfs.)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 03:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk