# Flash Mx detection from Kirupa.com

**URL:** <https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876>\
**Category:** flash\
**Created:** [November 9, 2002, 4:03pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876 "2002-11-09T16:03:06Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![noono](https://avatars.discourse-cdn.com/v4/letter/n/6bbea6/32.png) [@noono](https://forum.kirupa.com/u/noono)\
**Post date:** [November 9, 2002, 4:03pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/1 "2002-11-09T16:03:06Z")

</div>

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

[http://www.kirupa.com/developer/mx/detection.asp](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!  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2002, 6:07pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/2 "2002-11-09T18:07:57Z")

</div>

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 :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2002, 6:39pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/3 "2002-11-09T18:39:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 9, 2002, 9:10pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/4 "2002-11-09T21:10:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:01pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/5 "2002-11-10T20:01:21Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:03pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/6 "2002-11-10T20:03:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:11pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/7 "2002-11-10T20:11:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:14pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/8 "2002-11-10T20:14:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:20pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/9 "2002-11-10T20:20:49Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 10, 2002, 8:21pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/10 "2002-11-10T20:21:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2002, 9:28am UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/11 "2002-11-15T09:28:04Z")

</div>

Thanks for that - everything is working really well now 😛

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2002, 5:56pm UTC](https://forum.kirupa.com/t/flash-mx-detection-from-kirupa-com/7876/12 "2002-11-15T17:56:02Z")

</div>

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 :-\
