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








Loading External SWF Files Into The Flash Player Exe HELP Why Is It So Hard?


Hi everyone,

I really hope someone can help.

I am making a CD-ROM application. The first Flash window to open up serves as a menu for viewing around 85 separate SWF files.

Each SWF file needs to open separately from the main window, into it's own player. (publishing all 85 files as exe's is not an option as it will add too much file size overall)


I think (but i'm really not sure at all) that there's a way to load first a blank exe flash player, and then load the swf file into it, all from each button on the main movie.

I can't seem to find any decent reference to this on any of the flash forums out there.....


so if you've come accross this situation before, can you let me know what you did to make it work?





the only other thing I can think of doing is using localConnection to send instructions to an external exe file to load a particular SWF. Is this a good idea?

is there an easier way?



thanks in advance


Kaytoo




ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 12-12-2005, 09:57 AM


View Complete Forum Thread with Replies

Sponsored Links:

Saving And Loading Txt Files To Hard Drive Help
I take code on this site, and cann't understanding

Saving and Loading txt Files to Hard Drive

// Code for the "save" button
on (release) {
fscommand ("save", AAA+".txt");
loadVariablesNum ("BBB.txt", 0);
}


// Code for the "load" button
on (release) {
loadVariablesNum (+AAA+".txt", 0);
}



//////Brief Explanation://////////

/*AAA: Variable name of the text field, that is, you want to save the
written texts with that name as in txt format

BBB: You can also put a blank txt file. Because: After saving process,seeing
a empty field may be better.*/


Can you help me .fla examples?

View Replies !    View Related
How To Make An Swf File That Edits External Text Files, In Your Hard Disk.
i know that this will require a back-end script, maybe php.
can somebody please help me..

View Replies !    View Related
Flash Player Caches External Class Files
Hi I work for a technology company in San Antonio and we use flash for developing interactive course ware. We use a flash shell which loads the separate pages of our lessons and have noticed a very big problem with the way the flash player caches class files. Basically it seems that when you use the 'import' call in actionscript the flash movie doesn't import the external class if it has already been loaded. the problem is that we have a huge amount of developed classes, many of which have been updated throughout our development. Is there any way for force clear the ASO cache in actionscript or force import external actionscript classes?

View Replies !    View Related
Loading External Swf - Hard Drive Vs Internet?
Whne loading off the hard drive, Flash appears to pause, and not use the loader bars that work over the internet.

This pause appears to be causing problems in timing of sound objects.

Is there a way to force internet style loading off a hard drive?

Thanks!

View Replies !    View Related
[AS2 On CS3] Loading An External Image From The Hard Disk Into A Movie As It Runs
For the purpose of a flash presentation that is going to go on a CD,instead of embedding all the required images into the main flash movie, can I get the flash movie clip to load images into itself ( from the same directory/folder) as it runs?

If so how?

View Replies !    View Related
Loading External Flash Files
Okay, so I've made a flash file with 10 different movie clips, one at frame 1 with a stop action, one at frame 5 with a stop action, one at frame 10 with a stop..... you get the picture.

I want to call the whole swf file in which I have used the on (release) {
loadMovieNum ("movie.swf", 10);
}

How do I then call off the movie clip in frame5 for example, then on a different button call off frame10 but stop frame5 on the button I've just hit.....

Help would be appreciated!!

View Replies !    View Related
A Loading Bar For External Flash Files
how can i make a flash movie, have a loading bar for a movie being loaded into it, but also for the content in the main movie.

and have both the percentages in the same loading bar.


i.e.

main = 25%
loadee = 75%
-----------------------
total = 50%

i dont want a loading bar in each of the movies being loaded in, so any ideas?

something like _level1._getBytesLoaded() or something?

i think i tried it before but since _level1 hadnt even began to load it disregarded it and assumed it was done...

solutions anybody?

View Replies !    View Related
Loading External Flash Files
basically, i have a flash site which contains different sections, when a person goes to one of these sections i want to load an external flash file onto the page

if possible, id like to show a "loading" preloader until the external flash has loaded and is able to be displayed

ive been browsing the tutorials and movies sections but im not sure what section i should be browsing

if you want to see what i mean, go to http://www.atlanticrowers.com and click one of the sections, when one of the sections is clicked you are taken to another page, and thats where i want the swf to be loaded in the current movie

thanks!

View Replies !    View Related
Loading External Flash/jpg Files
Hi
I'm quite new to flash, I have done a couple of sites, but I am more of an artist than a coder.
My site at http://www.smallmoonvalley.com
is taking ages to load. I would like to speed it up by loading some of the images externally.. I am having trouble as even the most simple action script is very hard for me.
When I rollover one of the little images in the scroll bar I would like the larger images on the screen to load externally I have tried this but it closes down the whole flash file just to display the jpg

on(rollOver){
_root.loadMovie("mid_portfolio.jpg", "screen",1);
_root.screen._x =400;
_root.screen._y =225;
}

Any ideas? I'm using flash mx

View Replies !    View Related
Please Help With External Loading Of Flash Files
Hi,

Can someone please help me. I am building a site for a photographer. On the stage I have four movie clips for each section (products,fashion etc). Inside each movieclip is a set of buttons and a container called "load". Then when you click on a button the exernal photo (swf movie) loads into the container. But my problem is, I want a skip button inside this external swf so that you can skip trough the fotos in sequence aswell, but when I put the script on the button inside the external swf it over rides everything inside the movieclip on the main stage and the meu at the bottom dissapears. Please help. the sit adress is http://www.olivariauret.co.za/ (but is still far from finished so dont mind the other glitches pls) Thanx

View Replies !    View Related
Loading External Flash Files
Hi,

On my website i have a loade.swf and then a main flsh file containing the site. THe loader loads the main.swf in using moviecliploader and events, to load it into a movieclip on the ame frame.

The main.swf loads fine but i use actionscript to give my buttons functions which seems to be ignored.

If i view the main.swf on it's own:

www.ccut-designs.co.uk/main.swf

All works fine as planned.

If i view as it's meant to work

www.ccut-designs.co.uk

The buttons don't work and other bits of actionscript fail to work too.

Any help here would be great as im stumped

Thanks

harry

View Replies !    View Related
Loading External Files Into Flash 8
Well i have used many tutorials on this...and not one will work :'(

This is the code i have been using

loadText.load("textfile");
//creating the loadVarsText function
loadText.onLoad = function() {
dynamictextboxname.text = this.the=whatever text in notpad;
};

I have no idea how to load my external text in, i have it all set up. Its all being saved into the same folders etc. But still nothing. Any help?

View Replies !    View Related
External Flash Files Not Loading
I have 2 movieclips loading externally into the main movie using the loadMovie(); function. One for the nav and the other is for other content loaded as separate swfs.

The problem is that they load in the flash player when i test in flash, but when it comes time to see it embeded in the browser nothing loads.

Any ideas why this might happen?

View Replies !    View Related
Issue When Loading External Swf. Flash Player 6 And 8
Hi,

I am using a tree component in flash and I wish, that it will load in external swf file. For that I use Loader Component. But I have one problem. When loading that tree in main swf it doesn't play scrollbars. I found that this tree is in flash player 6 and I use flash player 8. So, when I tried to publish that tree in flash player 8 it shows these errors:

**Error** Symbol=xmlParser MOVIECLIP, layer=Parser XML, frame=1:Line 386: ']' expected
obj.thisControl = thisObj['cont_' add cont_name];

**Error** Symbol=xmlParser MOVIECLIP, layer=Parser XML, frame=1:Line 419: Unexpected '}' encountered
}

I don't know, maybe this is not main problem, why scrollbars isn't showing in main swf.

Please help me to find a solution for this issue.

I put all files that are required to solve the problem. Thanks...

View Replies !    View Related
Loading External Text Files Into Flash
I am looking for tutorials on downloading the text files into flash.
I realised that editing the text in flash is not effective, should I have a lot of text to edit. So I thought that it might be easier to edit the text in notepad or whatever it is and download it into flash.


Can you advise me where I can find the tutorials? I am not familiar with Flash. I am confused which one to look for the correct tutorial,string manipulation, using external files or using database.

View Replies !    View Related
Loading External Text Files Into Flash
So that i can change my news via the text file ^^;

Is there any other [easier//better] way to do this? If not, just plz tell me how to do it this way.

View Replies !    View Related
Loading External Files To Flash Movie
hi...


i want to make an autorun CD with Flash and inside the Flash movie, there are 3 options i want to make....and if i click the first option, an external word document file have to be showed up....the second option, an external flash movie file have to be showed up........the third option, it has to be linked into an external file folder.

does anyone know how to do that?...

thank you very much

View Replies !    View Related
Loading External Document Files (Flash 9)
I am building a website for my friend who is an actor and I need to upload his resume. His resume is saved as a word doc. I would like to keep it in that same format and allow it to be scrollable. Also, how do I enable the resume to updated by him, once I finish developing the site?

Any help would be much appreciated. Thanks

View Replies !    View Related
Loading External Powerpoint Files From Flash
Ok so I created buttons in a flash project that opens external power point projects, but the way I did it they are opening in Internet Explorer.

Is there a way to open them up just in power poin and not in IE...

If someone knows action script coding well and how to do this can you plese respond.. It will help out tremendously, it is a presentation for NAB in Vegas...

Thank you soooo much

View Replies !    View Related
Loading External Text Files (flash 8)
I found a tutorial that explained how to load an external text file into a text field and that worked fine. The issue I'm having is when I try to load the text file into a variable that isn't a text field object.

The code from the tutorial was:

Code:
textLoader = new LoadVars();
textLoader.onLoad = function()
{
textFieldInstance.text=this.content;
};
textLoader.load("text.txt");
The problem I'm having is if after the .load line I have "trace(textFieldInstance.text)", the output is blank (presumably its initial value). I've tried using some other variable in place of "textFieldInstance.text" and I have the same problem. If I do the trace inside the onLoad function, it displays the correct value, but if it's outside the function it just returns the variable's initial value. I'm assuming it's a scope problem, but I'm not sure how to resolve it. Any help would be appreciated.

Thanks,
Deepak

View Replies !    View Related
Loading External Text Files Into Flash MX
Hi Guy's and Gall's

I have a couple problems, i imagine probably easily fixed, but over my head

Number 1...

My flash movie loads an external text file on loading, then display's it in another scene in a scrolling box.
The problem is all the line breaks, it seems to add 2 for every 1, is that to do with the text file? or have i missed something in flash? can i remove them with action script?

Number 2...

The Flash movie doesn't reload the text file every time you oven the page, it seems to open a 'cached' version, can i do anything about this?

www.bexinoz.com

Thanks in anticipation of any help you guys can give me!

Andy

View Replies !    View Related
Loading External Text Files Into Flash MX
Hi Guy's and Gall's

I have a couple problems, i imagine probably easily fixed, but over my head

Number 1...

My flash movie loads an external text file on loading, then display's it in another scene in a scrolling box.
The problem is all the line breaks, it seems to add 2 for every 1, is that to do with the text file? or have i missed something in flash? can i remove them with action script?

Number 2...

The Flash movie doesn't reload the text file every time you oven the page, it seems to open a 'cached' version, can i do anything about this?

www.bexinoz.com

Thanks in anticipation of any help you guys can give me!

Andy

View Replies !    View Related
Loading External Image Files Into Flash?
My site will have a couple of designs so the content for the site will be stored in .txt files then loaded in dynamically. This way I will only have to edit one file to make global changes.

However how do I load external images in?
I have quite a lot of images which would bloat the Flash pre-loader.

View Replies !    View Related
Flash Player 9 Not Loading Flash 8 Files ?
hi , im sorry if this has been asked before , the database gave me an error while searching ...

i only have access to flash MX 2004 Professional and need to create a very basic site for my game server.

when loading the page with flash player 9 installed all i get is a blank white .swf file and nothing happens , no loading whatsoever , anyone know if i can still build a flash site in flash 2004 ?

did some thinking and is it the .html page it is embedded on ? do i have to change the html code for script class , its on javascript now , and is the same as it was when flash 8 was working back a year or two ago.

View Replies !    View Related
Location Of Flash Player On Hard Drive
When I download the new flash player 9 onto my computer, I just get a little animation that says it is downloaded. Where is this player typically stored (filepath?)

View Replies !    View Related
Problem In Loading External Stylesheet In Flash Player 6
Hi,
Does anyone know how to apply external css for flash player 6.

I have an application which has an external stylesheet which is used for formatting the text content.

The screens update and display well in flash player 7 and above but doesnot work when published in player 6.

I know the flash 6 does'nt support stylesheet object. but is there a work around it.


Help needed ASAP.

View Replies !    View Related
Old-fashioned Swf Loading Bar In Flash Player 9? (Can't Use External Content)
Hey. I'm making a AS 3.0 game. I'm making it a self-contained SWF so it'll be compatible with NewGrounds's flash portal. How do I create a pre-loader for it? I'm pretty sure I can't use the Loader class, because Loader requires a URL, which implies that the content it's loading must be external to the swf. (Not, for example, Library content.) My game is a 4mb SWF, so a pre-loader is a must. I just can't figure out how to do it, and all the documentation I can find seems assume that my content is all external SWFs and JPEGs residing on a web server or something. How am I supposed to make this work?

View Replies !    View Related
Loading External Flash Files Using A Variable As Filename
ok I have made a flash file and what I want it to do is take a variable like path and use that to load the movie. For example the url will be "www.example.com/1.swf?path=2.swf" that will set path to the file I want to load into my movie how do I use loadMovie() to load the file using that variable. also once I load the movie how do I place it in my flash file. and how do I set where it goes ect.



Max

View Replies !    View Related
Loading External Text Files Into Flash Movie
hello friends

i wanted to ask if anybody knows how to load an external text file into a flash movie....

please help!

many thanks
shrav

View Replies !    View Related
Hard Times With Windows XP Flash Player Installation
Hi,

Does anybody know why my browser (IE 6.0.2900, Windows XP SP2) just absolutely refuses to let flash get installed? I have tried everything I know and it seems that it can't get around some permission problem with either Active X and/or Java settings. Any help is appreciated...all I want to do is to have a basic flash player in my browser so that I can play some youtube and other interesting video clips. Thanks much in advance...

View Replies !    View Related
Loading External Text/graphics Files Into A Flash Animation
Hi, I wonder if anyone can help.

I need to load different text and graphics files into a movie.

I have a popup window formatted as needed which is part of the main movie.

The basic idea is that there are different buttons on the screen which when clicked call up the popup formatted box.

The text and graphics files are all different but are related to the text files.

Can anyone suggest some Actionscript, javascript, or php which I could use to solve the problem??

View Replies !    View Related
Loading External TXT Or HTML Files To Text Field In Flash
Does anyone know where the topics are for loading external txt or html files into a swf to place in a text field? Or does anyone know whow to do this exactly?

Thanks.

View Replies !    View Related
Loading External Flash 8 Files Into A Published Flash 7 File
Hi,

Just wondering if I were to load an external movie published in Flash 8 into a movie that is published in Flash 7... the user would not require a flash 8 player, right? I'm thinking that the external Flash 8 movie takes on the Flash 7 player when loaded. Does anyone know if this is correct?

Thanks!

View Replies !    View Related
Media Files Prevent Flash From Fully Loading External XML File
Im trying to debug a flash widget we created, and it loads fine on the 20 odd computers we tested on EXCEPT for one computer where, the application doesn't load an external XML file that calls for 3 small mp3 files and a FLV file to load as well.

In a debugger, we noticed that when it tried to load these mp3 files it was getting a Forbidden access message. The FLV just prevents the FLV player from showing up at all (not even the skin).

Can anyone figure out why, that it would work over all the other computers and NOT the one? On that person's computer, we tried it in IE, Firefox, even Chrome and the application doesn't load. We even cleared the cache, did a hard refresh and still nothing.

However, the other computers work just fine.


ALL the computers have the latest Flash software installed.

What could cause this problem?

View Replies !    View Related
Loading External Flash Files Onto Flash Website
I need help on how to load .swf files on a flash site as a portfolio section, each one will have their own image or animation. The way I want them is to when you change the pages it loads the next object rather than have it on the site and make the site file bigger to load than having it minimual. I found only one tutorial but it incorporates something I don't want and tried working around it to have it load under a frame (not animation frame but like picture frame) in a certain location.

View Replies !    View Related
Loading External Text Files With Links To .swf Files
i am loading a external text file with html links. I would like to know if anyone out there know how to make those links load .swf files, that would work with the levels hierarchy of the original level0 file. I tried passing a variable that would be detected by a movie clip on EnterFrame but no success, maybe I had written something wrong. Loading just the swf file will replace the html page on the browser.

View Replies !    View Related
Simple MP3 Player With External Files
Hey guys.

I have tried to make a simple MP3 player that plays external files. I have 12 buttons each with a sound attached, when you click on one the sound plays. I have included at the end some of the script used.

I would like to make this more advanced by adding a stop button that only stops the sound (the one i setup at the moment stops everything else). And i would like to incorporate a volume slider.

If you know of any tutorials that could help me create a MP3 player such as this with external files that would be great, or any advice would be useful mainly regarding a volume slider.

Thank you.
Raymond.

On each button, eg:

on (release, keyPress "2") {
p.loadSound("lab/2.mp3", true);
}

Defined actions on separate controller layer, one of each sound, eg:

p = new Sound();

The button i used was:

on (release) {

p.stop();

}

But it stops everything. Thanks again.

View Replies !    View Related
FLash Cd Player .cda Files Launching Media Player?
So I need a solution to this problem. I dont know if it can be solved in flash but any help would be great. I'm making an Enhanced cd. If you pop it in you cd rom it autolaunches a flash movie. There are two options one to goto the website contained on the cd the second to listen to the audio files. Is there a way to launch a media player or open the .cda files with flash so when you click the listen button it starts the cd? help. It needs to play in a cd player otherwise this owuldn't be a problem.

View Replies !    View Related
Loading External Html Files With External Css Please Help
Hi people,
I'm new to this forum and new to ActionScript. I have not worked on AS1 or AS2 before so I just got started on AS3.

I'm trying to learn ActionScript 3 and I started experimenting with ideas and workinf examples.

What I'm trying to achieve is a website where the content shown is from external HTML files and external CSS.

My code was working up until trying loading the CSS. The error that I'm getting is "Call to a possibly undefined method URLLoader"

here is my code:


ActionScript Code:
import flash.display.MovieClip;
import flash.text.*;
import fl.transitions.*;
import fl.transitions.easing.*;


var bodyTextField:TextField = new TextField();
bodyTextField.x = 50;
bodyTextField.y = 300;
bodyTextField.width = 500;
bodyTextField.multiline = true;
bodyTextField.wordWrap = true;
bodyTextField.autoSize = TextFieldAutoSize.LEFT;
bodyTextField.selectable = false;

var textBox_mc:MovieClip = new MovieClip();

showContent("html_pages/home.html");

function showContent(paraString:String):void
{

    var contentPage:String = paraString;
   
    var myURLLoader:URLLoader = new URLLoader();
    var myURLRequest:URLRequest = new URLRequest(contentPage);
   
    var myCSSLoader:URLLoader = new URLloader();
    var myCSSRequest:URLRequest = new URLRequest("html_pages/demo.css");
   
    myCSSLoader.load(myCSSRequest);
    myURLLoader.load(myURLRequest);
   
    //myURLLoader.addEventListener(Event.COMPLETE, dataOK);
    myCSSLoader.addEventListener(Event.COMPLETE, dataOK);
   
   
    function dataOK(myevent:Event):void
    {
        var css:StyleSheet = new StyleSheet();
        css.parseCSS(URLLoader(evt.target).data);
        bodyTextField.styleSheet = css;
   
        bodyTextField.htmlText = myURLLoader.data;
   
        textBox_mc.addChild(bodyTextField);
        stage.addChild(textBox_mc);
       
        var myTransitionManager:TransitionManager = new TransitionManager(textBox_mc);
        myTransitionManager.startTransition({type:Wipe, direction:Transition.IN, duration:0.5, easing:None.easeOut});
    }
}

Can someone please have a look and tell me what I'm doing wrong? Thanks.

View Replies !    View Related
Loading External Files Within External File
Is there a way to load an external file from within an already loaded external file?

Example:

I want to do a section devoted to blog entries. So, I was wanting to externally load the dated references in one textbox on the right side, and when the user clicks on one date, it loads the referenced text file into the larger box next to it.

Any ideas of how to accomplish this?

Thanks!

bbbco

View Replies !    View Related
Loading .exe Files Or Auto Detecting Versions Of Shockwave Player
There are 2 parts 2 my problem and if you could solve either that would be great.

I made a program in director to educate students on stuff...anyway it requires shockwave 10 which i have included on the same cd as the shockwave produciton.

I want to know if it is possible to detect what version of shockwave is on there computer and if version 10 is detected than it loads my shockwave production, and if it is not detected than it loads shockwave 10 and starts to install it. IS THIS POSSIBLE at all?

If it isnt then is there a way to load .exe files from a button in flash, ie what would the actionscript be if my .exe file was called Shockwave.exe and was located in the same folder as the button

View Replies !    View Related
Importing External Files: Preview And Browser Works, But It Doesn't Work With Player
Basically, when I import external .swf files or .xml files, I can usually see them perfectly fine in browsers and in preview windows. But when I try to run them separately using Flash Player, it doesn't show them at all.

Is there something simple I could be overlooking that is causing this? Or is there something wrong with my Flash Player?

The program I use is Flash MX Pro, and my Flash player is Flash Player 6. I've tried updating my Player using Macromedia.com, but I have a feeling that it's only updating the browser plug-ins and not the player itself.

It's not really a problem, but if it's something that will cause a certain percentage of people to not be able to see my stuff, it could be a potential problem.

View Replies !    View Related
Loading External Files?
Can someone tell me how i can load an external file, like an html file, into a movie. I can do it with a text file but I want to make links in the file and I can't make html links in my text files?

View Replies !    View Related
Loading External Swf Files
ok, I have a site where I will be loading external swf files on top of my _level0 page. My question is that there is some content on that _level0 page that I want to dissapear when the new _level1 is loaded. I do not need that content to appear again as the user surfs the site. What do I need to do besides the typical

on (release) {
loadMovieNum ("capabilities.swf", 1);
}


I think I need for it to advance to a blank frame before it loads the _level1.swf file so it does not show. Am I correct in assuming this? What kind of actionscript would make this work? Feedback is appreciated!!

Nate

View Replies !    View Related
Loading External .txt Files?
Ok...what's the most easiest way to do this. I have a Text Box that scrolls perfectly...I don't need to know how to add a scroll bar ..but i'd like to know how i can get a dynamic look for my text. For instance, I want to know if I can get different color text and font...and create links and all that fun stuff.
Thanks

View Replies !    View Related
Loading External .txt Files
i wish to load various external .txt files into a single text box dependant on which file is appropriate through the use of a series of buttons.

specifically; i need to load bios for a list of different people onto a single page according to which name is selected.

ex. select "jon" button from list personalities and bio for "jon" will we'll be displayed in text box.

do i need to make seperate text boxes for each person or can i call different .txt files into a single text.box?

i hope this is clear, any help would be great, thanks

View Replies !    View Related
Loading External TXT Files
Im making a flash-site and I have different windows which in each have some text. I want to load different text from .txt files to each windows and the windows are of course in their own layers. The code im using to open the .txt-files and save it in a variable is:
loadVariables ("home.txt", ""); \that's for the home window.
And in home.txt:
hometext=Testing if this works...
I want the dynamictext to be HTML, WordWrap and Selectable
This worked once but it doens't work anymore.
Ive done everything else except the text so im nearly done with the whole site. If you need the source to the site, reply here and i will send it.

View Replies !    View Related
LOADING EXTERNAL TXT FILES
i have a few dynamic text fields in a movie clip and im loading diffrent text into each.

Inside the movie clip i have this code

loadVariables("guess.txt", _root.sections, "GET");
loadVariables("me.txt", _root.sections, "GET");
loadVariables("people.txt", _root.sections, "GET");
loadVariables("places.txt", _root.sections, "GET");
loadVariables("mad.txt", _root.sections, "GET");

None of them are loading in, although when i only had on txt field it worked.

Is it not working cos i have 5 diffrent ones ?

View Replies !    View Related
Loading External Mp3 Files
Please help me.... I am fairly new to Flash. I have been trying to teach myself how to use it this summer and am doing fairly well, but I am having a problem that I just cannot figure out the answer to. I have started a web page and I wanted to gear it towards my family members who have slow connection speeds. However, I also want to have a little bit of music on the page. Now, on a dial up connection it would take a long time to load a flash movie with a decent quality mp3 file in it so I decided to keep the mp3 on my server and have flash load it after the page opens up by using this code:

mySong = new Sound ();
mySong.loadSound("MySong.mp3", false);
mySong.start();

Now for some reason this seems to be working on my friend's computer (he has a cable connection), but I can't get it to work on mine (I usually connect to the internet via my school's LAN, but am currently using a dial up connection). The movie loads just fine, and I can tell that the song is loading because I also have included in the movie something that shows the percentage of the song that has played. If the song isn't loaded, then it usually shows "NaN" or not a number because I am using some math to figure out that percentage and it ends up dividing by zero if there is no song loaded. But, the way that I have it right now, after about five minutes (the time that it takes to load the song), that "NaN" turns to a zero, indicating that the song is loaded, but has not started to play yet... So, I what I need is some help determining why it is that this is working on my friend's computer and not on mine... Oh, and in case you were wondering, I started out by using a streaming sound, but it wouldn't buffer fast enough so I had to change it to an event sound (i.e. : mySong.loadSound("MySong.mp3", false). Now I know that the song has loaded, but for some reason, it just won't start playing. I have been trying to figure this out for two days now, and have come up short. If you have any ideas on how I can make this thing work, please help me... I would appreciate any help that you can offer...

Thank you,

Dominique A. Ramirez

P.S. if it helps, my address is geocities.com/dominique_a_ramirez/new

View Replies !    View Related
Loading External Swf Files
I am having difficulty in loading an external swf file into my main flash page. I am using Flash 5. I have set up an action layer with a frame action loadMovie

("Xpage.swf", "target");

I have then created a movie instance named target with another movie within it consisting of a box named "box".

I have then made a button in the same frame with the object actions

on (release) {
tellTarget ("logo") {
gotoAndPlay (1);
}
}

When I test the movie I get the following error message

Target not found: Target="logo" Base="_level0"

I am not sure how to fix this.
Any help would be greatly appreciated.

Thanks
Schmidty.

View Replies !    View Related
Loading External Swf Files?
Hi people,

Is it possible to load external swf files into a larger swf movie? If so how can I do this?

Cheers,

dEVS!

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved