# AI v3 Problems

**URL:** <https://forum.kirupa.com/t/ai-v3-problems/25446>\
**Category:** flash\
**Created:** [July 12, 2003, 9:44pm UTC](https://forum.kirupa.com/t/ai-v3-problems/25446 "2003-07-12T21:44:16Z")\
**Posts on this page:** 10\
**Page:** 2

<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:** [July 20, 2003, 2:38pm UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/21 "2003-07-20T14:38:47Z")

</div>

Alrit, problem. I remember having this before sometime but don’t remember how to solve it anymore. When my IE loads the html page with the swf, it loads the file as a whole and then starts playing the preload after IE loads the entire movie. How can I solve that? Is it the preloader problem?

=)

---

<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:** [July 22, 2003, 1:36am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/22 "2003-07-22T01:36:35Z")

</div>

> \*Originally posted by kode \*  
> \*\*See the code in the Frame Actions of the layer called **Init**. 😉 \*\*

Ick, can’t find it.  
[AS]/\*\*\*Author: Ilyas USAL (pom)  
Title: The Matrix has you…  
Date: 06/06/2003  
\*\*\*/

// To make it run smoother  
\_quality = “HIGH”;

/\*\*\* Functions \*\*\*/  
// fade out and stop when \_alpha inferior to 35 - no parameters  
function fadeOut(){  
this.\_alpha -= 5;  
if (this.\_alpha \< 45) delete this.onEnterFrame;  
}  
// fade out and remove clip when \_alpha inferior to 10 - no parameters  
function fadeToBlack(){  
this.\_alpha -= 5;  
if (this.\_alpha \< 10){  
delete this.onEnterFrame;  
this.removeMovieClip();  
}  
}  
// Create a new clip with a letter in it  
// x: \_x position ; y: \_y position ; size: size of the letter  
MovieClip.prototype.createLetter = function (x,y,size){  
// Create and position the new clip  
var mc = this.createEmptyMovieClip(“letter”+this.dep,this.dep++);  
mc.\_x = x;  
mc.\_y = y;  
// Create a new TextField in the clip  
mc.createTextField(“t”,0,0,0,size,size);  
// Choose a random letter  
var myChar = Math.round(Math.random()\*87)+36;  
mc.t.text = chr(myChar);  
// Create the TextFormat, format the text and embed the font  
var tf = new TextFormat();  
tf.size = size;  
tf.font = “Courier New”;  
tf.selectable = false;  
tf.color = “0x85ABC2”;  
mc.t.setTextFormat(tf);  
mc.t.embedFonts = true;  
// Fade the letter until its \_alpha = 35  
mc.onEnterFrame = fadeOut;  
}  
// Create a trail of letters  
function createTrail(){  
// Create new clip and position it randomly  
var clip = this.createEmptyMovieClip(“trail”+i,i++);  
clip.\_x = Math.round(random(Stage.width)/10)\*10;  
clip.\_y = clip.y = -10;  
// Choose a random size for the letters, and set the spacing  
var size = random(10)+15;  
clip.spacing = size + 2;  
// onEnterFrame, create a new letter that will wade out.  
// if we’re at the bottom of the screen, fade out the whole trail  
clip.onEnterFrame = function(){  
this.y += this.spacing;  
this.createLetter(0,this.y,size);  
if (this.y \> Stage.height) this.onEnterFrame = fadeToBlack;  
}  
}  
// Create a new trail every 100 milliseconds  
setInterval(this,“createTrail”,100);  
[/AS]

:pirate:

---

<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:** [July 22, 2003, 1:42am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/23 "2003-07-22T01:42:36Z")

</div>

[AS]// Create a new trail every 100 milliseconds  
setInterval(this, “createTrail”, 100/\* increment this value \*/ );[/AS]

---

<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:** [July 22, 2003, 1:47am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/24 "2003-07-22T01:47:38Z")

</div>

So by changing 100 to lower numbers, I can lower the processor intesity?

=)

---

<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:** [July 22, 2003, 1:51am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/25 "2003-07-22T01:51:43Z")

</div>

By changing 100 to **higher** numbers. 😉

---

<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:** [July 22, 2003, 1:54am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/26 "2003-07-22T01:54:08Z")

</div>

O, I see. What about this question:

I remember having this before sometime but don’t remember how to solve it anymore. When my IE loads the html page with the swf, it loads the file as a whole and then starts playing the preload after IE loads the entire movie. How can I solve that? Is it the preloader problem?

=)

---

<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:** [July 22, 2003, 1:57am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/27 "2003-07-22T01:57:21Z")

</div>

Do you have any components or symbols exported in the first frame?

---

<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:** [July 22, 2003, 2:00am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/28 "2003-07-22T02:00:10Z")

</div>

Hmmmm, I’ll just post the fla up.

[http://www.asianillusion.com/Preloader.fla](http://www.asianillusion.com/Preloader.fla)

=)

---

<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:** [July 22, 2003, 2:38am UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/29 "2003-07-22T02:38:10Z")

</div>

It seems to be working fine… 😛

If this is about the preloader in the matrix effect movie at your site, I think it’s because there’s no actual content to load, it’s all code.

---

<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:** [July 22, 2003, 1:31pm UTC](https://forum.kirupa.com/t/ai-v3-problems/25446/30 "2003-07-22T13:31:21Z")

</div>

So once I get some graphics inside it, the preload should load correctly? But I don’t really think thats the problem though. In my matrix movie currently, there is actual graphics in later scenes, but just not shown yet because still in beta stage.

=)

[Previous page](https://forum.kirupa.com/t/ai-v3-problems/25446.md?page=1)
