Hi Karl,
Kind of tired, so the easiest way I can think of to do this is to
evaluate and convert each pixel's RGB values to HSB and then average
your found values for all the pixels in the region the loader is to be
displayed within.
Hue, Saturation, Brightness. if the brightness is less
I was wondering is there a way to recognize the density of pixels in
flash AS2 or AS3? The darkness or lightness.
For instance, say I have a loader that is dynamically loaded and
normally it would be, say, white.
But lets say I want it to have a script that detects the pixel
density of the
There's no "_width" in AS3.. it's "width".
Array access notation should work fine:
photoStrip_mc["thumbnail" + i + "_mc"].width;
As a sidenote, you're better off storing references in an array for easy access
later.
myClips = new Array();
var len:uint = 10;
for(var i:uint=0; i- Original M
Or you could try
photoStrip_mc.thumbnail[I]_mc._width
Sent from losPhone
On Mar 28, 2009, at 8:09 PM, "TS" wrote:
Trying to cylec through some objects. This doesn't seem to work in
AS3 as it
does in AS2. Is there an equivalent in AS3?
photoStrip_mc["thumbnail" + i + "_mc"]._width
Tha
Try this:
photoStrip_mc["thumbnail" + I]_mc._width
Sent from losPhone
On Mar 28, 2009, at 8:09 PM, "TS" wrote:
Trying to cylec through some objects. This doesn't seem to work in
AS3 as it
does in AS2. Is there an equivalent in AS3?
photoStrip_mc["thumbnail" + i + "_mc"]._width
Thanks
I am not at my computer, so that is just a guess. :)
Sent from losPhone
On Mar 28, 2009, at 8:09 PM, "TS" wrote:
Trying to cylec through some objects. This doesn't seem to work in
AS3 as it
does in AS2. Is there an equivalent in AS3?
photoStrip_mc["thumbnail" + i + "_mc"]._width
Thank
Apart from anything else, AS3 MovieClips don't have a _width property - it's
now width.
Paul
- Original Message -
From: "TS"
To: "'Flash Coders List'"
Sent: Sunday, March 29, 2009 2:09 AM
Subject: [Flashcoders] AS3 Object reference
Trying to cylec through some objects. This doesn't
Trying to cylec through some objects. This doesn't seem to work in AS3 as it
does in AS2. Is there an equivalent in AS3?
photoStrip_mc["thumbnail" + i + "_mc"]._width
Thanks ahead, T
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
The problem seems to be that TextArea uses the "enabled" value to set the inner
textField's selectable property value.
protected function updateTextFieldType():void {
textField.type = (enabled && _editable) ? TextFieldType.INPUT :
TextFieldType.DYNAMIC;
textField.selectable = enabled;
t
Then again there is this:
package{
//imports
import fl.controls.TextArea;
import flash.text.TextField;
public class CustomTextArea extends TextArea{
//vars
private var internalTextField:TextField;
maybe...
hard way:
on select - set clipboard with " " or something else...
On Mar 28, 2009, at 9:14 PM, Keith Reinfeld wrote:
A simple solution is to put the textarea in a movieclip and set the
movieclip to : mc.mouseChildren = false;
That's not a bad idea, Cor. Unfortunately, it also
> A simple solution is to put the textarea in a movieclip and set the
> movieclip to : mc.mouseChildren = false;
That's not a bad idea, Cor. Unfortunately, it also disables the scrollbar.
If the TextArea doesn't need to be scrolled, then fine. Otherwise I think it
may be best to just use a Text
http://www.actionscript.org/resources/articles/745/1/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page1.html
This tutorial should be pretty useful.
Glen Pike wrote:
I also forgot to add that you may need to set the "AllowScriptAccess"
variable to "always" in your SWF embedding HTML code
I also forgot to add that you may need to set the "AllowScriptAccess"
variable to "always" in your SWF embedding HTML code in order to make
sure your Flash can talk to the browser...
http://www.google.co.uk/search?hl=en&q=allowScriptAccess&btnG=Search&meta=
SJF wrote:
I have an ExternalInterf
Hi,
The example here shows how to get your return value from JS into Flash.
http://www.adobe.com/devnet/flash/articles/external_interface_05.html
The addCallback is used for JS talking to Flash so you can go the
other way -
http://www.adobe.com/devnet/flash/articles/external_inte
I have an ExternalInterface call in my application that looks like this:
ExternalInterface.call(BrowserScriptsJS.GET_BROWSER_INFO);
-
A simple solution is to put the textarea in a movieclip and set the
movieclip to : mc.mouseChildren = false;
HTH
Cor
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
pe...@pepo.nl
Sent: vrijdag 27 maart 2009
17 matches
Mail list logo