Create an Account!

Adobe Flash Community Forum for all your Flash, Actionscript and Swift3D Support

Search:
FlashDevils Community
 Recommend Us
 About FlashDevils Community
 Can i become a moderator?
 How do i add Flash to my post?
 
Flash Community Register Flash Forum Control Panel Calendar Member List FAQ Search FLA Files
FlashDevils Community FlashDevils Community > Board > Flash > Flash ActionScript > external swf in scrollpane


  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Sarudath
Little Devil

Registered: Dec 2005
Local time: 05:04 AM
Location:
Posts: 4

external swf in scrollpanePost #1

www.thewaterfronthotel.info/00seite/content_flash.zip

can someone have a look and tell me why the scrollpane stays empty?



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 04:14 AM
Sarudath is offline Click Here to See the Profile for Sarudath Click here to Send Sarudath a Private Message Find more posts by Sarudath Add Sarudath to your buddy list Edit/Delete Message Reply w/Quote
TheDutch
DevPod (Staff Member)

Registered: Mar 2002
Local time: 06:04 AM
Location: The Netherlands
Posts: 4208

Post #2

You are using an old Flash MX version of the scrollPane component. Drag the scrollPane component from your Flash MX 2004 or Flash 8 components library to the stage and name it "test". Then delete the old one.

Also use:

ActionScript:
test.contentPath = "content_wallpaper_test.swf";



Instead of:
ActionScript:
test.loadScrollContent("./content_wallpaper_test.swf");



I tried it and it should work this way .

__________________

Please don't email or PM me your questions!
Ask your questions on the forums, that will not only help you but also other people with the same kind of questions.



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 10:02 AM
TheDutch is offline Click Here to See the Profile for TheDutch Click here to Send TheDutch a Private Message Click Here to Email TheDutch Visit TheDutch's homepage! Find more posts by TheDutch Add TheDutch to your buddy list Edit/Delete Message Reply w/Quote
Sarudath
Little Devil

Registered: Dec 2005
Local time: 05:04 AM
Location:
Posts: 4

Post #3

You were right with Flash 8 component it works, but the problem i always had with that is the scroll component doesnt really do anything, the movie gets loaded, but its not masked nor is there any scroll ability....what am i doing wrong?



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 01:41 PM
Sarudath is offline Click Here to See the Profile for Sarudath Click here to Send Sarudath a Private Message Find more posts by Sarudath Add Sarudath to your buddy list Edit/Delete Message Reply w/Quote
Sarudath
Little Devil

Registered: Dec 2005
Local time: 05:04 AM
Location:
Posts: 4

Post #4

For all those who come after me....another S T U P I D problem solved. Thanks to TheDutch.

Its almost like you said. so here is the solution, use the Flash MX 2004 component or higher, n o t the old Flash MX one. in the component parameter settings write the name of the external .swf in the contentpath line with the extension: test.swf <---content path line.

i wasted a whole day on this. but hooray it now works. peace out.



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 01:51 PM
Sarudath is offline Click Here to See the Profile for Sarudath Click here to Send Sarudath a Private Message Find more posts by Sarudath Add Sarudath to your buddy list Edit/Delete Message Reply w/Quote
TheDutch
DevPod (Staff Member)

Registered: Mar 2002
Local time: 06:04 AM
Location: The Netherlands
Posts: 4208

Post #5

Great!

__________________

Please don't email or PM me your questions!
Ask your questions on the forums, that will not only help you but also other people with the same kind of questions.



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 02:12 PM
TheDutch is offline Click Here to See the Profile for TheDutch Click here to Send TheDutch a Private Message Click Here to Email TheDutch Visit TheDutch's homepage! Find more posts by TheDutch Add TheDutch to your buddy list Edit/Delete Message Reply w/Quote
Sarudath
Little Devil

Registered: Dec 2005
Local time: 05:04 AM
Location:
Posts: 4

Post #6

ok now i am really confused. i have a bigger project here that i have been working on for a long time now.

the stuff i did for making the scrollpane work with an external swf are working with every fla file i create b u t not in my older project, even if i create a container mc that works fine with the scrollpane and copy that to my stubborn project its not working....what is it this particular fla file could have that every other file does not?

in summary: i can load external swf in a scrollpane in general but not in the fucking project i work on its not functioning..('')
Drool



Report this post to a moderator | IP: Logged

Old Post 12-17-2005 06:39 PM
Sarudath is offline Click Here to See the Profile for Sarudath Click here to Send Sarudath a Private Message Find more posts by Sarudath Add Sarudath to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 05:04 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Advertising
Show Printable Version | Email this Page | Unsubscribe from this thread | Download thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< FlashDevils - Terms of use >

Copyright, FlashDevils Community, 2002 -
Flash Archive

Links
Books