This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > November 2006 > A few issues
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| space21uk 2006-11-05, 10:33 pm |
| My problem is my home page has a small intro in which i just loop for frame 205
to end after it loads, on a button i have created i have given the following
script, but it plays the intro again, i just want to play from fram 205
onwards, just as it does when the home page is opened, what im i doing wrong?
on (release) {
//load Movie Behavior
if (this == Number(this)) {
loadMovieNum("home_page.swf", this);
gotoAndPlay("Scene 1",205);
} else {
this.loadMovie("home_page.swf");
gotoAndPlay("Scene 1",205);
}
//End Behavior
}
also when i upload my site the the host the links dont work, it only works in
the flash preview on the pc?
my home page works fine but if i click another button, profile, it gives me a
blank page, i have uploaded all the .swf files to the same folder in my control
panel but it doesnt work. I have embeded the home_page.swf in the .shtml
dreamweaver file which works fine but no ther links work!!!
im guessing i have to change the path of the url but ive tried
www.site.com/web_design/flash/profile.swf
but that doesnt work either, can someone tell me the appropriate code that im
not using?
on (release) {
//load Movie Behavior
if (this == Number(this)) {
loadMovieNum("profile.swf", this);
} else {
this.loadMovie("profile.swf");
}
//End Behavior
}
also can i ask how do you have say a logo and side bar in a page and make a
square box that when the link buttons are clicked the next page opens up only
in the square box and the logo and side bars dont need to be reloaded?
any help is very much appreciated
| |
| The Feldkircher 2006-11-05, 10:33 pm |
| Hi
Last point first - When using absolute URLs, you must make sure that your
URL is prefixed with http://
So that you can keep a Navbar and logo on screen at all times, I would suggest
that you create an EmptyMovieClip and attach this to your page and then load
any of the Navbar option swf's into it.
I don't quite understand your first question.
| |
| The Feldkircher 2006-11-05, 10:33 pm |
| Hi
An empty movie clip is just that empty, you have to tell it what to load, the next time you tell it what to load it replaces the first.
| |
| space21uk 2006-11-05, 10:33 pm |
| i have small flash intro when you enter http://www.site.com
i have gotoAndPlay("Scene 1",205);
this cuts out the intro while the logo is replaying itself
when i enter a second page, then i go the the home page again i dont want to
show the intro so if i had
gotoAndPlay("Scene 1",205);
to the home button, instead of starting at frame 205 it plays from frame 1
which i dont want to happen
on (release) {
//load Movie Behavior
if (this == Number(this)) {
loadMovieNum("home_page.swf", this);
gotoAndPlay("Scene 1",205);
} else {
this.loadMovie("home_page.swf");
gotoAndPlay("Scene 1",205);
}
//End Behavior
}
i dont understand why it keeps on playing from frame 1??
also if i create a blank movie clip, what would be the code to make the next
movie load into it and the previous one to hide?
| |
| space21uk 2006-11-05, 10:33 pm |
| thanks
any idea about my link?
| |
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|