How do I get my counter to work? Please include explanation, and feel free to comment.
CONFUSION: I'm confused about the MovieClip container in as3. public class
NumbersView extends MovieClip, so that seems to
be a container. That may not be the problem, but
that's where I got lost.
The working version of this code is fantastic. My
co...
Hello,
I have a Flex application. Surprisingly it keeps my CPU at ~50% loaded (it fluctuates between 40% and 60%) when run on my laptop. The laptop is a 4 year old Dell model - CPU is Intel T1350 @ 1.86GH. The strange thing is that the application keeps my CPU at 50% even though it doesn't do anything. It is a static, rather complex Fle...
go_btn.addEventListener(MouseEvent.CLICK, getPlayerName);
var playerName;
function getPlayerName(e:MouseEvent)
{
playerName = playerName_txt.text;
}
trace(playerName);
Hi, is there any way to have this work. I want to update a variable outside the scope of the function.
Thanks
...
I am making a small game in flash, I would like to track scores but I cant figure out how to call the current username from joomla using actionscript. (creating the game in flex3)
...
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to
use a 'speaker' icon instead of a
'play' icon. When the speaker is
clicked, the volume can be adjusted
or turned off.
The option of being able to autoplay
and set ...
what does the field of view to do with the z axis in flash? I have tried moving object towards the eye with different fieldofview values with same z axis but their size changes.
Please help
...
Flash video player not showing in firefox when using classid attribute in object tag. I have to used the classid attribute or my CKEditor won't let me embed the video without it.
...
Hi, I have a bunch an as3 game going.
In my game when newCrag hits egg_mc the score gets added.
// Add the score
var newScore:score_mc;
newScore = new score_mc();
addChild(newScore);
newScore.x = 20;
newScore.y = 20;
newScore.score_txt.text='0/15';
var score:Number=0;
function getEggs(event:Event):void {
if(event.target.hitTestObj...
I'm thinking of writing a new web-based game, and wondered if anyone had any suggestions on which platform I should opt for.
The game will be 2D sprite based, but will need to maintain a decent fps rate (there'll probably be up to 20 things moving at once). It'll all be controlled via the mouse.
I use .NET daily, so Silverlight seems ...
I have to work on a project, in which user can able to see major cities of state and some important places which will be from xml or from db.
so how could i start this in flash, whether should i use any framework please suggest me
thanks
...
Hi everybody,
I'm fighting against a strange behaviour with my actionscript!
After setting the four integer variables from the MovieTimer sprite (hour, minute, second, mili-sec) and concate them i got always double zero: 00
stop ();
delete this.onEnterFrame;
var str1;
var str2;
var mili;
var second;
var minut...
Go here: http://nano.materials.drexel.edu/research/videolibrary
For some bizarre reason, the videos will play at 3x speed on the first run through, but then will play at normal speed each subsequent play. This doesn't happen all the time, and it's not always the same video(s) that do it. I'm utterly baffled. I've reconverted the video...
I've got in over my head trying to learn programming, but love it.
How would you teach a designer to migrate from design to object
oriented programming?
My interest is AS3 in Flash IDE, but any advice is welcome. Looking for a full explanation.
THOUGHTS
Designers learn differently
Designers may need visual cues
Designers may have di...
Hey guys,
I am trying to create a UI movie clip that can be used across different scenes.
It uses variables from the root scope to determine states.
When i press the mute button is works fine, however when i try to un-mute things go weird. Sometimes it takes 2 clicks to unmute, sometimes more. It seems random.
Muting however seems t...
We have recently dropped support for IE6 at my job. The other developers have have opted for a generic object embed method:
<object type="application/x-shockwave-flash" data="example.swf" width="800" height="600" >
<param name="movie" value="example.swf">
<param name="allowScriptAccess" value="always">
</object>
This see...
My timer has three variables that I can trace to the output window,
but don't know how to pass them to the timer. How to I pass the XML values to my timer?
Purpose
I want to test with an XML document, before I try connecting it to an XML socket.
myXML
<?xml version="1.0" encoding="utf-8"?>
<SESSION>
<TIMER TITLE="speed">100</TIMER>
<...
I'm compiling a list of audio + video players (flash / javascript / other) that I can embed into a website.
flowplayer: http://flowplayer.org/
jw player:
http://www.longtailvideo.com/players/
premium beat:
http://www.premiumbeat.com/flash_resources/free_flash_music_player/
xspf web player:
http://musicplayer.sourceforge.net/
yahoo me...
I've written a url validator for a project I am working on. For my requirements it works great, except when the last part for the url goes longer than 22 characters it breaks. My expression:
/((https?):\/\/)([^\s.]+.)+([^\s.]+)(:\d+\/\S+)/i
It expects input that looks like "http(s)://hostname:port/location".
When I give it the input:...
I'm using Flash Builder 3 to edit my Flex app, but I noticed that every time I make a change on the .html files (index.template.html for example), even if it's not in the IDE but with another program, Flash Builder rebuilds the whole project.
Is there anyway to stop this? Why would it need to rebuild the workspace everytime a html file ...
I recently migrated a large AS3 site (lots of swfs, lots of flvs) to Amazon S3. Pretty much everything but HTML and JS files is being stored/served from Amazon, and it's working well. The only problem I'm having is that I built the site using SWFaddress (actually, via the Gaia framework which uses SWFaddress), and for some reason, SWFa...