Are you talking about snapping to a guide you have setup in the Flash IDE?
As far as I know you can't snap to that through code. You could easily
take a number though ( from your mouse for ex ) and use the Math class
to round it to a pixel or to the nearest x pixel if you knew where
your guide
Hi,
if you iterate through the guides and you locate the one with the closest
distance to your object, you got the closest guide.
Now if your mouse/object is closer than 'x' pixels to the guide, set the
object x to the guide x, otherwise set the object x to the mouse x.
Is that what you are
I keep getting full screen based on the entire stage but not my 640x480
rectangle. I gotta be missing something? I'm using actionscript 2 with flash
8 and the example at
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode_03.html
thanks carlos
import flash.geom.Rectangle;
are you testing in the player version 9?
On Sun, Nov 23, 2008 at 5:42 PM, carlos varner [EMAIL PROTECTED] wrote:
I keep getting full screen based on the entire stage but not my 640x480
rectangle. I gotta be missing something? I'm using actionscript 2 with
flash
8 and the example at
Hardware scaling is not supported in Flash Player 8.
You'll need Flash Player 9 Update 3 (9.0.115.0).
http://www.adobe.com/support/documentation/en/flashplayer/9/releasenotes.html#fixes_90115
- Original Message -
From: carlos varner [EMAIL PROTECTED]
To:
Hello... I've got flash player 9 working but no luck getting only
the rectangle to go fullscreen. Also unsuccessfully tried it with version
10. carlos
On Sun, Nov 23, 2008 at 9:08 AM, Hans Wichman
[EMAIL PROTECTED] wrote:
are you testing in the player version 9?
On Sun, Nov 23, 2008 at
AS3, FP9
I am using a substitute mouse cursor, so I use Mouse.hide();
When a user right-clicks, the Mouse is unhidden (good) but then it doesn't
return to the state it was before the context menu was open (unfortunate,
perhaps understandable).
When a user selects an item, I can listen for
Could someone take a quick look at http://venturawave.com/test.html and
see if you can catch why the rectangle isn't working. I commented the
actionscript into the html.
On Sun, Nov 23, 2008 at 9:44 AM, carlos varner [EMAIL PROTECTED] wrote:
Hello... I've got flash player 9 working but
2 questions :
a) So now I wonder, is there a _true_ morphing class (with morphing
points) available for as3 ?
b) what is the lightest / easiest way to animate a bitmap of a postnote
or paperlike image, that is turning itself around,meaning showing it's
backside,
I don't want a simple
Sorry, It does not work correctly.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of carlos
varner
Sent: zondag 23 november 2008 22:34
To: Flash Coders List
Subject: Re: [Flashcoders] full screen rectangle issue
Could someone take a quick look at
It does go fullscreen but it still shows the yellow part.
These are the dimensions of your flash stage, I guess??
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cor
Sent: zondag 23 november 2008 22:44
To: 'Flash Coders List'
Subject: RE: [Flashcoders]
Hello.. I've got a 640x480 video on a 800x600 stage. I only want the video
to go full screen and not the other elements on the stage. I can't get the
Rectangle to work.
On Sun, Nov 23, 2008 at 1:49 PM, Cor [EMAIL PROTECTED] wrote:
It does go fullscreen but it still shows the yellow part.
The following works for me:
import mx.utils.Delegate;
import flash.geom.Rectangle;
function fsClickHandler(o:Object):Void {
trace(Application ::: fsClickHandler);
var rect:Rectangle = new Rectangle(0, 0, 640, 480);
Stage.fullScreenSourceRect = rect;
Stage.displayState = fullScreen;
}
Hi Natalia,
I've had to deal with this issue too. I found that the sound's duration is
not known until it is fully loaded. Like you, I had a progress bar and a
time display. I dealt with it like so:
For the progress bar, approximate the sound duration by working out the
milliseconds per byte,
Is it possible to output a size report (*) via the Flex Sdk ( I'm
compiling in flashdevelop) ?
* (similar to flash Publish settings- Generate size report)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
15 matches
Mail list logo