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




Looking For A Vdry Simple Loader



i am looking for a flash with a very simple loader bar, that has 100 frames, and show loading betwenn 1 to 100 %,and that is a very very simpple loader (not like the ones that are in this site that have lot of animation, and of cours for free
thnaks
peleg



FlashKit > Flash Help > Flash MX
Posted on: 03-03-2003, 05:14 AM


View Complete Forum Thread with Replies

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

Simple Loader Fails When Loading In An .swf Containing The Loader.
Sorry for the complicated topic. I got a .swf that loads in other .swfs. Rather than figuring out how to make a loader for loading .swfs I thought I'd just use a simple loader in the .swf I'm loading.

However, it doesn't work. It starts fully loaded but doesn't finish. Heres the AS:

ActionScript Code:
_root.stop();
PercentLoaded = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if (PercentLoaded != 100) {
    bar._xscale = PercentLoaded;
} else {
    _root.play();
}

Anyone got a clue? Or would anyone be willing to point me in the direction for a very simple .swf loader.

thanks!

Simple Loader Fails When Loading In An .swf Containing The Loader.
Sorry for the complicated topic. I got a .swf that loads in other .swfs. Rather than figuring out how to make a loader for loading .swfs I thought I'd just use a simple loader in the .swf I'm loading.

However, it doesn't work. It starts fully loaded but doesn't finish. Heres the AS:
ActionScript Code:
_root.stop();PercentLoaded = _root.getBytesLoaded()/_root.getBytesTotal()*100;if (PercentLoaded != 100) {    bar._xscale = PercentLoaded;} else {    _root.play();}


Anyone got a clue? Or would anyone be willing to point me in the direction for a very simple .swf loader.

thanks!

Simple Pre Loader?
ok heres the deal
i have made my first flash inclusive web site
(http://home.iprimus.com.au/naac/TUSKEN/)
it has a faily interactive menu which loads in a frame on the left which has a soudtrack in it so it takes a while to load.

to show the viewer that it's loading i made a small flash movie that says loading and made it open in the right frame and the when in the menu movie i made an action that makes the intro page open when the left menu page has loaded.
so:
'left menu' loads in left frame
'loading movie' opens in right frame
when 'left menu' loads,
'intro.html' opens in the right frame

this is effictively a pre-loader

but it isnt very professional.
i only did it cos i dont know how to make preloaders within my movies (or .fla's) themselves...

but this operation has issues with using the browser to press forwar and back etc so its really dodgy!!!

All i need is the knowledge of how to make my swf files play a small movie symbol until the whole thing has loaded...

how???
help???
please???

if you dont know what my problem is check out my site and see...
its pretty cool.
check it out
http://home.iprimus.com.au/naac/TUSKEN/

thanks
nathan

Simple Pre-loader
I'm after a very simple per-loader, ie: percentage bar.
can someone point me in the right direction to either make or copy this, (I'd prefere to copy)...send to info@simoncardwell.com

Simple Percentage Loader Bar
How do I create a simple percentage loader? It seems whenever I look for an FLA or tutorial, there's a bunch of other useless crap the guys adds on to it, making it uglier and harder to understand. I just want a bar or masked graphic, and text with a percentage. So how do I create this?

Simple Percentage Pre-loader ?
Can anyone point me in the right direction of a simple preloader which displays the percentage of the movie loaded ?

I've tried and failed to add one (yes I know its supposed to be simple but I cant get one to work).

A siple cut and paste job would do ???

Cheers.

Simple Image Loader
Hi guys- this is my first post here...
I'm creating an image gallery and looking for a simple way to preload (with a % loaded), external jpegs into an empty movie clip.
I'm using thumbnails- there are no "next" or previous "buttons".

I'm calling in the jpegs like this:
thumb1.onRelease = function(){
loadMovie ("images/homeR1.jpg", empty);
}

I've been googling/ searching all day-
Any help would really ease my frustrations.
Thanks in advance!

Simple Loader Issue?
I am loading two images (png) into my swf file by use of the following code:

A.addEventListener(MouseEvent.CLICK,Abutton);
function Abutton(event:MouseEvent):void {
loader.unload();
loader2.unload();
var request1:URLRequest = new URLRequest("A1.png");
//var loader:Loader = new Loader();
loader.load(request1);
Front.addChild(loader);
var request2:URLRequest = new URLRequest("A2.png");
loader2.load(request2);
back.addChild(loader2);
if((Event.COMPLETE,request1),(Event.COMPLETE,reque st2)){
gotoAndPlay(2);}
}

The last two lines are my attempt at making actioscript 3.0 wait until the images are loaded to go to frame two and play. So far, this script is not working and the animation plays before the images are loaded.

Thanks for any help

Simple Loader Troubles
Good Morning,

I am creating a very basic menu and am very frustrated and hope you guys can help.

My project consists of a main file that then calls other swf's to fill in the rest of the content.

My main timeline is this. There is an preloader which hasn't been built yet, a intro section that is two movie clips (one loads the layout, one fades in my buttons). Then when all this loads, I load the first swf.

My difficulty is that I am trying to get my buttons, which are held in mc_buttons, to change the variable myLoader on the main timeline. So when you click on a button, it swaps in a different swf for the current loaded one.

I have tried calling the following:

My main Timeline: Frame 1

Code:
var myLoader:Loader = new Loader();

myLoader.load(new URLRequest("slideshow.swf"));
My main Timeline: Frame 20 (after intro clips have played)

Code:
stop();

addChild(myLoader);

My mc_buttons timeline:

Code:

function buttonClick(event:MouseEvent):void{

slideshow.enabled = true;
tours.enabled = true;
details.enabled = true;
contact.enabled = true;

event.target.enabled = false;

this.parent.myLoader.load(new URLRequest(event.target.name + ".swf"));



}

slideshow.addEventListener(MouseEvent.CLICK, buttonClick);
tours.addEventListener(MouseEvent.CLICK, buttonClick);
details.addEventListener(MouseEvent.CLICK, buttonClick);
contact.addEventListener(MouseEvent.CLICK, buttonClick);
The error I am getting is as follows:

Code:
1119: Access of possibly undefined property myLoader through a reference with static type flash.display:DisplayObjectContainer.
Now, if I define the myLoader variable in the mc_buttons and do an addchild() there, I get the correct content, it just is on top of the old content which isn't what I want...

I know it is something stupid that I am missing and I would really appreciate any help. Thanks!!!

Simple Dynamic Pic Loader
Hi,
One of the main features I'd like to have @ my site tnd2004.com would be a "quick-portfolio". If u go there, you'll see a big 700x200 pic (it's the only one). Problem is it is static. I'd like it to be a *.swf file called "quick-portfolio", with two "fww" and "bck" arrows. That I can easily do - it's quite elementary.
The thing is I'd like to be always updating it, and the easiest way to do it would be just to upload the pics to a specific folder, and the *.swf file would auto get them ...
Ho, and I'd like that it would always load the pics randomly.
Think it's quite easy too, but I've never done it
Many thanks in advance

Simple Image Loader
I'm creating an image gallery and looking for a simple way to preload external jpegs (with % loaded) into an empty movie clip.
I'm using thumbnails- there are no "next" or previous "buttons".

I'm calling in the jpegs like this:
thumb1.onRelease = function(){
loadMovie ("images/homeR1.jpg", empty);
}

I've been googling/ searching all day-
Any help would really ease my frustrations.
Thanks in advance!

Simple Loader Question
I did the "Loading Pictures Dynamically" tutorial, which I found to be quite easy. It's just a picture that loads behind the button which clicked it.

This works fine, however I want the image to load in a layer that would be in front of the buttons.

My question is this...How can the loader be modified so that when the image (that was loaded) is clicked will be unload(and thus, allowing the buttons to be visable again)?

thanks

Simple Movie Clip Loader?
I have a problem making a simple loading sequence for flash5! I have a swf mainmovie with buttons to click/load a couple of swf files into the main movie. That works but i want a loading sequense while wating for the main movie (maby other movies 2 if i knew how to preload) to be fully loaded. I guess i need some action scripts and a movie clip with for example a loading text in the first frame of the mainmovie. but i cant make it work. I´m sure someone can tell me how to do!

Thanx in advanced, Pajje

AS3 Simple Image Loader From Thumbs
Hello everyone,

First off: I am completely new to Flash, but attempting to create a personal site using Flash CS3. I've looked through many forums and also tutorials for this simple problem, but I dont seem to be getting anywhere.

I have a simple layout that looks like this...



The 6 images on the right have instance names of "image_button1" through 6. Each of these 6 images also has the source location declared under parameters.
The big left image has the instance name of "image_main".
I have added UILoader to the Library of my project.

The first frame of my "Actions" Layer has this ActionScript added

Code:
image_button1.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image1.jpg");}
image_button2.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image2.jpg");}
image_button3.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image3.jpg");}
image_button4.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image4.jpg");}
image_button5.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image5.jpg");}
image_button6.addEventListener(MouseEvent.CLICK, imageChanger){
imageChanger("image6.jpg");}

function imageChanger(image){
image_main.source = image;
trace("Done!");
}
If I attempt to run this project, I receive this error: "1087: Syntax error: extra characters found after end of program.

I assume it must be some small and obvious mistakes, but I'm too new to notice anything. Could anyone perhaps share some insight to get this little piece working properly?

Thank you in advance for any assistance.

Simple Movie Clip Loader Qn
If this code works..

container2.entryHolderMC["nodeMC"+i].pictureHolder.loadMovie(myPictures['picturePath'+i]);

am i rite to say that the conversion to MCL is

myMCL.loadClip(myPictures['picturePath'+i],container2.entryHolderMC["nodeMC"+i].pictureHolder);

?

Simple Question About The Loader Class
in actionscript 2.0

myListener.onLoadInit = function(target_mc:MovieClip)
{
trace(target_mc); //which give us for example _level0.image0
}

in actionscript 3.0 ?

Simple Movie Clip Loader Qn
If this code works..

container2.entryHolderMC["nodeMC"+i].pictureHolder.loadMovie(myPictures['picturePath'+i]);

am i rite to say that the conversion to MCL is

myMCL.loadClip(myPictures['picturePath'+i],container2.entryHolderMC["nodeMC"+i].pictureHolder);

?

How Do You Create A Simple Loader For Papervision 2
Hi there, I have a papervision 2 plane that I have created, and I'd like to put a simple loader at the beginning. I'm not sure how to do this. I am not using Flex, so I've created my papervision project in flash on the timeline. I hope this helps! Thanks!

Jen

Simple Pre-loader Wont Show
I have a simple preloader. I am loading a SWF within a SWF using the loader component.I have 2 scenes, scene 1 (loader) scene 2 movie.

The movie loads it just does not show the pre loader animation.

In scene 1 in frame 1 I have this -

if (_framesloaded >= _totalframes) {
gotoAndPlay ("mv", 1);
} else {
_root.loader._xscale = (_framesloaded/_totalframes)*100;
}

In scene 1 in frame 2 I have this -

gotoAndPlay("loader");

In scene 2 -

the movie


Link to the FLA

Simple Random Movie Loader, Help Me On The Right Path Please
hey all, thanks or the click

ok so here is my problem, my webforums wont allow javascripts to run in the signatures (well duh) so I have a collection of small 120x50px movies, and I want one to load random on each page thats open. the files are generated swish files so you can randomize from them. I figured a small flash movie that loaded them in randomly would work as well?

ideas? thoughts? suggestions?

thanks everyone, best support for flash on the web is here at fk!

-mYles

Simple Problem With Loader Component Loading
Hey all,

well, my last Flash project for a while: my photography portfolio.

The design is very basic, just thumbnails load up, click on one, then view the image. Nothing fancy.

Well, first off, here is the code (don't worry, I'm gonna get specfic ):


Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;

AttachNextThumbnail(0,0);

function AttachNextThumbnail(x,y) {
thumbnail_counter++;
//Attach and position
var ob = this.attachMovie("thumbnail","thumb"+x+"_"+y,this.getNextHighestDepth());
ob._x = 18+((88+30)*x);
ob._y = 6+((75+25)*y);
//Load your thumbnail, scale

//----------------------------------------
//My Problem:

ob.loader.load("/photography/thumbs/"+thumbnail_counter+".jpg");
ob.loader.scaleContent = true;
ob.loader.setSize(88,75);

//---------------------------------------

//Fade in
var obTween:Tween = new Tween(ob, "_alpha", Regular.easeIn, 0, 100, .25, true);
//Kick off the next one once your done
obTween.onMotionFinished = function() {
if (x<thumbnail_col) {
x++;
}else{
x=0;
y++
}
if (y>=thumbnail_row) {
return;
}
AttachNextThumbnail(x,y);
}
}
Alright ...

Basically, I have a recusive function that loops through and adds each thumbnail to the stage, one at a time, waiting for each previous one to finish fading in.

Thumbnail_counter is a global I slapped together to give me a number for loading the thumbnails (they are named 1.jpg-15.jpg).

Thumbnail_row and thumbnail_col are globals again, just for easy customizing of the appearance



My problem:
I can't get the Loader component to load!

I tried just added an instance of the loader to the stage, telling it to load the image, and it worked. So I know my path is good. (Btw, the thumbnail movieclip just contains the Loader component, called loader, and a matte).

So, after staring at this for nearly an hour, I just got too frustrated. Anyone see the blatantly obvious mistake I made?

Thanks so much for your time, and sorry for the long post!



PS Since I know this will come up: I would rather not release the FLA, because it has some personal data in it ... I could scrub it of my personal stuff, but I am hoping I won't have to do that

Double Loader & One Instance Level Loader
Just sharing what I figured out.(which wasn't much but hey figured I'd post it anyway)

TASK1
I needed a preloader to load two seperate MC's into levels 1&2. Level 2 contains the interface which would change the MC on level 1.

TASK2
Once these two initial movies were loaded I then needed a single instance of a preloader that I could call upon for each subsequently loaded movie on level 1.

All the MC's have linkages so standard loaders would not start until 30%-40% of the MC was loaded.

I used a couple of files from oldnewbie.


http://odin.prohosting.com/~oldnew/f...ng/preload.zip


For TASK 1 I used the code from the above file but modified it a little.
I simply duplicated every line that referred to containerMC and called it containerMC2.Then at the end of the script instead of loading a single movie into level 0, I loaded the 2 MC's I had previously loaded into the containers onto levels 1 & 2. There's probably a much better way to do this - but it works

IF ANY OF YOU HAVE A BETTER SUGGESTION OR A WAY TO PRELOAD 2 MOVIES WITH LINKAGES INTO SEPERATE LEVELS WHERE THE PRELOADER MOVES FROM "Currently preloading movie 1" to "Currently preloading movie 2" WOULD BE AWESOME.

For TASK 2 I used another file from oldnewbie (though I can't recall which thread I found it in).

It's a One Instance Preloader for all subsequently loaded swf's.

The button code for loading a movie:

on(release) {
_root.preloader.gotoAndStop(2);
loadMovieNum("One.swf",1)
}


The preloader code:

FRAME 1

stop();

FRAME 2 (where the symbols are - same symbols as in the .zip file above)

this.onEnterFrame=function(){
//trace the percentage of the movie that has loaded
percent=(_level1.getBytesLoaded()/_level1.getBytesTotal())*100;

if(!isNan(percent)){
//trace(Math.ceil(percent)+"% loaded");
if (percent == 0) {
percent_display = "";
} else {
percent_display = Math.ceil(percent) + "% LOADED.";
}
this.loadbar._visible = true;
this.loadbar._xscale = percent;
if (percent > 1) {
this.reelmc._visible = true;
}
_level1.stop();
}
if(percent == 100){
this.gotoAndStop(1);
delete this.onEnterFrame;
this.reelmc._visible = false;
percent_display = "";
this.loadbar._visible = false;
_level1.play();
}
}
stop();

That's it. If you can use it, great.

Loader Page - Web Site Starts Behind The Loader
Hey Everyone...

i ran into a very odd problem... to loader page on this site:

http://www.onefortheditch.com/new/loader.html

works fine, except the fact that it doesnt stop the web site from playing while its loading. the web site plays the splash page in the background while its loading...

Any ideas what would be causing this? I use this same feature on my personal site, and it works fine, so i compared codes, and i cant see anything wrong.

Heres the native files if anyone wanted to check it out:

http://www.onefortheditch.com/loader.zip

Thanxs in advnace!! :)

Random Flv Loader + Radom Swf Loader
so i am making a flv player with an flv ad at the beginning, the main flv in the middle, and a swf ad at the end. the issue i have is that the flv ad at the beginning has to be randomly selected from a short list of flv ads in a network folder and the swf ad at the end is a click-able flash animation that has to correspond with the flv ad at the beginning.

so for example:
i have a video flv and swf ad pair for a window company, a restaurant, and a shoe store. when someone loads the video player, the shoe store flv ad is randomly loaded, the main video plays, and at the end, the click-able swf shoe store ad loads.

does that make sense?

THANKS!

Loader Insid Other Loader,how Loadmovie?
Hello

on the stage i have a loader* that shows a movie,in this movie there is a loader# too. in second loader# there is a button that by clicking it, the movie shown in first loader* must be changed.

please tell me how can i doing this with actionscript.........

cheers

Loader.unload() Not Available When Loader Is Not On Displaylist?
HI

I have a preloader swf file that loads in different swf-s using the same Loader instance.
However before loading in the next swf, I'm trying to call Loader.unload()
But it fails since the Loader object is not on the displaylist...
What happens to the data that is loaded with Loader? Is it replaced when Loader.load() is called next time?


ActionScript Code:
public function contentloaded(event:Event):void{
            TweenLite.to(loading_mc, .5, {alpha:0})
            cont = event.target.content
            addChild(cont)
        }
        public function loadnew():void{
            loader.unload()  // Error #2025: The supplied DisplayObject must be a child of the caller.
            if(cont){
                removeChild(cont)
                cont = null
            }
            showloader()
            loader.load(new URLRequest(file))
        }

Loader Or Loader Context Problem
I have two swf files, each one almost with the same classes, the most important one is a Singleton class, each swf does "singleton.getInstance()" . The diference is that one swf is like a container and the other one is like a module.

So when the container loads the module from an absolute path like loader.load("file://c:/modules/module.swf") or loader.load("

Using Stage Properties When Loader From A Loader
im doing a preloader that creates a var of the type loader and then loads another swf and add it to the stage with addChild, the problem is that the loaded swf cannot access stage properties and if i try to use them i get a #1009 runtime error, heres the code

----------PRELOADER-----------
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(Event.COMPLET E, done);
l.load(new URLRequest("test.swf"));
function done(e:Event)
{
addChild(l);
}
--------------------------------

and heres the test swf that is very simple
--------- test.swf -------------
var N:Number = stage.stageWidth;
trace(N);
--------------------------------


Hope someone can help this is killing me x.x

URL Loader & Loader LIMIT?
I'm trying to create photo gallerys and have run into a problem.
I have about 30 thumbnails that i wanted to load but the loader only loads 18 and the rest give me URL not found errors?

SO my question is does anybody know if there are size limits for the loaders??

Thanks

[loader] Load Jpg With Loader?
Hi, I making my website and trying to load jpg into a movieCLip which will holds all of my loaded jpg images.

I have a MovieClip called "holder"

and I want to load img into this clip. so I wrote

ActionScript Code:
holder.loadMovie("myPic.jpg");


this part I had no problem, but the thing is that How do I apply a preloader to this? I mean if this image is IN the movie, then I can have a preloader in the first frame and load this pic, but the thing is that I'm now loading this images directly from folder, how do I have a preloader for this?...

I tried this

Frame 1 preloader
Frame 2 load Image code...

just...you know what I mean?...when you load a image directly from folder, can you apply a preloader for that?...I stood up so late only because of this question..makes me so awake...HELP!!! I wanna sleep...

Loader.content.width Or Loader.width?
whats the difference, if there is any?
between:
loader.content.width and loader.width?

LoadMovie SIMPLE Question For Simple Minded Graphic Artist
OK! So this will be EASY EASY for all of you.

I need to load a seperate SWF file onto the stage on a level above the main swf.

the seperate SWF file is in the same folder as the original all located in the "flash" folder of the root directory.

How do I get th e outside SWF to load on top of the movie.

The original movie is called grid.swf the outside movie is called liquid-print.swf

If anyone can help me with giving me the code I'd appreciate it. I really am quite dense when it comes to coding.

Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
Flash MX 2004 (mac)
******************

Hi,

I have a custom component that consists of nothing more than two dynamic text feilds and a button. I want the button to open a popup window in the browser, and it does so using javascript (an extension i found).

I put the following function in the first (and only) frame of my actual component (and its also in the first frame of my entire movie, just in case):

callPopup = function() {
getURL(popup);
};


And then on the button in my component i have this:

on(press){
callPopup();
}

and then finally,there is a variable named 'popup' within my component (which would change in each instance) which is given a value in my test instance as :

"javascript:jspw3('../vwd_scripts/','popups/acroyoga.swf',',,0,Past%20Event,index,Past%20Event ,20,0,,0,450,550,0,0.001,0.001,,,1,0,,.0.0.');"


somewhere i am doing something wrong.. ..i am not sure if its the button code, or my link (variable 'popup') syntax. Or if its impossible to use javascript in this way.

I know my html page is set up correctly (correct info in the head of the page etc), since i am able to call the javascript from a regular html link (just for testings sake) which is on the same page as my swf.

Hmm..i hope i made some sense here.

I will be very gratefull for some help...i'm totally lost on this one...

thanks in advance

Cheska

[F8] Very Simple Question, Very Simple Answer, I Hope. (Flash 8, Collisions)
Alright, so I've got my ball that moves up and down; it has gravity too. There are two things I want to do:

1. I want it to 'jump' when the UP key is pressed, rather than just accumulatively move upward.

2. I only want gravity to be applied while the ball is in the air(In other words, I basically just don't want it falling through the floor; however, want the edges to be the collision, not the center, and I also still want to be able to jump afterwards.

Thanks for any help, I don't need an explanation, I can figure it out by looking at the code. I'm going to attach a basic file with what I already have, please add the coding to it, then send the file back. Thanks for any help, and I apologise if this is hard to understand, or if I sound any bit rude to be asking how to do something; I don't mean to.

Can You Help Me Fix Simple Javascript Code On Button Inside My Very Simple Component?
Flash MX 2004 (mac)

Hi,

I have a custom component that consists of nothing more than two dynamic text feilds and a button. I want the button to open a popup window in the browser, and it does so using javascript (an extension i found).

I put the following function in the first (and only) frame of my actual component (and its also in the first frame of my entire movie, just in case):

callPopup = function() {
getURL(popup);
};


And then on the button in my component i have this:

on(press){
callPopup();
}

and then finally,there is a variable named 'popup' within my component (which would change in each instance) which is given a value in my test instance as :

"javascript:jspw3('../vwd_scripts/','popups/acroyoga.swf',',,0,Past%20Event,index,Past%20Event ,20,0,,0,450,550,0,0.001,0.001,,,1,0,,.0.0.');"


somewhere i am doing something wrong.. ..i am not sure if its the button code, or my link (variable 'popup') syntax. Or if its impossible to use javascript in this way.

I know my html page is set up correctly (correct info in the head of the page etc), since i am able to call the javascript from a regular html link (just for testings sake) which is on the same page as my swf.

Hmm..i hope i made some sense here.

I will be very gratefull for some help...i'm totally lost on this one...

thanks in advance

Cheska

Simple Problem. Simple Answer? Arranging Windows W/flash
SIMPLE problem. | SIMPLE answer?
We're trying to have a Full screen CD presentation in flash that plays .avi's in windows media player, & opens up url's in a web-browser. The problem is the URLs AND the .AVIs show up underneath the flash, is there a way to have them open on top of the presentation?

Thank you.

Random Tweens - Simple Question, Simple Answer?
Hello, I have one swf with a few different motion tweens inside their own movie clips. I want to write some code to play only one of the tweens at random. I know how to use setInterval to get the process to repeat with a delay. But I just want a different/random tween to play with each repeat. I hope that makes sense.

I imagine this must be easy, but I'm having a tough time getting it to work. Random tweens, somebody please help.

HELP SIMPLE, SIMPLE XML-FLASH Load Into Movie Clip
This is so stupid, my first dive into XML, with a company project - a tutorial/training piece which will require mjultiple screens with questions, etc.

Anwyay- I can get the XML loaded into the root, and it works pefectly, but I'd like to put things INTO a movie clip, so that each new screen or slide is just he movie clip advancing.

How the HELL do I target the movie clip? I even tried setting a NEW variable in teh main timeline once the XML was loaded, but the best I get is not the value from the XML, but the path (e.g. "level0title1")

Any help? I imagine it's a really stupid, easy question, but I can't find anythign ANYWHERE to answer it.

Simple Problem Neeeds Simple Answer
hey i figured one of u geniuses here could help me figure this out much faster than me fiddling around so here goes.

All I'm trying to do is have a button (which is loaded in an MC in _level6) allow the user to switch between languages on the website. To do this I figured all I would do is have it 2 scenes...one in English and the other in Chinese. When the user clicked the toggle button I would have it go to the current frame in _level0 but switch to Chinese scene.

Get it? basically i want it to switch between frames but remain on the same frame number. Here is the last piece of code I tried using, but nothing seems to work (this code is connected to the release of the toggle button)


Code:
_level0.gotoandplay("Chinese", _level0._currentframe)
Anybody got any idea what i need to do??

Thanks for your help!
Brad

Simple Question, Probable Simple Answer
still in my quest for new flash knowledge and being a "noobie" in the world of flash i would like help.

whats the easiest way to create a Button that upon rollover creates a text discription in a text box. just so i can give a description of what the button is going to lead to....

ohh and i will have multiple bittons on 1 frame and 1 designated box for all descriptions

thanx in advance

Simple Button Mouseover Effect - I Know It's Simple, Just Don't Know How To Do It
I know how to insert an MC into the OVER keyframe of a button so that it enlarges, but how do you make the button decrease to it's original state on mouseout? ie, so it tweens back to it's original state.

Thanks
G

Simple Button, Needs Simple Action Script
Hi there,

I have made button in flahs mx. The over state of this button contains a short movie clip. My prblem is that I would like the button to remain on the down state on release (ie. once the user has released the mous button)instead of just going back to the over state as it does at present. Ideally I would like the button to go back to the up state on a second click.

I have pulled most of my hair out trying to put together the right bits of action script that would help me do this but to no avail, and having no time to learn action script properly I don't think I'll get there anytime soon on my own. Can anyone help me, pretty, pretty please ~?

Simple Question - Simple Answer FLASH MX
hi you good people out there. hope you could help me too. using flash mx, not beyond beginner yet.
about finishing my homepage with it. one problem is there:
i have a premade flash and changed graphics, etc. all no problem, the menu is included as well - i have changed the text of the 9 menus already, works fine - only when i use the preview - the original text appears when going over with the mouse... i changed the text visible to me - but cannot locate and change the text for the mouse over.
for instance the first two of the menu named

start
gallery

i changed it to

home
pictures

in the prview it show again
start
gallery
upon mouseover.

so i need to locate where to change also that hidden text (only active upon mouseover) to the same word.

if anyone of you could help me - i would be going into learning faster and finally getting my homepage up and running. if needed please e-mail me at

harton@harton.at

thank you so much!

....................I have uploaded a screenshot of it - clearly you can see, I changed the text yet have to located the original text below of it (?) and write the same text so that it shows up correctly upon mouseover.....

Simple, Simple... Input Field Question
OK, I have two input text fields, one is var x1 and another is var x2

onRelease I`m trying to use this code
score = Math.sqrt (x1+1) - Math.sqrt (x2)

It`s not working, check out attached fla file

Thanks folks

Simple Question *(I Hope) From A Simple Newbie...
Hi All... well, since this is my first post, I'll be cordial by saying hey and how are ya and all that later (sorry) but I'm in a bit of a pickle, or at least a cucumber that's been sweatting his luck for a while. I'm trying to create a news ticker that autoscrolls events accross the bottom of a movie, and allows users to click the text to take them to the appropriate page / site / picture or what ever (just need the link. I'm running into issues with the xml connector loading data dynamicly, I can get the file loaded, but I can't move it accross the screen. Basicaly, I'm looking for a basic news ticker tut or else the appropriate google keywords. Anyone? Anyone? Bueler? Please?

Thanks in advance.

Rick

Simple Questions...mean Simple Answers....right?
I just have a question about the various ways to loop in Flash.

now I know the for, and the while, and the do while,etc. My question is I can never get any of these loops to work unless they are on the main timeline. If I put a for loop inside a movie clip, i get nothing, or errors of the script continually running.

Just wondered if and how to use a loop script inside a movieclip without generating errors, and not having to revert to making the movieclip continually play two frames to get what I want.


curious.........

dduck1934

Simple Question.....any Simple Answers?
Hi...
A simple question...

From a button in a standalone Projector ( Flash) file how do I open an external HTML file....called ...xxx.html??
Can anyone ease my pain??..
THX

Simple Problem Simple Solution?
Can someone who is smarter than me (plenty of you out there ) solve my problem. I have a button on the timeline that has a gotoAndPlay action. I have another action that advances the timeline to the nextframe to execute some actionscript then it returns to the previous frame where the button is. The button works the first time but after going to the nextframe and then coming back it loses its functionality. What can I do to restore functionality in my button. Oh i'm using MX but publishing in 5. Can someone please save the day?

million thanks

Simple Problem, Simple Movie
i have a simple movie (using MX) with one scene and a handful of movie clips on individual layers. i am using this to jump from clip to clip in main timeline

_root.MCmyclip.gotoAndPlay (1);

the movie plays fine the first time through. but when i need to return to the first MC again it plays but then stops and does not move on to the next clip? like this:


in the final MC i have:
_root.MCfirstclip.gotoAndPlay (1);

it goes to first clip and plays but does not moveon when encountering this action for the second time:

_root.MCsecondclip.gotoAndPlay (1);

i don't understand why this is happening. it should just loop continuously...right?

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