|
|
#1 (permalink) |
|
Junior Member
Join Date: Jun 2009
Posts: 1
|
Hi,
I would like to know how can I have in the xml, apart of the frame number a path for a gallery, for example in the xml file <item label="gallery 1" url="10" thepath = "images/gallery1/" ></item> and in the flash file when I click on a item in the menu the flash would go to frame 10 and read a variable with the path for the slide show that is in frame 10. Thank you. |
|
|
|
|
|
#2 (permalink) |
|
OYXLUSFlash.com Staff Member
|
Hi,
Open GenericMenuItem.as and find this block of code: Code:
public function onRelease() {
if (_url_ != "") {
getURL(_url_, "_self");
}
}
Code:
public function onRelease() {
_root.gotoAndStop(Number(_url_));
_root.yourVariable = _node_.attributes.thepath;
}
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| path, xml |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 09:37 AM.









Linear Mode
