Messages When Mouse Over...
Quick question. is it possible with flash to be able to hold the mouse over an image and have a message pop up? like when you put your mouse over some link online and a small box comes up saying what the link does? I wonder if i can use something with mouse over? Can someone direct me to a tutorial or something?? thanks.
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 06-16-2007, 03:19 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Why Wont These Messages Tell Each Other Apart?
Why cant this seperate _root.wild from _root.rSquare?
dice1=int(Math.Random()*6+1);
dice2=int(Math.Random()*6+1);
diceTotal = dice1 + dice2;
if ((diceTotal <> _root.wild)&&(diceTotal <> _root.rSquare)){
youCan = "Choose A"+String.fromCharCode(10)+"Square with"+String.fromCharCode(10)+"A "+dicetotal+" in it.";
} else if(diceTotal = _root.rSquare){
youCan = "Choose Any"+String.fromCharCode(10)+"Square to"+String.fromCharCode(10)+"Get rid of!";
} else if(diceTotal = _root.wild){
youCan = "Choose Any"+String.fromCharCode(10)+"Square you"+String.fromCharCode(10)+"Please!";
}
To see this flash move go here:
http://acidproof.xoasis.com/tictacohno.html
on the bottom of the board you see the number that removes a square and the wild. In the message below the dice, wild and remove numbers get the same message. Help (p.s. thanks for all your help on my previous questions!)
Status Bar Messages
Does anyone know how to add a status bar message when you roll over a button from within flash or send a variable to the page in which the movie sits so that my javascript can pass the status message.
Thanks!
How Do I Get Rid Of These Error Messages
hey i been getting these kinda messages with my movie, i have a scroll bar w/ window that i made in another fla and i added it in as a symbol, help me out.
Target not found: Target="downtrigger" Base="_level0.macro.instance18"
Target not found: Target="downtrigger" Base="_level0.macro.instance18"
how do i get rid of them
do i need to add instances to all my symbols and there inside objects within them?
thanks
simp
----------------
Here is a link to the file with the scrolling window and what not
open the symbol "macro", in the library to see what i am talking about. link to fla file
::: An Array Of Messages :::
im wanting to display random messages on screen
i want to create an array of 10 messages that randomly changes every 10 seconds
where do i start
Error Messages
Why do I get error messages like this in my output whenever I preview my movie? I think I've done all the actionscript right, but the files I'm trying to load refuse to load.
Quote:
Error opening URL "file:///C|/Documents%20and%20Settings/Admin/Desktop/music1.mp3"
not loaded
Error opening URL "file:///C|/Documents%20and%20Settings/Admin/Desktop/text.txt"
Thanks for any suggestions.
Error Messages
I am new to Flash and have been working through various tutorial in an effort to learn this program. My biggest glitch right now is that I keep getting this output message
**Warning** Scene=Scene 1, layer=actions, frame=50:Line 1: The file 'toplevel.as', which is required for typechecking ActionScript 2.0, could not be found. Please make sure the directory '$(LocalData)/Classes' is listed in the global classpath of the ActionScript Preferences.
I have checked the preferences and that directory is there, infact it is the only one. Any suggestions??
I am using Flash 2004 MXPro 7
TIA
Subliminal Messages
Hi guys and gals,
As part of a project, I'm experimenting with using subliminal messages to boost learning and creativity. I know there's loads of stuff out there which proves it works, to one degree or another, my question is...
can I use flash to design clips/movies incorporating subliminals and if so, where do I find a really basic tutorial (I'm completely stumped when it comes to technical issues!)?
Thanks in advance for your help folks
Willie
Messages In Exiting
in flash i want to make a movie that when the person trys to exit it it comes up with a message of my choice e.g. haha you cant exit. do i have to use flash 8 or can you do it in flash mx
AS3 Error Messages
I'm confused as to why Flash CS3 prints some errors to the output window:
Code:
TypeError: Error #1006: endCreate is not a function.
at MeasurementManager/endCreate()
That may be so, but why doesn't this error pop up in the compiler window, so I can double-click the error and jump straight to the bit of offending code?
How else am I supposed to track down the bug!?
Any help would be great,
Thanks.
Error Messages
Not sure what the probelm is an was hoping someone could help me out.
When testing my install, when I go to the http://localhost/flashservices/app/Gateway.php page - there are no errors, but when I go to http://localhost/test_remoting/simple_gateway.php, I get a javascript error "Internet Explorer cannot download simple_gateway.php from localhost".
When I test the talk.fla movie, the only thing that gets returned is;
Calling returnString
Calling returnNumber
Calling returnArray
I have doulble checked the paths and removed Coldfusion.
Any ideas???
Thanks.
Error Messages
I have a Flash MX movie with Actionscript that works perfectly on all the browsers that I and others have tried it on bar one - IE on Mac OS9.
Does anyone know how can I view the run-time error messages (i.e. the contents of the Output box as appears when doing Test Movie) in that environment?
Externalize Messages
In my current application i would like to externalize all the messages (string literals) that the application uses.
My motivations are that i believe that this is a best practice for maintaining clean and readable code, that modification of texts is much easier when the strings are externalized and above all that this makes internationalization of an application a piece of cake.
Ideally i would like this to be kept in an external plain text file so that messages could be changed without the need to recompile the swf.
I have a Java background and am used to the luxury of .properties files, i guess that really i'm looking for a similar solution in action script.
All comments gratefully received.
max
Private Messages
In the following function I am trying to send a message directly to a recipient (toWhom parameter = client.user.userName) as a private message, but cannot resolve how to do so...any suggestions/hints?
I have tried several conditional loops, but am wholly unsuccessful...
quote:Code
VideoConference.prototype.deliverMessage = function(client, msg, toWhom)
{
var now = new Date();
this.startTime = now.getTime();
var str = now.getHours() + ":";
var mins = now.getMinutes();
str += (mins>=10) ? mins : "0"+mins
if (toWhom == "everyone")
{
//Public
this.history_s.send("appendMessage", " { " + client.ip +" } " + client.user.userName+" @ "+ str + " : " + msg);
this.messages_so.send("showMessage", " { " + client.ip +" } " + client.user.userName+" @ "+ str + " : " + msg);
return;
}
else if (toWhom != "everyone")
{
//Private
this.messages_so.send("showMessage", " { " + client.ip +" } " + client.user.userName+" @ "+ str + " : " + msg);
return;
}
}
2 Error Messages
i have got two error messages .... The first one is this
this message appears when i want to publish my movie to QuickTime Format !!
And the Second is
this appears too when i try to do anything with FlashAdKit panel !!
Guys if anyone knows the solution .... Replay here !
By the Way i use Flash mx 2004 Pro
Scrolling Messages
Hi,
I'm developing a community orientated site that is based on a forum.
I want to build a flash applet with embedded CGI script that will display messages that users send through a small "chat room" like text box at the bottom of the page.
I'm imagining a normal html/asp/php form that submits the message to a database which is then read by the flash applet and displayed on everyones screens.
It should look like those scrolling messages you see at the bottom of the TV screen on the digital music channels.
Anyone ever built anything similar? Can anyone give some pointers?
To be honest I'm not sure where to start!
Dave.
Calendar Messages
Greetings to all AS geniuses out there - please help - lol
I have a flash 6 calendar that loads data externally and populates two arrays (one for dates (_global.caldate) and one for messages (_global.caldata)). When the user changes the month it shows all of the relevant dates and then uses this function (below) to enable a blank button over the dates that have messages. Upon clicking the button it should display the message in a seperate text field.
//show dates with info
for(i=0;i<_global.caldate.length;i++){
temp = _global.caldate[i].toString(); temp2 = parseInt(temp.substr(3,2));//the date is stored as 12:01 and i check that the month matches that displayed
if(temp2 == today_date_month){
temp3 = parseInt(temp.substr(0,2));
eval("this.c" + temp3).gotoAndStop(3);//highlight the date with a red background
eval("this.c" + temp3).datbut.enabled = true;//enable that dates seethru button
eval("this.c" + temp3).datbut.onRelease = function() { calMess.text = _global.caldata[i]; }
}
}
//end show dates with info
The problem is the last line ... calMess.text = _global.caldata[i]; ... as this doesnt work.
Any help greatly appreciated - it obviously is overwriting the onrelease function as it cycyles thru the array and i need a way to assign a working function to that button and then erase it for the next displayed month.
Error Messages
Can anyone help correct these error messages and what they mean???
Thank you!
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=1:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=1:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=6:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=6:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=11:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=11:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=16:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=16:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=22:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=22:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=27:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=27:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=32:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=32:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=37:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=37:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=42:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=42:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingA, frame=47:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly welcome, layer=wingC, frame=47:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=1:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=1:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=6:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=6:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=11:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=11:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=16:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=16:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=22:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=22:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=27:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=27:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=32:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=32:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=37:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=37:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=42:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=42:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingA, frame=47:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Symbol=MC_butterfly, layer=wingC, frame=47:Line 2: Wrong number of parameters; gotoAndStop requires between 1 and 2.
gotoAndStop();
**Error** Scene=sink_up, layer=sink_up, frame=1:Line 1: Mouse events are permitted only for button instances
on (release) {
Total ActionScript Errors: 41 Reported Errors: 41
Broadcast Messages
Hi all,
I've got two clips on different pages, one receives messages from the other using LocalConnection.
http://www.lep2.co.uk/print_send/
and
http://www.lep2.co.uk/print_recev/
The problem I've got is that this only works if you're sending and receiving on the same client computer, so on the same pc you'll be able to see it working fine.
I've realised this too late (you'd think the name would have given me a clue). I want to broadcast the messages across any computer on the net in real time, is there any way to do this or will I just have to bin this project now?
Thanks for your help, i've included the flas for you to have a look at
MarkC
Preloader Messages
How can i do to change the lost-in-beta preloader to show
3 different messages. The first "loading interface"
during the first 33% and then "loading content"
during the next 33% And finnally "loading menu"
during the last 33% of the preloading sequence?
The messages will be shown under the percent textfield!
Dynamic Way !
Error Messages
hi i just wanted to know if you could display custom error messages in a flash site and how you would go about doing it.
for example if the user clicks for the contact page and for some reason it is unavailable then a custom error message appears.
any help would be appreciated.
2 Error Messages
i have got two error messages .... The first one is this
this message appears when i want to publish my movie to QuickTime Format !!
And the Second is
this appears too when i try to do anything with FlashAdKit panel !!
Guys if anyone knows the solution .... Replay here !
By the Way i use Flash mx 2004 Pro
Error Messages
I am working on a tutorial from Lynda.com and everytime I test my movie I get this message:
Error opening URL "file:///Macintosh%20HD/Users/kelleymatthews/Desktop/exercise%5Ffiles/la%5Feyeworks/site/slash.swf"
I know that my code is right since I am going along with the tutorial, but, I am obviously doing something wrong.
Please help! thanks!!!
Flash Error Messages
Does any one know why sometimes you'll get a flash player script running too slowly error?
I think it has to do with a script not keeping up to the frame rate?
if so if I were to lower my frame rate would this help eliviate the problem?
If not does anyone know of any good efficient sripts that could do an error checking loop on say 90 text fields to see if a decimal has been entered more than once? this is the script that is causing me troubles.
// this script creats a loop that checks all the tonnage
// fields "v5af1..n" for more than one decimal place.
on (release) {
for (j=0; j<90; j++) {
for (i=0; i<90; i++) {
if (eval("v5af"+j).substring(i, i+1) == ".") {
eval("temp"+j) += 1;
}
;
}
;
if (eval("temp"+j)>1) {
error = 1;
eval("temp"+j) = "";
break;
} else {
error = 0;
eval("temp"+j) = "";
}
;
}
;
// if the error variable = 1 then we know there was a double
// decimal found and the error movie is set to gotoAndStop on
// frame 2 (shows error message
if (error == 1) {
tellTarget ("_root.error") {
gotoAndStop (2);
}
// else if error = 0 we know that there is no problems and we
// can continue on to the next question.
} else if (error == 0) {
gotoAndStop ("customized screen");
}
}
thanks for any and all help on this
Jason
Forum/Messages Board
I was wondering if anyone know a good free forum or a messages board out there that look similar to this one (Flashkit)? I want one for my site. Thank you.
Displaying Error Messages
hi all,
i need to display error messages for a site using flash kindly let me know on how i can do this and if u have any samples pls let me know
thnks
priya
THOSE LITTLE MESSAGES OVER BUTTONS THAT DRAG
im trying to make a little message that comes up when you hover over these buttons that are small on my site..
...i've seen some sites that have these little "ALT" like bubbles that pop up and move with the mouse.
how do they do those... ...i want some BADDDD!!!!???
Sending Text Messages
I am trying to figure out how to make Flash send Text Messages to my Verizon Wireless phone. You can send them from http://www.vtext.com. Does anyone know how I can connect a Flash form to their scripts. Thanks ahead of time.
Shift Jis Messages File
I am facing one problem while loading a file saved in Shift_Jis format.
I am able to load the japanese messages file saved as Unicode format.
While loading the Shift_Jis file, the junk characters are displayed in the text box.
Please let me know your implementations while dealing such problems.
regards,
Praveen.
Random Text Messages
how can I display a set of text messages to display randomly at each browser loading? I want to do this in Flash MX and bring it into an existing browser
[Edited by lsaylor on 09-13-2002 at 11:59 AM]
Passing Messages To A Php-script
Hi,
I got a prob with sending specialsigns like "ü", "ö", etc from a flash-mvie to a php-script. The php-script always receives them as some weird code like "½¿" or something, is it possible to send these signs somehow encoded or do i have to replace them with other letter-combinations ???
Thx in advance
Inserting Messages In Pre-Loader
Glory!
I came across a certain problem sometime back where the pre-loader would start halfway, if you had a sound attached in the beginning of the clip. I did find a solution for it... by calling the movie externally in a MovieClip and counting it's bytes for the Pre-Loader. It works fine..
But i want to ammend the existing pre-loader i have.. i want to add a Dynamic Text-Field which will display a certain message, based on the percent loaded. I already have the "% Loaded" text displaying.. but this is different.. this is something like displaying message, like on 20% you give "Setting up engine", then on 40% you give "Initializing Interface" .. and so on and so forth..
I'm not able to ammend the coding for the Pre-Loader i have for my purpose, to add this text and make it work.. i'm pasing here the code.. can someone help me with this..
PHP Code:
// Hides displayed elements
this.reelmc._visible = false;
this.loadbar._visible = false;
percent_display = "";
//create a new movieclip to load
//the external movie into
this.createEmptyMovieClip("container",10);
//load the external movie into the new movieclip
container.loadMovie("1_Begin.swf");
//check the download status of the external
//movie once every frame
this.onEnterFrame=function(){
//trace the percentage of the movie that has loaded
percent=(this.container.getBytesLoaded()/this.container.getBytesTotal())*100;
if(!isNan(percent)){
// trace(percent+"% loaded");
if (percent == 0) {
percent_display = "";
} else {
percent_display = Math.ceil(percent) + "% Loaded [of 400 KB]";
}
this.loadbar._visible = true;
this.loadbar._xscale = percent;
if (percent > 1) {
this.reelmc._visible = true;
}
container.stop();
} else {
// trace("0% loaded");
}
if(percent == 100){
delete this.onEnterFrame;
this.reelmc._visible = false;
percent_display = "";
this.loadbar._visible = false;
loadMovieNum("1_Begin.swf",0);
}
}
stop();
Thanks..
Mickey
Send Messages Using Flash And ASP
Hi
I have one little community, made in Flash and ASP.
I have this thing, so the members can send short messages to each other.
But, it does'nt work proper:
The asp script to SEND:
Code:
Response.Expires = -1000
anv = Request.Querystring("anv")
Dim pm_fran
Dim pm_till
Dim pm
pm_fran = Request.Form("pm_fran")
pm_till = Request.Form("pm_till")
pm = Request.Form("pm")
pm_datum = now()
pm_last = "0"
Dim oConn
Dim oRec
Dim strSQL
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("../../hemsida_db/db_forum.mdb"))
strSQL = "SELECT Anv_Namn FROM anv_data WHERE Anv_Namn = '" & anv & "'"
Set oRec = oConn.Execute(strSQL)
If oRec.EOF Then
Response.Write("&finns=inte")
Else
strSQL= "INSERT INTO pm_data (Pm, Pm_Till, Pm_Fran, Pm_Datum, Pm_Last) VALUES ('" & Replace(Replace(pm, "'", "''"), "&", "och") & "', '" & Replace(Replace(pm_till, "'", "''"), "&", "och") & "', '" & Replace(Replace(pm_fran, "'", "''"), "&", "och") & "', '" & Replace(datum, "'", "''") & "', '" & Replace(pm_last, "'", "''") & "');"
Set oRec = oConn.Execute(strSQL)
Response.Write("&finns=ja")
End If
Set oConn = NOTHING
Set oRec = NOTHING
Set strSQL = NOTHING
Response.Write("&loaded=true")
And to RECIEVE:
Code:
Response.Expires = -1000
anv = Request.Querystring("anv")
Dim pm_fran
Dim pm_till
Dim pm
Dim oConn
Dim oRec
Dim strSQL
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("../../hemsida_db/db_forum.mdb"))
strSQL= "SELECT * FROM pm_data WHERE Pm_Last = 0 AND Pm_Till = '" & anv & "'"
Set oRec = oConn.Execute(strSQL)
If Not oRec.EOF Then
pm_fran = oRec("Pm_Fran")
pm_till = oRec("Pm_Till")
pm = oRec("Pm")
pm_datum = oRec("Pm_Datum")
Response.Write("&datum=" & pm_datum)
Response.Write("&pm_fran=<b>" & pm_fran & "</b> säger:")
Response.Write("&pm_svar_fran=" & pm_fran)
Response.Write("&pm=" & pm)
Response.Write("&stat=skickat")
strSQL = "UPDATE pm_data SET Pm_Last = 1 WHERE Pm_Last = 0 AND Pm_Till = '" & anv & "'"
Set oRec = oConn.Execute(strSQL)
Else
Response.Write("Inget Nytt PM")
End If
strSQL = ""
Set oConn = NOTHING
Set oRec = NOTHING
Set strSQL = NOTHING
Response.Write("&loaded=true")
In Flash I got a Frameloop, which check:
Code:
if (stat == "skickat" && loaded == "true") {
gotoAndStop(_currentframe+2);
}
BUT !!!
It' doesn't work, I am SO, SO, SO angry on this S***
Help, Please.
Error Messages When Previewing....
Hello, I was having a problem when I was previewing a movie in flash. I created an shape in Illustrator then saved it as a PNG-24 file and then imported it into Flash. I added a motion tween to it and basically had the shape rotate, but for some funny reason its telling me that the preview can only be done in Flash 5, why is that? I'm using MX. Thanks.
Symbol=FLabel, Layer=Class Methods, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 0
Symbol=FLabel, Layer=Class Methods, Frame=1: Line 62: You must export your movie as Flash 6 to use this action.
#endinitclip
WARNING: This movie uses features that are not supported in the Flash 5 player
Symbol=FLabel, Layer=Label Asset, Frame=1: Flash MX Text Field Instance Name
Symbol=FUIComponent, Layer=Actions: Class, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 0
Symbol=FUIComponent, Layer=Actions: Class, Frame=1: Line 349: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol= ScrollBar, Layer=Actions : Class, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 1
Symbol= ScrollBar, Layer=Actions : Class, Frame=1: Line 369: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol= ComboBox, Layer=Actions : Class, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 3
Symbol= ComboBox, Layer=Actions : Class, Frame=1: Line 478: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol=FScrollSelectList, Layer=Methods, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 2
Symbol=FScrollSelectList, Layer=Methods, Frame=1: Line 184: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol= FSelectableList, Layer=Methods, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 1
Symbol= FSelectableList, Layer=Methods, Frame=1: Line 354: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol=DataProvider, Layer=Layer 1, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 0
Symbol=DataProvider, Layer=Layer 1, Frame=1: Line 109: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol=FSelectableItem, Layer=Methods, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 2
Symbol=FSelectableItem, Layer=Methods, Frame=1: Line 185: You must export your movie as Flash 6 to use this action.
#endinitclip
Symbol=FComboBoxItem, Layer=Methods, Frame=1: Line 1: You must export your movie as Flash 6 to use this action.
#initclip 3
Symbol=FComboBoxItem, Layer=Methods, Frame=1: Line 24: You must export your movie as Flash 6 to use this action.
#endinitclip
Creating Random Messages - PLEASE HELP
Hi
I have been pulling me hair out here
I have little or no AS experience, I am trying to create an animation of poet quotes floating across the screen and dissapearing
but I want to use a whole bunch of short quotes (upto 25)
I have tried it using tweening for each one, but the file size is stupid huge...
I would like to do it in AS and ideally would like to update the text from a .txt file
I know nothing about how to use Variables or Arrays at all, so this is going to mean helping a REAL beginner here
Thank you for your time
ZA
Messages That Change With Time
I'm trying to create a site which will have a digital clock running in it, as the time of day changes I want different meesages to appear along side the clock. I also want the colour of the interface to change. Is there any way to do this?! Help!!
Capture Error Messages
Is there anyway to capture the error messages that popup in the output window when testing, such as "Cannot find the url blah blah..." in a published swf?
Also, does anybody know if I could do the same with all trace() functions? I usually use a ton of trace functions when I test, but when I put the swf online, I'd like to have some way to send all of my trace actions to a text field, without actually writing something like "temp_txt.text += 'stuff'"
Sending Messages From A Movie To Another ?
Ok, I have a movie called "myMainMovie.swf" running.
Then I perform a loadMovie like this:
loadMovieNum ("myNewNovie.swf", 2);
The question is:
There is a way to send a message from "myMainMovie.swf" to "myNewMovie.swf" without use local connection ????
Posting Messages In Flash?
Is it possible to create a message board in flash?
I would like to create a text box in which the user can write some text. The user can then click a button to "upload" his text in the website. His message will be viewable to anyone visiting the website. All the texts will be shown in another textbox (scrollable).
What do I need to know in order to do this?
SERIOUSLY NEED SOME HELP Getting Error Messages And I Dont Know Why
i need help as soon as possible as this is for my webhosting website
**Error** Symbol=Sprite 117, layer=Scripts4, frame=1:Line 7: Unexpected '/' encountered
/drag add i add :x_value = getProperty(/drag add i,_x)
**Error** Symbol=Sprite 117, layer=Scripts4, frame=1:Line 8: Operator 'add' must be followed by an operand
/drag add i add :y_value = getProperty(/drag add i,_y)
**Error** Symbol=Sprite 117, layer=Scripts4, frame=1:Line 9: Operator 'add' must be followed by an operand
/drag add i add :vx = 0
**Error** Symbol=Sprite 117, layer=Scripts4, frame=1:Line 10: Operator 'add' must be followed by an operand
/drag add i add :vy = 0
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 3: Unexpected '/' encountered
/drag add i add :vx = (/drag add i add :vx + (/drag add i - 1 add :x_value + k - /drag add i add :x_value) * 1 / a) / b
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 4: Operator 'add' must be followed by an operand
/drag add i add :vy = (/drag add i add :vy + (/drag add i - 1 add :y_value - /drag add i add :y_value) * 1 / a) / b
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 5: Operator 'add' must be followed by an operand
/drag add i add :x_value = /drag add i add :x_value + /drag add i add :vx
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 6: Operator 'add' must be followed by an operand
/drag add i add :y_value = /drag add i add :y_value + /drag add i add :vy
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 11: Unexpected '/' encountered
setProperty (/drag add i,_x,/drag add i add :x_value)
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 12: ')' or ',' expected
setProperty (/drag add i,_y,/drag add i add :y_value)
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 13: ')' or ',' expected
}
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 10: Statement block must be terminated by '}'
for ( i = 1; Number(i) >= 1; i = i - 1){
**Error** Symbol=Sprite 117, layer=Scripts4, frame=2:Line 13: Syntax error.
}
**Error** Symbol=Sprite 7, layer=#initclip, frame=1:Line 134: Expected a field name after '.' operator.
this.handlerObj.this.changeHandler(this)
**Error** Symbol=Sprite 3, layer=#initclip, frame=1:Line 33: Identifier expected
var this.hostComponent.styleTable = textDisabled.textColor.value
**Error** Symbol=Sprite 3, layer=#initclip, frame=1:Line 38: Unexpected '}' encountered
}
Total ActionScript Errors: 16 Reported Errors: 16
Trace Messages Suppressed
Hi, I inherited a fla I need to modify. And strangely NO trace statements ever show up in the output panel. I have set the output to verbose, and gone through all the code with a fine tooth comb with no luck.
Errors show up in the output panel.
Any ideas? It is very hard to modify without use of trace.
Thanks!
Stupid Error Messages
This code is straight from Moock found here: ch 16 http://moock.org/eas2/examples/
ActionScript Code:
import util.Observer;
/**
* A Java-style Observable class used to represent the "subject"
* of the Observer design pattern. Observers must implement the Observer
* interface, and register to observe the subject via addObserver().
*/
class util.Observable {
// A flag indicating whether this object has changed.
private var changed:Boolean = false;
// A list of observers.
private var observers:Array;
/**
* Constructor function.
*/
public function Observable () {
observers = new Array();
}
/**
* Adds an observer to the list of observers.
* @param o The observer to be added.
*/
public function addObserver(o:Observer):Boolean {
// Can't add a null observer.
if (o == null) {
return false;
}
// Don't add an observer more than once.
for (var i:Number = 0; i < observers.length; i++) {
if (observers[i] == o) {
// The observer is already observing, so quit.
return false;
}
}
// Put the observer into the list.
observers.push(o);
return true;
}
/**
* Removes an observer from the list of observers.
*
* @param o The observer to remove.
*/
public function removeObserver(o:Observer):Boolean {
// Find and remove the observer.
var len:Number = observers.length;
for (var i:Number = 0; i < len; i++) {
if (observers[i] == o) {
observers.splice(i, 1);
return true;
}
}
return false;
}
/**
* Tell all observers that the subject has changed.
*
* @param infoObj An object containing arbitrary data
* to pass to observers.
*/
public function notifyObservers(infoObj:Object):Void {
// Use a null infoObject if none is supplied.
if (infoObj == undefined) {
infoObj = null;
}
// If the object hasn't changed, don't bother notifying observers.
if (!changed) {
return;
}
// Make a copy of the observers array. We do this
// so that we can be sure the list won't change while
// we're processing it.
var observersSnapshot:Array = observers.slice(0);
// This change has been processed, so unset the "changed" flag.
clearChanged();
// Invoke update() on all observers.
for (var i:Number = observersSnapshot.length-1; i >= 0; i--) {
observersSnapshot[i].update(this, infoObj);
}
}
/**
* Removes all observers from the observer list.
*/
public function clearObservers():Void {
observers = new Array();
}
/**
* Indicates that the subject has changed.
*/
private function setChanged():Void {
changed = true;
}
/**
* Indicates that the subject has either not changed or
* has notified its observers of the most recent change.
*/
private function clearChanged():Void {
changed = false;
}
/**
* Checks if the subject has changed.
*
* @return true if the subject has changed, as determined by setChanged().
*/
public function hasChanged():Boolean {
return changed;
}
/**
* Returns the number of observers in the observer list.
*
* @return An integer: the number of observers for this subject.
*/
public function countObservers():Number {
return observers.length;
}
}
ActionScript Code:
import util.Observable;
/**
* The interface that must be implemented by all observers of an
* Observable object.
*/
interface util.Observer {
/**
* Invoked automatically by an observed object when it changes.
*
* @param o The observed object (an instance of Observable).
* @param infoObj An arbitrary data object sent by
* the observed object.
*/
public function update(o:Observable, infoObj:Object):Void;
}
When I hit the "Check Syntax" button i get this error message
Quote:
**Error** Flash FunOOPObserverableutilObserver.as: Line 7: The class being compiled, 'util.Observer', does not match the class that was imported, 'Observer'.
interface util.Observer {
**Error**Flash FunOOPObserverableutilObserver.as: Line 15: The class or interface 'util.Observable' could not be loaded.
public function update(o:Observable, infoObj:Object):Void;
**Error** Flash FunOOPObserverableutilObservable.as: Line 1: The class or interface 'util.Observer' could not be loaded.
import util.Observer;
**Error** Flash FunOOPObserverableutilObservable.as: Line 8: The class being compiled, 'util.Observable', does not match the class that was imported, 'Observable'.
class util.Observable {
**Error** Flash FunOOPObserverableutilObserver.as: Line 1: The class or interface 'util.Observable' could not be loaded.
import util.Observable;
Total ActionScript Errors: 5 Reported Errors: 5
WHY?
This is straight from moock and it compiles fine. Even more strange, sometimes I get errors messages for "class util.Observable" then I'll hit the check syntax again, and it will tell me there are no errors.
What is happening?
Dynamic Random Messages
I want gnerate some texts (in one or some text file) with a server side language like PHP
how can I read them random in flash ?
Avoid Error-messages?
Can I somehow disable errors from showing up tomy webgame playes?
As far as I know its only in Firefox this happens, a little popup with the exact flash-error shows up.
User Defined Pop Up Messages
I remember doing this in my very brief VB scripting days, but is there a way to have a message pop up in actionscript. Or is it a case of making your own and adding it is a child?
Stop Output Messages
How can I stop output messages like this one...?
TypeError: Error #2007: Parameter hitTestObject must be non-null.
at flash.display:isplayObject/_hitTest()
at flash.display:isplayObject/hitTestObject()
at NewGame/checkForHits()
----
Cause when some people(quite rare) look at my flash they see those messages...
Problems With Replying To Messages
I'm having real trouble posting replies to messages, I can create new ones but not reply to any as the reply button is missing. The strange thing is that this is in all the vb forums, were-here, flashkit, and actionscript.org...!!!
Anybody else having probs?
Trace Messages Doest Appear
This is used to be so straight forward.
Do not know since which version of my code, all of a sudden trace("sth") doesnt produce anything in output window.
Did I disabled anything???
Flash CS3....
Different Sounds And Messages For Different Inputs.
I have found out how to make a sound play if the user inputs a value greater than 3.
How do I get it to play a sound for greater than 3, and a different sound if they put in a number less than 3. Also, how do I get it to show two different messages in writing whether it is less or greater than 3.
E.g. greater than three would show "well done!", whereas less than 3 would show the text "try again"
Dave
|