Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / March 2007



Tip: Looking for answers? Try searching our database.

Simple navigation question.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thatssotribal - 12 Mar 2007 05:08 GMT
OK, so I am at a complete loss at how to accomplish a simple flash navigation
system. I am a graphic designer so flash is not coming as easily as photoshop
and static html pages do. Basically, I am wondering how to make it so that I
have four buttons, that when pressed, the one that is selected moves up while
the others stay at the same level, and also how to trigger content using the
buttons. to explain what i want to accomplish visually i have uploaded two
screenshots of the desired effect.

http://i103.photobucket.com/albums/m128/xthatssotribalx/help.jpg

to this after being clicked:

http://i103.photobucket.com/albums/m128/xthatssotribalx/help-1.jpg

This would be so much easier to code in CSS but for the content it will serve,
flash is better suited to this project. Please help! Thanks!!
The Feldkircher - 12 Mar 2007 23:01 GMT
Hi

At first glance what your asking for seems easy enough, however when you start
to think about it - it quickly becomes a coding nightmare. You have to know the
button state of every button in every possible combination of up and down in
any user selected order.

How is the button reset to its original positon?  
When the button is clicked it should Trigger content - internal or external
content?

Basically theres a lot to think about, I suggest you read the Flash Help files
for Buttons and Tweening.
As for loading content whether it be moving around the timeline or loading
swf's or even opening other html pages
this type of navigation is the most asked about in this forum and the most
difficult to answer.
thatssotribal - 13 Mar 2007 04:36 GMT
This would be a cinch using CSS...is there any way I can use CSS in conjunction with the flash file? Sorry I am very, very new to this.
The Feldkircher - 13 Mar 2007 22:56 GMT
Hi

CSS with Flash - No Problem. Theres plenty of tutorials out there to help you

Google - Using CSS with Flash - I got 165,000,000 hits

Hope it helps
thatssotribal - 14 Mar 2007 04:26 GMT
alright...i guess if i am going to try to do this i want to learn, no matter
how hard it is. i am trying to emulate this template


http://www.templatehelp.com/preset/pr_preview.php?i=13916&pr_code=3Q2P7g93F4eju9
3em4J52LUq1hYM59

only with my own designs, but the same style nav bar....and the way it
displays the photos is something i'd want to learn how to do as well. any links
or directions on where to look to learn would be appreciated. thanks for the
help so far.
The Feldkircher - 14 Mar 2007 21:08 GMT
Hi

Now I've seen a working example, its similiar to one of my photo galleries in
the way it presents the pictures.
This is done entirely in Actionscript, it could be done on the Timeline but
why give yourself a headache.

The navigation is relatively simple to organise now I've seen it in practice,
your first post was a little confusing in the description of the button
operation. Now I know what the template does - I now understand a lot more.

When you say you want to trigger content - is this within Flash ie: new
galleries and other areas of the website.

I'll work on a sample to get ya start and then you can go from there. I
strongly suggest you learn actionscript as fast as possible this type of dev
really really needs it.

I let ya know when its ready
thatssotribal - 16 Mar 2007 04:40 GMT
Yes, I would like to trigger the content within flash. So trying to do it using
the timeline is the hard way? I'll get on learning action script...and if you
could provide that example(s) I would appreciate it a lot. I know when I first
learned css it was from the veterans giving me actual code and me deciphering
it to see how it all worked. Thanks for the help so far.
The Feldkircher - 16 Mar 2007 10:14 GMT
Hi

I've got the code written for the buttons, send me an email address and I can
send it to ya.
I have explained each line with comments in side the fla.
You'll notice that the stage is blank -  and the first frame of the time as a
little 'a' inside it - thats because this is all done in AS

I am still working on the Gallery animation part but getting closer.
thatssotribal - 16 Mar 2007 17:39 GMT
my email is christopherjphoto@yahoo.com

i really appreciate you helping me out so far.
a30n - 16 Mar 2007 16:17 GMT
The Feldkircher, would you mind posting a link where I could see the fla. too. I am curious how you did it.
The Feldkircher - 16 Mar 2007 19:31 GMT
Hi

I have posted it http://members.inode.at/554689/flashgallery.fla 

Enjoy
thatssotribal - 16 Mar 2007 20:12 GMT
For some reason the file will not open. Flash MX crashes with the error report
that Flash 6.0 r25 has encountered a problem and needs to close. Any
suggestions on troubleshooting this so that I can open it?
The Feldkircher - 16 Mar 2007 22:13 GMT
Ok! I assumed you had Flash 8 Pro, I will re-send as Flash 6
thatssotribal - 17 Mar 2007 02:48 GMT
Hmm, sorry again, but now with the flash 6 file it says "Unexpected File Format".
Gosh, frustrating. I'm really sorry.
thatssotribal - 17 Mar 2007 03:37 GMT
ok finally got it loaded up...now for a question...i am wondering now how i
import my photographs into the script, and i don't think i am sure how i am
supposed to code to load from an xml file....sorry if I sound ignorant...the
only programming experience i have under my belt is some simple basic and very
basic knowledge of c.
The Feldkircher - 17 Mar 2007 08:29 GMT
Ok Now I know your using Flash 6, so I will make the gallery loader in that
format
XML in Flash can be acheived in many ways - but I will concentrate on the
programming in Actionscript.
Programming for XML is relatively simple in Flash, once you see how its done
then you can use it any time you need to load external content.

Looking at the template you posted, it seems the photos in each gallery always
move to the same position on the Stage. This makes it easier to program the x,y
coords into the XML file. I will try and have an example up and running some
time over the weekend. I'll let ya know when its ready.

Caio for Now
thatssotribal - 19 Mar 2007 03:34 GMT
Alright. Thanks a lot for doing this. I'm sure I'll pick up a few tricks from viewing the code when its complete. I can't wait!! Email me once you get it up and running.
The Feldkircher - 19 Mar 2007 15:27 GMT
OK Its ready. This was a real Bitch to do in Flash 6 - You need to get up to F8
Pro - It's so much easier.

What it is - It's a strip down version of the template sample due to Flash 6.
                    It will give you an insight into Loading XML and Nested
Movieclips and how to manipulate them.

What it's not - A Full blooded rip-off of the template - I will leave that up
to you.
                         A complete answer - this will get you started, I
don't have the energy to do anymore.

You will need to save the .fla and the two .xml files to your hd, then create
a folder named 'images' in the same location.
Save/Copy the .jpg's into the 'images' folder - now your ready to run. - Enjoy.
Wagner Matos - 20 Mar 2007 14:37 GMT
Hey Feldkircher,

Could you post a link to the final file?

Would be just great see how you made it!

Thanks
The Feldkircher - 20 Mar 2007 18:26 GMT
Hi

Send me an email address and I will send you the files
Wagner Matos - 21 Mar 2007 02:12 GMT
Hi,

wagner.matos@orange.net
vagner.matos123@gmail.com
wagner.matos@wmgraphicdesign.co.uk

Many thanks!

Wagner
Wagner Matos - 21 Mar 2007 02:13 GMT
Hi

wagner.matos@orange.net
vagner.matos123@gmail.com

Many many thanks!
The Feldkircher - 21 Mar 2007 22:34 GMT
Hi Wagner

The files are on their way

Enjoy
abell06 - 29 Mar 2007 04:21 GMT
hey,
can you send me the flash 8 pro files you mentioned?
email: austin@kustedg.com
thanks!
The Feldkircher - 30 Mar 2007 18:13 GMT
Hi Abell06

There are only Flash 6 files due to thatssotribal not having F8 Pro, I will
send what I have.
Because this was written for an older version obviously many of the features
now in F8 could not be used
Such as the Moviecliploader class, which would be a far better way of doing
this.

Cheers
rollingO - 30 Mar 2007 19:48 GMT
Hi Feldkircher,

Would you mind sending me the Flash 6 files too? I'm using Flash MX so they
would work for me. I have been beating my head against a similar problem and
I'm hoping your files have the answer.

jessica.eichman@earthlink.net

Thanks!
The Feldkircher - 30 Mar 2007 22:39 GMT
Hi

On their way, enjoy

The Feldkircher
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.