LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 07-26-2005, 12:11 PM
radicalFish's Avatar
radicalFish radicalFish is offline
Registered User
 
Join Date: Mar 2005
Location: Rennes - Breizh
Posts: 359
Rep Power: 9
radicalFish is on a distinguished road
get back scrollPane Content

Hi
I have a ScrollPane with a MovieClip set as .contentPath...

Actionscript:
var clipPane:MovieClip = this.attachMovie("choiceClip","clipPane",1);
this.onEnterFrame = function() {
		delete this.onEnterFrame;
		clipPane.verbScrollPane.contentPath = "scrollContent";
};

where clipPane is a MovieClip
and verbScrollPane a ScrollPane dragged onto it..

just works fine,
the clip scrollContent shows up in my ScrollPane


but what makes me wonder is that:
Actionscript:
trace(clipPane.verbScrollPane.content);

..is always "undefined".

i want a reference back from the ScrollPane content
like
Actionscript:
var paneMCReference:MovieClip = clipPane.verbScrollPane.content;
to manipulate it again afterwards..

but it didn t work

Actionscript:
trace(paneMCReference);

is also "undefined"



how can i mange it to get that scrollPane.content into varibale??

thx for help
r.fish
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading XML content into ScrollPane component orderofout Actionscript 2.0 2 11-12-2007 06:01 AM
postioning content in scrollpane without using scrollpane [PAUL FERRIE] Actionscript 1 Components 6 08-09-2006 07:44 PM
Changing ScrollPane width shrinks the content. How to by pass this? zvone Actionscript 2.0 Components 2 04-14-2005 06:00 AM
Set content of one scrollPane as content of another? zvone Actionscript 2.0 4 12-13-2004 02:28 PM
dynamic content in scrollPane smplgy Flash MX 2004 3 11-07-2003 10:11 PM




All times are GMT. The time now is 11:39 PM.