Indigo Rose Software
  #1  
Old 09-26-2005
mindstitchdr's Avatar
mindstitchdr mindstitchdr is offline
Indigo Rose Customer
 
Join Date: Dec 2004
Location: Texas
Posts: 239
Menu Bar Gloabl Funtion?

I've never messed with global functions so I don't know if this is possible. I need to create a global function that i can change the (On Menu) actions for each page globally without have to change each pages actions.

Example for (On Menu) action:
if e_ID==1 then
Audio.Load(CHANNEL_EFFECTS, "AutoPlay\\Audio\\Click1.ogg", true, false);
Page.Jump("Page1");
elseif e_ID==2 then
Audio.Load(CHANNEL_EFFECTS, "AutoPlay\\Audio\\Click1.ogg", true, false);
Page.Jump("Page2");
elseif e_ID==3 then
Audio.Load(CHANNEL_EFFECTS, "AutoPlay\\Audio\\Click1.ogg", true, false);
Page.Jump("Page3");
elseif e_ID==4 then
Audio.Load(CHANNEL_EFFECTS, "AutoPlay\\Audio\\Click1.ogg", true, false);
Page.Jump("Page4");
end

If I add something to the Menu Bar I have to add it to every pages (On Menu) actions and it takes a long time.
Reply With Quote
  #2  
Old 09-26-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Use the project's On Menu event instead of the page's in this case.
Reply With Quote
  #3  
Old 09-26-2005
mindstitchdr's Avatar
mindstitchdr mindstitchdr is offline
Indigo Rose Customer
 
Join Date: Dec 2004
Location: Texas
Posts: 239
Peekaboo!

ouch that hurt. It bit me!
Reply With Quote
  #4  
Old 12-09-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hee.
Reply With Quote
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu Tree Seville AutoPlay Media Studio 6.0 24 05-03-2006 10:36 AM
Menu Bar attributes Roboblue AutoPlay Media Studio 6.0 1 09-23-2005 07:17 PM
Flash MX 2004 Pro Menu Bar and Slides AXXESS Developer's Den 10 12-28-2004 07:34 PM
TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 Support AutoPlay Menu Studio 3.0 0 10-10-2002 03:39 PM


All times are GMT -6. The time now is 03:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software