Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make a fast and efficent web page? 3

Status
Not open for further replies.

avinsinanan

Programmer
Jul 14, 2002
92
TT
Hello I am trying to make a web page. However I want to make it fast and effient web page that works just likean HTML page.

The main issue i am concerned about is moving from one web page of the site to another web page.

I noticed that when I view a Flash movie online or web site that the whole movie has to be download onto the RAM and Cache. SO this means if my web site is large the whole FLash site has to be downloaded and may take a long time. This is unlike HTML where onl the present web page you are viewing on the site in downloaded into the RAM and cache.

How do i make my Flash web site belahve like a normal web site so that only the present screen or frames they are viewing are downloaded into the RAM and cache.

Any ideas on where to start?

Thanks
Yours respectfully
Avin Sinanan
 
You break up your movie in several movies. You only first load you interface navigation movie, and load every other element upon demand. Regards,

new.gif
 
Dear oldnewbie (TechnicalUser),

Ok i undersatnd the concept. But how do link one movie to another. I am new at Flash. How to u make a hyper link to another movie.

you know any tutorials which show this topic is particular?

Or can you tell me?

Anyone will do :)

Thanks for the advise earlier

Yours respectfully
Avin Sinanan


 
You could use the getURL action to open up new movies, but you'd have breaks between movies, and this wouldn't work in the concept of first loading your navigation movie on the main level, and then load the other movies on other levels or in holder movie clips, so that your navigation movie is allways present. Look up the loadMovieNum and loadMovie actions in the actionscript dictionary, and then maybe try to find some tutorials like this one:

Regards,

new.gif
 
Dear OldNewbie,

Whats up... I don't think u understand what am trying to to.. So if you would give me some of your time i would be grateful.. This is a preview of my site ..


Ok anytime you click the Button Hardrives "Page1" appears.
Anytime you click the Button Monitors "Page 2" appears

But suppoose "Page1" or "Page2" were big pages and needed to be downloaded only after the buttons were pressed. Also the new page appears in the rectangle on the RHS without refreshing the coloumn with the buttons.

The present web page was made in one movie.

Am sorrry to be a pest like this.. but am real new and totally confused.. i've been reading articles on flash like 3 to 4 hours a day and trying stuff and i am still confused


Yours respectfully
Avin Sinanan
 
Ok thanks,

Ok I d/l the files.
Can you tell me where you learned this?

Casue its eaxctly what I want. I want my site to have the exact functionality.

Any web site you recommend?

Beacsue I know how to make seperate movies. But how did were you able to call one movie and inplant it into another movie. This is my best logical guess.

First of all in the main movie you have specified an area for which movies can be implanted.

Each movie also has a specific name or address. And each button is asscoiated with a certain address. WHen a button is pressed it gets the specified movie and implants it in the specified area in the main movie.

The question is how (Using Flash) do you do this. I analyzed your files and i cannot figure this out.

I don't want to bother you again so if you can direct me to another site i would be very grateful.

Also I would like to thank you so very much for all the help.

Your respectfully
Avin Sinanan

 
Hey OldNewbie,

Ok i analyzed the files some more and its making more and more sense to me.
I noticed for each button you have load movie eg.

loadmovie("new.swf",1)

what does the "1" mean

And for the main movie how did you get the long yellow dividing lines?

And what do they do?

Thanks again

I'll analyzed it more..

Sorry I jumped ahead in the last message..

Yours respectfully
Avin Sinanan
 
Levels in Flash or sort of like layers within one movie. You can stack numerous movies over each other. The main movie (the buttons) is allways on level 0, but you can load other movies on other levels on top of the main movie. That's what the 1 represents in this case. I'm loading all new movies on level 1. I could of used levels 1,2,3 and 4 but in this case since, I used only one level, because loading a movie on a level where there's one already, will automatically replace the previous one without the need to unload it. All movies are of the same size as the main movie and created in reference to the positioned elements of the main movie. Those lines (aren't they greenish?), obtained by clicking and draging them from the ruler bars (set Rulers under View) are used for aligning purposes (aligning the buttons for example) and for making sure all movies will land in exactly the same spot when overlaid over the main movie.
You could make your site using this technique, but I might suggest that you load your movies into empty holder movie clips (already on stage in the main movie), because it allows for an easier control over all the properties of movie clips. If you're in a rush, I can't really promise much more help in the next few days (too busy) and someone else would have to pick this up from here.Otherwise I may be able to further help you at the end of the week.

Also suggest you register as a member, if you're going to be hangning around! Regards,

new.gif
 
And for God's sake give the man a star next time!

Here's one for you Old.
 
[tt] I'll give oldnewbie a star also.

avinsinanan, go out today and purchase the best flash book you can find and reference it to death and maybe, just maybe you can do this:

[tt]"A Successful man is one who can build a firm foundation with the bricks that others throw at him"[/tt]
[noevil]
 
Thanks TFfan and TonyU, but you should know that visitors can't vote! Regards,

new.gif
 
Thanks Oldnewbie,

I'll register casue i think I'll be here regularly.

Well I don't know how to give you a star on this forum, so i hope a simple thanks will do.

Thanks

yours respctfully
Avin Sinanan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top