-
Some flash guru person out there....HELP! I am creating my first real website.
Why when I program a button to
loadMovieNum ("currentissue.swf", 0);
thisworks but when I try and do
loadMovieNum ("currentissue.html", 0);
this doesn't work.
Anyone have any helpful hints in this area????
Your help is greatly appreciated.
Cheri
-
Moderator
You cannot load an HTML page into Flash
-
Then how do I go from one flash movie to another. I am using the html file created in flash as my main page. (I published the movie and one of the options to use is the html file). When I press the button in the first movie I want to then go to my second movie, where I want to use that html file. I don't want to link the button in the first movie to the swf file of the second movie because the overflowing borders show.
Does that make any sense?
So how do I go from one movie to the next?
-
...overflowing borders show????
You can allways try...
getURL("http://www.yourserver.com/currentissue.html", "_self");
... But doubt you will like the results on that also!
-
This worked fine...
on (press) {
unloadMovieNum (0);
getURL ("currentissue.html", "_top");
}
Overflowing borders...what I mean is that I can see outside the work area when I view the swf file. The items off the work space. I shouldn't be able to see the items outside the workspace but I do. Why is that? Are my settings screwed up?
-
The unloadMovieNum (0); action is useless in this case.
As for seeing the "out of stage" area, was the second movie much smaller in size than the original main movie?
-
Same dimensions I gave above. Could you guide me on what my publish settings should look like? I don't mind linking swf files if the items outside my workspace don't show.
-
Are you using the Flash Publish feature to output your html?
If not, you should try it and set the Html (tab) dimensions (box) to Match Movie.
This will embed your first movie, and at the end of this first movie, you simply have to add...
loadMovieNum("your_second.swf", 0);
stop();
This will automatically unload the first movie, as it will be replaced by the second one.
-
Alright,
take a look at http://www.nycompgraph.com. the main page is 550x400. If you rollover the button "radical history review" and choose current issue you will then see my second movie, whose dimensions are 550 x 1250. You will notice that a yellow strip goes outside the workspace and this area you shouldn't be able to see. Thats my first problem. Second problem, I need the width to fit to fit into the window. See how small the pages are.
Thanks
-
What code are you using to load the second movie?
If I have a look at your second movie alone, http://www.nycompgraph.com/currentissue.swf , I do see that yellow strip.
-
I'm using
on (press) {
loadMovieNum ("currentissue.swf", 0);
stop ();
}
to load the second movie
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|