I commented my code below to reflect what I am attempting to do here. Flash is throwing me a 1084 error at the moment but I cannot spot my issue. I expect that it is something to do with the this['circle'+i] statement.
var boxOne = new box();
stage.addChild(boxOne);
boxOne.x = stage.stageWidth/2;
boxOne.y = stage.stageHeight/2; //This ...
Has anyone seen rendering glitches with Papervision?
Please seee the flash movie at http://www.mapopolis.com/test/ which demonstrates the problem.
Thanks.
...
Hello,
I want to make a game where a ship shoots through 2 fireguns. The problem is that it doesn't shoot. When i code to shoot from the ship it's working but not from the fireguns and i don't have any compile errors. Here is the code:
//variables
var steps:Number=10;
var left:Boolean=false;
var right:Boolean=false;
var cTime:Number=0...
Sometimes while typing in a textarea in Flex many characters will be rendered at one height then at some point on that same text line the rest of the characters are rendered a couple pixels lower than the rest. Here is an example, look at the last 'I' character, its low:
Sometimes changing the font size will fix this but its not consis...
I cannot figure out what my object instance names are because of how I am generating them and adding them to the stage...
var circles:Array = new Array() //Declare array for displaying multiple objects
function spawn(evt:MouseEvent):void { //MouseEvent trigger, working
for (var i:int = 0; i<5; i++) { //Run five times
circles[i] = new...
Hi
I am used URLLoader in flash and created the swf to load images, i have used that swf in flex using swfloader,
When i individually used that swf to load images and when i resize the images its working fine.
but when i load the swf in swfloader in flex3 the image is loaded sucessfully but re-size is not working in flex3 swfloade...
hi guys!
I'm messing around a bit with the new fp10 drawing api and drawtriangles.
i've created a little something i think is kinda of cool, though i can't seem to get the uv-mapping working as i want. since i'm just moving points in z/y direction i don't really have and z-value to calculate the uv with. though the bitmap texture gets di...
Hi, in AS3, I have an external class ImageLoader, that loads an image upon request. In that class, I have an event handlers:
ImageLoader Class
public function loadImg(path:String):void
{
ldr = new Loader();
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, getProgress);
var req:URLRequest = new URLRequest(path);
ldr.lo...
Hello,
I am using sifr3 and I know it is supposed to let you use multiple fonts in one line.
I have tried a number of changes with my sifr.css and sifr_config.js files to no avail. I tried using spans, sub class of h1, etc.
Sample Link: http://www.liquidcomma.com/about%5Fus/pages/overview/
Thanks for any help you can provide.
...
all i need is a preloader to run and when it detects the swf is loaded it will stop and the map.swf will start to run. I have trawled the net for weeks with no luck. I have a massive 776kb flash map. I need a preloader to run prior to this map but it need to be a preloader independant of the map.swf. Please does anyone have any ideas...
Hello. How can I load a PHP file into a flash movie ? I need an iframe in Flash or something...
Can anybody post some examples ?
Thank you.
...
I have a textarea where I measure the textWidth and textHeight to make sure the user cannot enter more text than can fit in the text area. I also extended the textArea with a textHeightNow and textWidthNow that measure the textField's dimensions since they update w/out requiring validation. Now this works great for 90% of the embedded ...
Using a static method in as3, I can get a charCode from a character in a string.
How can I get the keyCode from a character in a string? Do I need to run this function through javascript (if I can do this in Javascript...)
...
i have a simple chat application in flex 3 and i want to make the list of users present on the right, how track this, how do you know when a user left if he just closed the browser window or typed in an other url ?
...
My website will be basically selling services; will my SEO ranking still be affected if I embed the Flash site in a blank html page? I am at that critical point where I am ready to upload the site but I am just having second thoughts about the ease of doing business with Flash. Thanks.
...
I have a swf that loads images from my server and resizes them to fit the 800x600 stage size. The original images are stored at 1024x768 max pixels. The user can press a button to go into fullscreen mode. What should I do to show the images at the best quality?
a) should I resize the loaded images to their max size (1024x768)
b) do I n...
Hi,
Can anyone give me a hand please?
I've got a basic web page with buttons on the left and a movie clip on the right. When I attempt to import a swf file into this movie clip the movie doesn't stay within the specified pixel size of the movie clip. The movie clip I am importing is an actionscript scrolling image gallery and the image...
Hi,
I'm working on a website which has advert banners which link to external pages.
I've recently added the ability to have flash banners, but am stuck on how to make the banners link without editing the flash file.
The idea is that clients wanting to advertise on the site send a flash advert which is then linked to their site through...
Hi there
I currently have a few movieclips that I load into another movieclip container. I use the MovieClipLoader class to load them and make use of the onLoadProgress, onLoadStart, onLoadInit, onLoadComplete and onLoadError listeners.
In the onLoadProgess listener, I listen for the loaded bytes and total bytes and put the the percent...
Hello,
I recently deployed a Flash application to a server, and am now experiencing errors when making HTTPService requests. I have put what I believe to be the most permissive crossdomain.xml possible in the wwwroot folder, and still get the errors.
Interestingly enough, the error only seems to occur when the request is made from a d...