ActionScript 1/2 :: Flash Variable Indicating Number Of Unread Emails?
Oct 26, 2009
What I am trying to do.I have an email icon that when there is new messages would like to indicate the number of emails that are unread. this will simply be a number, that indicates how many unread messages
We pass in the number of unread messages to the flash object like a URL request string.
I have an email icon that when there is new messages would like to indicate the number of emails that are unread. this will simply be a number, that indicates how many unread messages passing in the number of unread messages to the flash object like a URL request string.
On a website I am constructing (search for World Tutors .net on Google and then click Test page next to Webmail at the bottom) I have a contact form with various parts for the user to fill in (some text input boxes, and some COMBO boxes). Having looked on various forums, I thought I undstood how to make the Flash Actionscript 2.0 talk to the php script to send the email (i.e. pass on variables etc.) When the user completes the Client enqiry form and clicks the send button, it looks as though the message has been sent, but no email ever arrives. I've pasted the code I have below.
My company emails our Flash EXE files out to customers. Most of these Flash files use keyboard events to navigate through them, and they load external SWF and video files. So, obviously, I have to package all of my movie files, SWF, and the main EXE into the same folder. In the past, they have simply Zipped the file, emailed it out, and told them which file to open. Sadly, even this is too complicated for some people. I need to simplify the process.
I am trying to find a way to take the entire folder and bundle it into a single EXE file. Also, I need to find a permanent solution for opening the main Flash EXE file in a MAXIMIZED window. I don't mean fullscreen. I mean MAXIMIZED. In fullscreen, keyboard events don't work. But, they do in a Maximized window.
For my calculator i am having trouble storing a number inside a string variable.
Calculator, Layer 'actionscript', Frame 1, Line 1441061: Call to a possibly undefined method append through a reference with static type String.
Code: var currentNumber:String =""; function pressNumber(e:MouseEvent):void{ display_txt.appendText(e.target.num); currentNumber.append(e.target.num);//error here }
How to populate a flex datagrid from an Arraycollection without specifying DataGridColumn's individually. Is there any custom datagrid available where I can pass the datasource arraycollection and see the data populated in the output. Without knowing the structure / bluprint of an object is there anyway to find how many member variable that class have?
i have a project and i need that when a specific variable equals a specific value a random number decreases on the current number, its easy to make it decrease but i need to decrease instead of 4 to decrease a maximun of 5 and minimun of 3.ere is the code :
I need to have a color key that changes color in relation to how close/far the user drags a movie clip from the correct area. For example, if I have a circle_mc and want the user to drag it within a bounded area (trapezoid in this case), as the dragged mc gets closer to the correct area (a circle perhaps) the color of the color key box changes along a continuum from red (wrong/far) toward green (correct/close)
I wanted to know that using actionscript, is it possible to send email and create a front end in flashbuilder 4(flex), everywhere i see php being used for mails, is it possible?
I am trying to get the email link on my contact page to open properly: [URL] I am using CS3 and actionscript 2 and followed the following method: I wrote the email address and in web link box in the properties panel typed: mailto: followed by the email address The target is set to blank. The problem is that I only want the email client box (usually Outlook) to open but instead I get a webpage opening as well
I want the end user to have the ability to contact me directly from my website via email. When I test my button to pull up my email provided nothing happen. The button works but???? this.cont_btn.onRelease = function(){ getURL("[URL]");};
i know the question has been posted before, but i can't seem to stop incoming emails from differentsections of the forum (1 seciton is the ACTION SCTIPT 3)Under email notifications, i currently see "recieve email notifications". I should see that and leave it that way, right?
I have made my contact form and it works, but I need some kind of script to work with the "email" text field. I need it to only send me mails with real email addresses. Btw. the form is off of this: [URL]
Im having an unusual problem tracking the value of a number variable....I have a number stored in a variable that changes up and down from 0 to 1 i.e. 0, 0.1, 0.2, etc, etc. This variable serves as an audio volume that is used with the soundTransform class.Im using the .text property for a text box:
And here is my volume down code, there is a volume up section that does the same job but reverse:
ActionScript Code: function volumeDown(e:MouseEvent):void { if(_trackVolumes[1] < 1)[code].....
If I manually type in "10" in the text box to represent full volume so as soon as the .swf file loads it says "10" in the text box, I only get the readings: 10, 1 and 0. If I leave the text box blank, it will then increment and decrement 10,9,8,7,6,etc,etc.
My question is: can I somehow have a value manually typed into the dynamic text box without the above problem happening?
And in the stage i have 3 dynamic text boxes. The 1 one has the variable number1 the secound one has the variable number2. But how do i do so in the third box it says 20? I want it to substract number1 and number 2 and show that in the box.
I create game matching things. If icon 1 == icon 2 then i delete this icons. Player finish game when he match all icons. I try give points for correct unswers. And try to calculate this poits.
Let's say i want to removeChild a movie clip instanced name: mcLife3 But instead of doing the correct: Code: removeChild(mcLife3); I need to use another Number variable called bonusLife which in this case = 3 Code: removeChild(mcLife[bonusLife]); Doesnt work...can anyone please let me know the correct syntax,
Im trying to do a hittest on a random movieclip... basically i have 4 'objects' and i am picking a random number to pick one of them... this is all fine except when i try to do a hittest on 'object' + randomNum...Below is the code that works first with a trace that is kicking out the name i want, and below is the code ive tried but doesnt work...
Code: var randomNum:Number; randomNum = Math.round(Math.random()*3)+1;[code].......
I'm trying to find the answer to make appears a "000" value (with all three "0"s) and I can not find any answer around books/internet.var nPoints:Number= 000;trace(nPoints);In this way we only receive "0".
I have this to build my nav; Code: // navigation var picNum:Number = 3; for (var i = 1; i<=picNum; i++) { _root.nav["btn"+i].topText_mc.text = [i]; _root.nav["btn"+i].alphaTo(30, speed_fadeIn, tweentype_fadeIn, speed_fadeIn); }
My XML: What I want is to get this trace(parseFloat(i)); to be my picNum variable. Tried a bunch of different things but none worked. Maybe someone here knows? Code: var pArray = new Array(); var tArray = new Array(); var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function (success:Boolean):Void { [Code] .....