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




Test If Mp3 File Is Found.



Hello,
I am making an mp3 player.
I am trying to fatten my code so that the player responds accurately under any conditions. The problem that I ran into is that I cant detect wether or not the file is found. (not fully loaded or finished playing ... just available)

Example:

function launchTrak ( trakName )
{

stopAllSounds();
onyx = new Sound();
onyx.loadSound( trakName ,true );


if(onyx.getBytesTotal() == "")
{
parsedString=" FILE NOT FOUND ";
break;
}
if(onyx.getBytesTotal() >= 0)
{
parseName(trakName);
break;
}


};





I would like to have it do this:


If file is not found
{
send error message to status window
}

If file is found
{
send trak name to parser / status window ( before its fully loaded while the download is streaming )
}



FlashKit > Flash Help > Flash ActionScript
Posted on: 04-29-2003, 03:25 AM


View Complete Forum Thread with Replies

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

Test To See If Flv Is Found.
Hi,

Im trying to find what code I need to test if a .flv file is present.
If the file is present then play, if not found then id like it to trace("file not found")

I have the file playing and everything using the component but I want to add some checking code before that.

Iv tried the below, but have no luck.


try {

} catch (err:VideoError) {
if (err.code == NO_CONNECTION) {
trace("video not found");
}
}

any ideas

Flash Remoting: Include File NetServices.as: File Not Found.
I am trying to use flash remoting and Flash 8 cannot locate my NetServices.as file or NetDebug file when I test my movie.

The error message I get is as follows:
include file NetServices.as: File not found.
#include "NetServices.as"

include file NetDebug.as: File not found.
#include "NetDebug.as"

Any suggestions?

Loading Test File In To A Dynamic Test Box
i am making a flash app and part of it is being able to enter the name of a text file in an input text box and hit a button and if there is a text file with the name you entered in the same folder as the swf it will load it in to the dynamic text box. attached Is a file of how far i got on my own.

thanks

File Not Found.
I'm trying to get started with remoting. I installed the Flash Remoting Components MX 2004 AS 2.0, but when I try to use them like so:


Code:
#include "NetServices.as"
#include "NetDebug.as"
I get the errors:

Code:
Error opening include file NetServices.as: File not found.
#include "NetServices.as"
Error opening include file NetDebug.as: File not found.
#include "NetDebug.as"
What's going on?

File Not Found Exception
Can anyone tell me how to catch the above exception.

I am trying to set up a scenario where the XML connector component connects to a file called Products.xml, and if it doesn't find it, gives me an error message.

I have so far:

try {
XML1.trigger()
}
catch (FNF) {
}

Where XML1 is the XML Connector component.

Thanks

Dan

If (url Not Exist / File Not Found) - How?
Hi
is it possible to check a link and see if the file is on the server or not?

example:

Code:
trackURL = "http://www.essentialparadox.com/Music/Track1.mp3";
if (trackURL [is not available]) {
do this;
}


Thankyou

-Luke

Import File Not Found Again
Hello;

Could anyone tell me what's wrong with my flash CS3? Here is my code:
import fl.controls.*;

I was told the "import fl.controls" was not found during testing.

thanks!

NetServices.as: File Not Found.
Before anyone jumps the gun, I have installed the Flash Remoting component from this page:

http://www.macromedia.com/software/f...nents/#flr_fl8

link to file:
http://download.macromedia.com/pub/f...nts_flash8.msi


Not sure if I did something wrong, or if the install file just doesn't like me

Closed my open Flash 8 window, and double clicked the .msi file. Install seemed to go fine, no big flashing red alerts there. But when I opened up one of my old Flash MX files that I wrote (which used Remoting), I get the:

**Error** Scene=Scene 1, layer=Action, frame=1:Line 1: Error opening include file NetServices.as: File not found.
#include "NetServices.as"

Total ActionScript Errors: 1 Reported Errors: 1

Error. I remember getting this in Flash MX 2004 as well, but at that time, I had forgotten to install the Remoting Component. I just installed Flash 8, and just installed the Remoting Component for Flash 8. I did a search on my hard-drive for NetServices.as, and did find two references to it:

C:Documents and SettingsSteveLocal SettingsApplication DataMacromediaFlash 8enConfigurationClassesmx
emoting

and

C:Program FilesMacromediaFlash 8enFirst RunClassesmx
emoting

They seem to belong to Flash 8, but for some reason Flash is not finding them? Any help here, please?

LoadMovie File Not Found
loadMovie is doing weird things....i'm loading a series of images from a series of URLs (all within the same domain as the .swf), and sometimes they show up, sometimes they don't.

i traced the hell out of my loader (which has an onEnterFrame that continually checks loaded and total bytes, typical stuff), and i've found that when images don't show up, they return getBytesLoaded() == 0 and getBytesTotal() == -1. which colin moock tells me means FILE NOT FOUND. however, in these instances, loadMovie doesn't stop trying, and will eventually find the file and load it (getBytesTotal() will eventually, after anywhere from one to a few cycles, yield the correct total bytes, and getBytesLoaded() will eventually catch up). the weird thing is that the _width and _height show up as 0.

so, the file is first not found, then found and loaded, but has a _width and _height of 0.

i tried a hack that says if i'm loaded and my _width == 0, load me again. this works for smaller .jpgs, but not for larger .swfs (w/ embedded movies, in the range of 1MB). any ideas?

stumped,
-depth

Import File Not Found Again
Hello;

Could anyone tell me what's wrong with my flash CS3? Here is my code:
import fl.controls.*;

I was told the "import fl.controls" was not found during testing.

thanks!

If An Error Is Found Loading A File...
....how do I make the movie do something else.
I'm working with alot of feeds that load files to an SWF and sometimes errors are found when the files are loaded how do I make the movie do something when an error of anytype is reported?

Error Handling When File/URL Not Found
I am paging through a list of items in a datagrid and calling a URL (actually a local file) based upon which item in the grid was clicked. I'd like to throw an error if the file does not exist, but I can't figure out how. Can some one give me a clue? The docs on this subject are confusing to me. Here is the code:

//add the search function for when the button is pressed
import fl.controls.DataGrid;
import fl.data.DataProvider;
import fl.events.ListEvent;
import flash.display.Sprite;

getAcrobat.addEventListener(MouseEvent.CLICK,acroReader);
backButton.addEventListener(MouseEvent.CLICK,goBack);
litGrid.addEventListener(ListEvent.ITEM_CLICK,showPDF);

function acroReader(e:MouseEvent) {
var urlAcro:String = "

Solution Found : Opening An Avi File From Flash
Last time i had asked for help in this forum to open an avi file into an external program from within flash. thanx to u guys i got a solution to it here itself. thanx a lot to the great programmer who made it possible.
I would like to share it with u :
The solution is creating a batch file which will launch the avi file.
Create a bttn in flash and give this script to it

on (release) {
fscommand("exec", "launcher.bat");
}
Create a projector(exe) of this file. Test it only on the projector not on the swf created. Viola it works. I have attchd. the programmers zip file(for reference. Viola u r done!!!]

But this works fine only in Flash 5 because i tried using the same script in Flash 6 without any success.
So could someone pl chk the attchd. file in Flash 6 to see if it works properly and send me a reply.
I know u guys could give me some solution because i am not a good programmer myself.
Awaiting your reply at the earliest.

Error Opening Include...File Not Found
I have a .as script inside a different directory than my main movie that gives me an error at publish time. The error says that the files does not exist, however it does. The syntax is correct and it still gives me errors if I put the .as in the same directory as the movie. The include code is on the MC named containerMC. Could someone download my movie and see what the problem is? Thanks... http://members.cox.net/ken_frey/mainmovie.rar

Java Popup Error: File Not Found.
When Im trying to call a popup window in flash mx pro, a error appears saying "cannot find file:c//"my computer"/undefined. instead of test.html
But everything (movie.swf, movie.html, and test.html) are togheter in the same folder. Im getting crazy with this. I even took the example made it by a tutorial site but its not working. Help me.

Error Handling For Text File Not Found
I've been having trouble with loading an external text file.

I've got the file loading correctly but in some cases the file may not be on
the server and I have action script to compensate for this except that when the file is attempted to be loaded, the error handler triggers and messes up the movie.

Here's the code I have to load the text if it's there. If it's not there then I'd want nothing to happen next.


Code:
var loader:URLLoader = new URLLoader();
loader.load(new URLRequest("uploads/info1.txt"));
loader.addEventListener(Event.COMPLETE,onComplete);
loader.contentLoaderInfo.addEventListener(IOError Event.IO_ERROR, loadIOError);
function onComplete(event:Event):void
{ info_Text.text = event.target.data;
if(info_Text.text == "" ){
scrbr1.visible = false
btn.visible = false
btn2.visible = false
}


else gotoAndPlay (11)
}
function IoErrorHandler(event:IOErrorEvent):void {
trace("ErroR");
}

Note: I have done some looking but no luck yet.

When I run this code I get this error :

1084: Syntax error: expecting rightparen before Event.

Error Opening Include...File Not Found
I have a .as script inside a different directory than my main movie that gives me an error at publish time. The error says that the files does not exist, however it does. The syntax is correct and it still gives me errors if I put the .as in the same directory as the movie. The include code is on the MC named containerMC. Could someone download my movie and see what the problem is? Thanks... http://members.cox.net/ken_frey/mainmovie.rar

MediaPlayback - Event Fired When File Not Found?
I want to have a playlist containing mp3 from multiple sites. I would like to use the MediaPlayback component to play these. If we try to play an mp3 that is not currently available we'd simply like to skip to the next mp3. I don't see any event or anyway to detect if a file was not found.

We'll be using the "complete" event to know when to start the next mp3. Unfortunately this event it not fired in the scenario where the file is not available.

Any suggestions (other than using the Sound object directly)?

Thanks in advance.

Check If External File Exists / Found Before Loading
Trying to use actionscript to see if a series of external files exist before I load them up. Right now I have to start loading each file (I use the typical moviecliploader routine inside a for loop) and then interrupt the loading process (inside a listener's onloadstart handler), to verify that it exists. This slows things down because it seems some bytes do get loaded.

I have looked athttp://www.actionscript.org/forums/s...threadid=25194but have not been able to get it to work. I published both movies and all.. Anyway, that's an old post and maybe there is a new way to do this??

Here is my code:


Code:
function find_num_imgs(my_clip) {
// below: you can only have 20 images
//while (my_clip.keep_searching == true) {
for (i=0; i<20; i++) {
my_clip.swf_to_find = "file_"+i+".swf";
my_clip.createEmptyMovieClip(("dummytarget_"+i), my_clip.getNextHighestDepth());
my_clip.target_ref = my_clip["dummytarget_"+i];
my_clip.target_ref._visible = false;
my_clip["SWFListener_"+i] = new Object();
my_clip.listener_ref = my_clip["SWFListener_"+i];
my_clip.listener_ref.swf_index = i;
my_clip.listener_ref.asstd_flake = my_clip;
my_clip.listener_ref.asstd_target = my_clip.target_ref;
my_clip.listener_ref.onLoadError = function(target_mc:MovieClip) {
// this is reached when there are no more swf's found.
// another small problem is that the break statement below is not working and the loop continues
// how do i stop looking up non existying swf's.
break;
};
my_clip.listener_ref.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
trace("=============="+target+".onLoadProgress with "+bytesLoaded+" bytes of "+bytesTotal);
// this proves that i am wasting resources by loading parts of the files when i only want to see if
// they exist
};
my_clip.listener_ref.onLoadStart = function(target_mc:MovieClip) {
my_clip.mcl_ref.unloadClip(target_mc);
my_clip.mcl_ref.removeListener(my_clip.listener_ref);
};
my_clip["imageDUMMYmcl_"+i] = new MovieClipLoader();
my_clip.mcl_ref = my_clip["imageDUMMYmcl_"+i];
my_clip.mcl_ref.addListener(my_clip.listener_ref);
my_clip.mcl_ref.loadClip(my_clip.swf_to_find, my_clip.target_ref);
//
//
}
}

Moose Tutorial Series #1: Error File Not Found
The Moose Tutorial Series #1:
Time-based Scripted Animation – Part I.

I get this error message saying:- Scene=Scene 1, Layer=Actions, Frame=1: Line 2: Error opening include file moose/init.as: File not found.
#include "moose/frame_event.as"

Scene=Scene 1, Layer=Actions, Frame=1: Line 3: Error opening include file moose/frame_event.as: File not found.
#include "moose/timer.as"

Scene=Scene 1, Layer=Actions, Frame=1: Line 4: Error opening include file moose/timer.as: File not found.
#include "moose/chronos/init.as"

Scene=Scene 1, Layer=Actions, Frame=1: Line 5: Error opening include file moose/chronos/init.as: File not found.
#include "moose/move.as"

after I copy and paste the following actionScript specified by the tutorial:

ActionScript Code:
#include "moose/init.as"
#include "moose/frame_event.as"
#include "moose/timer.as"
#include "moose/chronos/init.as"
#include "moose/move.as"
 


Do I need to download something for this to work? Someone explain please.

Thanks

LoadVariables From File - Test If File Exists First
Thanx for previous help

But unfortunately I have another problem:

I'm reading a lot of variables (with loadVariables) from a textfile. It is important that the flashfile tests if the textfile exists before it starts reading the variables from the textfile. How can I do this?



ADDITIONAL REMARKS:
Why is the test important:

The variable eof is set to 0 in the very first frame.
The flashfile reads Varibales out of the textfile until eof=1;
The very last variable in the textfile is eof=1
When loadVariables reaches this point, reading stops.
So there will be an endless loop if the textfile is not there.
Our administrator says this is bad because of some caching reasons.

[F8] Help With A Test File
I have been going through a book for actionscript with flash 8 to help teach myself. I recently encountered a problem with a file and fixed it... I just don't understand why what I did fixed the error I was having.

It was a simple file including an input text field, a dynamic text field, and a button. When you input a number and click the button, the actionscript was simply supposed to double that number and display it inside the dynamic field. The problem I WAS having was that the dynamic text field kept reading "NaN" as the result, and it drove me nuts. I clicked every single thing I could find in the properties panel and stared at the actionscript in hopes to find something. But for some strange reason, it wasn't until I clicked the Input text field and DESELECTED the Auto-kern box that the movie worked as it was supposed to. My question is, why would deselecting that box affect how the movie handles the math... am I missing something?

-Chris

Test For Xml File
*EDIT*
I want to load an xml file with the filename as searchString.xml, and for the function to go through the array, 31-01 until it finds an xml file that matches that file name, I'm not sure how I should go about it exactly...

I need it to enter a value from the array, test if the file has loaded, if it has, stop, if not carry on to the next value in the array....
Please help


Code:
findXml = function() {
_global.myArray = new Array("31", "30", "29", "28", "27", "26", "25", "24", "23", "22", "21", "20", "19", "18", "17", "16", "15", "14", "13", "12", "11", "10", "09", "08", "07", "06", "05", "04", "03", "02", "01")
for (i = 0; i<myArray.length; i++) {
myDay = myArray[i]
trace(myDay)
break;
}
}
findXml();

Test For File?
Does AS3 have method or function similar to php's is_file()?

If not (I haven't found anything) does anyone know of a method that would simply test for the existence of file before importing, uploading, downloading etc.?

TIA

Len

Writing To A Test File
Ok, i have been looking around, i can only find one tutorial and i can't get it to work :-/

i want to load in information or text in from a external .txt file. Then, add more writing to the text file from the flash file. I cant work it out :-/ any help? If any of you know any tutorials that would be great :-D

Please Test Protected File
hello
i have a protected swf file.
i want to know does ASV (Action Script Viewer) can decompile ActionScripts of this file
but i have not ASV.
if anyone has ASV 5 or later please pm me.
thx

Error 1046: "type Was Not Found.." While Loading External .as File
I am trying to access a class "Loadxml" of an external package "xmltxt" in my main movie.
But I get error messages 1046: Type was not found or was not a compile-time constant: Event. If I comment out the event Listener I still get that 1046 error, now it is missing the constant URLLoader. What is going on? How do I make my xmltxt.LoadXML.as accessible?

I just finished the tutorial by Victor on AS3 and boldly wanted to use the same approach but it doesn't work!!

Thanks for any hints!

this is the code in my main document class:

Code:
package com.myCompany.documentClass{
import flash.display.MovieClip;
import com.myCompany.xmltxt.*;

public class DocumentClass extends MovieClip {
private var _XMLContent:Loadxml;
public function DocumentClass() {
trace("Document CLass instantiated");
_XMLContent= new Loadxml();
addChild(_XMLContent);
}

}

This is the code that I am trying to access.

Code:
package com.myCompany.xmltxt{
import flash.display.MovieClip;

public class Loadxml extends MovieClip {
var allTxt:XML = new XML();
var xmlLoader:URLLoader;

function Loadxml() {

trace("LoadXml is initialized");
//specify the location of the external XML
var urlRequest:URLRequest=new URLRequest("testxml.xml");
///create object to load external data using the built-in class URLLoader
xmlLoader=new URLLoader();
//Register to be notified when the XML finishes loading
xmlLoader.addEventListener(Event.COMPLETE, completeListener);
//Load the XML
xmlLoader.load(urlRequest);
}

function completeListener(e:Event):void {
allTxt = new XML(e.target.data);
trace(allTxt.toXMLString());

}
}
}

Flash 8, Remoting Components, "NetServices.as: File Not Found."
Ok, this problem is a little convoluted so please bare with me.

We recently had a developer leave who was one-deep on all our flash development (our fault I realize). We have a header on our internal intranet that uses flash remoting. On his way out the door I got a tiny bit of info on how he was doing this, but I'm still having problems. (Also, I am a flash newbie, I am just trying to grab the reins of this now while there is no emergency so I don't get screwed over when there is one)

He said I had to have Flash 8 to get it working, so I installed that. Then I installed the flash remoting components, (from here http://www.adobe.com/products/flashr...ds/components/)

However, when I try export my file to .swf, I am getting the following error:


here's the code that is running it, just in case it helps

Code:
stop();
#include "NetServices.as"
#include "NetDebug.as"
remotingServer = "https://"+server+"/flashservices/gateway";
NetServices.setDefaultGatewayUrl(remotingServer);
var gw = NetServices.createGatewayConnection();
var myService = gw.getService("includes.components.headerTitles", this);
myService.getHeader(subSiteID);
function getHeader_Result(results) {
org.text = results.items[0].organization.toUpperCase();
sub.text = results.items[0].subSiteName.toUpperCase();
orgUrl = results.items[0].orgURL;
}
also, i did try using "import mx.remoting.*;" and "import mx.remoting.NetServices;", but I get the same error as before.

If anyone could help me out I would appreciate it a ton, thanks.

I Have A .as File With Written Script. How Do I Test It?
Im new to actionscript. I have a file with script in it. I dont know how to open it or test it.

Can anyone help?

Published & Uploaded _but_ "file Not Found"
Hi! I published using the .swf and html files, and the uploaded both to the same place on my site, but i am getting file not found when i go to the url anyone have any suggestions?

http://www.jobstudios.com/web/site/jobstudios2.swf

or

http://www.jobstudios.com/web/site/jobstudios2.html

but i don't understand what else to do, I have done everything all the tutorials tell me to.

thanks for anyone whou can help me-
Olivia

#include "NetServices.as" File Not Found Error
I have Flash Remoting installed for Flash 8

I am trying this community out for the first time - I am not new to flash, but I am new to this issue. It worked in previous Flash MX 2004 version, but since I upgraded to Flash 8 Pro all hell breaks loose. Thanks in advance..

The issue:
I have a connection through an ad server which I am using Remoting. I am only getting two errors and it has to do with this:

#include "NetServices.as" File not found
#include "NetDebug.as" File not found

I then added the source import mx.remoting.debug.NetDebug;
NetDebug.initialize(); (per a google search) and I am still getting the error: File not found when it goes to get
#include "NetServices.as" and #include "NetDebug.as"

Any help would be appreciated - I feel this is my last stop.

PS I have Flash Remoting installed for Flash 8

Saving Dynamic Test Into External .TXT File
hi

Is there any way to make flash save text entered into dynamic text field to an external .txt ???


thank you

Anti-Alias Different Between Test Movie And .SWF File
Flash CS3 is NOT anti-aliasing text for published .swfs as well as the text appears while testing from within Flash CS3 (Control > Test Movie).

Clicking Test Movie also publishes the .swf file. When viewing the .swf from within Flash CS3, everything looks good. The strange thing is that if i then view the same published .swf file in Flash Player or any browser, the text is not properly anti-aliased.

See image (link: http://i717.photobucket.com/albums/ww175/chunk1978/Picture3.png ). The top image is the static text (blown up) when viewed using Flash Player or a browser. The bottom image is the static text when viewed as Test Movie from within Flash CS3. Notice the coloring that is missing in the top image.

Is this normal behavior for Flash? I've noticed that when testing .swf files as a Test Movie from within Flash CS3 it's quite jagged and slow compared to being viewed Flash Player and (most) browsers. Is the slowness of Test Movies viewed from within Flash CS3 because the texts and images are of higher, non-compressed quality and perfectly anti-aliased text?

Can i fix this?

Swf File Plays During Scene Test But Not Entire Movie
If I test the scene, the .swf file will play and continue on. But if I test the entire movie, it stops playing at the beginning of that certain .swf file. Could someone give me a simple fix? Thanks

Flash 8 Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

Flash Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

Flash Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

(Authoring Mode-test Scene-test Movie )Different Results WHY?
(Authoring mode-test scene-test movie )Different results WHY?I will get mad working on a quiz for a month plz help: im working on quiz game -frame by frame- its 15 scenes each scene contain about 70 frames with 70 action script :go to and stop - go to and play - stop every thing is fine till scene No. 11 in the authoring mode when choose from control menue enable simple buttons - enable simple frame action : its working fine scripts executed fine but when going to test movie mode some scripts doesnt work WHY? what mistakes i have done? what should i do ? how can a void such a problem ? any suggestions PLZ??? Thanks in advanced

Buttons Work In Test Scene But Not In Test Movie...WHY?
Hi all,
I have buttons in a movieclip i've used
_root.
and the buttons work when i do test scene but when i try and test movie the buttons link back to the wrong screen. why is this? There is no apparent reason as the scripting seems fine.

Swithching Function From Test File To Template? Loop Isn't Working In Template
Hello everyone,

I've finally come back to my original document that I need this function to work on. There's a problem with it continuously looping to undefined when I move it from images1-1 to bubba1-2.
Bubba1-2 is my default template that I need to make this work on.

I've placed a zip file if I'm not making sense, for someone to help me on this little loop problem.
I think the problem is on line 116 of bubba1-2, when I tell it to loop again.

images1-2 is what I'm trying to achieve in bubba1-2.fla

Looping to undefined????????????
I know it has something to do with me calling my xml function all over again. But, I cannot figure out where my problem lies.

If anyone could help me on this good day I would appreciate it!


cbs

Swithching Function From Test File To Template? Loop Isn't Working In Template
Hello everyone,

I've finally come back to my original document that I need this function to work on. There's a problem with it continuously looping to undefined when I move it from images1-2 to bubba1-2.
Bubba1-2 is my default template that I need to make this work on.

I've placed a zip file if I'm not making sense, for someone to help me on this little loop problem.
I think the problem is on line 116 of bubba1-2, when I tell it to loop again.

images1-2 is what I'm trying to achieve in bubba1-2.fla

Looping to undefined????????????
I know it has something to do with me calling my xml function again. But, I cannot figure out where my problem lies.

If anyone could help me on this good day I would appreciate it!


cbs

How Do You Test Preloader In Test Movie?
hey... another question...

how do i test my preloader in the Test Movie?

when i use Test Movie the file is already 100% loaded so i dont know if my preloader is workin or not. is posting it in the web the only way to test if the preloader is working? thanx in advance. peace and prayer

alex

Test Scene Vs. Test Movie
Whenever I have done work in flash, these two commands have always worked the same. However, this one time, I test scene and the thing works exactly as I would like it to. When I test movie, one of my movie clips doesn't show. I can not find any problems in the code, and the layers all seem right, does anyone know of a difference between these so that I can look for a different problem? I have been racking my brain and the brains of others for about a week now on this. Thank you for any help.

Steve

Test Scene Vs. Test Movie
I have Scene 1 as a loader, and Scene 2 as my movie...

when I "test scene" for Scene 2 the quality looks great!

but when I "test movie", my Scene 2 movie looks like crap!

Anyone know why!? I went to "publish settings" and put all my settings at highest quality possible. jpg's are at 100, and flash settings are all at 100 and best quality.

They are imported jpg's by the way. And look great until I export or even preview as a flash movie. (????)

Thanks.

Test Scene Different Than Test Movie
I am doing a picture page in flash and for some reason it works when I do test scene, but it doesn't work when I do test movie. Does anybody know why this is happening.

[MX04] Diagonal Line Hit Test Or Drawn Line Hit Test
i have this guy who maves around and you can draw i gave it an instance name of "linesd" i dunno and i want to make it so the square will not go through the line that i draw in the swf. if you cant help with that can you help me with diagonal line hitTest i ban do vertical and horozontal ut diagonal is realy hard because it does the hitTest for the movie clip box not the line itself
-jakeA

Movie Works Properly In Test Mode, But Only In Test Mode.
I have a button that has a gotoAndStop action, sending user to specific label in the timeline. This button works fine when I test the movie.  But when I open the file directly from the swf - well, it's strange. It appears to go to that frame, but the contents of the frame is missing. What might be the problem? Again, it all works fine when I test it (Ctrl+Enter.)

thanks.

Variables Help - Test.swf?one=test
I was wondering if anyone can help me, flash seems to be able to handle variables input from the browser ok
e.g.

http://www.tobeon.co.uk/test/test.swf?one=hello

however I don't know how to get it to accept variables for other levels
(example in link above I cant get the variable "two" in the movie "movie" to work)
things like _level0.one=hello and _level0.movie.two=hello doesn't seem to work

any help it is v important?
Thanks in advance

Ive Found
Ive found a website host that suports .php and custom .cgi and get this they offer free web space and free domain name hosting. I created a e-mail form in flash for my site yesterday only to find out my host didn't suport any of the above files and whats better when i upload my files now to the new host i don't have to be connected with them. So no more premium call cost like i use to have. Im so happy i thought i would share it with you guys.

Check them out for yourself http://www.portland.co.uk

All the best

bainsk8

Oh, i don't work for them :-)

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