Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Mounting A Flash Movie Into A Website And Preloaders.



The topic pretty much says it all.

I'd like to know how one takes a .swf flash movie and shows it on a webpage properly. For instance, I want the movie to be the exact size that it is in the program (550 x 400), not to take up the whole screen like it would if you looked at the .swf directly. Also, it'd be nice if I could have it open in its own window of the same size as the movie such that there's no other web material to interfere with it (like Newgrounds does).

Another thing I'd like to learn to do is create a preloader. Now, I'm relatively new to Flash, but I know to get around the MX interface and where stuff is, etc. About the only thing I really know nothing about is Actionscript, except for adding some actions and commands to frames and buttons. So, if someone could teach me or show me a tutorial on how to make a preloader with as little code as possible, that would be just awesome.

Oh and I'm no stranger to HTML and PHP, though I'm rusty on Javascript, but I understand web programming fairly easily.

Thanks.



FlashKit > Flash Help > Flash Newbies
Posted on: 07-08-2006, 06:54 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Questions On: Website In Flash, Preloaders, And Libraries
Hi y'all.

Im relatively new to Flash MX. I've mastered the basics, and im now stumbling in Actionscript and how to distribute libraries and parts correctly.

I've read all about the preloaders in www.flashkit.com, but still, i dont understand how this works..

1 - Should i make a preloader inside the main animation, or should i make a separate file, that links to my main animation? This is boggling me.. How should i do this?

2 - My goal is to create an image showing page, with some animations in the page body (made in Flash), but i feel like if i include all the images in the main .swf it will become huge... what is the answer here? should i make a library file with just the images, and then link to them from my main animation? or should i dump them all as simple .jpg files in a folder under my site and link them so they open in my flash animation?

Thats all for now, im sure i had more to ask, later then.

...Help!

JBong

Suggestions For Mounting Content.
Hey everyone, I was just working on a website for my residence on campus, and I was wondering what the best way to put the content would be.


I'm thinking possibly loading an outside .swf into a container (container is the red box, also where content will appear). Otherwise maybe if you can load a contrained .htm into that box or something, but I'm not sure.

Any suggestions please let me know.

Thanks,
DaVuLF

Virtual Dental X-ray Mounting For Education
I am looking for some advice on developing a potential flash based educational tool where students can practice placing dental x-rays in a 18 film mount. Here is an image of a mount with the large window in the middle that is an optional viewing window on the currently selected x-ray. Click Here for Image

Any ideas or source code already written for a puzzle type application would be helpful. Thanks in advance!

Preloaders And Website Structures
Hi peoples,

I'm trying to develop a preloader system that loads only the first section of my flash animation and then let's you in the web site while loading
the rest of the frames in the backgorund.

Or do a structure in which the web site loads by sections.

What do you recommend? How can I make this happen? Is there a place where I can find answers to this?

Thanks

iam2001

Preloaders And Sounds For My Website
Currently I'm working on my personal website (diekstra.tk ).

I use a preloader for my site. In the site I use ActionScript to play sounds from the library (e.g. intro.attachSound("intro.wav"); intro.onsoundComplete, etc.)

At this moment, the sounds in the library are linked: exported for actionscript, export in first frame.

My problem is the following:
With the linkages set as "export in first frame", the sounds (which account for about 200kb) are being loaded before my preloader begins. This takes a lot of time with just a blank screen during preload.

I want to put the sounds in an external .swf movie and preload them in the main movie, and control them from the main movie (also with the onSoundComplete function). And more, the external sounds should be preloaded independently of the main movie's preloader, so that when a visitor with slow connection that first visits the website, only after a while will hear the sounds (because the external .swf sounds are loaded then).

Is there anybody that can help me?

Thanks in advance,
Frank, The Netherlands

Flash MX, Preloaders, And Imbedded Movie Clips
ive recently made a site and run into a small issue. When i place a preloader on the movie i noticed that my movie does not play out the imbedded movie clips within other frames. The preloader works fine... but the imbedded clips dont play... unless you manually tell the movie to play... is there a fix to this... same thing happens if i insert blank key frames infront of the frames with imbedded movie clips. Really frustrating. Please help.

Thanks

Yogi

Flash MX, Preloaders, And Imbedded Movie Clips
ive recently made a site and run into a small issue. When i place a preloader on the movie i noticed that my movie does not play out the imbedded movie clips within other frames. The preloader works fine... but the imbedded clips dont play... unless you manually tell the movie to play... is there a fix to this... same thing happens if i insert blank key frames infront of the frames with imbedded movie clips. Really frustrating. Please help.

Thanks

Yogi

Flash MX (not 2004), Preloaders And Imbedded Movie Clips
Ok so here is the deal. Ive put together a pretty nice flash composition and its looking pretty sweet... but the size is starting to get large so i thought id stick a preloader on there for those less fortunate people. Here is my problem. When i put a preloader in the preloader seems to work fine. My problem is that my imbedded movie clips dont play anymore... they just freeze on frame one and dont do anything. Anybody know how to fix this or could talk me through it. Thanks.

Msn/email geept23@yahoo.com

Yogi

[CS3] Flash Movie Doesn't Get Refreshed On My Website - It Keeps The Old Movie
Hello

I need help - I have publish my flash movie on my index page. I made some changes (text, colors, movie clip) - when i upload the new version and refresh my website, it doesn't get refreshed. even if i change my settings in IE to automatically check new version of pages, or check on new IE restart, or whatever it keeps the old flash movie. I tried deleting my cookies, temporary files also. no change
It does my head in ..

anyone know what is causing this ? i'm using Flash CS3 and IE 6

Thanks in advance,

http://fetesvosjeux.*******.com is my website. You will probably see the new changes with grey background and movie dots but i still see the old one with black background and static dots

Getting A Flash Movie On A Website
Can some one please help me on how to put a .swf or .html flash movie on a website.

Flash Movie On A Website
I know it can be done... I just don't know how to do it. Can some one please help me on how to put a .swf or .html flash movie on a website.

How To Put Flash Movie On Website.
I just made a flash movie and I wanna know how to put it on my website. Thanks for any help.

Flash Movie To Website Help
I guess I'm not really a newbie at Flash, but I am at websites. I am totally lost on what to do. Can anyone direct me to a website that will tell me what to do or just explain it to me?

Thanks in advance...

Flash Movie On Website
Hi all, having a bit of trouble inserting a flash movie onto my website, What im trying to do is insert http://www.members.aol.com/simps100/videos/samoff.swf into http://www.thorpeparkmania.co.uk/tpm...rush/video.php but for some reason none of the controls show up. The reason they are on different servers is to save bantwith.

Hope somone can help me out

Marc.

Flash Movie/website Help
Hey all,

New to the site and was looking for a bit of help.

Ive only recently started using flash and i was looking for some help with a few ideas. I am looking to make a website using flash and i wanted to have a "door" close and re-open when you clicked on different content. So your on the homepage, with the homepage content, then you click on say Videos page, and then doors close on the homepage content, and then re-open to show the Videos page content. Any ideas on how this would be done would be great :P

Another thing is what is the Actionscript that i could put at the end of one movieclip, to start another when it has finished.

Thanks in advance,

Chris

Put Movie On Flash Website?
Hi,

At the company where I work we have a website that consist of only flash.
Now they would like to put a movie on it and I see a lot of problems coming up.
I should say that personally I've never worked with flash.

However.

If we would put the movie into the source and compile it there would be a problem next week or month when we want to change the movie, we have to go back and change the source and re-compile ?
Not good for us.

Is there a way to use an external .swf and link it into the website's .swf?
So when we do want to change it all we have to do is replace the .swf.

I'm very thankful for any help I can get.

Cheers!

From Flash Movie To Website
Hi ,

I am building a website here, with a flash movie automatically plays on the index page, with a link "click here to ENTER THE SITE" below. When the movie finishes, viewers must click on the link to see the contents.

What I am trying to figure out is, how can I take my viewers to the contents page automatically when the movie reaches the end???? Is this possible at all?

HERE IS THE CODE OF THE MOVIE, HOW SHOULD I PROGRAMME IT??(say the contents page is www.whatever.com/contents)

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="480" height="360">
<param name="movie" value="movie_begin.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#000000" />
<embed src="aaa.swf" width="480" height="360" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
</object>


Many thanks

Is There A Way Of Having A Flash Website And Also A DVD Movie In One DVD?
Is it possible for a DVD to contain the following:

- If you insert the DVD into a DVD player, it will play a DVD movie of the website.
- If you insert the same DVD into a PC, it will open up my Flash Interactive Full screen website.

How would you do this, any tutorials on this?

How Do I Upload My Flash Movie Into My Website?
how do i upload my flash movie into my website?

Flash Movie Automaticaly Go To Website
i have gone to websites that have a flash movie play then at the end it automaticaly goes to the website i'm curious how do they do that

Opening A Div Tag On A Website With A Flash Movie
hey everyone,

I am making a kids desk in flash that will hold the students ipod, binders, and folders. When a student clicks one of those items in my flash movie it will pop open a div tag that I create in dreamweaver. Does anyone know how to do this? I am doing it for a small project for middle school kids. I am not doing this project for money, but they are really depending on me to do this for them. I am not sure how to do it if it is possible at all. Does anyone have an example of this or somewhere I can find the coding to do this?



I am currently using flash 8. I know the kids will thank any of you that assist me in figuring this out for them! thanks!

Flash Movie Will Not Play On Website
Hello,

I am having a huge problem getting a flash video to play on a site that I am designing. I have uploaded it to the server with the .flv file linked to the .swf file in the component inspector. I have followed the directions to a T. When you pull up the site you can not see the video at all. Like I didn’t even upload it. I called the hosting company and they indicated that this particular server was old and that they needed to upgrade it to support flash... They did and it still does not work.

I am trying to trouble shoot this to figure out what is going on. Could it be the server? I have it on UNIX hosting; does it need to be linex? This is the first time I have run into this issue and I am really stumped. If anyone could give me advice I would be much appreciative.

Thanks!

John

Troubles Using A Flash Movie On A Website
Ok, I'm one of the newbies

This guy bought a template and asked me to use it for his website. My problem is that I changed the structure of the website (used to have iframes) and now the flash movie, which is used for the menu and header, is acting differently. If you check the website out providerci.com and click any link, you will see the flash movie reloads. Trouble is the movie reloads EVERY time a link is clicked. What I want the movie to do is load when the person enters the site and then not reload again. I'm very ignorant of flash but I suspect I need to change some scripting. I'm having a hard time finding the right frame with the scripting that needs changing. Does anyone have any suggestions? This is kind of a shot in the dark but I'll try to provide need info

thanks!





























Edited: 10/02/2007 at 05:27:47 PM by starkween

AS 2 Flash Movie As Website Background
I am relatively inexperienced with Flash. I know just enough to get myself into trouble as you will see here...
I am creating a website with the bulk of the material in flash. All was going well until the client asked for a twinkling effect on the static textured background (created in PS). I was able to find a file on the web and apply that code to a flash file to create this effect. I layered this in Dreamweaver in div layer 1, the main web content (combo of html & flash) on div layer 2.
The problem is that it slows down all my animation in the main content. Plus I previewed it on a MAC and the quick flash intro I created crawls at agonizingly slow speed!!!
Does anyone know a better, "lighter" way to do what I need to do? here is the link to my site , in progress...
http://bokx109.com/working/intro.htm

This is the AS2 code in frame 1 on "blink1000.swf" (in div layer1):

var numStars:Number = 250;
for (i=1; i<=numStars; i++) {
_root.attachMovie("star", "star"+i, i, {_x:Math.random()*Stage.width, _y:Math.random()*Stage.height, _alpha:Math.random()*100});
_root["star"+i].rotSpeed = Math.round(Math.random()*8+2);
_root["star"+i].tranSpeed = Math.round(Math.random()*10+5);
_root["star"+i].tranDir = Math.floor(Math.random()*2);
trace(_root["star"+i].rotSpeed);
_root["star"+i].onEnterFrame = function() {
if (this.tranDir == 0) {
this._alpha += this.tranSpeed;
if (this._alpha>100) {
this.tranDir = 1;
}
} else {
this._alpha -= this.tranSpeed;
if (this._alpha<40) {
this.tranDir = 0;
}
}
this._rotation += this.rotSpeed;
};
}

I know I'm missing something. Any guidance from you more learned folks would be very much appreciated!

Extracting A Flash Movie Off A Website
hi,
there is this movie that i want to extract from a website--but having trouble. i tried to use "Movies Extractor Scout" from http://www.bytescout.com/flashextractor_how_to_convert_swf_to_exe.html
but it seems like the flash movie is somehow encoded. could any one suggest what i can do?
here's the link to the flash movie:
http://www.justtoys.com/images/robo_video/v2_video.htm

thanks
ko

Load Website Into Flash Movie
How do you load a website into a flash movie, please help me I am completely new to flash.

Tim

Pre-newbie Question On How To Put A Flash Movie Into A Website...
Greetings, Flash users.

A friend created a flash movie banner for my website. Without having flash myself, can you tell me how I can view the flash file and how I can put it on my web page made in MS Frontpage. Your help appreciated.

Best,

Mark Stein
mstein@mediationfirst.com

Importing Complete Website To A Flash Movie?
hi there.. flashers..

please tell me is it possible to load an
entire website to a running flashmovie?

if so - how is it done??

thank you so much..

tobi

No Sound When Playing Flash Movie From Website
Hi,

I have a webpage with a flash movie embedded in it. The movie runs fine but no sound is being played, and it can't seem to find the sound files. I know the sound files are in the right place because I can play the movie using the flash player from the directory where the webpage resides. I am calling the flash movie with this:

<OBJECT id="Processing" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="600" width="600" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="21167">
<PARAM NAME="_cy" VALUE="15875">
<PARAM NAME="FlashVars" VALUE="21167">
<PARAM NAME="Movie" VALUE="VH_1to1F.swf">
<PARAM NAME="Src" VALUE="VH_1to1F.swf">
<PARAM NAME="WMode" VALUE="Window">
<!--<PARAM NAME="Play" VALUE="-1">-->
<!--<PARAM NAME="Loop" VALUE="-1">-->
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="FFFFFF">
<PARAM NAME="SWRemote" VALUE="">
<EMBED src="VH_1to1F.swf" WIDTH="500" HEIGHT="600" ALIGN="">
</EMBED>

Any suggestions?

Thanks,

Chris

Flash Movie Works On Computer Not On My Website
i have a flash music player that loads songs i converted from mp3 files to swf movies and allows the user to switch back and forth among songs. It reads the number of songs and the titles from text files. The player works as i want it to on my computer but when i load it onto my website along with the swf music files and the text files it will only play the first song and does not display the song title from the text file. Is there anything special i need to do so that the flash movie will work online.

thanks

How Do You Make A Downloadable Movie On A Flash Website?
Hello, could someone please assist? I'm making a flash web site that I will publish as a .HTML file. How do I make a link on the site that any given user will be able to "Right Click" and download the movie? Please assist. Thanks.

Newbie, My Flash Movie Not Going To Website After Done Showing
I'm trying to make a splash page. So when it's done it goes to the website. I tried the goto action and added the site info, and nothing happens. I must be missing somehting. I am new to programing flash movies. Any help would be greatly appreciated. Thanks for the review.

owen

[F8] Creating A Pop Up Window With A Flash Movie Within A Flash Website
Hey guys, been scratching my head over this for some time would appreciate any words of wisdom ...
I'm trying to create a script for a movie clip/ button that when pressed will open up a new window with some swf/ video/ banner in it. This would resemble getURL except the mc would be from within the (flash) website itself and not some other website... much like a javascript applet for example. any ideas?

How To Get Startup Flash Movie To Play Before Loading Website?
I have a simple movie that i would like to play for an opening screen. After the movie gets done i would like the regular html website to load. I'm new to all of this and i can't figure it out to save my life. The home page is index.htm. I used Flash Mx to make the movie. What would i have to do in order for that to happen?

Another thing...I don't know too much about html, but i have a flash movie on the html website. I did that by just pasting the movie's html code into the main html code of that web page. Is that the right way to do it or should it be done otherwise if you just want to have a flash movie playing in a page?

Thank you and sorry for the ignorance.
Max

How Do I Load A Website After A Flash Movie? Skip Intro?
How do i load a website (Dreamweaver) after a flash movie on the same page?

How do i get 'skip intro' to work?

Please help me!!!!

Qustion Embed Flv Movie In Flash Website. HELPPlease
I made a flash site which embed a skinless flv video
(file name play.flv) in FLASH CS3. BTW, i do this coz
Flash can give a skinless flv movie but dreamweaver can not.
After publish, CS3 grenarate 3 files,

A swf file : Play.swf (same name as my flv file) ,
A html file : index.html
A Javascript file: AC_RunActiveContent.js

have no prolem when i preview on my computer

BUT After i upload these 3 files and my original flv file to server, i cant not see my flv movie playing at all. Also not work when i try this in Dreamweaver.

anyone can give me a idea what can i do?
thanks very much for your time!

Flash Movie Skins On Content Management Website
Hello

Im developing flash based film for a client using a content Management web development system
The flash movie works fine on upload but they content management system they use is having problems accessing the movie skin. I have tried adding the movie skin (controls) via dreamweaver but still having the same problem. Any ideas on how to give the movie skins an absolute reference / link? I think this is the problem.

Any ideas anyone?

Much appreciated....

I Can Test My Movie Using Flash, But It Doesnt Play On My Website
I have an FLA file containing action script that I am able to test with no problems. But when I convert the movie to an SWF and put it on my website, I cant see anything. Anyone know why this is happening?

Thanks

Opening Quick Time Movie In Flash Website?
Hi I have a flash website, and i want to have a button that when clicked opens up a quicktime movie to show a panaramic view in a seperate window, how can i go about doing this?

site is at www.freshlemon.co.uk/cavalier/intro.html

the button is in the plans section of the site

Opening Quick Time Movie In Flash Website?
Hi I have a flash website, and i want to have a button that when clicked opens up a quicktime movie to show a panaramic view in a seperate window, how can i go about doing this?

site is at www.freshlemon.co.uk/cavalier/intro.html

the button is in the plans section of the site

Play Continuous FLASH Movie In HTML Website
Currently, I have an HTML wesbite with a FLASH movie at the top of every page. The movie is just a slow, simple animation that fades images and type in and out, no action script. What I am looking for is a way to have the Flash movie, play continuously throughout the site; no matter where the user clicks, the movie should continue animating in the same place it left off. Currently, it reloads/starts from the beginning every time I navigate to another page.
PLEASE HELP!!

Please email me if you have any questions.

HELP: Movie Preloaders?
Please anyone!!!

I have a flash file that contains a home page and 8 sections. Each section has 2 or 3 MC's in them. What I need to do is, upon entering frame 1, load an number of smaller MC's in each section to get some animation up and running as soon as you enter each section, and then when the user enters a section I can then load the larger MC's. Its a guess that ill have to use a preloader script that relates to the movie clip targets. Does any one know of the script or a way around this problem?????

Yours in need, P

Preloaders Within A Movie
Hi, this might be a very simple one!

I just can't work it out. I am trying to open a movie within another movie, but can't seem to get the preloader in the second movie working.

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 2", 350) {
gotoAndPlay("Scene 2", 1);
}

I have used the code above for both movies. This all works fine on the first movie.

When i select a button from the navigation area to open a new movie on the right handside preloading bar don't seem to move.

any suggestions are welcome.

Link: http://www.watermelon.uk.com/flash/flash3.9.html

Only the trends and ranges buttons work.

Hw To Add Preloaders For Different MC In A Movie
hi frndz,
i am new to this field,plz anybody can tell me how can i add preloaders in a movie having more than 4 MC of different links in a same movie,

thnaks in adv,

anilp.

How Can I Make A Flash Movie Link To A Html Website's Frame? Please Read 4 More Info.
Hi there,

Thanks for taking the time to help me . My question in detail is, How can I make a link inside a flash movie correspond with a frame (prefferably the center frame) of an html website with frames ( here is an example http://www.jemcreations.com/screen.jpg )


that screen should show you what i mean. please help me
[Edited by jemcreations on 09-19-2002 at 05:00 PM]

Preloaders And Movie Clips
Greetings everyone!

I have a couple questions about preloaders and movie clips.

My .swf consists of 2 scenes. The first scene is a preloader which contains a lot of 'If frame loaded' actions that point to scene 2. In scene 2 I have a 310 frame animation. In frame 170 of scene 2 I have about 4 layers that each contain a movie clip. The movie clips don't start (they each begin with a stop action) until called for by button elements in scene 2. My first question is this:
When frame 170 is loaded are all of the frames in the movie clips loaded as well? Some of the clips have 50-75 frames of animation in them. My other question is can I set up an individual preloader for each movie clip? Appreciate any advice or help on this matter...

Ixel

Preloaders Within Main Movie?
Ok Im fairly new to flash and Im sure this has been ask a million times, I searched but couldn't find anything.

How do I preload something inside of my main movie, I have a site with a large picture gallery and I want to load them seperatly so the main movie isnt so big. I also want preloader bars when the pictures load.

are there any tutorials on this?

Anthony C

Load Movie & Preloaders
I am using the Load Movie function and it always works fine, unless I am also using a preloader also. It just says "This movie uses features that are not supported in Flash Player version 4" It also says to "set variable action". The preloader works by itself, the "load movie" thing works by itself, but together I get that message. So I'm confused. Any help would be great.

Preloaders - Do You Preload The Whole Movie?
When i didn't have a preloader, my flash site was really slow for dial ups...

but now i find that loading can take up to a minute if i preload the whole intro or each link...

is it better to only load 3 quarters or something and then let it start playing?

or is there now way around this for dial ups?

Copyright © 2005-08 www.BigResource.com, All rights reserved