[Flashcoders] [ AS2 ] - masking performance in Firefox

2008-03-28 Thread Alex Burke

Hi All...
I'm using masks to reveal content on a site, and doing so by tweening  
the mask's _x value to move it over the masked content.
I'm publishing to Flash 8, at 30fps, and using Tweener. The mask is  
separated from the content on its own layer in each movieClip. (not  
created with setMask());


When I preview the site in Safari and IE it works just fine. In  
Firefox (both Mac  PC), however, the mask tweens are very glitchy.
There are the content shows up with streaks, flashes visible/ 
invisible, etc.


Has anybody experienced this before?

My first guess was that it was due to the frame rate dropping, but  
I'm not doing anything complex. Just moving an _x property a couple  
hundred pixels.
Is there something in Firefox or my publishing settings that could be  
tripping up the masks?


Any insight would be greatly appreciated.

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


Re: [Flashcoders] AIR write to PowerPoint

2008-03-28 Thread Ian Thomas
The PPT file format is now available from Microsoft for free:
http://www.microsoft.com/interop/docs/officebinaryformats.mspx

However, if it's anything like other MS binary formats, it's likely to
be a bit of a minefield. I don't envy your task; but at least export
is easier than import. :-)

Alternatively you could take a look at the Powerpoint export code in
the open source code for OpenOffice.org and try porting that.

Ian


On Fri, Mar 28, 2008 at 5:31 AM, Jason Van Cleave
[EMAIL PROTECTED] wrote:
 I am currently doing some research for a project that is asking for output
  to a ppt/pps file. The original version of this project used Director and
  some Xtras to accomplish this.

  In hopes of doing the newer version in Adobe AIR I am wondering if anyone
  has seen any AIR apps that have this feature. I have came across
  Sliderocket.com (nice flex app) which is hoping to incorporate it in a
  future version.

  Any insights in trying to get in and out of a PowerPoint file would be
  greatly appreciated also.
  ___
  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] [ AS2 ] - masking performance in Firefox

2008-03-28 Thread Ian Thomas
Have you got the wmode in your embed tags set to anything? More
specifically, wmode=transparent in Firefox is notoriously broken.

HTH,
   Ian

On Fri, Mar 28, 2008 at 6:51 AM, Alex Burke [EMAIL PROTECTED] wrote:
 Hi All...
  I'm using masks to reveal content on a site, and doing so by tweening
  the mask's _x value to move it over the masked content.
  I'm publishing to Flash 8, at 30fps, and using Tweener. The mask is
  separated from the content on its own layer in each movieClip. (not
  created with setMask());

  When I preview the site in Safari and IE it works just fine. In
  Firefox (both Mac  PC), however, the mask tweens are very glitchy.
  There are the content shows up with streaks, flashes visible/
  invisible, etc.

  Has anybody experienced this before?

  My first guess was that it was due to the frame rate dropping, but
  I'm not doing anything complex. Just moving an _x property a couple
  hundred pixels.
  Is there something in Firefox or my publishing settings that could be
  tripping up the masks?

  Any insight would be greatly appreciated.

  Thanks.
  -Alex
  ___
  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] Variable scope within for loops: reusingiteratorvariables

2008-03-28 Thread Ian Thomas
Oh.

Oh dear. *sigh*

Well, I do confess that there's nostalgic joy at the prospect of being
able to type:

let x=7

(which I don't think I've done since I last used BASIC back in I don't
know when. Around the 1800s, wasn't it?)

But I'm not sure I'd introduce a whole new keyword for it.

I'd probably make var scope work 'as commonly expected' - i.e.
block-level - in ES4 and throw in a compiler switch to turn it off for
backwards compatibility.

But I guess that could be 'as commonly expected - by me'. ;-)

Ian

On Thu, Mar 27, 2008 at 11:51 PM, Francis Cheng [EMAIL PROTECTED] wrote:
 Ian, help is on the way, the ECMAScript 4th edition draft specification
  contains a new keyword, let, that can be used in place of var to
  provide block-level scoping. Details for the curious:

  http://wiki.ecmascript.org/doku.php?id=proposals:block_expressions

  Francis Cheng | Senior Technical Writer | Adobe Systems, Inc.
  http://blogs.adobe.com/fcheng

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


Re: [Flashcoders] query string

2008-03-28 Thread Stuart (FunkDaWeb)
In as2...

on( Release ){
 getURL(home.php?location=boston, _blank)
}

in as3...

locationLink.addEventListener(MouseEvent.CLICK, location_CLICK);

function location_CLICK(ev:MouseEvent):void
{
 var url:String = home.php?location=boston;
 var request:URLRequest = new URLRequest(url);
 navigateToURL(request, '_blank');
}

Only use the _blank' if you want to open in new window! 

SM


  - Original Message - 
  From: Laert Jansen 
  To: flashcoders@chattyfig.figleaf.com 
  Sent: Friday, March 28, 2008 4:36 AM
  Subject: [Flashcoders] query string


  Hello folks!

  I have to link one button to this link: home.php?location=boston

  How do I do this? getURL ?

  Thanks a lot

  -- 
  Laert Jansen
  www.laertjansen.com
  ___
  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] using a class to load data

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)

thanks jason


a


On 27 Mar 2008, at 21:30, Merrill, Jason wrote:

Yeah, I mean that's basically how I described it and would do it -  
there

might be a better way, but that way should work fine for you.

Jason Merrill
Bank of America
GTO and Risk LLD Solutions Design  Development
eTools  Multimedia

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe.







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Allandt Bik-Elliott (Receptacle)
Sent: Thursday, March 27, 2008 4:30 PM
To: Flash Coders List
Subject: Re: [Flashcoders] using a class to load data

thanks jason - i've done this and it's working, i just wanted
you to take a look to make sure i've not done it stupidly

CODE
package
{
//package imports
import flash.events.*;
import flash.net.*;

internal class XMLLoader extends EventDispatcher
{
// class variable declarations
private var xmlDoc:XML;
private var xmlURL:String;
private var xmlLoader:URLLoader;

public static const COMPLETE:String = complete;

public function get doc():XML
{
return xmlDoc;
}

// constructor
public function XMLLoader(url:String)
{
xmlURL = url;
var urlRequest:URLRequest = new
URLRequest(xmlURL);
xmlLoader = new URLLoader();

xmlLoader.addEventListener(Event.COMPLETE, completeListener);
xmlLoader.load(urlRequest);
}

private function completeListener(e:Event):void
{
xmlDoc = new XML(xmlLoader.data);
dispatchEvent(new Event(XMLLoader.COMPLETE));
}
}
}
/CODE

and the function call is

CODE
private var xmlDoc:XML;
private var xmlurl:String;
private var xmlLoader:XMLLoader;

// call to initialiseXML() made in constructor private
function initialiseXML():void {
xmlLoader = new XMLLoader(xmlurl);  
xmlLoader.addEventListener(Event.COMPLETE, completeListener); }

private function completeListener(e:Event):void {
xmlDoc = xmlLoader.doc;
trace (xmlDoc.toXMLString()); //traces xml correctly } /CODE

a



On 27 Mar 2008, at 19:14, Merrill, Jason wrote:


Have your XMLLoader class extend EventDispatcher and have your
XMLLoader class dispatch an event when the load is

complete.  Wherever

your instance of the class is declared, add an event

listener to the

instance and write a function handler. if you need assistance with
setting that up, write back, it's pretty simple.


Jason Merrill
Bank of America
GTO and Risk LLD Solutions Design  Development eTools 

Multimedia


Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in

innovative learning

ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe.







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Allandt Bik-Elliott (Receptacle)
Sent: Thursday, March 27, 2008 2:51 PM
To: flashcoders
Subject: [Flashcoders] using a class to load data

hi guys

i am trying to set up a class to handle my xml (will be

instantiated

for each xml file) but i'm running into a slight problem

here is the class so far:

CODE
package
{
//package imports
import flash.events.*;
import flash.net.*;

internal class XMLLoader
{
// class variable declarations
private var xmlDoc:XML;
private var xmlURL:String;
private var xmlLoader:URLLoader;

public function get doc():XML {return xmlDoc;}

// constructor
public function XMLLoader(url:String)
{
xmlURL = url;
var urlRequest:URLRequest = new
URLRequest(xmlURL);
xmlLoader = new URLLoader();

xmlLoader.addEventListener(Event.COMPLETE, completeListener);
xmlLoader.load(urlRequest);
}

private function completeListener(e:Event):void
{
xmlDoc = new XML(xmlLoader.data);
}
}
}
/CODE

the problem is with timing - from within the XMLLoader()

Class i can

wait for the COMPLETE event to reference the xmlDoc but

how would i

do that from an instance of the class?

for 

Re: [Flashcoders] AS3 Programmer is needed in Paris

2008-03-28 Thread laurent



No AS3 programmer on Paris on this list ???

L
I mean Paris in France not USA :]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] multiple skins for V2 scrollbar

2008-03-28 Thread Mendelsohn, Michael
Hi list...

Can anyone recommend an easy way to apply varying skins to varying
instances of the V2 ScrollBar component, that's a subcomponent of either
the ScrollPane or TextField?

Thanks,
- Michael M.

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


RE: [Flashcoders] Outsourcing (was: Tweening Engines for AS3)

2008-03-28 Thread Merrill, Jason
I'm assisting with an Actionscript outsourcing project right now with
some Flash game coders in Mumbai, so far so good, though they are a
little behind in skills - but would be interested to learn any cultural
things people have experienced with Flash developers in India.  

Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog  subscribe.


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


[Flashcoders] Root casting as Main big problem

2008-03-28 Thread laurent



Hi, It's very urgent,

try to make it clear:

I have one MovieClip index.swf, with a Main.as class attch to it.

In this class I define properties and method, of course :)

And I load external movieclip, one name content.swf


in this content swf I need to talk with rootand I cast it with Main( 
root ).myproperty


The problem when I publish this mc is looking for the Main class and 
check if element are there, for exemple some linked moviclip, but they 
are in the index library.


so I can copy all needed asset in the content library, and perhaps it 
will fixe it but I will have all content duplicated...so is there a 
workaround ??


Thanks for any urgent help! ;)

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


Re: [Flashcoders] Root casting as Main big problem

2008-03-28 Thread jonathan howe
I think you might be able to get around this by using a swc, which can be
checked for classes by the complier without actually including it in the
swf. Do you have Moock's Essential Actionscript 3.0? Chapter 31 details the
various ways you can do it, all based on which authoring tool you're using.
A little much for me to repeat in email.

-jonathan


On Fri, Mar 28, 2008 at 11:10 AM, laurent [EMAIL PROTECTED] wrote:



 Hi, It's very urgent,

 try to make it clear:

 I have one MovieClip index.swf, with a Main.as class attch to it.

 In this class I define properties and method, of course :)

 And I load external movieclip, one name content.swf


 in this content swf I need to talk with rootand I cast it with Main(
 root ).myproperty

 The problem when I publish this mc is looking for the Main class and
 check if element are there, for exemple some linked moviclip, but they
 are in the index library.

 so I can copy all needed asset in the content library, and perhaps it
 will fixe it but I will have all content duplicated...so is there a
 workaround ??

 Thanks for any urgent help! ;)

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




-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Krugle?

2008-03-28 Thread eric e. dolecki
Anyone ever use Krugle.org to search for AS source code?
I just ran into the site, and I am not sure what to think yet. For other
languages it might be better, but I'm currently unsure without spending time
in the system. The search results and tabbed interface, etc. is pretty sweet
though.
- eric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Root casting as Main big problem

2008-03-28 Thread Piers Cowburn

Have you tried MovieClip(root) ?

On 28 Mar 2008, at 15:10, laurent wrote:




Hi, It's very urgent,

try to make it clear:

I have one MovieClip index.swf, with a Main.as class attch to it.

In this class I define properties and method, of course :)

And I load external movieclip, one name content.swf


in this content swf I need to talk with rootand I cast it with  
Main( root ).myproperty


The problem when I publish this mc is looking for the Main class  
and check if element are there, for exemple some linked moviclip,  
but they are in the index library.


so I can copy all needed asset in the content library, and perhaps  
it will fixe it but I will have all content duplicated...so is  
there a workaround ??


Thanks for any urgent help! ;)

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


[EMAIL PROTECTED]
0207 631 3278


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


Re: [Flashcoders] Variable scope within for loops: reusing iteratorvariables

2008-03-28 Thread Cory Petosky
It's valid both in a frame script in an IDE and in an AS3 class
compiled via mxmlc. I suspect it's also valid in an mx:script block,
but I didn't bother testing.

Actually give it a try before telling me it doesn't work. :)

On Thu, Mar 27, 2008 at 6:59 PM, Steven Sacks [EMAIL PROTECTED] wrote:
 Valid where?  If that's in a class function and i is not a class
  variable, then the compiler will complain that you're using an
  undeclared variable.


  Cory Petosky wrote:
   I guess I should have provided an example when I mentioned no block
   level scoping. Try this on for size:
  
   for (i = 0; i  10; ++i); // Do nothing but increment i
   var i:int;
   trace(i);
  
   This is totally valid code and will trace 10! ALL variable
   declarations in a function, regardless of the block the variable is
   declared in, are performed as the function is pushed on the stack.
  



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




-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] multiple skins for V2 scrollbar

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)

grab this pdf
http://livedocs.adobe.com/flash/9.0/main/flash_as2_components_help.pdf

and go to the section called Creating new component skins
QUOTE
If you want to use a particular skin for one instance of a  
component, but another skin for
another instance of the component, you must open a theme FLA file and  
create a new skin
symbol. Components are designed to make it easy to use different  
skins for different

instances. ...
/QUOTE

should be the info you need

best
a

On 28 Mar 2008, at 14:38, Mendelsohn, Michael wrote:


Hi list...

Can anyone recommend an easy way to apply varying skins to varying
instances of the V2 ScrollBar component, that's a subcomponent of  
either

the ScrollPane or TextField?

Thanks,
- Michael M.

___
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] Outsourcing (was: Tweening Engines for AS3)

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
i worked at The Online Studio where a lot of their actionscript gets  
outsourced to india and like you said, it's a little bit behind but  
overall very good AS2 code




On 28 Mar 2008, at 15:03, Merrill, Jason wrote:


I'm assisting with an Actionscript outsourcing project right now with
some Flash game coders in Mumbai, so far so good, though they are a
little behind in skills - but would be interested to learn any  
cultural

things people have experienced with Flash developers in India.

Jason Merrill
Bank of America
GTO and Risk LLD Solutions Design  Development
eTools  Multimedia

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GTO Innovative Learning Blog  subscribe.


___
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] Outsourcing (was: Tweening Engines for AS3)

2008-03-28 Thread Kerry Thompson
Jason Merrill wrote:

 I'm assisting with an Actionscript outsourcing project right now with
 some Flash game coders in Mumbai, so far so good, though they are a
 little behind in skills - but would be interested to learn any cultural
 things people have experienced with Flash developers in India.

A few things I have noticed:

People in other cultures use software differently, and may have different
priorities. For example, the new version of Director, just released, was
done by a crack team in India. They did a bang-up job coming up to speed on
a complex code base, fixed a lot of bugs, added Unicode support, and lots of
other neat stuff. However, the new text-rendering engine they wrote is
taking a lot of heat, and the message window, one of a developer's best
friends, is now virtually unusable. It's not because they are inferior
programmers--they just didn't completely understand how Western developers
use the tool.

I had a similar experience when I moved to Beijing in 1988 to manage a team
of Chinese programmers. They had developed a nice piece of vertical-market
software, and they wanted to market it in the West. They were good
programmers, and hard-working, but their concept of a user interface was
radically different from the West's. 

India is relatively new to the programming world. There was a major
political shift 10-15 years ago that allowed India to compete on the world
tech market, and they have done so with remarkable success. But, you don't
have the silverback programmers there--the ones who wrote a 3D engine 15
years ago in C, or even assembler. Think back to perhaps 1985, 1990 in
America. That's their accumulated experience level.

Expect Indians to be very polite, even deferential. You'll never get flamed
by an Indian--courtesy is too much a part of their culture. But don't even
try to understand Indian office politics or professional relations. Their
culture developed for millennia without significant influence from the West
(the same could be said about Western culture, in reverse, of course). So,
expect to be able to direct them on _what_ needs to be done, but don't
expect to have a say in _how_ they do it.

In America, you can expect a student to get a decent education, even at a
small community college. They will work with modern equipment and modern
software, and be taught modern, if not cutting-edge, techniques. In India,
you find that environment only at the better colleges. Smaller, provincial
colleges are still teaching Turbo Pascal on DOS, using 80286 machines. As a
result, the best and brightest are a match for their peers anywhere in the
world--they're as smart as anybody, and some of the top technical schools in
India rival MIT or Cal Tech. 

But, once you get out of that tier of programmers, there is a sharp drop-off
in skill levels. The Microsofts, Adobes, and IBMs of the world snap up that
top tier of programmers. For the rest of us, hiring a team of Indian
programmers is hit and miss--you could get a decent team, or you could end
up with a hodge-podge of code that has to be scrapped and done over from
scratch. Part of that appears to be the result of high turnover, or perhaps
rapid advancement. I would find a part of my project was going well, then
all of a sudden it would change drastically--different coding style,
schedule slippage, and the like--and I would find that a new programmer,
even a novice, had been assigned to that task.

I hope this doesn't come across as overly critical. It's not meant to be.
I've had some very good experiences with Indian teams, and some not so good
experiences. At the end of the day, Indians are, well, people. Outside of
cultural issues, there is no significant difference between a Gunjeet Parma
and a Sharon Jones.

Cordially,

Kerry Thompson


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


Re: [Flashcoders] Krugle?

2008-03-28 Thread Cory Petosky
I've used Google Codesearch http://www.google.com/codesearch with
some success. I'm not sure which of the two tools is better, but
krugle is certainly prettier.

On Fri, Mar 28, 2008 at 10:26 AM, eric e. dolecki [EMAIL PROTECTED] wrote:
 Anyone ever use Krugle.org to search for AS source code?
  I just ran into the site, and I am not sure what to think yet. For other
  languages it might be better, but I'm currently unsure without spending time
  in the system. The search results and tabbed interface, etc. is pretty sweet
  though.
  - eric
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Krugle?

2008-03-28 Thread Merrill, Jason
No, but good link - it's nice to search for chunks of code to see
examples when you forget how to do something, like add a glow filter 

Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog  subscribe.




 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of eric e. dolecki
Sent: Friday, March 28, 2008 11:27 AM
To: Flash Coders List
Subject: [Flashcoders] Krugle?

Anyone ever use Krugle.org to search for AS source code?
I just ran into the site, and I am not sure what to think 
yet. For other languages it might be better, but I'm 
currently unsure without spending time in the system. The 
search results and tabbed interface, etc. is pretty sweet though.
- eric
___
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] Outsourcing (was: Tweening Engines for AS3)

2008-03-28 Thread Merrill, Jason
Wow, thanks Kerry, that's great information.  The part I found
especially useful was,  So, expect to be able to direct them on _what_
needs to be done, but don't expect to have a say in _how_ they do it. -
We have encouraged them to write the project in AS3, but they are not
comfortable with it yet, so I didn't want to push it on them - would
rather have a well-coded AS2 project than a poorly coded AS3 project
anyday.

Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog  subscribe.




 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Kerry Thompson
Sent: Friday, March 28, 2008 12:21 PM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Outsourcing (was: Tweening Engines for AS3)

Jason Merrill wrote:

 I'm assisting with an Actionscript outsourcing project 
right now with 
 some Flash game coders in Mumbai, so far so good, though they are a 
 little behind in skills - but would be interested to learn any 
 cultural things people have experienced with Flash 
developers in India.

A few things I have noticed:

People in other cultures use software differently, and may 
have different priorities. For example, the new version of 
Director, just released, was done by a crack team in India. 
They did a bang-up job coming up to speed on a complex code 
base, fixed a lot of bugs, added Unicode support, and lots of 
other neat stuff. However, the new text-rendering engine they 
wrote is taking a lot of heat, and the message window, one of 
a developer's best friends, is now virtually unusable. It's 
not because they are inferior programmers--they just didn't 
completely understand how Western developers use the tool.

I had a similar experience when I moved to Beijing in 1988 to 
manage a team of Chinese programmers. They had developed a 
nice piece of vertical-market software, and they wanted to 
market it in the West. They were good programmers, and 
hard-working, but their concept of a user interface was 
radically different from the West's. 

India is relatively new to the programming world. There was a 
major political shift 10-15 years ago that allowed India to 
compete on the world tech market, and they have done so with 
remarkable success. But, you don't have the silverback 
programmers there--the ones who wrote a 3D engine 15 years 
ago in C, or even assembler. Think back to perhaps 1985, 1990 
in America. That's their accumulated experience level.

Expect Indians to be very polite, even deferential. You'll 
never get flamed by an Indian--courtesy is too much a part of 
their culture. But don't even try to understand Indian office 
politics or professional relations. Their culture developed 
for millennia without significant influence from the West 
(the same could be said about Western culture, in reverse, of 
course). So, expect to be able to direct them on _what_ needs 
to be done, but don't expect to have a say in _how_ they do it.

In America, you can expect a student to get a decent 
education, even at a small community college. They will work 
with modern equipment and modern software, and be taught 
modern, if not cutting-edge, techniques. In India, you find 
that environment only at the better colleges. Smaller, 
provincial colleges are still teaching Turbo Pascal on DOS, 
using 80286 machines. As a result, the best and brightest are 
a match for their peers anywhere in the world--they're as 
smart as anybody, and some of the top technical schools in 
India rival MIT or Cal Tech. 

But, once you get out of that tier of programmers, there is a 
sharp drop-off in skill levels. The Microsofts, Adobes, and 
IBMs of the world snap up that top tier of programmers. For 
the rest of us, hiring a team of Indian programmers is hit 
and miss--you could get a decent team, or you could end up 
with a hodge-podge of code that has to be scrapped and done 
over from scratch. Part of that appears to be the result of 
high turnover, or perhaps rapid advancement. I would find a 
part of my project was going well, then all of a sudden it 
would change drastically--different coding style, schedule 
slippage, and the like--and I would find that a new 
programmer, even a novice, had been assigned to that task.

I hope this doesn't come across as overly critical. It's not 
meant to be.
I've had some very good experiences with Indian teams, and 
some not so good experiences. At the end of the day, Indians 
are, well, people. Outside of cultural issues, there is no 
significant difference between a Gunjeet Parma and a Sharon Jones.

Cordially,

Kerry Thompson


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


Re: [Flashcoders] Krugle?

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)

looks like a good organisation tool as well as a useful search tool



On 28 Mar 2008, at 15:26, eric e. dolecki wrote:


Anyone ever use Krugle.org to search for AS source code?
I just ran into the site, and I am not sure what to think yet. For  
other
languages it might be better, but I'm currently unsure without  
spending time
in the system. The search results and tabbed interface, etc. is  
pretty sweet

though.
- eric
___
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] Re: Flash Video fullscreen problem

2008-03-28 Thread Omar Fouad
Allriht thanks for the help... I solved it anyway... I had to put the layer
that contains the video on top of the other layers. And the FLVPlayback
Compontent should be in the first frame of the timeline.


Thanks

On Thu, Mar 27, 2008 at 6:01 AM, Omar Fouad [EMAIL PROTECTED] wrote:

 Note: I need the video to play not in fullscreen.


 On Thu, Mar 27, 2008 at 6:00 AM, Omar Fouad [EMAIL PROTECTED]
 wrote:

  hi,
  i've got an application where there are some videos.
  The application is fullscreen and so, the video when comes to play, gets
  fullscreen as in fullScreenTakeOver is true by default.
 
  So I set it to be fullScreenTakeOver  = false; on the frame.
 
  But this is not working.
   any ideas?
 
  thanks
 
  --
  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.




-- 
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


[Flashcoders] Checking overlapping of 2 objects of different type. Please help

2008-03-28 Thread anuj sharma
Hi
I am trying to check if objects of 2 different type overlaps or not. I have
a CameraStartDrag which is activated by on press of MovieClip. I have some
container of type Sprite which contains UI Loader component. All i need is
if user takes CameraStartDrag on top of UILoader, the CameraStartDrag's
index should come on top of UILoader. Currently CameraStartDrag is going
back of UILoader. Attached is the code.
Please help me out as this problem is making me crazy.
Thanks


for (var j:Number=1; j=16; j++)
{
var CameraStartDrag;

//Getting all the thumbnails by Name for dragging on stage
CameraStartDrag=getChildByName(Thumbnail_+j);
}
CameraStartDrag.addEventListener(MouseEvent.MOUSE_DOWN,CamStartDragTN);
var container:Sprite=new Sprite();
function CamStartDragTN(event:MouseEvent):void
{
var CameraStartDrag=event.target;
CameraStartDrag.startDrag();
if(container.numChildren0)
{
for (var z:Number=0; z=container.numChildren-1; z++)
{
var Child:DisplayObject=container.getChildAt(z);
if(CameraStartDrag.hitTestObject(Child))
{
trace(Object Hit);
}
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: [Papervision3D][UNSOLVABLE BUG] Inconsistent rolling over for a plane

2008-03-28 Thread Dwayne Neckles










I think it might be a bug within Papervision and nothing within me.. 
http://dnecklesportfolio.com/pv3d/materialsDemos/materialsDemo.html
and you know I also went back to the basic Materials Demo I got from the CLaSS 
in SAN FRAN...
and simple added the rollover states

and I got the same issue.. in fact here is the code
dnecklesportfolio.com/pv3d/materialsDemos/materialsDemos.zip

and sometimes when rolling over you'd notice while on the clip that the roll 
off mousepointer appears and is is inconsistent..

this problem will be considered a BUG and wont take priority ..

It's be great if someone would please confirm so I can move on..I spent weeks 
on this one small issue..


Dwayne




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 20:20:10 +
Subject: Re: [Papervision3D] Inconsistent rolling over for  a plane







gang maybe i should use Mouseevent instead of interactivescene3devent???



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 19:42:48 +
Subject: Re: [Papervision3D] [Flash_Tiger] Re: Inconsistent rolling over for
a plane







Gang,

Just when we thought we got it..
To make things SIMPLE I took out the text and have a simple red movieclip

So now I  have a papervision plane - movieclip (as its material) - movieclip 
- textfield

i use e.currenttarget instead of e.target in the onPlane Click function

but i still get the inconsistent rolling over

Frustrating cause im sure its something im doing wrong

Check out onPlaneOver and onPlaneOut do they access e.target by default..How do 
I access e.currentTarget
Is that even the issue.. I may start from scratch and go back to basics..

public function onPlaneClick(e:InteractiveScene3DEvent):void {
   
if (BUTTONS_ENABLED) {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
   

var plane:Plane =  Plane(e.currentTarget);
trace(targets name, e.displayObject3D.name );
   

} else {
trace(wait till its done..);
   
}
}
public function onPlaneOver(e:InteractiveScene3DEvent):void {

viewport.containerSprite.buttonMode = true;
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
}
public function onPlaneOut(e:InteractiveScene3DEvent):void {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
viewport.containerSprite.buttonMode = false;
}


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [Flash_Tiger] Re: Inconsistent rolling over for a plane
Date: Mon, 24 Mar 2008 05:06:19 +







More info on this...
http://www.flepstudio.org/forum/tutorials/428-target-currenttarget-actionscript-3-0-a.html



To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Sun, 23 Mar 2008 11:12:02 -0400
Subject: [Flash_Tiger] Re: Inconsistent rolling over for a plane




















Dwayne Neckles wrote:

 Check out.. http://dnecklesportfolio.com/pv3d/index.html



 Rollover one of the main links.. you will see that the pointer changes from 
 pointer to hand and back.. It's not supposed to do that... though it could be 
 , I'm not sure its a papervision issue..



 Any suggestion why this happens..



This is one of those issues that seems to get neglected in most AS3 books and 
online references. Then it's maddeningly difficult to find what's going wrong.

You assume that if you've added an eventlistener to the button clip, in the 
handler the event target will actually be the button. However, although you 
added the MouseOver listener to the button, the event target in the handler 
actually turns out to be the text within the button.

I would handle this in one of two ways:

*** In the handler function, instead of using target, use currentTarget.

*** Set the mouseChildren property of the button to false.



Either way, your rollover should then display properly.



::. clive



Clive Sweeney

Durham NC

MetaConverse.com 



  


__._,_.___


  
  
Messages in this topic   (11)


  
Reply   (via web post)
  | 

  Start a new topic
   



Messages  
|Files  
|Photos  
|Links  
|Database  
|Polls  

|Calendar  
  



  


  Flash_Tiger Mailing List  


  




  
   

  Change settings via the Web (Yahoo! ID required) 

  Change settings via email: Switch delivery to Daily Digest | Switch 
format to Traditional 


  
Visit Your 

[Flashcoders] [SOLVED FINALLY!] Inconsistent rolling over for a plane

2008-03-28 Thread Dwayne Neckles

Life is good.

I went through major pains to figure out the answersorry for the numerous 
emails but I really wanted to learn this PV thing 
the answer is to not have any segments..
plane = new Plane(material,navItem.width,navItem.height,0,0);

set the segments to nothing other than 0... otherwise it literally breaks up 
the plane into that many segments with tiny space in between the pieces..

WHICH IS WHY THE ROLLOVERS ARE INCONSISENT.. holy ish!
and

WHich is when you would click it wouldnt work! You were clicking on the plane 
visually but in PV3d u were click in between the segment..

I know this is no revolutionary break through compared to Mr D00b :)  BUT im 
sending it to you in case you have every grappled with the same issue..

Dang guys you have no idea how good this feels.

Dwayne


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 23:50:35 +
Subject: Re: [Papervision3D] [UNSOLVABLE BUG] Inconsistent rolling over for 
a plane











I think it might be a bug within Papervision and nothing within me.. 
http://dnecklesportfolio.com/pv3d/materialsDemos/materialsDemo.html
and you know I also went back to the basic Materials Demo I got from the CLaSS 
in SAN FRAN...
and simple added the rollover states

and I got the same issue.. in fact here is the code
dnecklesportfolio.com/pv3d/materialsDemos/materialsDemos.zip

and sometimes when rolling over you'd notice while on the clip that the roll 
off mousepointer appears and is is inconsistent..

this problem will be considered a BUG and wont take priority ..

It's be great if someone would please confirm so I can move on..I spent weeks 
on this one small issue..


Dwayne




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 20:20:10 +
Subject: Re: [Papervision3D] Inconsistent rolling over for  a plane







gang maybe i should use Mouseevent instead of interactivescene3devent???



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 19:42:48 +
Subject: Re: [Papervision3D] [Flash_Tiger] Re: Inconsistent rolling over for
a plane







Gang,

Just when we thought we got it..
To make things SIMPLE I took out the text and have a simple red movieclip

So now I  have a papervision plane - movieclip (as its material) - movieclip 
- textfield

i use e.currenttarget instead of e.target in the onPlane Click function

but i still get the inconsistent rolling over

Frustrating cause im sure its something im doing wrong

Check out onPlaneOver and onPlaneOut do they access e.target by default..How do 
I access e.currentTarget
Is that even the issue.. I may start from scratch and go back to basics..

public function onPlaneClick(e:InteractiveScene3DEvent):void {
   
if (BUTTONS_ENABLED) {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
   

var plane:Plane =  Plane(e.currentTarget);
trace(targets name, e.displayObject3D.name );
   

} else {
trace(wait till its done..);
   
}
}
public function onPlaneOver(e:InteractiveScene3DEvent):void {

viewport.containerSprite.buttonMode = true;
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
}
public function onPlaneOut(e:InteractiveScene3DEvent):void {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
viewport.containerSprite.buttonMode = false;
}


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [Flash_Tiger] Re: Inconsistent rolling over for a plane
Date: Mon, 24 Mar 2008 05:06:19 +







More info on this...
http://www.flepstudio.org/forum/tutorials/428-target-currenttarget-actionscript-3-0-a.html



To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Sun, 23 Mar 2008 11:12:02 -0400
Subject: [Flash_Tiger] Re: Inconsistent rolling over for a plane




















Dwayne Neckles wrote:

 Check out.. http://dnecklesportfolio.com/pv3d/index.html



 Rollover one of the main links.. you will see that the pointer changes from 
 pointer to hand and back.. It's not supposed to do that... though it could be 
 , I'm not sure its a papervision issue..



 Any suggestion why this happens..



This is one of those issues that seems to get neglected in most AS3 books and 
online references. Then it's maddeningly difficult to find what's going wrong.

You assume that if you've added an eventlistener to the button clip, in the 
handler the event target will actually be the button. However, although you 
added the MouseOver listener to the button, the event target in the handler 
actually turns out to be the text within the button.

I would handle this in one of two ways:

*** In the handler function, instead of using target, use 

[Flashcoders] AIR drag and resize transparent window and change mouse icon to arrows

2008-03-28 Thread Patrick Matte | BLITZ
You know on a PC when you mouseOver the sides of a window, the mouse changes to 
an arrow that means you can resize the window. Is there any to get the mouse to 
change like that when the AIR window in set to transparent? Or it is only a 
feature of the NativeWindow on PC?

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


[Flashcoders] Re: Checking overlapping of 2 objects of different type. Please help

2008-03-28 Thread anuj sharma
Hi Guys I fixed it I added the container as addChildAt(container,0).
Thanks for ur patience.
Anuj

On Fri, Mar 28, 2008 at 2:17 PM, anuj sharma [EMAIL PROTECTED] wrote:

 Hi
 I am trying to check if objects of 2 different type overlaps or not. I
 have a CameraStartDrag which is activated by on press of MovieClip. I have
 some container of type Sprite which contains UI Loader component. All i need
 is if user takes CameraStartDrag on top of UILoader, the CameraStartDrag's
 index should come on top of UILoader. Currently CameraStartDrag is going
 back of UILoader. Attached is the code.
 Please help me out as this problem is making me crazy.
 Thanks


 for (var j:Number=1; j=16; j++)
 {
 var CameraStartDrag;

 //Getting all the thumbnails by Name for dragging on stage
 CameraStartDrag=getChildByName(Thumbnail_+j);
 }
 CameraStartDrag.addEventListener(MouseEvent.MOUSE_DOWN,CamStartDragTN);
 var container:Sprite=new Sprite();
 function CamStartDragTN(event:MouseEvent):void
 {
 var CameraStartDrag=event.target;
 CameraStartDrag.startDrag();
 if(container.numChildren0)
 {
 for (var z:Number=0; z=container.numChildren-1; z++)
 {
 var Child:DisplayObject=container.getChildAt(z);
 if(CameraStartDrag.hitTestObject(Child))
 {
 trace(Object Hit);
 }
 }
 }

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


[Flashcoders] wmode, cacheasbitmap and scrollrect issues

2008-03-28 Thread Nikolaj Selvik
Hi all,

So it seemed like Adobe had solved the artifact issues when using scrollrect
on a bitmap cached object, but not quite... I am in a current application
using scrollrect and get artifacts when vertically scrolling large
bitmapcached sprites, see example here:
http://www.membla.net/scrollrectartifacts.jpg
Has anyone tackled this problem?

Using 9.0.115, this problem occurs in IE but not in FF and only when using
wmode opaque, which leads me to my next question - Since when did wmode
opaque become about 50% faster than wmode window? I remember noticing this
some while ago and as it always had been said that wmode window was to be
used whenever you didn't need to think about z order stacking I tried to
find some info on the subject but found none. Anyone with more info on this?

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


Re: [Flashcoders] Root casting as Main big problem

2008-03-28 Thread laurent
Thanks for the precise answer, I got the book, will have a look tom and 
try the MovieClip workaround.

Now I will bang my head on sweeter stuff ;) thx
L

jonathan howe a écrit :

I think you might be able to get around this by using a swc, which can be
checked for classes by the complier without actually including it in the
swf. Do you have Moock's Essential Actionscript 3.0? Chapter 31 details the
various ways you can do it, all based on which authoring tool you're using.
A little much for me to repeat in email.

-jonathan


On Fri, Mar 28, 2008 at 11:10 AM, laurent [EMAIL PROTECTED] wrote:

  

Hi, It's very urgent,

try to make it clear:

I have one MovieClip index.swf, with a Main.as class attch to it.

In this class I define properties and method, of course :)

And I load external movieclip, one name content.swf


in this content swf I need to talk with rootand I cast it with Main(
root ).myproperty

The problem when I publish this mc is looking for the Main class and
check if element are there, for exemple some linked moviclip, but they
are in the index library.

so I can copy all needed asset in the content library, and perhaps it
will fixe it but I will have all content duplicated...so is there a
workaround ??

Thanks for any urgent help! ;)

L
___
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] AIR drag and resize transparent window and change mouse icon to arrows

2008-03-28 Thread Bob Wohl
You would need to detect the mouse position and then you would swap the
mouse with a graphic (hide mouse pointer, display your arrows). The problem
would be that you could only do this while inside the air app. The edges of
the actual air app I believe would have to be set by the OS.

B.

On Fri, Mar 28, 2008 at 5:23 PM, Patrick Matte | BLITZ 
[EMAIL PROTECTED] wrote:

 You know on a PC when you mouseOver the sides of a window, the mouse
 changes to an arrow that means you can resize the window. Is there any to
 get the mouse to change like that when the AIR window in set to transparent?
 Or it is only a feature of the NativeWindow on PC?

 ___
 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