Indigo Rose Software
  #1  
Old 12-23-2004
AXXESS's Avatar
AXXESS AXXESS is offline
Forum Member
 
Join Date: Nov 2001
Posts: 498
Flash MX 2004 Pro Menu Bar and Slides

Alright, pro Flashers out there....

Looking for info on setting up the menubar component in a Flash MX 2004 Pro slide presentation. Specifically, how to have the submenus link to other slides in the presentation.

Though diligent research, I have been able to construct the menubar with the submenus I need for the project. Through the trace function I have verified that each submenu button is "firing" when clicked on.

I have tried adding the
Code:
presentation.gotoSlide(newslide);
function and a few other variations of this just prior to the corresponding trace statement... nothing works yet.

Anyone here tamed this beast?? It's interesting that the menubar is included in the library (supposedly "drag and drop" ease of use), but there really is no documentation on customization from Macromedia.
Reply With Quote
  #2  
Old 12-23-2004
AXXESS's Avatar
AXXESS AXXESS is offline
Forum Member
 
Join Date: Nov 2001
Posts: 498
Through more research...

I have found the solution...

The navigation has to be written like this:

Code:
_root.presentation.gotoSlide(newslide)

Last edited by AXXESS; 12-23-2004 at 12:06 PM.
Reply With Quote
  #3  
Old 12-23-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
Yes, I also noticed that we need to keep an eye on the path of our objects (and Level). I ran into a situation like this recently. It took me 15 minutes to figure it out. Uhg.

So, I know how you feel. But, finding that solution sure is sweet, right?



Ps. I also learned how to use the MenuBar Component (I had not used it before). I am still working on core AS skills at this point.

So, thanks for getting me motivated indirectly to learn how to use the MenuBar.

Now, I can add my own haloGreen, haloBlue, or haloOrange MenuBar Component to my projects!

*hmmm... I wonder if Halo 2 uses these menus.

Sincerely,
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #4  
Old 12-23-2004
AXXESS's Avatar
AXXESS AXXESS is offline
Forum Member
 
Join Date: Nov 2001
Posts: 498
Halo Colors...

Yeah, that was another one. I researched for quite a while learning to "skin" the MX components... and it turns out you can just use global.style.setStyle to change the halo colors. Sheesh. Didn't find it from Macromedia either.

If you need more info on MX 2004 components, here is a good resource:

Ultrashock

Reply With Quote
  #5  
Old 12-23-2004
AXXESS's Avatar
AXXESS AXXESS is offline
Forum Member
 
Join Date: Nov 2001
Posts: 498
One More Detail...

I discovered that you can't use this method to navigate to a numbered slide... it must be a word...

i.e., You can't do this..

_root.presentation.gotoSlide(2)

but you can do this..

_root.presentation.gotoSlide(two)

Go figure.
Reply With Quote
  #6  
Old 12-23-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
Thanks for the link!

How I did it was to print off several pages for the Flash's innate Help system.

Still, often, I find it easier to find and understand examples usually when I "google" a bit, myself.

I don't mind grinding through documentation. But, this is one topic I believe I.R. has done a much better job at! I appreciate the point that every time you type in an Action you can quickly get working examples via the close proximity of the Help file!
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #7  
Old 12-23-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
Ah, how naive of me!

The reason I believe MM does not document their products in an easy to understand matter more... is because there is MM Press to think about and make huge bucks off. Sadly, those books I ordered for Flash MX are not going to get used because, well, they plain stink. Cryptic to read and understand.

Ack!
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #8  
Old 12-23-2004
AXXESS's Avatar
AXXESS AXXESS is offline
Forum Member
 
Join Date: Nov 2001
Posts: 498
I agree...

Quote:
But, this is one topic I believe I.R. has done a much better job at!
No doubt. IR's help system is the best around!!!

For the rest.... Google ROCKS!
Reply With Quote
  #9  
Old 12-23-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
Well, the link you posted rocks! (ultrashock.com)

I originally setup amsuser.com's List boxes with manual insertion (ouch), which does not scroll and does not alphabetize the listing (the last point is nice in a way, you can see what I have added last, project wise).

I believe I am going to (now) work on setting up an external (which I plained on doing, just down the road) file so that I do not have to open Flash each time to update the site. Just .txt the data (evntually DB) so that I can just copy and past the links in and then then such is updated quicker (and I will be more apt to update more often than I do even now).

Slowly, I'm getting use to Flash MX 2004. I am excited to have such coding come off as easily (well for the most part) as with AMS 5 Pro's Scripting.

(Now, if I can just get "artsy")

Thanks again!
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #10  
Old 12-24-2004
AGRO's Avatar
AGRO AGRO is offline
Forum Member
 
Join Date: Oct 2000
Location: Peoria, AZ USA
Posts: 810
Another Flash component that is similar to the menuBar in Flash is a component by Ghostwire called the Slide Menu. In this one you can also add a icon to each button. This component is really easy to edit. You wont have the halo skin but is still nice.
Reply With Quote
  #11  
Old 12-28-2004
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
I looked into Ghostwire. It seems like it would be useful for sure.
__________________
Intrigued
www.amsuser.com
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



All times are GMT -6. The time now is 05:52 AM.


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