hello
i am working with FileReferenceList class to create a mutilpe image uploader
i forget how to get names of files select with browse method
i wante ask a question how to get a array of names selected files to ste in array for datagrid column.
thanck you.
...
I have a 3D cube made with PaperVision3D.
Each "side" is made of 2 triangles.
I have a different texture "material" mapped to each side.
When I rotate the cube the texture is skewed like '/\' an upside down v between both triangles. When looking at a face straight on it looks ok but start to rotate and it starts to skew the textures....
I'm using AS2, but I could also do it in AS3.
I'm making a simple animation with about 10 "coins" on screen. I have a movie clip that animates another movie clip flipping over. I want to pull a random movie clip from the library into the nested clip so that on each "flip" a random coin face comes up.
I've put all the clip names into an...
When I use emacs python-mode, if the last character of a line is an open parenthesis it indents the next line just one step in from the indentation of the previous line.
call_some_function(
some_very_long_argument_that_I_want_to_put_on_its_own_line)
I like that. Now in ecmascript-mode (which I am using for actionscript 3), it alwa...
Hello guys,
I develop a small game to learn AS and sandy 3D. I want to include a physic engine in my 3D scene. I wanted to use WOW like the sandy tutorial say but the WOW web site is down so it's difficult to develop something without doc.
I search a new physic engine that I can use with sandy 3D.
Do you now that ?
Thanks.
...
I have noticed in other languages such as Java that there are Objects such as Vector2d that have a multiply method. How would I do the same with Actionscript 3? I know that the Point or Vector3D classes have add/substract methods, but neither offer multiply/divide methods.
What is the best way to multiply two Point objects? would it be ...
Hi,
I am using textflow in my application. I need to add a functionality of getting focus(cursor blinking) on right click.
How can I do this?
Thanks in advance.
...
So I successfully added a movie clip from the library using addChild(), but now I want to access some movieclips that were in that dynamically added movieclip.
I've used standard dot notation and also getChildByName passing it the instance names.
What am I missing here?
---- EDITED ----
I tried the suggestion of looping through and c...
Hi, I'm trying to get the current URL that the Flash player is on. Not the URL of the .swf file, but the URL that the browser is pointing to. Thus far I've used:
var st:String = ExternalInterface.call("window.location.href");
Unfortunately this doesn't work in IE. From my research, I can see that it won't work with IE either way.
The...
Hello! First question here; hope you can help. I'm completely flummoxed.
I created a flash slideshow which preloads the images. After preloading the images, it proceeds to load an external flash file and then the images. The problem is, very very occasionally, it will fail to actually load the images into view, and I'll just see the pre...
How does one get a reference the the getter and setter functions in actionscript 3?
if a method is defined on the calls, e.g.
public function blah():String { ...}
I can get a reference to it by just saying blah or this.blah
How do get a reference to
public function get blah2():String {}
public function set blah2(b:String):void {}
...
I'm writing an application in Flex / ActionScript and have a number of class member variables of type Array storing data.
My question is: what's the "best" way to clear out an Array object?
I noticed the ArrayCollection class has a function removeAll() which does this, but the basic Array class does not. Some possibilities I've consid...
In the Flash 10 player, suppose I've loaded a Sprite that's just a dozen random lines. Is there any way to inspect that Sprite's graphics object and find out the positions of those lines?
Currently I have a crazy work around where I draw the lines to a bitmap and inspect the bitmap, but this is crude and expensive.
...
Duplicate
http://stackoverflow.com/questions/1365026/blazeds-on-glassfish
I have a question about BlazeDS and Glassfish.
Is it true that there is no support for Blaze in GlassFish??
The following blog has a "hack" solution, but I can't find an 'official' solution.
...
We are developing an app with a Flex frontend and a C# backend, connected through web services.
We are using the FLex Builder 3's Web Service Manager to autogenerate the webservice classes.
The problem araise when Flex serialize our objects, for example, when we have a Number property with no value, this is serialized as NaN, and our bac...
Hi, I'm new to ActionScript 3 (without any experience with Flash development) and I was wondering how I would go about adding an mouse event listener to a bitmap? The code works with a sprite, just not with a bitmap. Here is a shortened version of the code I'm trying to run, I hope it makes sense!
var fsImageRequest:URLRequest = new URL...
I'm creating a flash game in actionscript 3 with an infinite universe. Because the universe is infinite the background is created dynamically using the following background engine:
BackgroundEngine.as
package com.tommedema.background
{
import br.com.stimuli.loading.BulkLoader;
import com.tommedema.utils.Settings;
import co...
Hello,
I have a strange problem with Tweener library and alpha transition.
(no.. it's not the "no embbed problem")
See the example on this page
(All fonts are embbed, I'm using CS4 with AS3)
The white-texts on black-background have problem with animation of alpha from 0 to 1. Their alpha "jump" and the text become bolder and whiter su...
I have the following layer structure in Flash:
Spotlight - Has a transparent center area, is a bitmap symbol
Button
How do I make Button clickable even though the Spotlight layer? I want to toggle the visibility of the Spotlight layer with the click of Button like the following code.
Button.addEventListener(MouseEvent.MOUSE_CLICK, O...
Hi All.
Im having an app where the user can edit a simple greeting card and should be able to send it to another user.
We currently doing it by exporting to graphic file and sending with some server script.
Now - we found a need to export that card to swf.
This card is basically a (Flex) Canvas holding some images and labels.
What do...