Search:
Type: Posts; User: somlemeg
Search:
Search took 0.06 seconds; generated 18 minute(s) ago.
-
The code below does not work, how do I get it to work?
<script>
exportString = exportString + "<script type=""text/javascript""; id=""io_id_5102"">>var di=" + dotImage;
exportString =...
-
Found the solution
document.getElementById("d"+dotNr).addEventListener("mousedown",function(event){
mouseDownDrag(this.id);
});
-
I'm having trouble adding an EventListener to a image witch are created dynamically.
Here is the code I'm having trouble with:
var dotNr = 0;
function addDot() {
var img =...
-
Hi, right click on the first frame. Choose actions.
Paste in:
fscommand("allowscale", "false");
-
Seems like the user needs to calibrate after a real world ruler to get it right.
-
Wish there where playgrounds like that here, BUT with equipment not that exposed decay/potentially unsafe equipment.
-
Hi guys, in my project I need know how many pixels one cm is on the screen.
I get the DPI (pixels per inch) in flash using flash.system.Capabilities.screenDPI, for my screen I get 72.
I try...
-
Solved it by using:
this.stage.addEventListener (KeyboardEvent.KEY_DOWN, backgroundNoise.checkKey);
this.stage.focus = this.stage;
Thanks to...
-
PS. you don't really need button overlays anymore. You can use movieClip.buttonMode = true to get the hand cursor.
-
My script has a structure like this (shorten down version):
MenuDisplay.as (creates the menu)
package
{
import flash.display.Graphics;
import flash.display.BitmapData;
import Array;
//
-
Found the answer, forgot to import flash.events.Event.
Instead of e:ComponentEvent used e:Event.
-
The code you have provided is incomplete, however if you use getDay(); returns the weekday, getDate() returns the day of the month.
Refer with...
-
Hi, I think something is wrong in the way the movie clips are refferenced by index (different index than the buttons).
This works:
stop();
import flash.events.MouseEvent;
import...
-
Use the timer class (http://republicofcode.com/tutorials/flash/as3timer/) and to change scenes: http://www.ehow.com/how_8573919_change-between-scenes-as3.html
I'm not sure if anyone uses scenes...
-
How can I make this syntax right, have:
package
{
import Array;
import fl.data.DataProvider;
import fl.controls.ComboBox;
import fl.events.ComponentEvent;
-
Seems like there is no alternative way to do this, was forced to use array instead.
-
In my script some of the variables are passed on like this from the html:
<SCRIPT LANGUAGE="JavaScript">var x0 = 186;var y0 = 249;var x1 = 63;var y1 = 149;</SCRIPT>
The number of x0, x1, x2...
-
I don't think that is a problem, you can load an AS2 file from AS3, but not an AS3 file to AS2.
I have little experience from adobe air. If I where you I would start by trying to debug the problem...
-
Then perhaps there are some security restricitons in air. If it displays "movie not loaded", it is usually because it cannot load the movie.
What version of air are you using?
Perhaps you can...
-
So you have placed the swf in the application directory and made sure that it's referenced like in the article?
-
Have you read and followed this?:
http://help.adobe.com/en_US/as3/dev/WS4B441C24-BAE3-4110-91FD-A4E5EEFB2467.html
According to it a swf inside an html file will not be displayed if the wmode is...
-
Using an 2d array worked, but found another better solution.
-
I have an array containing several references to movieClips.
I want to sort that array depending on the x position to the clips.
What I'm wondering if anyone has solved this problem before and...
-
I'm programming an AS3 application. I have programmed the a package that does the main purpose in my application.
How should go on further to get my program organized properly?
I need an user...
-
I'ts usually easier to use arrays instead of variables created dynamically.
I'm not sure why your code dosn't work. However, I got this code to work:
function myFunction():void
{
var...
|
Click Here to Expand Forum to Full Width
|