|
|||
|
Hi everyone,
I would like to load an url in a scrollpane from a swfkit menu. How do i do this? Can't get it working. In flash you use contentPath something like this: myscrollpane.contentPath = "http://www.domain.com" But how to translate this for use in the menu? BTW i know how to code the menu in general. anyone have a pointer in the rightdirection for me? cheers wax |
|
|||
|
Please send a sample to support@swfkit.com, we will help you to make it work.
|
|
|||
|
thanks for your reply,
i just found a workaround for this problem. Rather then directly load something into a scrollpane from the menu, i do it like this: FlashPlayer.loadMovie(1, "url.swf?page=contact") In url.swf i load the content in a scollpane with the given variable. works fine. But is it possible to load url.swf into a named instance (movieclip)? like this: FlashPlayer.loadMovie(_level0.clipname, "url.swf?page=contact")] ? thanks, wax |
|
|||
|
The Flash player doesn't provide such a method (load url.swf into a named instance). However, you can use the Trigger component to control scrollpane from menu, the attached sample shows how to do this.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|