Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-24-2005, 05:46 PM   #1
kenkim
Registered User
 
Join Date: Oct 2005
Posts: 17
Default jpg flows out of scrollpane

does anyone face the same problem?
i am using flash 8 , scrollpane component.

it loads some jpg but didnt contain it within the scrollpane...it takes on the top left corner correctly though.
the difficult part is......it happens only occasionally! not all the time...
about 30% occurence. the other times it contains the picture!

meaning...during running the swf, when i load a jpg into the scrollpane (via combobox menu in the movie)...sometimes the jpg is contain within the scrollpane, sometimes it just flows out! the strange part is that all this happening during one-run of the movie(means i didnt close and restart the movie)

anyone having same problem?
what could be the reason..?
thanks!
kenkim is offline   Reply With Quote
Old 10-24-2005, 08:01 PM   #2
kenkim
Registered User
 
Join Date: Oct 2005
Posts: 17
Default scrollpane sometimes can't contain and restrain jpg

--------------------------------------------------------------------------------

does anyone face the same problem?
i am using flash 8 , scrollpane component.

it loads some jpg but didnt contain it within the scrollpane...it takes on the top left corner correctly though.
the difficult part is......it happens only occasionally! not all the time...
about 30% occurence. the other times it contains the picture!

meaning...during running the swf, when i load a jpg into the scrollpane (via combobox menu in the movie)...sometimes the jpg is contain within the scrollpane, sometimes it just flows out! the strange part is that all this happening during one-run of the movie(means i didnt close and restart the movie)

anyone having same problem?
what could be the reason..?
thanks!
kenkim is offline   Reply With Quote
Old 10-24-2005, 08:07 PM   #3
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Howdy...

Your posts are moved/merged to the Components forum since you are asking component related question... Please find the most appropriate forum and post your question...

Thank you...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 10-25-2005, 06:55 PM   #4
kenkim
Registered User
 
Join Date: Oct 2005
Posts: 17
Default scrollpane wont contain...

i hav this problem with scrollpane component.
sometimes, the jpg that it contains "flows" out of the pane.
sometimes it contains the jpg just rite!

i am suspecting culprit in the loading time of the jpg...
(slow due to ntework or computer speed) and it behaves strangely if loading is slow...

i populated the scrollpane(myScrollpane2) via a combobox component.

on(change){
if (this.lastSelected != 0){
var item_obj:Object = this.selectedItem;
_global.myPath = "./mp/"+(item_obj["data"]);
_parent.myButtonclose._visible = true;
_parent.myBG1._visible = true;
_parent.myScrollpane2._visible=true; // <---THIS IS THE GUY
_parent.myScrollpane2.contentPath=myPath;
}
}

Anyone can help me out? thanks!
kenkim is offline   Reply With Quote
Old 10-26-2005, 02:46 AM   #5
kenkim
Registered User
 
Join Date: Oct 2005
Posts: 17
Default scrollpane wont contain (jpg flows out)

hav this problem with scrollpane component.
sometimes, the jpg that it contains "flows" out of the pane.
sometimes it contains the jpg just rite!

i am suspecting culprit in the loading time of the jpg...
(slow due to ntework or computer speed) and it behaves strangely if loading is slow...

i populated the scrollpane(myScrollpane2) via a combobox component.

on(change){
if (this.lastSelected != 0){
var item_obj:Object = this.selectedItem;
_global.myPath = "./mp/"+(item_obj["data"]);
_parent.myButtonclose._visible = true;
_parent.myBG1._visible = true;
_parent.myScrollpane2._visible=true; // <---THIS IS THE GUY
_parent.myScrollpane2.contentPath=myPath;
}
}

Anyone can help me out? thanks!
kenkim is offline   Reply With Quote
Old 10-26-2005, 03:17 AM   #6
mugafuga
script kiddie
 
mugafuga's Avatar
 
Join Date: Jan 2003
Location: Texas Denton
Posts: 22
Send a message via AIM to mugafuga Send a message via MSN to mugafuga Send a message via Yahoo to mugafuga
Default

What parameters do you have set on the scrollpane component.
Does the scroll pane component have an instance name typed in?
mugafuga is offline   Reply With Quote
Old 10-26-2005, 04:35 AM   #7
kenkim
Registered User
 
Join Date: Oct 2005
Posts: 17
Default

i named it myScrollpane2...
the parameters..i left it on default
which means hScrollPolicy and vScrollPolicy is auto.
i tried making them false..didn't help
kenkim is offline   Reply With Quote
Old 10-26-2005, 01:41 PM   #8
superprg
Registered User
 
Join Date: Sep 2005
Posts: 65
Default

Can you post the fla??
superprg is offline   Reply With Quote
Old 10-26-2005, 03:17 PM   #9
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

This is my fourth time merging your thread which means that you crossposted four times... Please do not crosspost...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT. The time now is 11:28 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.