Dave,
I use Flex Builder for AS projects all the time and it's great -
especially the debugger.
I am using Flex 3.02 (latest?) as an eclipse plug-in with the Flex 3.2
SDK - as it came in the Flex Builder update.
I just had a look at Flex preferences and my project properties.
It seems that
Hi to all
I use reflection effect for video. But I want to draw not horizontal
line between video and reflection Mc. So I mask my video with shape:
var distance:Number=20;
function drawShapeMask(mc:MovieClip, startX:Number, startY:Number,
w:Number, h:Number) {
mc.beginFill(0xFF);
Hi Natalia,
I recently wrote a reflection class that takes masking into account, it
takes masks into account, hope it helps:
http://objectpainters.com/blog/2008/11/23/visual-reflections-in-as2/
Gots lots of samples in the zip including video.
greetz
JC
On Tue, Apr 28, 2009 at 10:26 AM, natalia
Yes, I saw these excellent examples and learned a lot. But it does not
help with this situation. Do you have example where you have masked
video?
2009/4/28 Hans Wichman j.c.wich...@objectpainters.com:
that takes masking into account, it takes masks into account - some days
I'm like a broken
Hi,
no don't think so, there is an example in there of a masked clip, and a
sample of video.
I'm assuming you've tried my code with masked video and it didn't work, or
are you asking me to try that for you? I wasn't quite sure;). Because I see
no reason why it wouldn't work :)
regards,
JC
On
Yes I could not get correct rusult with masked video using neither
your code nor my code.
2009/4/28 Hans Wichman j.c.wich...@objectpainters.com:
Hi,
no don't think so, there is an example in there of a masked clip, and a
sample of video.
I'm assuming you've tried my code with masked video
that takes masking into account, it takes masks into account - some days
I'm like a broken record lol
On Tue, Apr 28, 2009 at 11:28 AM, Hans Wichman
j.c.wich...@objectpainters.com wrote:
Hi Natalia,
I recently wrote a reflection class that takes masking into account, it
takes masks into
Hmmm,
might be that some values end up negative while they shouldn't or as floats
while they should be integers.
To be honest, I don't completely understand what you are trying to do in the
left image, the lower part has to have an angle in it?
I'm not sure that's going to work without skewing of
I found that if I use layer mask reflection code works correctly
http://www.natavi.co.uk/test/video_perspective.html
If I try to use script mask over my video clip
var videoMaska=this.createEmptyMovieClip(videoMaska,100);
videoMaska._x=myVideo_mc._x;
videoMaska._y=myVideo_mc._y;
We've build an interface for a 512x384 movie using an external skin
movie built at 1024x768. We've actually been doing this for a number of
years, but now that we're trying to improve the quality of our art, I'm
noticing something for the first time. When the imported movie is
scaled down,
nice find!
I wonder what happens if you nest the video_mc and its coded mask into
another parent clip and reflect that.
regards,
JC
On Tue, Apr 28, 2009 at 2:15 PM, natalia Vikhtinskaya natavi.m...@gmail.com
wrote:
I found that if I use layer mask reflection code works correctly
Hi,
Possible workaround is to wrap the filtered movieclip inside another
or, if you don't want to interact with it, draw this wrapped up
movieclip into a bitmap and use that.
Hope this helps.
Glen
Andrew Sinning wrote:
We've build an interface for a 512x384 movie using an external
hi,
yes, filters broke the important property of scalability of vector
graphics.
This has been around since flash 8.
But surprisingly, your (justified) request is quite rare.
Some hints:
- ask Adobe to add a scale with movieClip checkbox in filter params
(almost hopeless)
- set up the
I did. It looks strange but result is the same wrong.
If say about such simple code:
var myBitmapData = new flash.display.BitmapData(bounds.width,
bounds.height, true, 0xFF);
myBitmapData.draw(video); //this is a clip with code mask and video
clip inside
var
I should add that this is wrong because gives wrong line between clips.
2009/4/28 natalia Vikhtinskaya natavi.m...@gmail.com:
I did. It looks strange but result is the same wrong.
If say about such simple code:
var myBitmapData = new flash.display.BitmapData(bounds.width,
bounds.height,
Solved.
I have clips: mainClip - myVideo_mc - clip with video
I use code mask for mainClip
For reflection I draw bitmap from nested myVideo_mc
var myBitmapData = new flash.display.BitmapData(bounds.width,
bounds.height, true, 0xFF);
myBitmapData.draw(myVideo_mc);
var
Hello list,
i was wondering if it is possible to set a conditional statement in the
EMBED tag. I would like to set the unicode range based on an id.
Here is the class i have now:
package {
import flash.display.Sprite;
public class ArialRoundedBoldFont extends Sprite
Hi Jiri,
Why do you want to do that conditional there? Cant you call a var?
Then in your main entry class you set that var depending on the lang
you get in.
Idea?
Or if you work with some sort of MVC ( Model View Controller )
architecture you could do that conditional in your Model and in
I know you have to implicitly remove objects to free up memory, but does
that also apply to listeners?
If you have many listeners in a loaded external movie and then you remove
the movie are the listeners still in memory, which might cause problems
later?
Thanks in advance for any insights,
John
- Original Message -
From: John R. Sweeney Jr jr.swee...@comcast.net
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 28, 2009 6:35 PM
Subject: [Flashcoders] Memory concerns
I know you have to implicitly remove objects to free up memory, but does
that also
Just in case anyone else experiences problem with the tab index property set
in the accessibility panel not working properly, I found that setting the
tab index with code seemed to do the trick
E.g
instructionsBtn.tabIndex = 1;
selectBtn.tabIndex = 2;
highscoresBtn.tabIndex = 3;
If you have many listeners in a loaded external movie and then you remove
the movie are the listeners still in memory, which might cause problems
later?
Yes.
AFAIK, that's a No. If there are no more references *to* the external movie,
you should be fine.
There are problems however with
Hi list...
I have a DataProvider that I'm trying to set to a combobox but it's not
working.
Cb.dataProvider = dpObjects.floor;
// does nothing
trace(dpObjects.floor);
// DataProvider [[object Object] , [object Object] , [object Object] , [object
Object]]
What am I missing?
Thanks,
- Michael
Never mind. Silly mistake. Nothing to see here. Move along.
Hi list...
I have a DataProvider that I'm trying to set to a combobox but it's not
working.
Cb.dataProvider = dpObjects.floor;
// does nothing
trace(dpObjects.floor);
// DataProvider [[object Object] , [object Object] , [object
I don't believe you can do conditionals with [Embed] statements. Those
are compile-time directives for the compiler, not runtime player logic
like an if/else. If the compiler accepts conditionals of some sort, I
am not aware of it and don't think it's documented anywhere. I could be
wrong, but I
Thanks for clearing this up.
I'm still in development, but right now I'm solving the problem by
increasing the size of the parent movie and then scaling it down in the
browser.
Olivier Besson wrote:
hi,
yes, filters broke the important property of scalability of vector
graphics.
This has
- Original Message -
From: Muzak p.ginnebe...@telenet.be
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 28, 2009 7:46 PM
Subject: Re: [Flashcoders] Memory concerns
If you have many listeners in a loaded external movie and then you
remove
the movie are
So, you may be right but I'm not entirely convined about unload() sorting
out event handlers.
Well there's nothing to sort out if the external content only has events going
on inside itself.
- Original Message -
From: Paul Andrews p...@ipauland.com
To: Flash Coders List
I'm not sure that's true for Loader.unload() and event handlers..
I agree with Muzak.
The thing with event listeners is that you're adding a reference to the
subscriber in the dispatcher.
Think of this:
someDispatcher.addEventListener(someEvent,handler);
Like equivalent to this:
It does accept conditionals, sort of, using the mxmlc -define tag.
I blogged about it somewhere (hunts around).
Aha!
http://code.awenmedia.com/node/34
HTH,
Ian
On Tue, Apr 28, 2009 at 8:41 PM, Merrill, Jason
jason.merr...@bankofamerica.com wrote:
I don't believe you can do
30 matches
Mail list logo