Re: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Ricky Bacon

Matthew James Poole wrote:

I have to agree with Steven on this too if security isnt to much of an
issue then use Zinc etc...


I constantly question Adobe's reasoning on this.  AIR is a great way to 
present a platform...that sucks ass if you really want to do anything on 
the client side.


Guess what?  If I want to break your sandbox, it's done.  No user should 
download an app that they don't trust and no amount of your sandbox 
would prevent me from breaking that if I were a cracker.  Give us 
external access (dll, so, etc.).  Flash still has alot of potential.


Your marketers are getting in the way of your engineers.

/rant

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


Re: [Flashcoders] Getting the project directory path in AIR

2008-01-02 Thread Omar Fouad
When I use:

NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,
onInvoke)

var AppDir;

function onInvoke(e:InvokeEvent) {
AppDir = e.currentDirectory;
trace(AppDir.nativePath); // traces the path
}

function switchVideo(st:String) {
var fileStream:FileStream = new FileStream();
fileStream.openAsync(AppDir.resolvePath("aA.txt"), FileMode.WRITE);
fileStream.writeUTFBytes("A");
fileStream.close();

   trace(AppDir.nativePath); // throws an Error
}

SwitchVideo("Video");

Why AppData is not recognized only in the onInvoke() function dispached by
the Invoke Event?

On Jan 1, 2008 6:16 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:

> Ok it wored just fine thanks for your Help :D
>
> Happy Feasts :D
>
>
> On Jan 1, 2008 6:15 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:
>
> > Well beside the code hint is not working, in the documentation there is
> > definition for the Native Application.
> > BTW I'll try what u sent and feedback...
> >
> > Copy that.
> >
> >
> > On Jan 1, 2008 6:12 AM, CrAzYcAlL < [EMAIL PROTECTED]> wrote:
> >
> > > Well that´s the way I use when doing Air projects with Flash CS3. Even
> > >
> > > the code hint is working in flash IDE.
> > >
> > > here is a .fla test:
> > >
> > > http://www.adrianosantangeli.com/FlashAir.fla
> > >
> > > CrAzYcAlL
> > >
> > > Omar Fouad wrote:
> > > > Well I am using the Beta 3 but there is no NativeApplication Class.
> > > > P.S. : Um using the flash CS3 Air Update.
> > > >
> > > > On Dec 31, 2007 3:24 AM, CrAzYcAlL < [EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > >
> > > >> What version of Air ?
> > > >> "flash.desktop.NativeApplication" is for beta2 and beta3 if you're
> > > using
> > > >> an older version you need to use "flash.System.Shell" instead.
> > > >>
> > > >> CrAzYcAlL
> > > >> *
> > > >>
> > > >> *Omar Fouad wrote:
> > > >>
> > > >>> flash.desktop.NativeApplication is not a Class in the AS3
> > > library,,,
> > > >>>
> > > >>>
> > > >>> On Dec 31, 2007 12:45 AM, CrAzYcAlL <[EMAIL PROTECTED]>
> > > wrote:
> > > >>>
> > > >>>
> > > >>>
> > >  use InvokeEvent :
> > > 
> > >  import flash.events.InvokeEvent;
> > >  import flash.desktop.NativeApplication;
> > >  import flash.filesystem.File;
> > > 
> > >  var appDir:File;
> > >  NativeApplication.nativeApplication.addEventListener(
> > > InvokeEvent.INVOKE
> > > 
> > > >> ,
> > > >>
> > >  onInvoke)
> > >  function onInvoke (invokeEvent:InvokeEvent):void{
> > > appDir = invokeEvent.currentDirectory;
> > > trace ( appDir.nativePath );
> > >  }
> > > 
> > >  CrAzYcAlL
> > > 
> > >  Omar Fouad wrote:
> > > 
> > > 
> > > > Hey,
> > > > Um doing some kiosk database driven Application in AIR, and I
> > > need to
> > > >
> > > >
> > >  return
> > > 
> > > 
> > > > the absolute directory path of the .fla file itself in order to
> > > be
> > > >
> > > >> able
> > > >>
> > >  to
> > > 
> > > 
> > > > write files in the same application directory.
> > > >
> > > > I tried:
> > > >
> > > > var path:File.applicationStorageDirectory;
> > > > trace(path.nativePath) // it returned some other directory
> > > inside
> > > >
> > > >
> > >  "documents
> > > 
> > > 
> > > > and settings"
> > > >
> > > > any Idea?
> > > >
> > > >
> > > >
> > > >
> > >  ___
> > >  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
> > >
> >
> >
> >
> > --
> > Omar M. Fouad - Digital Emotions
> > http://www.omarfouad.net
> >
> > This e-mail and any attachment is for authorised use by the intended
> > recipient(s) only. It may contain proprietary material, confidential
> > information and/or be subject to legal privilege. It should not be copied,
> > disclosed to, retained or used by, any other party. If you are not an
> > intended recipient then please promptly delete this e-mail and any
> > attachment and all copies and inform the sender. Thank you.
> >
>
>
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained

Re: [Flashcoders] Software Patent Question

2008-01-02 Thread Allan Evans
Dave, you should check your agreement with your previous client. Many  
boilerplate contracts include a clause addressing patents that you  
may be subject to.


- Allan


Allan Evans[EMAIL PROTECTED]
Multimedia Production and Programming
Back in Chicago. Really.
"No matter where you go, there you are." - BB


On Jan 2, 2008, at 3:25 PM, Dave Mennenoh wrote:

Question - as a software developer, are we free to create anything  
we want if we use our own, from scratch, code? For instance, we  
created a Flash based Virtual Makeover application a couple years  
back. We may make a new one for a new client but our old client has  
issue. Evidently they "invented" this makeover system, and even  
have a patent: http://tinyurl.com/2yxj8v
But there are other examples of such systems. Maybe they're not  
identical, but the good ones work much the same. To me, it's  
utterly ridiculos that I could be stopped from writing any kind of  
software. I could make a Riven clone called Raven if I wanted,  
couldn't I? Anyone have any input?





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


Re: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Omar Fouad
yeah That's It!

On Jan 3, 2008 12:57 AM, CrAzYcAlL <[EMAIL PROTECTED]> wrote:

> It´s not only you that is not satisfied with this , take a look at this
> thread :
>
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=641&threadid=1298770&enterthread=y
> <
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=641&threadid=1298770&enterthread=y
> >
>
> Adobes wish list:
> http://www.adobe.com/go/wish/
>
> CrAzYcAlL
>
>
> Omar Fouad wrote:
> > I've been thinking about something else.. Why they don't let me execute
> > files from the fscommand like I do in any Projector application
> (fscommand
> > directory)... I think that this would be one solution, that yet covers
> their
> > security polices. Why should I Make use of other programming
> technologies
> > like .net or java while developing in Adobe...And yet Microsoft and Sun
> are
> > two major companies and their products give us the functionality to do
> stuff
> > like executing files, printing without showing any dialog boxes etc...
> How
> > they can permit to let us wrap their products in other third party
> > "compilers"?
> >
> > On Jan 2, 2008 10:08 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:
> >
> >
> >> First of all thanks for the replies, and by the way um sorry for being
> >> rude... The thing is that I found out that AIR does not support the
> function
> >> too late, now that the whole project is finished and the print function
> is
> >> missing - I am trying to find out a way to get it working without doing
> the
> >> whole work again..
> >>
> >>
> >> ARRGHH never mind... but is it possible to have it available in the
> next
> >> releases?
> >>
> >> And what about creating an application with multiple AIR files, or
> >> executing other Installed AIR applications? Is that possible?
> >>
> >> Many Thanks
> >>
> >>
> >> On Jan 2, 2008 6:21 PM, Kerry Thompson <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>> Steven Sacks wrote:
> >>>
> >>>
>  The only true benefits I see in AIR over other wrappers are:
> 
>  1) Unified cross-platform development
>  2) First-Party Wrapper (Adobe)
> 
>  That's it.  If neither of those is important to your particular
> 
> >>> project,
> >>>
>  you probably are better off using mProjector or Zinc.
> 
> >>> Or Director. It's also Adobe, an excellent wrapper for Flash, and a
> >>> powerful product in its own right.
> >>>
> >>> Cordially,
> >>>
> >>> Kerry Thompson
> >>>
> >>>
> >>>
> >>> ___
> >>> Flashcoders mailing list
> >>> Flashcoders@chattyfig.figleaf.com
> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>>
> >>
> >> --
> >> Omar M. Fouad - Digital Emotions
> >> http://www.omarfouad.net
> >>
> >> This e-mail and any attachment is for authorised use by the intended
> >> recipient(s) only. It may contain proprietary material, confidential
> >> information and/or be subject to legal privilege. It should not be
> copied,
> >> disclosed to, retained or used by, any other party. If you are not an
> >> intended recipient then please promptly delete this e-mail and any
> >> attachment and all copies and inform the sender. Thank you.
> >>
> >>
> >
> >
> >
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread CrAzYcAlL
It´s not only you that is not satisfied with this , take a look at this 
thread :
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=641&threadid=1298770&enterthread=y 



Adobes wish list:
http://www.adobe.com/go/wish/

CrAzYcAlL


Omar Fouad wrote:

I've been thinking about something else.. Why they don't let me execute
files from the fscommand like I do in any Projector application (fscommand
directory)... I think that this would be one solution, that yet covers their
security polices. Why should I Make use of other programming technologies
like .net or java while developing in Adobe...And yet Microsoft and Sun are
two major companies and their products give us the functionality to do stuff
like executing files, printing without showing any dialog boxes etc... How
they can permit to let us wrap their products in other third party
"compilers"?

On Jan 2, 2008 10:08 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:

  

First of all thanks for the replies, and by the way um sorry for being
rude... The thing is that I found out that AIR does not support the function
too late, now that the whole project is finished and the print function is
missing - I am trying to find out a way to get it working without doing the
whole work again..


ARRGHH never mind... but is it possible to have it available in the next
releases?

And what about creating an application with multiple AIR files, or
executing other Installed AIR applications? Is that possible?

Many Thanks


On Jan 2, 2008 6:21 PM, Kerry Thompson <[EMAIL PROTECTED]> wrote:



Steven Sacks wrote:

  

The only true benefits I see in AIR over other wrappers are:

1) Unified cross-platform development
2) First-Party Wrapper (Adobe)

That's it.  If neither of those is important to your particular


project,
  

you probably are better off using mProjector or Zinc.


Or Director. It's also Adobe, an excellent wrapper for Flash, and a
powerful product in its own right.

Cordially,

Kerry Thompson



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

  


--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.






  


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


Re: [Flashcoders] Software Patent Question

2008-01-02 Thread Charles Parcell
First off, I am by far not the person to answer this question.

That patent is bunk in my book.  There is NO invention as far as I see.  All
I see is process not IP. I would expect that patent to get dropped once
reviewed because it is a "next logical step" process.

Crap like that makes me sick and really shows what the patent system has
become.

With all that said, if your process is different, then there is absolutely
no conflict.

Charles P.



On Jan 2, 2008 4:25 PM, Dave Mennenoh <[EMAIL PROTECTED]> wrote:

> Question - as a software developer, are we free to create anything we want
> if we use our own, from scratch, code? For instance, we created a Flash
> based Virtual Makeover application a couple years back. We may make a new
> one for a new client but our old client has issue. Evidently they
> "invented"
> this makeover system, and even have a patent: http://tinyurl.com/2yxj8v
> But there are other examples of such systems. Maybe they're not identical,
> but the good ones work much the same. To me, it's utterly ridiculos that I
> could be stopped from writing any kind of software. I could make a Riven
> clone called Raven if I wanted, couldn't I? Anyone have any input?
>
>
> Dave -
> Head Developer
> http://www.blurredistinction.com
> Adobe Community Expert
> http://www.adobe.com/communities/experts/
>
> ___
> 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] Software Patent Question

2008-01-02 Thread Marc Hoffman

Hi Dave,

There are various ways of looking at this. Although it may seem 
ridiculous that you can't develop any technology you wish, the flip 
side is that many inventions would never be produced if, after years 
of hard work, the inventor's creations could be easily copied and 
exploited by others. Patent laws are supposed to allow the inventor 
to reap the profits of his or her work for a certain number of years.


If you use someone's patented idea, even without being aware you're 
doing so, then you're violating their patent right and they can 
legally come after you. Whether you're using someone else's idea 
might be pretty obvious or it might be a very subtle issue, which is 
why patent litigation can take years to resolve. Whether they come 
after you will probably depend on how aggressive they are in 
enforcing their rights, how clear or vague the violation is, and how 
deep your pockets are (why sue someone who's broke?).


[Disclaimer: I am not a lawyer and the above is a lay interpretation 
of information I have gleaned from lawyers and other sources.]


Best wishes,
Marc

At 01:25 PM 1/2/2008, you wrote:

Question - as a software developer, are we free to create anything 
we want if we use our own, from scratch, code? For instance, we 
created a Flash based Virtual Makeover application a couple years 
back. We may make a new one for a new client but our old client has 
issue. Evidently they "invented" this makeover system, and even have 
a patent: http://tinyurl.com/2yxj8v
But there are other examples of such systems. Maybe they're not 
identical, but the good ones work much the same. To me, it's utterly 
ridiculos that I could be stopped from writing any kind of software. 
I could make a Riven clone called Raven if I wanted, couldn't I? 
Anyone have any input?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/


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


[Flashcoders] Software Patent Question

2008-01-02 Thread Dave Mennenoh
Question - as a software developer, are we free to create anything we want 
if we use our own, from scratch, code? For instance, we created a Flash 
based Virtual Makeover application a couple years back. We may make a new 
one for a new client but our old client has issue. Evidently they "invented" 
this makeover system, and even have a patent: http://tinyurl.com/2yxj8v
But there are other examples of such systems. Maybe they're not identical, 
but the good ones work much the same. To me, it's utterly ridiculos that I 
could be stopped from writing any kind of software. I could make a Riven 
clone called Raven if I wanted, couldn't I? Anyone have any input?



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


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


Re: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Omar Fouad
I've been thinking about something else.. Why they don't let me execute
files from the fscommand like I do in any Projector application (fscommand
directory)... I think that this would be one solution, that yet covers their
security polices. Why should I Make use of other programming technologies
like .net or java while developing in Adobe...And yet Microsoft and Sun are
two major companies and their products give us the functionality to do stuff
like executing files, printing without showing any dialog boxes etc... How
they can permit to let us wrap their products in other third party
"compilers"?

On Jan 2, 2008 10:08 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:

> First of all thanks for the replies, and by the way um sorry for being
> rude... The thing is that I found out that AIR does not support the function
> too late, now that the whole project is finished and the print function is
> missing - I am trying to find out a way to get it working without doing the
> whole work again..
>
>
> ARRGHH never mind... but is it possible to have it available in the next
> releases?
>
> And what about creating an application with multiple AIR files, or
> executing other Installed AIR applications? Is that possible?
>
> Many Thanks
>
>
> On Jan 2, 2008 6:21 PM, Kerry Thompson <[EMAIL PROTECTED]> wrote:
>
> > Steven Sacks wrote:
> >
> > > The only true benefits I see in AIR over other wrappers are:
> > >
> > > 1) Unified cross-platform development
> > > 2) First-Party Wrapper (Adobe)
> > >
> > > That's it.  If neither of those is important to your particular
> > project,
> > > you probably are better off using mProjector or Zinc.
> >
> > Or Director. It's also Adobe, an excellent wrapper for Flash, and a
> > powerful product in its own right.
> >
> > Cordially,
> >
> > Kerry Thompson
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>



-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Omar Fouad
First of all thanks for the replies, and by the way um sorry for being
rude... The thing is that I found out that AIR does not support the function
too late, now that the whole project is finished and the print function is
missing - I am trying to find out a way to get it working without doing the
whole work again..


ARRGHH never mind... but is it possible to have it available in the next
releases?

And what about creating an application with multiple AIR files, or executing
other Installed AIR applications? Is that possible?

Many Thanks

On Jan 2, 2008 6:21 PM, Kerry Thompson <[EMAIL PROTECTED]> wrote:

> Steven Sacks wrote:
>
> > The only true benefits I see in AIR over other wrappers are:
> >
> > 1) Unified cross-platform development
> > 2) First-Party Wrapper (Adobe)
> >
> > That's it.  If neither of those is important to your particular project,
> > you probably are better off using mProjector or Zinc.
>
> Or Director. It's also Adobe, an excellent wrapper for Flash, and a
> powerful product in its own right.
>
> Cordially,
>
> Kerry Thompson
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FLV runtime error

2008-01-02 Thread Mattheis, Erik (MIN - WSW)
I was loading an AS 2.0 SWF which in turn replaced level 0 with an AS
3.0 SWF intended for the 9.0.45 or greater players.

Putting that detection in JavaScript was my solution, but why was I
getting this error? The first thing the AS 2.0 swf did was check version
and conditionally load the AS 3.0 swf -

loadMovieNum('/flash/NavOne5000-9.swf',0);



Erik J Mattheis
Sr. Web Programmer
Weber Shandwick 
Minneapolis, MN
T: (952) 346 6610 | M: (612) 377 2272

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mattheis, Erik (MIN - WSW)
Sent: Wednesday, January 02, 2008 12:51 PM
To: Flash Coders List
Subject: [Flashcoders] FLV runtime error

I'm getting this error from FLVPlayback 3.0 - triggered by mouse over
and outs when skinAutoHide is set to true:

 

TypeError: Error #1009: Cannot access a property or method of a null
object reference.

at
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal
::skinAutoHideHitTest()

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

 

 

?!

 

 

Erik J Mattheis

Sr. Web Programmer
Weber Shandwick 
Minneapolis, MN

T: (952) 346 6610 | M: (612) 377 2272

 

___
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] FLV runtime error

2008-01-02 Thread Mattheis, Erik (MIN - WSW)
I'm getting this error from FLVPlayback 3.0 - triggered by mouse over
and outs when skinAutoHide is set to true:

 

TypeError: Error #1009: Cannot access a property or method of a null
object reference.

at
fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal
::skinAutoHideHitTest()

at flash.utils::Timer/_timerDispatch()

at flash.utils::Timer/tick()

 

 

?!

 

 

Erik J Mattheis

Sr. Web Programmer
Weber Shandwick 
Minneapolis, MN

T: (952) 346 6610 | M: (612) 377 2272

 

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


Re: [Flashcoders] AS for using the AdjustColor filter

2008-01-02 Thread Andrew Sinning

Thanks Zeh.  This is perfect.

Zeh Fernando wrote:
f you want to change brightness, contrast and saturation 
programmatically and reach the final Color Matrix values, Mario 
Klingemann's ColorMatrix classes help:


http://www.quasimondo.com/archives/000565.php 


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


Re: [Flashcoders] AS for using the AdjustColor filter

2008-01-02 Thread Zeh Fernando
For most of the filters available in the FlashCS3 IDE (Bevel, Blur, 
etc.) there seem to be equivalent AS2 filter classes; however, I don't 
understand how the ColorMatrixFilter relates to the AdjustColor filter, 
if at all.

How would I set the hue shift to 100?
How would I change the brightness, contrast and saturation?


It's quite complex. Basically the adjust color is a "designer" panel 
that allows you to do some quick adjustments based on visual parameters, 
while the ColorMatrixFilter is a complete color matrix that allows you 
to do full color adjustment (including brightness, contrast, saturation, 
hue, etc).


If you want to change brightness, contrast and saturation 
programmatically and reach the final Color Matrix values, Mario 
Klingemann's ColorMatrix classes help:


http://www.quasimondo.com/archives/000565.php

Some of the calculation (contrast, brightness, saturation) is pretty 
easy. Some is pretty baffling (hue).



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


[Flashcoders] AS for using the AdjustColor filter

2008-01-02 Thread Andrew Sinning
For most of the filters available in the FlashCS3 IDE (Bevel, Blur, 
etc.) there seem to be equivalent AS2 filter classes; however, I don't 
understand how the ColorMatrixFilter relates to the AdjustColor filter, 
if at all.


How would I set the hue shift to 100?

How would I change the brightness, contrast and saturation?

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


Re: [Flashcoders] Two Solutions: Flex s wc’s (RPC) and or Intrinsic classes wi thin Flash CS3!

2008-01-02 Thread Sander

@Jon,

I've run some tests with Flex controls within flash for you. I had it working 
after an hour! :-)

Check out the updated post and example:
http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash



-- Original Message --
From: Jon Bradley <[EMAIL PROTECTED]>
Reply-To: Flash Coders List 
Date:  Wed, 2 Jan 2008 08:02:45 -0500

>
>On Jan 2, 2008, at 5:12 AM, Sander wrote:
>
>> Hi FlashCoders!,
>>
>> I’ve been trying to evangelize my solution to the flash community  
>> but I don’t think it came through, really... I hope someone on this  
>> list will pick it up!
>
>
>Woah. That's pretty freakin cool.
>
>This almost seems as though it will let you use the entire Flex 2/3  
>framework within a Flash IDE developed application - including all UI  
>controls, binding and everything else that goes along with that.
>
>Is this true? I would absolutely love to be able to use the Flex  
>containers (boxes, lists, tiles) in all their glory with drag and  
>drop and all that. Add in the ability to load CSS at runtime and have  
>CSS style the application, just as you do with Flex would completely  
>rock. Of course, it doesn't negate the need to have Flex (or another  
>dev environment) to compile these CSS files ... but still.
>
>If you ever come up with a demo of using the Flex controls, let us  
>know. I'd be highly interested.
>
>Plus, all my Flex work uses either  the Cairngorm or PureMVC  
>frameworks, so moving that to a Flash dev process would be mighty cool.
>
>peace,
>
>- jon___
>Flashcoders mailing list
>Flashcoders@chattyfig.figleaf.com
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
 





Sent via the WebMail system at wichers.nu


 
   


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


RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Kerry Thompson
Steven Sacks wrote:
 
> The only true benefits I see in AIR over other wrappers are:
> 
> 1) Unified cross-platform development
> 2) First-Party Wrapper (Adobe)
> 
> That's it.  If neither of those is important to your particular project,
> you probably are better off using mProjector or Zinc.

Or Director. It's also Adobe, an excellent wrapper for Flash, and a powerful 
product in its own right.

Cordially,

Kerry Thompson



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


RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Matthew James Poole
Omar, fscommmand exec only works from with a projector i.e. not AIR in
addition to this AIR will print exactly as any other AS3 application
prints so if the AS3 print library allows you to do what you want then
you can do it in AIR if not, then you cant.

I have to agree with Steven on this too if security isnt to much of an
issue then use Zinc etc...

One other benefit over other wrappers steve is that it's a one off
install for the run time and there after you just all AIR apps will
work, whereas with all the other wrappers I've tried the wrapper has
bundled into every app install.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: 02 January 2008 06:25
To: Flash Coders List
Subject: Re: [Flashcoders] Executing external ,exe witn AIR

If you're having trouble with Adobe's beta wrapper, you should go with
one of the other wrappers.

Because AIR is a wrapper that is being pushed by a major company (Adobe)
and because they've been marketing it heavily, and because they want it
to be widely used and they want people to feel safe installing AIR
applications, AIR cannot have the level of power that other wrappers
have when it comes to accessing the operating system.

The fact is, with any other Flash wrapper, you can do some truly
nefarious things.  Heck, you could probably achieve some nasty stuff
with AIR as it is right now.

The only true benefits I see in AIR over other wrappers are:

1) Unified cross-platform development
2) First-Party Wrapper (Adobe)

That's it.  If neither of those is important to your particular project,
you probably are better off using mProjector or Zinc.

Cheers,
Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
gaia: http://www.gaiaflashframework.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


Re: [Flashcoders] as3 creating sprite instances in a loop

2008-01-02 Thread Charles Parcell
I think the issue is that you are waiting until you exit the loop to do any
addChild() calls. In that case you will only ever get one sprite added to
the display list. This is because when the loop is done it only has a single
reference to a sprite.

You might want to do two things. First, and most important, add each sprite
to an array. Second, call addChild() within the loop.


var mySpriteArray:Array = new Array();

for (var j:uint = 0; j < _columns; j++)
{
var sprite:Sprite = new Sprite();
// This will allow you to reference the sprites
//  later more easily.
mySpriteArray.push(sprite);
addChild(mySpriteArray[j]); // or addChild(sprite);
}

Charles P.



On Dec 30, 2007 11:23 AM, Matt Muller <[EMAIL PROTECTED]> wrote:

> Hi, does anyone know how to create individual sprite instances in a loop
>
>for (var j:uint = 0; j < _columns; j++)
>{
>var sprite:Sprite = new Sprite();
>}
>
> this just over writes the sprite.
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Merrill, Jason
I think there is an AIR list on Yahoo - you might want to try there, I'd
be surprised if AIR can't do that, seems like I saw stuff at MAX in
Chicago that showed AIR launching other apps.  I know they had it
integrated with Outlook and Excel, but not sure if it was via starting
the executable.

Jason Merrill
Bank of America  
L&LD GT&O 
eTools & Multimedia Research & Development



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


Re: [Flashcoders] Two Solutions: Flex s wc’s (RPC) and or Intrinsic classes wi thin Flash CS3!

2008-01-02 Thread Sander
Hi Jon,

It's great to hear your response, I was very happy myself when I found out 
myself :-)

>
>This almost seems as though it will let you use the entire Flex 2/3  
>framework within a Flash IDE developed application - including all UI  
>controls, binding and everything else that goes along with that.
>

Flex controls in Flash CS3 should be no problem. Flex makes use of lot's of 
metadata (for me these are just complicated preprocessor macros) which Flash 
CS3 cannot handle (yet) but everything is eventually converted to actionscript, 
in other words Flex == Flash right?!

So in my opinion every piece of the Flex framework can be used within Flash 
CS3. It's just a matter of knowing the syntax! 

Check out my cafetownsend example that contains binding from within Flash CS3 
'views', and accessing the resourcebundle (which is metadata as well) etc.. It 
should help you getting started!

>
>If you ever come up with a demo of using the Flex controls, let us  
>know. I'd be highly interested.
>
I'll do that!

Sander
 





Sent via the WebMail system at wichers.nu


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


Re: [Flashcoders] Two Solutions: Flex swc’s ( RPC) and or Intrinsic classes within Flash CS3!

2008-01-02 Thread Jon Bradley


On Jan 2, 2008, at 5:12 AM, Sander wrote:


Hi FlashCoders!,

I’ve been trying to evangelize my solution to the flash community  
but I don’t think it came through, really... I hope someone on this  
list will pick it up!



Woah. That's pretty freakin cool.

This almost seems as though it will let you use the entire Flex 2/3  
framework within a Flash IDE developed application - including all UI  
controls, binding and everything else that goes along with that.


Is this true? I would absolutely love to be able to use the Flex  
containers (boxes, lists, tiles) in all their glory with drag and  
drop and all that. Add in the ability to load CSS at runtime and have  
CSS style the application, just as you do with Flex would completely  
rock. Of course, it doesn't negate the need to have Flex (or another  
dev environment) to compile these CSS files ... but still.


If you ever come up with a demo of using the Flex controls, let us  
know. I'd be highly interested.


Plus, all my Flex work uses either  the Cairngorm or PureMVC  
frameworks, so moving that to a Flash dev process would be mighty cool.


peace,

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


[Flashcoders] Two Solutions: Flex swc’s (RP C) and or Intrinsic classes within Flash CS3!

2008-01-02 Thread Sander

Hi FlashCoders!,

I’ve been trying to evangelize my solution to the flash community but I don’t 
think it came through, really... I hope someone on this list will pick it up! 

I was looking for a solution to get Flex RPC support within Flash CS3 (and NOT 
the other way around). What I found out was that by putting a flex compiled swc 
in your local path or your classes path Flash will actually compile against 
that swc!! Yes, compiling, which means NO linking! And NO linking means Flash 
CS3 compiles Intrinsic against the swc's! That’s two solutions in one! The only 
thing that has to be done is the linking part, which has to be done manually 
and is as easy as 123! 

There are two solutions I use for the linking part the first thing you would 
think of yourself is the following piece of code (the only thing ‘special’ here 
is the LoaderContext):
var libloader = new Loader();
var context:LoaderContext = new LoaderContext();
context.applicationDomain = ApplicationDomain.currentDomain;
libloader.contentLoaderInfo.addEventListener(Event.INIT, initLibrary);
libloader.load(new URLRequest("library.swf"), context);
addChild(libloader);

But then I was thinking of a way to get this loader piece easily into each and 
every swf within an application (we split our projects up in multiple 
swf’s...). The solution I came up with is to create a "shared library". A 
shared library sets the LoaderContext automagically! Just create an empty 
movieclip which has flash.display.MovieClip as a class and an URL pointing to 
your library and put this empty movieclip on your stage, et voila!! You’ve got 
yourself a working flash flex application.

Read all about it on my labs post:
http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash

Yours, Sander
 





Sent via the WebMail system at wichers.nu


 
   


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