Flash Mx detection from Kirupa.com

Can anyone tell me whether the Flash detection script found at :

http://www.kirupa.com/developer/mx/detection.asp

will be fine to use for a Flash movie created using Flash MX?

would it return anyone having a version lower than mx to the noflash page?

Thanks for the help!
:slight_smile:

Did you read the page?

While 90% of people do use have the Flash plug-in installed, not everyone has the <B>Flash 6 Player</B> or even the Flash 5 Player installed on their computers.

Not to mention in the URL it says mx :-\

I know it’s fine for Flash MX - that wasn’t what I was trying to get at…what i want to know is if the user has Flash 5 or below will they be sent to the noflash page or will it still accept flash 5…
I’m new to all this so please excuse my ignorance. thnx

Oh sorry, I misunderstood. Also, I reread my last post and I must say… please forgive my ignorance, it kind of came out wrong.

No, this script will not allow Flash 5 users to be directed to your Flash Page. It only checks for Flash 6 and redirects that.

i was wondering…is there any way you might be able to help me with a tricky preloader in mx…haven’t had much luck so far on the forum…really desparado to crack this!

how tricky of a preloader? What do you want it to do?

I have been trying to figure out some tricky stuff involving preloaders in Flash MX and after have had little response so far…here goes…

1)I have my main movie

2)I have external swf files

3)When I click on a button which is inside a loaded swf in the main movie - it calls another external swf (slide.swf) file to be loaded into the main movie.

4)This file slide.swf plays an animation and then will call for the main movie to go to a particular frame in the main movie…so far this all works great…

5)Now for the tricky part - before slide.swf calls the frame in the main movie - I need it to preload a few things:

*3 external .swf files
*a MC on the main movie
*specific frames on the main movie (or would this include the MC?)

I have found a huge amount of scripts that deal with preloading but I’m no hardened scripter and they all make no sense to me at all. Also I’ve noticed a lot of people talking about loading external files into movieclips - but firstly I don’t want my .swf files to show up while they are preloading and I don’t understand why there isn’t an easier way to preload in flash mx…why do i have to use empty movieclips is there no easier way?

Sorry for the longwinded explanation! I would really appreciate any advice you could give me…

Thanks

  1. You can’t preload external content until you load it. I usually put a preloader on the .swf file I am loading. The point of loading files external is to not load what is not going to be used. Loading everything at once defeats that purpose.

  2. You can’t preload a specific MC or frames in a movie that I know of at least.

so then would it be a good solution to use a preloader in the beginning of every swf I load?

What is the best way to do that - totalBytes? - would that include all MC and frames in that swf?

thanks :slight_smile:

yeah _getTotalBytes() I believe it is would be the best method.

It loads everything in your movie, and actually, now that ifFramesLoaded has been deprecated, I believe _getTotalBytes is the only method of preloading.

Thanks for that - everything is working really well now :stuck_out_tongue:

I ended up putting the preloader inside the swf I was loading which is preloading successfully, but one thing i don’t get…

when i test movie and view the bandwidth profiler and show streaming i see that before frame 1 even starts with the preloader the movie sits at frame 0 and buffers about 50/60 K before going to frame 1 and this happens on all my movies.

Do you have any ideas as to why that would happen? As a result before the preloader even shows the bytes loading i have a white screen (movie background colour) and then goes to frame 1…

thanks for all the help :slight_smile:

Is anything in your library set to Export to frame 1?

If you right click on something in the library and choose “Linkage”, then select “Export for Actionscript” it chooses to export to frame 1.

This would be the only thing I can think of right now :-\