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




Stuck Loading Stuff In



I have a little problem im stuck on. I'm working on a system that loads images depending on the date of the file. The files are either jpg or swf, so for example:-

08_06_2006.jpg
08_06_2006.swf

There can only be one file(jpg or swf) per date.

So far I can look to see what the date is and load the jpg. My problem is, what if there isnt a jpg and only the swf.

My code so far is:-

months = new Array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12');
timedate = new Date();
todaydate = timedate.getDate();
day = timedate.getDay();
month = (timedate.getMonth()+1);
month = months[month-1];
year = timedate.getFullYear();
currentdate = +todaydate+"_"+month+"_"+year;
myVar = "images/large/"+currentdate+".jpg";
holder.loadMovie(myVar);
this.onEnterFrame = function() {
gL = holder.getBytesLoaded();
gT = holder.getBytesTotal();
percent.text = Math.round(gL/gT*100);
if (gL == gT && holder._width>1 && holder._height>1) {
delete this.onEnterFrame;
gotoAndStop(3);
}
};
stop();

If the jpg file doesnt exist I get this message in the output window:-

Error opening URL "file:///F|/site/images/large/8_06_2006.jpg"

How do I get flash to say "oh the jpg file isnt there, load the swf instead"?

Thanks



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-08-2006, 05:14 AM


View Complete Forum Thread with Replies

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

PLEASE HELP...I'm Stuck With Some Tricky ActionScript Stuff. Anyone?
hello.

I'm having a little problem here...

with the old Flash 4 syntax you could acess an MC with his instance name embeded in a variable like this:

var IDpath="/cityALL/";
var IDpath2=IDpath add "/characterMC/character";


tellTarget (IDpath2) {
gotoAndPlay(_root.dir);
}

tellTarget (IDpath) {
myName=getProperty(IDpath,_name);
gotoAndPlay(5);
}

HOW IS THIS DONE WITH THE dot Syntax?
since I don't want to use tellTarget.

AND:

Can I use DOT Syntax inside a telltarget?

cheers
chris

AS Newbie Trying To Do Random Image Stuff - Totally Stuck
Hi there,

To learn a little more about FlashMX and ActionScript I decided to jump in the deep end (for me!) and try to do a little project. What I'm doing is connecting to my website and downloading a dynamically generated XML file with some image information. I'm then loading five of these images onto the stage. So far, so good - I have that all working. What I would love to then do is pick a random one of the images, import another jpg from the website in 'behind the scenes', as it were, and when it's loaded into flash fade it from 0 alpha to 100 over the top of the image it's replacing, thereby making it 'fade in'. I'd like to do this for all the five images on the stage with all the image data loaded from the XML. Making any sense fo far?

Well, I'm totally stuck on how to make that happen! I can figure out the alpha fading, not a problem... Even picking a random image placeholder to change. But the loading behind the scenes and the waiting a certain amount of time before moving onto the next image, I don't know how to do... All of this is dynamically driven and so I can't physically set it up in the frame, I guess.

Maybe it'll help if I give you the code I have so far...


PHP Code:



images = new Array();
images_xml = new XML();
images_xml.ignoreWhite = true;
images_xml.load('http://localhost/xml_stream.php?limit=30');
images_zVal = 100;
images_xVal = 18;
images_yVal = 384;
images_xInc = 164;


images_xml.onLoad = function(sucess)
{
    if (sucess)
    {
        trace("Have loaded XML stream");
        gotoAndPlay('loaded');
        processImages(images_xml);
        displayImages();
    }
    else
    {
        trace("Cannot load XML stream");
        gotoAndPlay('noload');
    }
}

function processImages(str_xml)
{
    var imgs = str_xml.firstChild.childNodes;
    trace("Image nodes = " + imgs.length);
    for (n = 0; n < imgs.length; n++)
    {
        img = imgs[n].childNodes;
        trace("Image properties = " + img.length);
        image = new Object();
        for (i = 0; i < img.length; i++)
        {
            trace(img[i].nodeName + " = " + img[i].firstChild.nodeValue);
            image[img[i].nodeName] = img[i].firstChild.nodeValue;
        }
        images.push(image);
    }
}

function displayImages()
{
    imgX = images_xVal;
    for (i = 0; i < 5; i++, imgX += images_xInc)
    {
        layerName = "imgHolder" + i;
        _root.createEmptyMovieClip(layerName, images_zVal + i);
        theLayer = _root[layerName];
        theLayer._x = imgX;
        theLayer._y = images_yVal;
        loadMovie("http://localhost/images/gallery/thumbnails/" + images[i].image_id + ".jpg", theLayer);
    }
}




Can anyone help? I don't want to use up too much memory by always creating new image holders, but nor do I want to do a direct flip from one image to another (I want that cross fade thing), and I don't know how to achieve all that and the randomness.

Thanks for any assistance anyone can give - it'll be much appreciated!!

Cheers,

Andy

(okay, so it's not PHP code above, but it helps to highlight the AS code )

Help With Loading Stuff
Hey i been using flash for a while but i cant seem to do loading bars can some one tell me how to do them?

Thx *ps its best if u aim me or email the answer heh*

Aim: Garoc Tempest

Loading Stuff
I know there must be tons of tutorials for it but i cant seem to get the wording of it right! I want to just be able to when i click a button at the top of a website it replaces a textbox thats a graphic and another graphic at the bottom. How do you do this!

~Thanks

Loading Stuff
Ok, I have a site that I need to put a load bar w/ percentage in for.

However, everytime I try something, it'll load the entire swf, then go to the loading screen (which is thoroughly useless at that point)

So how do I make a loading screen that comes up immediatly and then shows the swf loading?

the site (WARNING: it's like 12 meg or something)
http://ian.janasnyder.com

Load Jpegs In MC Stuck Stuck Stuck
ok i'm sure this is in another thread if someone wants to point me in the right direction i'd appreciate it.

question is.

i have a button that will load a jpeg into a mc. did that.

how do i get the jpeg to center and resize to my mc? mc is 300 x 480......

the site is for an art porfolio and this button/action will be repeated throughout the site

new to FLASH MX & actionscripting and it's driving me over the edge..................


[EDIT/CyanBlue]
Moved to the Flash MX ActionScript forum
Please state what your working environment is and
please post in the right forum
[/EDIT]

Uh, Loading Stuff Programatically
I have 2 questions both revolving, I believe, around programming AS is FMX.

1) I would like all my buttons to go to Scene 2 onRelease, as Scene 1 is my 'interface' and Scene 2 is the basic background with a scrollpane into which I want to load content dependant movies, so I want each of my buttons to carry the required info to load the right movie into that scroll pane. How might I do this? I.E., maybe a variable called "goTo" in each button where in one button it equals "paintingForum" and in another it equals "userPhotographs", and when it goes to Scene 2, the scrollpane reads the variable and loads the right movie in...?

2) I have a little movie clip that runs the length of Scene 1, called "login". Ir has a combo box and allows for the option to register, login, or close the whole window. Can I programatically replace this "login" MC based on the choice made in the combo box, to replace "login" with a "doLogin" MC or a "doRegister" MC in the same place, i.e., unload the original "login" MC and REPLACE it programatically without affecting anything else in the timeline except that 'login' MC itself which was originally loaded with the main movie?

I'm sure both of these are possible with AS, but I'm not sure where to start, since I've a hard time wrapping my head around 'levels' and I think that's what's needed for (2)??? --and for (1), I've had success loading movies into scrollpanes, but now there's a variable or something involved because what I'm loading (carrying over into Scene 2)is based on (probably code within) a particular button.

I hope this makes sense, inasmuch as I often make as much sense as peach meatloaf, sometimes

Shawn

Loading Stuff Dynamically...
I understand that one can have an image folder of .jpgs to upload dynamically into their Flash .swf. -- I see that this is to save on file size.

I've been working on a Flash website and already the file is up to just over 1 megabyte.
Aside from the .jpg image galleries I plan to add, I will need to also have an option to show other .swf animations of my work. Some of those are quite big. I was thinking to have a .jpg thumbnails and when clicked, the other .swfs could open in another window or something.
What would be the intelligent way to load them so they won't really add too much more file size to my Flash website?

Any advice?

Thanks!!!!!

Help With Unloading And Loading Stuff...i Think
I have a bios page that contains 3 pictures...when these pictures are clicked the pic should move up and a window of information should fade in all while the other two pics move away
How do i go about this, i need a lot of detail, i attached an .swf so can take a look at the set up.

Thanks a lot

Loading Stuff Via Button
Hi guys,

I've nearly finished with my site but few things i still have to learn befour i can carry on. One thing is the code for the buttons. Can somebody please tell me what code i shoudl use which will load a certin .txt file and also a movie clip at the same time

Any help would be much appreciated

Gallery Loading ...and Other Stuff ....how Do I
Hey All,

Its been quite some time since i even opened flash ...but I need to build myself a portfolio site to get some work up to get a job ...(not as a flasher ...rest easy)

Ok,

Im LOVING this site: http://www.odstyle.com/

and basically id really like to do a similar thing wherby im loading images and video into a 'viewport' or viewing area.

Also, if u go here: http://www.letinmotion.com/left.htm there is an effect on the nav area where text morphs into smoke ...how would i achieve this ??

Cheers for your help!!

Paul

Help With This Jpeg Loading Stuff...
Basically Ive created a slide show which loads images from a folder which Ive hard coded paths to in my actionscipt.

Heres my problem?

I test the swf and it loads the images, I drag the swf into my browser and again it works fine. BUt when I drop the file and images into a dreamweaver document the swf file isnt loading the image. I havent changed any paths or anything. I simply put the swf file and images into the one directory within my html site.


Can anyone tell me why dreamweaver is having issues which not loading my images??

Its driving me nuts cause it works fine until I put in it dreamweaver?

thanks

Loading Stuff In Loops
hi, i'd like to load a series of jpgs with a for loop. something like a thumb nail gallery. in as2 no probs. the trouble i'm having with this in as3 is best explained with this code (no loop here but you'll get the problem) -

var jpgURL:URLRequest = new URLRequest("05.jpg");
var jpg1:Loader = new Loader();
jpg1.load(jpgURL);
jpg1.contentLoaderInfo.addEventListener(Event.COMP LETE, showJpg);
function showJpg(evt:Event):void {
trace(evt.currentTarget); // no jpg here.... just loaderInfo Obj. how to access Loader

addChild(evt.currentTarget); // not working, of course i could addChild(jpg1) but like i wrote at the top i want to load a array of images in a loop so i must be able to access from the Event.COMPLETE a reference to the image i want to add.
}


hope that's clear, all help appreciated. thanks



WAIT... i got it!

addChild(evt.currentTarget.content);

or

addChild(evt.target.content);

just a quick read through Flash help did the trick. it's actually quite useful after all

Loading Stuff From .txt File
I've gotten Flash to load a bunch of variables from a .txt file so that if I want to give my game up for download people can change the variables in the .txt file to change the .swf without having access to the .fla, but the .swf will not use the updated .txt if I edit the file. I have to re-export the .fla for the changes to take effect. Any help with this? The code I use to load the variables is
ActionScript Code:
#include "variables.txt"  

Any help would be greatly appreciated.

Dynamic Loading Stuff Help....
I couldn't find a tutorial on this on the site, so i'm asking herre. At my site on my media section i'm gonna put links to load different movies, and i'm gonna have alot and add more often, so it needs a scrollbar. I read the tutorial on dynamicly loading text, but i need to dynamicly load links now. and i also wanted to put images by the links to show if it has sound or not and what media player it uses. Please don't tell me this is impossible and it can only be done in HTML. i'm begging someone to help me with this. Thank you.

And you can view what my media section looks like from my site:

www.geocities.com/dbzmajinvl

(please give me feedback on what i have so far for my site, and tell me if my preloaders work right also.)

Stuck In Loading Loop
Please help! My website, www.mc-2.com, is having a major problem. Basically what happens is if you click around the different menu options quickly, the main, large portfolio movies with photos get stuck in a loading loop and move into a "strobing" type of effect which looks horrible. The client is VERY upset about this and I can't figure out any way to stop it. Has anyone ever experienced this kind of problem before? Any help or advice would be appreciated.

Why Is My Flash Getting Stuck On Loading
Hi there,

have just put my new website live last week and everything was going swell until I started getting reports that the flash in on eof my pages would keep sticking! I have tried a few different things but no joy - the computers here are all a really buggy version of IE6 but can someone look at the page and see if there is anything obvious that might be causing it...

http://www.parkdeanholidays.co.uk/browse-parks.htm

Cheers

Lex

Question About Loading Stuff, Help Fast Please
I am working on a slideshow thing, and It is split into three parts...
Seniors, Children, and Family.

I don't want the people who look at it to have to let the whole entire thing load before they are able to do anything. (for example... If someone clicks the Seniors button, then It will load the seniors page and just that, the children and family page won't load untill clicked on)

OKAY... SO. my first frame is simply something that sais loading and above it in a seperate layer it says slideshow will begin shortly. I dont even really want a % or anything. All I want is for when FRAME 2 is finished loading, for it to continue on. On frame 2 I will put another stop action and repeat this step for when you click one of the other buttons. So what do I do if all I want is on frame to finish loading to continue on, not the whole movie....!)

PLEASE HELP!!!!!

Loading Database Stuff Through PHP/Flash
ok, i have a database with two tables. one table holds the following:

table 1 name: lots
columns: lot_id, number, description, status_id
table 2 name: status
columns: status_id, name, description

i have a php script that goes as follows (i'm ignoring the description fields for now):


PHP Code:



<?php

// database connection variables
$server = "localhost";
$username = "********";
$password = "******";
$database = "***********";

// database connection statement
$connect = mysql_connect($server, $username, $password);
mysql_select_db($database, $connect);

// get values from the database
$query = "SELECT * FROM lots";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);

// loop through database to get the values
for ($i = 0; $i < $num_results; $i++) {
    $row = mysql_fetch_assoc($result);
    $id .= $row['lot_id'] . "
";
    $lot .= $row['number'] . "
";
    $lotStatus .= $row['status_id'] . "
";
}

// output the variables so that flash can read them
$output = "" ;
$output .= "id=" . $id . "&" ;
$output .= "lot=" . $lot . "&" ;
$output .= "lotStatus=" . $lotStatus ;

// echo the final output lines
echo $output;

?>




now i'm not 100% sure this script is correct, so if anyone sees problems in it, please do let me know. i know that it needs some additions to pull the linking table (status) to display the status_id, but i have no clue how to write that as im not familiar with php, i just took this script from a user on this forum (i apologize for forgetting your name) and edited it.

anyway, i want to be able to pull out all those fields and load them up in flash so i can use them in the scripts over there. i have a grasp on the LoadVars(); a bit but not sure how to pull all this out and if its correct so that i can use it in flash. the fields im most worried about using is the number field in the lots table and the status_id (in both i guess since its a linking table).

any help would be VERY greatly appreciated. thanks in advance.

Loading Database Stuff Through PHP/Flash
ok, i have a database with two tables. one table holds the following:

table 1 name: lots
columns: lot_id, number, description, status_id
table 2 name: status
columns: status_id, name, description

i have a php script that goes as follows (i'm ignoring the description fields for now):


PHP Code:



<?php

// database connection variables
$server = "localhost";
$username = "********";
$password = "******";
$database = "***********";

// database connection statement
$connect = mysql_connect($server, $username, $password);
mysql_select_db($database, $connect);

// get values from the database
$query = "SELECT * FROM lots";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);

// loop through database to get the values
for ($i = 0; $i < $num_results; $i++) {
    $row = mysql_fetch_assoc($result);
    $id .= $row['lot_id'] . "
";
    $lot .= $row['number'] . "
";
    $lotStatus .= $row['status_id'] . "
";
}

// output the variables so that flash can read them
$output = "" ;
$output .= "id=" . $id . "&" ;
$output .= "lot=" . $lot . "&" ;
$output .= "lotStatus=" . $lotStatus ;

// echo the final output lines
echo $output;

?>




now i'm not 100% sure this script is correct, so if anyone sees problems in it, please do let me know. i know that it needs some additions to pull the linking table (status) to display the status_id, but i have no clue how to write that as im not familiar with php, i just took this script from a user on this forum (i apologize for forgetting your name) and edited it.

anyway, i want to be able to pull out all those fields and load them up in flash so i can use them in the scripts over there. i have a grasp on the LoadVars(); a bit but not sure how to pull all this out and if its correct so that i can use it in flash. the fields im most worried about using is the number field in the lots table and the status_id (in both i guess since its a linking table).

any help would be VERY greatly appreciated. thanks in advance.

Stuck With Loading Movie Through Actionscript
Hey all, I'm kind of new and pretty stuck...I created a movie in my library, and i want to load it using actionscript. is loadMovie(); just for external SWF files?! if it is, what command do i use??
Thanks,
Kyle

Stuck Loading External Text..
Okay, nevermind. Apparently noone is able to help with this, so I'm off to another forum where people are more capable

Long Loading Session Getting Stuck
Hi there,

I have an Flash application reading an XML and loading SWFs and MP3s that are specified there.

The app works and loads and finishes loading just fine when running INSIDE the Flash authoring tool.
BUT -
When running OUTSIDE the authoring environment (just double click the SWF) - the loading gets stuck.

Points to consider:

1. The loading always gets stuck in the same place (just a trace with just traces following it), and it seems that if I change the data to be loaded, that it gets stuck rather after loading THE SAME AMOUNT OF DATA (rough estimate - but still, same number of sound files).
2. The loading gets stuck after loading most of the data. Moreover - if I cut the data to be loaded and give it a little less to load- it won't get stuck, it will succeed.
3. The loading is done serially! (Flash lost events when tried it the good way, so now each onLoadInit event calls the next Load).

My main question, and I can't believe it hasn't popped on any of my searches, is:
What are the run time differences between a SWF running in the Authoring environment, and a SWF running outside??

Also - has this ever happened to anyone? what does it indicate? how to resolve?

(I wanna attach the code, but you won't be able to simulate it without preparing data to be loaded, so am giving it up for now)

Crossing my fingers!

Tearing Ones Hair Out. Loading Multiple Stuff..
Right i'm getting different behavior from a flash movie depending on where I load it from:
http://www.jutsum.co.uk/thinktest/
Right it seems to be working fine here. You click on the names on the left, the thumbnails load. The movies start to load. Click on "Moet" and the thumbnails load and the video starts to load.

no try this:
http://www.think-global-group.com/showcase/
Again click on Moet on the left. Now on my system at least (512kbit connection), the thumbnails and movie dont load until the other 2 movies are loaded.

Why is this working differently?

Any help much appreciated.

J

Button In Loaded Swf Controlling Stuff In Loading Swf?
I got a swf that loads various other .swfs. I'm trying to make a button inside the loaded swf that will load another swf in its place.

The script I used is:


ActionScript Code:
this.invbut.onRelease = function() {
    loadMovie("pages/frost.swf", "stageloader");
};

I've tried using _root.loadMovie(), _level0.loadmovie()(this replaces everything and dispays just the loaded swf). But neither worked.

Heres an image I made to try and explain things:

http://hundsteg.se/Erik/explain.jpg

thanks!

Button In Loaded Swf Controlling Stuff In Loading Swf?
I got a swf that loads various other .swfs. I'm trying to make a button inside the loaded swf that will load another swf in its place.

The script I used is:


ActionScript Code:
this.invbut.onRelease = function() {    loadMovie("pages/frost.swf", "stageloader");};


I've tried using _root.loadMovie(), _level0.loadmovie()(this replaces everything and dispays just the loaded swf). But neither worked.

Heres an image I made to try and explain things:



thanks!

Loading External Jpgs In Sequence....stuck
Hi there.
Im struggling with this. What im trying to acheive is having a loop that pulls in jpgs and basical lines them up. At the moment it will only display the last image in the loop, it puts it in the right place but the other images arent there. I cant work it out! Anywho here is the current script:


Code:
x_pos = 25;

for(i=0; i<number; i++) {
next_depth = this.getNextHighestDepth();
this.createEmptyMovieClip("blank_mc"+i, next_depth);
x_pos = x_pos+100
with ("blank_mc"+i){
_x = x_pos;
_y = 50;
}
loadMovie("image"+i+".jpg", "blank_mc"+i);
}
All the jpgs are called image0.jpg, image1.jpg, etc, etc...

I think its quite obvious what im trying to achieve but its not working.

Brain Is Broken, Stuck On Loading Variables
I have a Flash Video custom player skin thingy that I've created that plays 4 different videos. Now they want to add a "Download Video" link and for the life of me, I can't figure out how to populate the URL to each video. Here's the AS I have so far:

Code:
//Movieclip GotoAndStop Behavior
gotoAndStop(1);
//End Behavior

play_button_0.onRelease = function() {
video1.unloadMovie();
video2.unloadMovie();
video3.unloadMovie();
_root.attachMovie("VSMediaDisplay", "video0", 50);
video0.directLink = "URL to Video";
video0.autoPlay = true;
video0.backgroundColor = "#000000";
video0.bufferTime = "4";
video0.scaling = "keepRatio";
video0.loop = 0;
video0.detectBandwidth = "client";
video0.volume = 100;
video0._width = 240;
video0._height = 180;
video0._x = 5;
video0._y = 4;

}

play_button_1.onRelease = function() {
video0.unloadMovie();
video2.unloadMovie();
video3.unloadMovie();
_root.attachMovie("VSMediaDisplay", "video1", 50);
video1.directLink = "URL to Video";
video1.autoPlay = true;
video1.backgroundColor = "#000000";
video1.bufferTime = "4";
video1.scaling = "keepRatio";
video1.loop = 0;
video1.detectBandwidth = "client";
video1.volume = 100;
video1._width = 240;
video1._height = 180;
video1._x = 5;
video1._y = 4;
}

play_button_2.onRelease = function() {
video0.unloadMovie();
video1.unloadMovie();
video3.unloadMovie();
_root.attachMovie("VSMediaDisplay", "video2", 50);
video2.directLink = "URL to Video";
video2.autoPlay = true;
video2.backgroundColor = "#000000";
video2.bufferTime = "4";
video2.scaling = "keepRatio";
video2.loop = 0;
video2.detectBandwidth = "client";
video2.volume = 100;
video2._width = 240;
video2._height = 180;
video2._x = 5;
video2._y = 4;
}

play_button_3.onRelease = function() {
video0.unloadMovie();
video1.unloadMovie();
video2.unloadMovie();
_root.attachMovie("VSMediaDisplay", "video3", 50);
video3.directLink = "URL to Video";
video3.autoPlay = true;
video3.backgroundColor = "#000000";
video3.bufferTime = "4";
video3.scaling = "keepRatio";
video3.loop = 0;
video3.detectBandwidth = "client";
video3.volume = 100;
video3._width = 240;
video3._height = 180;
video3._x = 5;
video3._y = 4;
}
Below is a wireframe of the player. When the individual links are clicked (which are a total of 4) the current movie is unloaded and the new movie is loaded. I need a link to download the video to be unique to each video.


Can anyone provide some assistance? I had a lot of help with the above code and though I think I know what's supposed to happen, I just can't get my head around it. Thanks!

Hi Oldnewbies :) My Preloader Stuck From Loading Fonts
Hi oldnewbies, :)

Last time you help me with the preloader stuck from sound problem, Thank you. But this time I can't find way to solve this problem even using your script, because the child movie still stuck so long at first frame for 140 KB from loading fonts.

Thank you,
Kathryn


Array Stuff Lost After Finish Loading A EventHandler.
array stuff lost after finish loading a eventHandler.
When my EventHandler for the Event.COMPLETE of xml URLLoader()
finish running this:
publicfunction imageLoad(u:String):void{

imgLoader = new Loader();
imgRequest = new URLRequest(u);
imgLoader.load(imgRequest);
// imgLoader.content as MovieClip;
trace(buffer.length);
buffer.push(imgLoader);
}

which load images into array, buffer.

When I get back to constructor, there's nothing in the buffer array.
WHy?
thank you

Loading Inside An Already Loaded Movie... _root N Stuff
2 Questions:

I am making a site and I want to make seperatie directories for the menu, and the content files. I have made a .swf with a menu in it (index.swf). This menu has a little animation that is loaded externally (topanim.swf). I have set up my site maps like this:

Site (Contains mainindex.fla)
||
||=>Menu (Contains index.swf and topanim.swf)
||
||=>Left(Contains content index, leftindex.swf)
||
||=>Content (Contains content pages, example: home.swf)

I have made a little border, and saved this in the leftindex.swf. The content pages should be loaded into this file. So I have made an empty mc (in the leftindex.swf) with the instance name leftcontent. I have only done this with the contentstuff and not with the menu.

I have created a empty page, named mainindex.swf. I've placed 2 empty mc's on this page that load the menu (index.swf) and the content border (leftindex.swf).

The menu loads fine except the little animation. How do I fix this?

And also how do I load the content pages (home.swf) into the border by pressing a button in the menu?

I know it's a little complicated, and it can be done a lot easier, but I want to do it this way. It's too hard for me to explain in english why.

Please help me...

Loading Inside An Already Loaded Movie... _root N Stuff
2 Questions:

I am making a site and I want to make seperatie directories for the menu, and the content files. I have made a .swf with a menu in it (index.swf). This menu has a little animation that is loaded externally (topanim.swf). I have set up my site maps like this:

Site (Contains mainindex.fla)
||
||=>Menu (Contains index.swf and topanim.swf)
||
||=>Left(Contains content index, leftindex.swf)
||
||=>Content (Contains content pages, example: home.swf)

I have made a little border, and saved this in the leftindex.swf. The content pages should be loaded into this file. So I have made an empty mc (in the leftindex.swf) with the instance name leftcontent. I have only done this with the contentstuff and not with the menu.

I have created a empty page, named mainindex.swf. I've placed 2 empty mc's on this page that load the menu (index.swf) and the content border (leftindex.swf).

The menu loads fine except the little animation. How do I fix this?

And also how do I load the content pages (home.swf) into the border by pressing a button in the menu?

I know it's a little complicated, and it can be done a lot easier, but I want to do it this way. It's too hard for me to explain in english why.

Please help me...

STUCK AT WORK Question About Loading A Flagged Section Of A Movieclip
Im trying to update something from last year. I dont know much about actionscript.

im trying to Call a flagged part of a movie clip.

on (release) {
_root.content.gotoAndPlay("stability");
_root.rightpic.gotoAndPlay("Rstability");
_root.leftpic.gotoAndPlay("Lstability");
unloadMovieNum(2);
}
There is only a flag for Lstability and not the others, but if i take them out, it wont call the graphic text that should show up.

The other buttons work. They call 4 of the same image that are all masked and fade in together and end to form one image.

So anyway my question is how do I call part of a moveclip?

Floating Picture Thinggy... Does Stuff... Stuff I Don't Know How To Do...
Check this out. I'm making a website and at the bottom of the site i want floating pictures. They not only float but they continue to move to the left. Untill you place the mouse over the pictures and then you can either make them go left or right with the speed varying as you go further to each side. Then when you select them there is a loading process and the pictures come up in a cool way and the rest is history. Now here is the problem... how do you do all that stuff. I'm talkin' 'bout all of it. Make them look like they float, make them go left and right and default left, and the... well the selection I can manage. Assistance would be quite nice. Thanx alot whoever answers this.

Why Is My HTML Stuff Messing With My Flash Stuff?
Hi fellas, I have an HTML page that has the regular drop down menues and some buttons in them. Nothing fancy. I also have a Flash banner withing the HTML page. The problem is whenever I go over the buttons in the HTML portion, my Flash banner pauses until I move the mouse away from any HTML buttons. Why would that be?!
Many thanks in advance.

Orbiting Stuff Around Other Stuff
Hi y'all

I've been searching the web for about 2 hours now, hoping to find some actionscript which makes something (eg a planet) around something else (eg another planet), but so far, I haven 't found anything ..

I did find something for Flash 8, but I'm not sure if it's going to work by just pasting it in CS3 ..

The thing is, even if I do get the script working in AS3, how do I make the object do a circular motion at the same time as the orbital motion?

If planet1 starts above planet2, goes down in front of p2, disappears behind p2, than how do I make it shift a bit to the left/right when above p2 again.
Repetig this should then result in a circular + orbital motion.

Does anyone know how to do this, or do you have to see the code (even though it is still AS2 right now)? In that case just ask me

Thanks!

I'm Stuck, Probably Simple...but Stuck
alright i'm making an entire site in flash.

i have my main timeline that i have label on, that i'm trying to get my button to go to.

here's the deal:

main timeline -> movielcip -> movieclip (button inside this clip)

on the button inside this movieclip i have all my actionscripting (rollover, rollover and on release)

now on release i have: gotoAndPlay("_level0", "news");

news is my frame label on my main timeline, also frame 101.

but when i click on this button it does nothing, just sits there. hmmm.....

thanks.

Help With _x And _y Stuff
Id like to have two buttons that could move a movie clip up and down.. I've tried various ways with variables but it seems that there is a scope resolution problem

How would I go about changing the _x and _y value of a movie clip, with another button?

.txt Stuff
First of all i'm not really a newbie. I just don't have too much experience wit flash actionscripting. Ok, so i made this nice website, http://monshu.netfirms.com, it's on a free server until i'm done! Well i have some input text(goto about > test) that i want to edit the corresponding dynamic text on the homepage. So far, as you can see, i does it. But i need it to save as a *.txt file so that it is visible even after refreshing!... I know how to make the dynamic text load the .txt file, but how do i save the input text as a .txt file?... That's my question. Any help would be great!, thnx


Ps: perl, php, c++ scripts to do this is fine, but you have too show me how?

3d Stuff
are there any good free things like swift 3d?

Cgi Stuff
Hey all,

It's me again. I've gotten everything figured out finally on the flash side of my form, but I'm having trouble with my CGI script. I know this isn't the place, but I was wondering if any of you knew where I could go to get help with debugging my Perl CGI script. I do know it is the script because I ran the form through another script and it went beautifully, the script just wasn't made for that form. It will do for now, but I ultimately want to be good at this programming thing. If you know where a good discussion board is or something let me know. Thanks

Fro

Where Did My Stuff Go? %&*()$^&
going crazy here, i have a movie that calls certain object properties to _visible = true, everything was working fine, then, i added some more objects and tried dupilcatemovie command to reproduce these objects dynamicaly. problem is, my objects that were working are no longer visible. property instector says _visible = true, but i dont see them. any clues? its almost like when i was using the duplicatemovie command, they somehow got move down a couple of levels, but at any rate, i can not see them eventhough they show visible in the PI.
thanks in advance for any help you can give!
Jeff

Stuff
"==" means is qual to

where as "=" means becomes qual to

3d Stuff On A Mac
What software do I need to be able to create 3d to use in flash mx on a Mac. and what else do you think i might need to know before i start getting too involved.

I've successfully managed to import stuff from 3d studio max using both illustrate and vecta3d so i guess i'm looking for something similar to that.

cheers guys!!!

Would Anybody Like To Help Me With Some Stuff?
i need some one to help me with a movie a game and if possible my website if you have MX plz help me

if you have msn messanger and your ready to start add me :

ar_cb3@hotmail.com

Gun And Stuff For It, HELP
Hey, firstly, how do you make a bullet come out a gun (and got e direction th gun points etc)

secondly, how do you make an arm/gun atc point the direction you r mouse is????

any help please???

Cheers

3d Stuff
how do you animate 3d imported swift 3d images? like move around them, and also have things like characters in differnt parts/layers.???
cheers

Stuff #1
a ping pong game. kinda sux

Y And X Stuff
Hi

How can I make this script tell it to notice the bottom instead of the top.

Code:
if (this._y<-10) {
reset();
}

thanks

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