I think you might want to look into Papervision3D to get exactly what you
want. If not, your math logic is going to have to be crazy to get the
results you are wanting. Your spacing stays the same because you are working
on a 2D scale. If you use papervision, you might have better luck achieving
Hi,
aside from the fact that the illusion of perspective depends on the items
being scaled and the spacing not being equal, i see two options, a) limit
the maximum scale, dirty but might be a quick trick. Either by multiplying
it by some root or a hard limit.
b) sum the (scaled) width of all
Perhaps this formula will help:
function applyPerspective(pMC:MovieClip, x:Number, y:Number):Void
{
var centerX:Number = 200; // center of 2D-scene (X)
var centerY:Number = 200; // center of 2D-scene (Y)
var distCenter:Number = 60; // distance of the perspective plan to
the center of
Thank you so much!!! I will try this.
2010/4/22 Olivier Besson ol...@gludion.com:
Perhaps this formula will help:
function applyPerspective(pMC:MovieClip, x:Number, y:Number):Void
{
var centerX:Number = 200; // center of 2D-scene (X)
var centerY:Number = 200; // center of 2D-scene (Y)
Hi List,
just revisiting a 6 month old project, changed the layout slightly and
republishing i'm getting horrible horizontal streaks across the screen when
images are scrolled horizontally. this project has been used live for 6
months without issue and now i see that the new player (i only got it
Say I have a BitmapData that is 500x500 pixels.
I want to restrict the area that will be updated in a series of copypixel
operations.
For example I want to restrict the rectangle that will be updated in the
target Bitmapdata to Rectangle(100,100,50, 50).
How do I do that without using a mask?
Hey thanks for your response. I haven't tried with a different video or FMS
just because of the randomness of the bug. It's not something I can easily
reproduce by following certain steps it just kind of happens randomly. I never
really thought the problem could be with the video or FMS since
Well the idea is if playheadUpdate is fired it means the buffering has
ended even if it says still buffering. (You can monitor
playheadTime/playheadPercentage as well for the same effects, as others
suggested.)
Another option is to use NetStream instead. You can monitor the
buffering status
Hey, yeah I set something up so that I still use the buffering state entered
event and then once that happens I set an interval to monitor the playheadtime
and when that progresses i end the buffering. it works so far but we'll see if
this bug pops up again somehow. haha. thanks again for the
Has anyone made a plugin for the JW Player? I'm tasked with doing so, and can't
find documentation of the API. Is there any? Do they just expect you to dig
through the classes and figure out what you can do?
Thanks.
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T 952 346 6610
C 612 377
We've done several.
*http://developer.longtailvideo.com/trac/wiki/Player5PluginsBuilding
--Matt
*
On Thu, Apr 22, 2010 at 8:42 AM, Mattheis, Erik (MIN - WSW)
ematth...@webershandwick.com wrote:
Has anyone made a plugin for the JW Player? I'm tasked with doing so, and
can't find documentation
Thanks, have seen that page - I'm looking for documentation in the sense of
definitions of the properties, methods and events available to the plug-in.
_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T 952 346 6610
C 612 377 2272
Weber Shandwick
Advocacy starts here.
PRWeek Global Agency
This?
http://developer.longtailvideo.com/trac/wiki/Player5Api
On Thu, Apr 22, 2010 at 1:10 PM, Mattheis, Erik (MIN - WSW)
ematth...@webershandwick.com wrote:
Thanks, have seen that page - I'm looking for documentation in the sense of
definitions of the properties, methods and events available
It has been a while since I've done this but have you looked at the
getPixels method? You should be able to pass a rectangle to that method to
get the area you desire.
hth
Bob
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html
On Thu, Apr 22, 2010 at 5:37 AM,
sourceRect is one of the parameters of the copyPixels method. It describes
which is the rectangle to be used when copying. No masking is necessary.
This has the same effect as limiting the target area to a specific
rectangle.
Seen that, thanks. Maybe asking in another way: I need to find out how to
reference the player controls and find out their height property so I can
position a pop-up window flush with them. Where is a document that would say
something like
Class com.blah.jwplayer.Controls extends MovieClip
Yes I know, but I need a function that calculates the optimal source
rectangle to fit in a target rectangle.
On Thu, Apr 22, 2010 at 7:51 PM, Zeh Fernando z...@zehfernando.com wrote:
sourceRect is one of the parameters of the copyPixels method. It describes
which is the rectangle to be used
Solved. This was the solution.
private function copypixels(target:BitmapData, src:BitmapData, destP:Point,
targetR:Rectangle ):Boolean{
var toR:Rectangle = new Rectangle(destP.x, destP.y, src.width,
src.height);
var inR:Rectangle = targetR.intersection(toR);
I'm guessing some of y'all have already dove into the world of
developing Flash for Android, I'm wondering if there are
sites/books/resources you can recommend to get started?
thanks,
.matt
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
On Thu, 22 Apr 2010 16:46:37 -0400, Matt S. mattsp...@gmail.com wrote:
I'm guessing some of y'all have already dove into the world of
developing Flash for Android, I'm wondering if there are
sites/books/resources you can recommend to get started?
Don't you mean the upcoming iPhone support in
It will be pretty much the same as 'normal' Flash, but with less CPU/memory
and with additional APIs.
For optimization tips:
http://help.adobe.com/en_US/as3/mobile/index.html
For the additional APIs, I guess we have to wait for the proper (?) AIR 2
documentation. But NativeMenu and such should
Well, I was thinking more along the lines of AIR for Android, such as
is seen here:
Google Reinforces Commitment to Adobe and Flash
http://theflashblog.com/?p=1926
But come to think of it, this might all be extremely Beta and not
available to regular old flash developers just yet. I guess I
So (and pardon me if these are stupid questions), does the final app
get converted to an Android format? Or does it actually go to the
phone still in AIR format? Is there not equivalent conversion similar
to packager for iPhone?
.m
On Thu, Apr 22, 2010 at 5:07 PM, Zeh Fernando
it's not available yet outside of the beta but you can go through the
documentation here:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package-summary.html
and take a look at the accelerometer, etc
And as far as I understand it:
flash player 10.1 is available on
This is how it's gonna be soon, but not now. Android 2.1 (Nexus One, et al)
come without any kind of Flash Player installed, so you can't see Flash
content.
Zeh
On Thu, Apr 22, 2010 at 6:30 PM, jared stanley jared.stan...@gmail.comwrote:
And as far as I understand it:
flash player 10.1 is
Hmm...I assumed the devices were flash-capable and when flash was
detected it would dl the plugin...guess not?
Sent from my iPhone
On Apr 22, 2010, at 6:50 PM, Zeh Fernando z...@zehfernando.com wrote:
This is how it's gonna be soon, but not now. Android 2.1 (Nexus One,
et al)
come without
26 matches
Mail list logo