[Flashcoders] FocusManager in External SWF

2008-10-29 Thread Daniel Boey
Hey people,

Light please?

-- Forwarded message --
From: Daniel Boey <[EMAIL PROTECTED]>
Date: Wed, Oct 29, 2008 at 11:30 PM
Subject: FocusManager in External SWF
To: flashcoders@chattyfig.figleaf.com


Hi people,

I was able to get FocusManager to work properly in let's call it, SWF B.
But when I load SWF B into SWF A, I get an error,

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at fl.managers::FocusManager/activate()
at fl.managers::FocusManager()
at class::SWF_A()

This is baffling me, apparently it's dying out at the constructor of SWF B
itself right after I instantiate with

focusManager:FocusManager = new FocusManager(this);

Works just splendid in SWF B on its own, allowing me to go to
NextFocusManagerComponent and all. I don't get it, can anybody shed some
light on this?

-- 
Thanks & Best regards,
Daniel Boey
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 - Checking if a Function Exists

2008-10-29 Thread Steven Sacks
There's a bug if you return in a try or catch (maybe it's just catch).  Colin 
Moock mentions it in his AS3 book.  I personally think it's cleaner to return 
after a try catch because try catch is not an if else and really shouldn't be 
treated as such, but that might be because I have avoided returning inside them 
since I first started using them because of the bug.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Rotating device text in AS3 for Flash 10

2008-10-29 Thread Zeh Fernando
List, you're my last resort.

Has anyone ran into any way of rotating textfields that use 'device' fonts
in Flash 10? Other than making a BitmapData copy and using that instead,
that is.

I'm not sure this is at all possible now, but with so many changes to the
way text works, I'm having a hard time getting a definitive answer.

Embedding them in /real/ time would do too, if there's anything crazy like
that.

Thanks,
Zeh
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Meinte van't Kruis
I'm not sure wether this is about silverlight/microsoft bloebloeblabla, I'd
like to see something like this made in fms / flash one day (or is there a
reason why no one really wants to be bothered with fms, unless it is to
prevent ripping)

On Wed, Oct 29, 2008 at 7:38 PM, Carl Welch <[EMAIL PROTECTED]>wrote:

> I refuse to install MS Silverlight as a matter of principle.
>
>
> On Oct 29, 2008, at 5:30 AM, Meinte van't Kruis wrote:
>
>  has anyone checked out
>>
>> http://www.smoothhd.com/
>>
>> seems pretty cool, here's the description;
>>
>> SmoothHD.com is an early glimpse of cutting edge new technology from
>> Microsoft and Akamai that will raise the bar on the consumer video
>> experience.
>>
>> SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0
>> Smooth Streaming – a unique adaptive streaming technology that dynamically
>> adapts video quality in real-time based on local bandwidth conditions -
>> and
>> Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new
>> solution
>> for enabling high-quality, scalable video experiences over Akamai's global
>> HTTP network of more than 36,000 servers around the world.
>>
>> --
>> M.A. van't Kruis
>> http://www.malatze.nl/
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> --
> Carl Welch
> http://www.carlwelch.com
> http://www.jointjam.com
> [EMAIL PROTECTED]
> 805.403.4819
>
>
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Carl Welch

I refuse to install MS Silverlight as a matter of principle.


On Oct 29, 2008, at 5:30 AM, Meinte van't Kruis wrote:


has anyone checked out

http://www.smoothhd.com/

seems pretty cool, here's the description;

SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.

SmoothHD.com is powered by Microsoft Internet Information Server  
(IIS) 7.0
Smooth Streaming – a unique adaptive streaming technology that  
dynamically
adapts video quality in real-time based on local bandwidth  
conditions - and
Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new  
solution
for enabling high-quality, scalable video experiences over Akamai's  
global

HTTP network of more than 36,000 servers around the world.

--
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
Carl Welch
http://www.carlwelch.com
http://www.jointjam.com
[EMAIL PROTECTED]
805.403.4819





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FocusManager in External SWF

2008-10-29 Thread Daniel Boey
Hi people,

I was able to get FocusManager to work properly in let's call it, SWF B.
But when I load SWF B into SWF A, I get an error,

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at fl.managers::FocusManager/activate()
at fl.managers::FocusManager()
at class::SWF_A()

This is baffling me, apparently it's dying out at the constructor of SWF B
itself right after I instantiate with

focusManager:FocusManager = new FocusManager(this);

Works just splendid in SWF B on its own, allowing me to go to
NextFocusManagerComponent and all. I don't get it, can anybody shed some
light on this?

-- 
Thanks & Best regards,
Daniel Boey
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Jason Lutes
Still not as good as the technology and ideas from 
http://www.movenetworks.com/. (Technology and ideas pioneered by 
MoveNetworks and copied/borrowed/stolen by others, without getting too 
political about it. Lol!)



-
Jason


Jiri Heitlager wrote:

Nice

Meinte van't Kruis wrote:

has anyone checked out

http://www.smoothhd.com/

seems pretty cool, here's the description;

SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.

SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 
7.0
Smooth Streaming – a unique adaptive streaming technology that 
dynamically
adapts video quality in real-time based on local bandwidth conditions 
- and
Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new 
solution
for enabling high-quality, scalable video experiences over Akamai's 
global

HTTP network of more than 36,000 servers around the world.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Jiri Heitlager

Nice

Meinte van't Kruis wrote:

has anyone checked out

http://www.smoothhd.com/

seems pretty cool, here's the description;

SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.

SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0
Smooth Streaming – a unique adaptive streaming technology that dynamically
adapts video quality in real-time based on local bandwidth conditions - and
Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new solution
for enabling high-quality, scalable video experiences over Akamai's global
HTTP network of more than 36,000 servers around the world.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bitmap distorting during pan

2008-10-29 Thread Matt Muller
Thanks, I have already tried allow bitmaps smoothing as it is on the stage
already and this doesnt work.

Any other ideas?

cheers,

MaTT

On Wed, Oct 29, 2008 at 1:40 PM, Fabio Pinatti <[EMAIL PROTECTED]> wrote:

> copy the loaded image content with bitmapdata and smoothing = true to
> another movieclip. Or if it's in timeline, check "allow bitmap smoothing"
> in
> properties, from library.
>
> Best,
> Pinatti
>
> On Wed, Oct 29, 2008 at 11:24 AM, Matt Muller <[EMAIL PROTECTED]
> >wrote:
>
> > Hi, I am panning a bitmap around on mouse position. It is distorting a
> bit
> > when this happens. i.e there are some lines which run through it.
> >
> > Does anyone know how to stop this from happening?
> >
> > cheers,
> >
> > MaTT
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> Fábio Pinatti
> :: web.developer
>  www.pinatti.com.br
> :: 19. 9184.3745 / 3342.1130
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Bitmap distorting during pan

2008-10-29 Thread Fabio Pinatti
copy the loaded image content with bitmapdata and smoothing = true to
another movieclip. Or if it's in timeline, check "allow bitmap smoothing" in
properties, from library.

Best,
Pinatti

On Wed, Oct 29, 2008 at 11:24 AM, Matt Muller <[EMAIL PROTECTED]>wrote:

> Hi, I am panning a bitmap around on mouse position. It is distorting a bit
> when this happens. i.e there are some lines which run through it.
>
> Does anyone know how to stop this from happening?
>
> cheers,
>
> MaTT
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Bitmap distorting during pan

2008-10-29 Thread Matt Muller
Hi, I am panning a bitmap around on mouse position. It is distorting a bit
when this happens. i.e there are some lines which run through it.

Does anyone know how to stop this from happening?

cheers,

MaTT
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT: smoothd.com

2008-10-29 Thread Meinte van't Kruis
has anyone checked out

http://www.smoothhd.com/

seems pretty cool, here's the description;

SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.

SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0
Smooth Streaming – a unique adaptive streaming technology that dynamically
adapts video quality in real-time based on local bandwidth conditions - and
Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new solution
for enabling high-quality, scalable video experiences over Akamai's global
HTTP network of more than 36,000 servers around the world.

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] h264 video looks blurry/crappy in flash

2008-10-29 Thread Søren Christensen

I will give it a try

But I find the flash video encoder very basic. Not the best place to  
finetune the bitrate/quality balance.



Cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 29, 2008, at 11:33 AM, Cedric Muller wrote:


What if you encode your video directly with the Flash Video Encoder ?

cedric




the aspect is 1:1
If i playback a flv (on2 VP6) everything looks as it should.
I even tried some videos from apple.com/trailes - at first i  
thought they where played back perfectly. But after a few replays  
i could see some enhanced compression artifacts especiallly in the  
reds compared to when playing them back in the quicktime player.  
But they wasnt as blurry as my h264.
I tried using a .mov wrapper instead of mp4. Same result. Which  
make me start to think it could be my encodign software...
Anyway i will make some extra tests to try and find a bit more  
head and tails in the matters.



cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 28, 2008, at 2:25 PM, Latcho wrote:


Check:
Is your video pixel aspect ratio square pixels 1:1 ? or for ex.   
1:1.07 or 1:1.333.



Søren Christensen wrote:


The video i am using has the same size as the stage area so no  
scaling is taking place.
smoothing = true  normally activates antialiasing if the video  
is scaled up/down.


However weird things hapens with h264 -

with smoothing 'on' the image gets too soft and to some degree  
degrades the picture.
With smoothing 'off' it leaves the video very rough and aliased  
as if the video had been scaled up from 1/4th the resolution.


I have been testing on osx 10.4 safari/ff  and 9.0.115 fp

Cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 24, 2008, at 5:37 PM, Cedric Muller wrote:


do you, by any chance, use the video.smoothing = true ?
by looking at the video, it seems this option is set to true





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] ps3 fp9 features

2008-10-29 Thread Søren Christensen


Does anybody have acces to or know where to find a detailed overview  
of the FP9 for the PS3?

I have a hard time finding any useable information :-/


Cheers,
>B) Søren



  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] h264 video looks blurry/crappy in flash

2008-10-29 Thread Cedric Muller

What if you encode your video directly with the Flash Video Encoder ?

cedric




the aspect is 1:1
If i playback a flv (on2 VP6) everything looks as it should.
I even tried some videos from apple.com/trailes - at first i  
thought they where played back perfectly. But after a few replays i  
could see some enhanced compression artifacts especiallly in the  
reds compared to when playing them back in the quicktime player.  
But they wasnt as blurry as my h264.
I tried using a .mov wrapper instead of mp4. Same result. Which  
make me start to think it could be my encodign software...
Anyway i will make some extra tests to try and find a bit more head  
and tails in the matters.



cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 28, 2008, at 2:25 PM, Latcho wrote:


Check:
Is your video pixel aspect ratio square pixels 1:1 ? or for ex.   
1:1.07 or 1:1.333.



Søren Christensen wrote:


The video i am using has the same size as the stage area so no  
scaling is taking place.
smoothing = true  normally activates antialiasing if the video is  
scaled up/down.


However weird things hapens with h264 -

with smoothing 'on' the image gets too soft and to some degree  
degrades the picture.
With smoothing 'off' it leaves the video very rough and aliased  
as if the video had been scaled up from 1/4th the resolution.


I have been testing on osx 10.4 safari/ff  and 9.0.115 fp

Cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 24, 2008, at 5:37 PM, Cedric Muller wrote:


do you, by any chance, use the video.smoothing = true ?
by looking at the video, it seems this option is set to true





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] h264 video looks blurry/crappy in flash

2008-10-29 Thread Søren Christensen



the aspect is 1:1
If i playback a flv (on2 VP6) everything looks as it should.
I even tried some videos from apple.com/trailes - at first i thought  
they where played back perfectly. But after a few replays i could see  
some enhanced compression artifacts especiallly in the reds compared  
to when playing them back in the quicktime player. But they wasnt as  
blurry as my h264.
I tried using a .mov wrapper instead of mp4. Same result. Which make  
me start to think it could be my encodign software...
Anyway i will make some extra tests to try and find a bit more head  
and tails in the matters.



cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 28, 2008, at 2:25 PM, Latcho wrote:


Check:
Is your video pixel aspect ratio square pixels 1:1 ? or for ex.   
1:1.07 or 1:1.333.



Søren Christensen wrote:


The video i am using has the same size as the stage area so no  
scaling is taking place.
smoothing = true  normally activates antialiasing if the video is  
scaled up/down.


However weird things hapens with h264 -

with smoothing 'on' the image gets too soft and to some degree  
degrades the picture.
With smoothing 'off' it leaves the video very rough and aliased as  
if the video had been scaled up from 1/4th the resolution.


I have been testing on osx 10.4 safari/ff  and 9.0.115 fp

Cheers,
>B) Søren

  MOTION & INTERACTIVITY
  dslnc studio -  www.desilence.net
  +34 93 268 0953  /  +34 61 555 9963 (mobile)




On Oct 24, 2008, at 5:37 PM, Cedric Muller wrote:


do you, by any chance, use the video.smoothing = true ?
by looking at the video, it seems this option is set to true


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 - Checking if a Function Exists

2008-10-29 Thread Ian Thomas
Thanks for the tip, Steven - any info as to why? If the error is
thrown, the function returns; if it isn't thrown, the function
returns. Is this just 'good practice' - if so, instead of blindly
following dogma, I'd like a little insight as to _why_ it's good
practice?

(I've had issues like this in the past where it turns out the 'good
practice' evolved because of a specific implementation bug in an early
C++ compiler, rather than because it was actually good practice for
the language I was using at the time.)

Ian

On Wed, Oct 29, 2008 at 2:20 AM, Steven Sacks <[EMAIL PROTECTED]> wrote:
> Do not call return in a try catch.
>
>
> Ian Thomas wrote:
>>
>> Method:
>>
>>public static function refExists(obj:Object,name:String):Boolean
>>{
>>try
>>{
>>if (obj[name]!=null)
>>return true;
>>}
>>catch (e:ReferenceError) {}
>>return false;
>>}
>>
>> HTH,
>>   Ian
>>
>> On Tue, Oct 28, 2008 at 8:36 AM, Ian Thomas <[EMAIL PROTECTED]> wrote:
>>>
>>> Or, thinking about it, you could catch the reference error in a
>>> try/catch block. It's more of a kludge, but might give you much higher
>>> performance!
>>>
>>> Ian
>>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders