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




Load Times W/ Exported MCs



flash 5.0

i have a thumbnail<>fullsize picture movie, and would like the thumbs to be loaded before the fullsize pics (so the user doesn't have to wait). however, all the fullsize pics are in MCs set to Export, so it loads the lot of them in the first frame, before it starts the movie. how can i make them wait or change the load order?

..russ..



FlashKit > Flash Help > Flash ActionScript
Posted on: 10-11-2002, 02:38 PM


View Complete Forum Thread with Replies

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

Why My .swf Can't Load On Site(exported From Cs3)
i exported a swf from flash cs3, then inport it into dreamweaver cs3, then upload it to ftp, it just go blank when i visit the site, why??

Load Swf Into Film Exported As .exe
hi folks,

i tried to export a container as exe-file and then load several swfs into it as i thought that once there is a player there should be a possibility to load the films into it but i experienced that that wasn't possible.



is there a way to do something like that for users without flashplayer?

thanks in advance

regards

Firegambler

Load Times
Try this url:

http://ed.gamegeared.com/portfolio/page2.html

Could you tell me what connection you are on, how long it takes to load (didn't notice, wee while ect..) and also if the percent bar moves.

Help...load Times Too High
OK, need serious help here...

A client of ours has some Flash demos on their website my company is building.

Click Here and notice how quickly it loads. This is 3.5 MB and was provided to us by the company.

Now,

Click here and see how long it takes for THIS one to load. This one is only 2.5 MB and our company built it out of screenshots and WAV recordings given to us on a CD.

I was told that it takes too long to load so I put up a preloader for some visual feedback.

Still takes too long, I am told, and this filesize is a whole meg smaller than the quickly-loading one!

I've already got audio set to Streaming, Speech 11 KHz, and the picture quality is set at 30 in the publish settings.

How can I get these filesizes down so they stop complaining?

Load A .jpg Multiple Times
Heylo!

I'm currently working on a webshop in flash and i ran into the following problem.

I want to display all the product with their images on a page. On the same page i want a small list with 'popular purchases'. Generating the products is no problem. When i want to generate the popular purchases list, the pictures wont show. I think its got something to do with the fact that flash already loaded the pictures for the product list. Anyone got an idea to fix this? Thanks!

Differnt Load Times
I am wondering if there is anyone that knows of a way to program a page to load differently depending on the time of day. Basically I need one movie for the daytime and a different movie for the night. This will hopefully be done in flash with the same or two movies.


Thanks for any idea’s.

FLV Looong Load Times
hi there,

i'm working with about 10 different small clips 0:43 to 4:00 in length that i convert with Flash Encoder 8 from FCP. i upload them to my client's site and go to view them, but all i get is a white box while they load up, and that takes a few minutes. how can i get my small FLV files to play immediatly? i've converted them to Quicktime MP4's and they stream pretty much immediatly. here's the page that they're on - www.alexnussbaum.com/clips.php

thanks in advance
Craig

User-Indicated Load Times
I'm trying to develop a Flash music player for my website, but I don't want all the songs to load at once. I only want them to load if the user clicks on it. An example of this is a site that offers these, http://www.radioblogclub.com.

Anyhoo, I don't want to use a Radio Blog because I'd like mine completely customized to my specifications.

On to the actual queston: How do I make it so that a song in the music player will load only if a user wants it to load and clicks on it?

I think the starting code would be something like...

on(release){

:

Any help?

By the way, I'm using MX 2004, if it affects anything.

User-Indicated Load Times
I'm trying to develop a Flash music player for my website, but I don't want all the songs to load at once. I only want them to load if the user clicks on it. An example of this is a site that offers these, http://www.radioblogclub.com.

Anyhoo, I don't want to use a Radio Blog because I'd like mine completely customized to my specifications.

On to the actual queston: How do I make it so that a song in the music player will load only if a user wants it to load and clicks on it?

I think the starting code would be something like...

on(release){

:

Any help?

By the way, I'm using MX 2004, if it affects anything.

Load Times Under 100mbps
Hey out there;

Situation: Today at work i tried to download one of my movies on their high speed connect - showing 100mbps. Size movie i was trying to download - 2.49 mb. After 2 minutes I stopped trying. Countdown indicated about another minute to go, but already, 2 minues was toooooo long.

I'm stuck on dial-up, very little broadband experiance.

So my question: when something says the connection is 100mbps and i'm trying to download 2.49mb, is that download time of over 2 minutes... normal?

If it isn't, any idea what might be happening?

Hoss

Load External Images Once, Use Many Times
Hey all,

What I have is a simple logo scroller (kinda like a banner rotator), it rotates through 5 external images using the loadMovie function. The problem is: this movie sits on our intranet home page and many users will leave that page up all day. Well, everytime the movie calls the next jpeg = more traffic, like almost an extra 10 gigs of traffic last month (just for that little bitty flash movie).

How do I, can I, load these images once and use them without making additional loadMovie calls? I have a XML file that has the logo src and link to info. I'd like to keep the movie dynamic so our admin can update the scroller by updating the XML file.

Hopefully this is an easy one

Thanks in advance.


Action Script:
slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load("logo_scroller.xml");
slides_xml.ignoreWhite = true;

//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);

}
}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
// Fades in the new image
targetClip._alpha = 0;
fader = setInterval(fade,100)
function fade(){
targetClip._alpha += 10;
if(targetClip._alpha >=100)
clearInterval(fader);
}
// Sets values for movie vars
imagePath = newSlideNode.attributes.jpegURL;
URLTarget = newSlideNode.attributes.URLTarget;
slideText = newSlideNode.firstChild.nodeValue;
targetClip.loadMovie(imagePath);
}
//
obj = new Object();
obj.interval = function(){
//this is where you will advance your movie to the correct node


nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
} else {

currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
}


// set the time interval between images
setInterval(obj,"interval",5000); //5 seconds
time = new Object();
function (time){
getTimer();
if (time >=10000){
delete (obj);
}
clearInterval (interval);
}

Long Load Times I'm A Noob
Hi All!!!

Yes, I am a newbie to Flash. I just installed MX pro and did my first application. It seemed very simple. It was an image with "fade in" transistion, and 2 sound files. It's 15 frames, very short.
I also use FrontPage 2003 and it tells me that the load time would be 4 minutes with a 56K modem. I can't even preview it in FrontPage and I'm on a cable modem.
Am I missing something here? Why such a long load time for such a simple application?
Help? Please?

Thanks!
J

Use Movie Six Times But Load It Just One Time
Hello

I want to use one Movie in one scene six times as ab background in six other movies. Every of this six movies has its own instancename. The movie, which i want to use as the background should be loaded from an external place. As an swf. If i load the swf into the six movies it takes a long time because the swf is loaded six times. How can i avoid this. I mean how can i load the swf just one time an then use it in six diffrent movies.

Thanks
Asta

Streaming Sounds And Load Times
Hey, i am designing a site for a kids cartoon and there is a place on the site where they can listen to some of the theme songs and whatnot through a jukebox. I have it set up now so i just imported the mp3 files into the flash project and dragged them into the movieclip where they need to be. This seems to make the file significantly larger and the load time a lot higher....is there a way to stream sound through? so they don't have to be saved into the project? just have the project call an xml file that will point to the different sound files?


or is there any better way to do it? thanks guys

How To Smart-load Same File Multiple Times?
i'm making a game where it loads the same image into 16 different game tiles. this image needs to be dynamic becuse it changes throughout the game and from day to day.

the problem is the image is actually being loaded 16 times rather than loading once and using the cache for the rest. i tried having one piece load first then loading the other 15 later, but the same problem occurs.

each of the game tiles has a different mask in it, so i can't simply duplicate the game tile movie clip 15 times.

is there a way i can just load the image once then tell all the game tiles to use this image?

any insights greatly appreciated.

Script To Load Movie At Specific Times
I've got a simple flash-based .exe that I'd like to load and play a move between a certain time of day. For example, the loaded movie should play everyday between noon-1pm and 2am-3am. The movie should then unload and go back to the original movie at the end of each time period. How and the world do I write the script for this?

Play Movieclip At Random Times On Load.
Is there an actionscript to play a movieclip at random times? This is when it reached the end frame of the timeline. Thanks in advance.

Dre.

Play Movieclip At Random Times On Load.
Is there an actionscript to play a movieclip at random times? This is when it reached the end frame of the timeline. Thanks in advance.

Dre.

Need To Display Large Images With Small Load Times -- Please Help
I am trying to create some flash movies to display photography work and would like to display large images with little or no down times. See the following site.

www.margecasey.com

I already have a preloader placed at the front of each movie of 5 to 10 images. Is it possible to have hidden preloaders running as each images is displayed? What did they do to make things run so smoothly? How large should a movie be to upload smoothly for some one on a cable or T1. Please help. Thanks

Need To Display Large Images With Small Load Times -- Please Help
I am trying to create some flash movies to display photography work and would like to display large images with little or no download times. See the following site. I consider it to be perfect:

www.margecasey.com

I already have a preloader placed at the front of each movie of 5 to 10 images. Is it possible to have hidden preloaders running as each images is displayed? What did they do to make things run so smoothly? How large should a movie be to upload smoothly for someone on a cable or T1. Please help. Thanks

PNGs - Does It Help Reduce File Size/load Times?
Hello,

Does taking several hundred assets & converting to one large PNG (then splice in Fireworks) help when used on a page for internet as far as making it easier to download or making it more stable instead of several hundred assets to download in Flash?

I did try it and the load time file size appears the same, visually it looks the same but now I hardly have any assets to load. Is there a benefit to doing it this way? And are there any special settings to use when using PNGs for the internet. Can old/new computers see them the same way?

thks.

AS 2 Xml Slideshow Lost Its File Paths While Being Repeatedly Load/unload Several Times
Kirupa's xml-flash slideshow works fine when it is being implemented on its own timeline.

I made a sample project and externally loaded this slideshow by calling it thru loadMovie(). In the file that I've provided, you will see that once you've clicked the loadMovie button the slideshow is being loaded on the left side of the stage with no error.

The problems arises when you unloads and loads the movie repeatedly. The slideshow's transition effects jumps too fast from one image to another, as if the image sequencing is gone. And if you test and try to click the buttons for more load and unload operations you will end up seeing the "Error opening url - file://undefined" - as if the movie cannot keep up with the phasing of button's events!

Here's the codes:

In XML:


Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>pic1.jpg</image>
<caption>Picture 1</caption>
</pic>
<pic>
<image>pic2.jpg</image>
<caption>Picture 2</caption>
</pic>
<pic>
<image>pic3.jpg</image>
<caption>Picture 3</caption>
</pic>
<pic>
<image>pic4.jpg</image>
<caption>Picture 4</caption>
</pic>
</images>


Inside .FLA:

Main Movie:


Code:
bigRed_btn._visible = false;
txtMovieNotLoaded._visible = false;

//Load Movie
bigBlue_btn.onRelease = function () {
loadMovie("slideshow.swf", slideshowHolder_mc);
bigBlue_btn._visible = false;
bigRed_btn._visible = true;
txtMovieNotLoaded._visible = false;

}


//Unload Movie
bigRed_btn.onRelease = function () {
unloadMovie(slideshowHolder_mc);
bigRed_btn._visible = false;
bigBlue_btn._visible = true;
txtMovieNotLoaded._visible = true;
}


In "Slideshow.swf":





Code:
var delay:Number = 3000;
//-----------------------
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}

xmlData.load("images.xml");

// ///////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_mc.onRelease = function() {
prevImage();
};
next_mc.onRelease = function() {
nextImage();
};
// ///////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preloadBar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
var myInterval;
function nextImage() {
p++;
p %= image.length;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
clearInterval(myInterval);
if (playing) {
slideshow();
}
}
}
function prevImage() {
clearInterval(myInterval);
if (playing) {
slideshow();
}
if (p>0) {
p--;
} else {
p = image.length-1;
}
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
clearInterval(myInterval);
if (playing) {
slideshow();
}
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+"/"+total;
}
function slideshow() {
myInterval = setInterval(pause_slideshow, delay);
function pause_slideshow() {
clearInterval(myInterval);
nextImage();
}
}
stop.tt.text = "STOP";
play.tt.text="PLAY"
playing = true
play.onPress = function(){
playing = true
nextImage()


}
play.onRelease =play.onReleaseOutside= function(){
this.gotoAndStop("_disabled")
this.enabled = false
}
stop.onPress = function(){
playing = false
play.enabled = true
clearInterval(myInterval)
}


But it is better if you look for the attachment files -->

Syntax For A Movie Clip To Load Seveal Times At Random Sizes
This is what i have so far...

Code:

mycount = 0;

function createFlyingMC() {
   if (mycount<500000) {
      _root.redheart.duplicateMovieClip("redheart"+mycount,
                _root.getNextHighestDepth());
      randomX = 200*Math.random();
      randomY = 200*Math.random();
      
// These 2 lines ... I don't know how to say the proper syntax
      x_scale = 200*Math.random();
      y_scale = 200*Math.random();
         
      eval("redheart"+mycount)._x = randomX;
      eval("redheart"+mycount)._y = randomY;
      
      mycount++;
   } else {
      clearInterval(ID);
      for(var i = 0;i<500000;i++){
         removeMovieClip(eval("redheart"+i));
         }
   }
}

ID = setInterval(createFlyingMC, 20);


thanks for the help.. this is frustrating!
ZG[/code]

How To Loop A Flash Piece 3 Times And Stop After 3 Times?
HI,

I am in need of some help.

I have a flash piece that I want to loop 3 times and then stop.

HOw do i do that?

How To Loop A Flash Piece 3 Times And Stop After 3 Times?
HI,

I am in need of some help.

I have a flash piece that I want to loop 3 times and then stop.

HOw do i do that?

Openning A Site 3 Times And 3 Times The First Image Is Different
hi))

i´ll try to put this simple..i have 3 pictures and i want to access my website in a way that every time i type the adress one pic of a time appears..

example: type adress - enter = pic 01 appears ...close
type adress again - enter = pic 02 appears ...close
type adress again - enter = pic 03 appears ...
and then of course loop to pic 1


appreciated if anyone could help(/and send example)

Buffer Times Times
ive been using the streaming feature in flash 8, it works great but is there a way to adjust the buffer time? my video has been playing really choppy ... or so ive been told.

[F8] .fla Exported To .mov
Hello, anyone who can help, I'm eternally gratefull.

I have a 5 minute flash presentation developed such that it's all inside one mc on the main timeline. I need to export this as a quicktime movie so I can bring it into final cut and make a DVD. When I export it, the mc's do not translate and I get a qt movie that last 2/tenths of a second. what am I missing?

Swf Being Exported Is Different From What's In Fla
Last edited by dtra : 2003-12-03 at 15:05.
























hi all
this is the most annoying problem
i am doing a presentation for a project
but what i do in flash 6 always exports something different for the swf
the problem is wth the mcManagers movie clip (i think that's what it is called)
you'll see, it's the part under "works and governance" called "infrastructure design"
when they start to move down, it changes to the "Governance" pic
i can't work out why it does this, it doesn't do this in the actual mc when
i play it in the flash ide
but when i export it, to swf or exe or wat eva
it changes the pic, it is so frustrating
the swf can be seen at http://dtra.sonnexh.com/presentation.swf
the fla can be found at http://dtra.sonnexh.com/presentation.fla

can someone please check the fla file or something
and help me out here, cos i need this done in the next day or so

thanks
dave

Preloader Cannot See Exported MC?..
Hi guys,

It looks like any preloader cannot detect MC which got export linkage.
As I have big size MC, preloader starts to show downloading bar in progress only after exported MC downloaded same problem with exported music loop.

Can anybody give me some advice on that.


Thanks,


Trump

After Effects ? Exported To A .swf?
I heard from a guy at a bar, that you could
export .swf movies right from Adobe after effects?
is this true?

and if it is, does anyone know of any examples?

Exported Swf Problem
I have a main swf file, and one I wanted loaded. I tested the one I want loaded by itself and it works fine. In my main movie I call the other one from the library. By using the following code in a button:
Code:
on (release) {
this.attachMovie("music", "techno", 1);
techno._x = 227.0;
techno._y = 366.0;
}
The movie shows where I want it to, but it seems to just keep looping the preloader in the first Scene. But when testing by itself it goes to the Second scene after the preloader is done. Does anyone know why this is happening?

Oh yeah, my second Scene, is a looping sound file.

Exported Movies
This is anooying me now, when i export movies any effects i have used such as alpha tweenin dont work, they work whenim making the movie but the exported movie doesnt show them, i fad eout text using alpha tween the exported movie just shows the text popping up, also the fonts i use all turn to the same 1 no the ones i actually chose

Exported Videos
how do I make exported videos come out less pixelated?

What Else Is Exported In First Frame?
Hello all.

I am currently working to streamline an swf. I am exporting all components, classes, clips for attaching and sound files between the preloader and first use, which has knocked the first frame weight from 600K down to 300K. I can not figure out what the other 300K is from.

Anybody know what other items may be getting exported on the first frame? Font outlines?

Thanks,

DanD

Positioning Mc Exported As Swf
hi, I have a movie clip that I exported as a swf that was then imported onto the stage with loadMovie(weatherg_mc.swf).
That works fine, only it positions towwards teh top left of the screen when published. Is there a way I can position the x and y of this? I've tried using _this._y=600 on the movie cllip itself and that hasnt worked, and I'm not sure how to target the position of the weatherg_mc.swf from the main timeline. Any ideas out there?

thanks in advance

Mp4 File Exported As Flv In Cs3
hi there,

i'm wondering...i usually have no problem importing .mov or .mpg files and exporting them in flash but for some strange reason, flash is not reading the mp4 files i have as "video" files. (even though i can watch them in quicktime.) however, i was able to import them anyway and export them as .flv files as normal. i thought everything was fine but then the video just sort of stops about three quarters of the way through and the sound drops out. (this doesn't happen in the original mp4 files. anyone run into this problem before or is it just me? any suggestions? your input is much appreciated!

oh, here's an example of what happens, when you click on one of the commercial links in the "what's playing" section that appears.

thanks in advance,
denise

Problem When Exported
the problem is that when i test the flash inside macromedia flash it works fine but when i export the flash it doesnt want to show the data ,what can i do to fix that problem. here are some screenshot 1 test mode and one exported and the script used to show the data.i attached the fla. file for anyone that whants to see it or use it.


Code:
function loadXML(loaded)
{
if (loaded)
{
_root.wins = this.firstChild.childNodes[1].childNodes[0].childNodes[2].firstChild.nodeValue;
_root.losses = this.firstChild.childNodes[1].childNodes[0].childNodes[3].firstChild.nodeValue;
_root.forfeits = this.firstChild.childNodes[1].childNodes[0].childNodes[4].firstChild.nodeValue;
_root.rank = this.firstChild.childNodes[1].childNodes[0].childNodes[1].firstChild.nodeValue;
wins_txt.text = _root.wins;
losses_txt.text = _root.losses;
forfeits_txt.text = _root.forfeits;
rank_txt.text = _root.rank;
}
else
{
trace ("file not loaded!");
} // end else if
} // End of the function
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.teamwarfare.com/xml/viewt...cal+Operations");

Fonts After They Are Exported...
Last edited by Yura : 2004-04-18 at 23:38.
























First off i must say this is an excellent resource you have here! Two thumbs up!

Now onto my question...
After i export my flash movie some fonts become blurry. Whats up with that? Anyone know why its doing that?

http://www.eride.empirerising.com/fonts.jpg

9 views and no response? I'm sure u can do better then that...

Exported SWF Different From Preview Of FLA
So I'm currently working with:
-Flash CS3 Professional
-papervision3d 2.0
-actionscript 3

The problem:
I recently switched from pv3d 1.5 to 2.0 and the first think I noticed about my project was that I was previously using stage.stageHeight and state.stageWidth as my x and y coordinates for my Viewport. When I previewed the file the objects I was putting onto the stage dynamically were in the wrong place. Where previously they had been in the stage center by dividing the stage coordinates by 2, now they appear at the bottom right hand of the movie.

I could not come up with an immediate solution so I just hardcoded the values of the center stage in and then modified the values till it looked right....

Then when I exported the SWF... via File > Export > Export Movie..., again the positioning of the dynamically imported images has changed again and now it appears in the upper left side of the screen.

Is there something about positioning and exporting in papervision3d 2.0/flash cs3 that I am missing?

Code Snipets:
Sorry if the code is a little hard to follow, I've only been working with this stuff for about 2 weeks and only when I am not doing something else at work.

Here is where I create the Viewport3D and set the Camera3D:
Code:

var container:Viewport3D = new Viewport3D(0, 0, true, true);
var yAngle:Number = -200;
container.x = -140;
container.y = -250;
container.buttonMode = true;
addChild(container);

var renderer:BasicRenderEngine = new BasicRenderEngine();
var scene:Scene3D = new Scene3D();
var camera:Camera3D = new Camera3D();
camera.zoom = 2;
camera.focus = 100;

Here Is my function for parsing and adding in the images:
Code:

function parseXML(xmlInput:XML):void {
   var attributes:XMLList = xmlInput.icon.image;
   var attributes2:XMLList = xmlInput.icon.name;
   var attributes3:XMLList = xmlInput.icon.link;
   xmlNames = attributes2;
   xmlLinks = attributes3;
   for each (var s:XML in attributes) {
      dest++;
   }
   MAX = dest;
   dest = 0;
   anglePer = (Math.PI*2) / MAX;
   angleX = anglePer;
   for (var i:int=0; i< MAX; i++) {

      var imageAttribute:XML = attributes[i];
      var nameAttribute:XML = attributes2[i];
      var linkAttribute:XML = attributes3[i];

      var bam:BitmapFileMaterial = new BitmapFileMaterial(imageAttribute);
      bam.interactive = true;
      bam.addEventListener(MouseEvent.CLICK, onClick);
      bam.oneSide = false;
      bam.smooth = true;
      var plane:Plane = new Plane(bam, 162, 230, 2, 2);
      nameDisplay.text = nameAttribute;
      plane.x = Math.cos(i*anglePer) * radius;
      plane.y = yAngle;
      plane.z = Math.sin(i*anglePer) * radius;
      plane.rotationY = (-i*anglePer) * (180/Math.PI) + 270;
      plane.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, onClick);
      scene.addChild(plane);
      dest++;
   }
   moveRightOnce();
}

And then render:
Code:

function render(e:Event) {
   camera.x = Math.cos(angleX)*size;
   camera.z = Math.sin(angleX)*size;
   renderer.renderScene(scene, camera, container);
}

Thanks for reading!

Script Works Exported On PC Not On MAC
This swf I am exporting on my mac will only have a functioning script when i export in flash 4 format.
but
When i export on my pc in flash 5 format the script works fine.
has any on had this happen?

Script Will Only Execute When Exported As V5
__________________________
baseSpeed = 2;
if (_root.seekTarget<>0) {
deltaY = _root.levelScroll._y-_root.seekTarget;
if (deltaY>-3 and deltaY<3) {
_root.levelScroll._y = _root.seekTarget;
} else {
_root.levelScroll._y -= (baseSpeed+deltaY)/baseSpeed;
}
}
__________________________

This code is within the first frame of the Movie Clip.

'seekTarget' value is given at the '_root' of the movie on seperate mouse actions.

The MC will only change it's '_y' position when exported as Flash 5 even though I am not using any Flash 5 functions or been given any errors.

This movie must be produced as a Flash 4 movie.

Can anyone help

Buttons Not Working When Exported
Hello,

I have a group of six buttons which are grouped together into its own symbol.
I have set the mouse over to go to different scenes and locations in my animation.
When I test it in the authoring mode they all link to the correct locations of the animation.
THE PROBLEM
When I export it and view the SWF file the buttons all link to Scene 1 Frame 1.
examplecode for buttons:

on (release) {
gotoAndPlay ("Scene 1", 1190);
}


Why wont these work?

I am using Flash 5


[Edited by sonofskywalker on 11-15-2001 at 03:33 PM]

Graphic Won't Play When Exported.
In my scene, I have a graphic. The entire scene plays just as it should when I'm editing it, but when I preview or export it, one specific graphic in one layer of the scene won't show up at all.


What could the problem be?

Exported .swf Is Larger Than Usual
Hello, I exported a sample .swi file to .swf and opened it on Netscape browser. The .swf looked much larger than the original size.

For example, if i exported Ray of Light sample file
,the word "SWISH" is at least larger than its original size by 50%.

Is there anything I can do with the export property to fix this problem ?

Thanks,

Swf-file Deformed When Exported
Hi, I'm a complete newbie to Flash and I'm using Flash MX.
When im exporting my movie to a swf-file in MX it gets
slightly deformed. Instead of explaing how the movie looks
like, whitch can become quite tedious, I've put it om my
server for you to look at:

http://loranga.mine.nu/flash/index.php

I'm wondering howcome this is happening, maby im using the
wrong settings? Anyway it annoys the hell out of me
because I'm a perfectionist ;o)

Thanks! /Fredrik, Sweden

Help With Getting An Exported .SWT File To WORK
I have been trying to get a custom graphic imported and making it a button. I have had no problem getting it in, doing the up, over and down as well as hit frames as described in the tutorials. It works when brought into the scene and button proerties are enabled. HOWEVER, when I get it exported to Dreamweaver 4 as a .swt file, in the correct folder, it does not go to the linked page when testing in the browser. (After added to page1.html, linked to page2.html, nothing happens.) According to the tutorials I have seen, You do not need to worry about the hit frame while creating; it will be the same as the up frame. Any ideas, or a step by step 'idiot level' walk through on making functioning .SWT files? This is for an intranet site at my job that will be presented in 1.5 weeks... I DO know how to do the old mouseover stuff, so if all else fails,...

Please email directly as well as here. lvninjas@earthlink.net

Loading Exported Sounds
I like to do my sounds with Scripting (rather than just throwing them in the timeline).

Does anyone know how to make a sound that has been exported for actionscript, load with the rest of the movie? I tryed unclicking the "load on first frame" button, but then i doesn't load at all.

Thanks for the help in advance

Problem With Exported EXE File
Hi,

I have a problem with my Flash Multimedia Program which I run from a CD. The program is a Flash project exported into executive file. I run the exe file from the CD and I load swf files into the exe flash file.

The program works fine in three of my CD-ROM Drives but I have tried to run it on my DVD drive and I get this error:

”myprogram.exe has generated errors and will be closed by windows. You will need to restart your program. An error log is being created.”

This happends when I have started the Flash program and the program has loaded few of the swf files from the DVD-Drive.

I don’t have a clue why this happends. The CD works fine in all three CD-ROM drives but the DVD is not working.

If anyone could give me a hint it would be great.

Thanks,

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