[Flashcoders] A different kind of FOR loop ???

2006-04-28 Thread Stephen Ford
Please advise,
 
What is this piece of code doing:
 
for (posArray = [], i = 0; i < this.length; posArray[i] = i++) {}
 
I though it might have been another way of coding:
 
for (i=0; i= 
0; last--)  {  selected = this[last];rand = random(posArray.length - 1);
lastPos = posArray.getPos(last);if (lastPos == null) {   
result[posArray[rand]] = selected;   posArray.splice(rand, 1);  } else {   
posArray.splice(lastPos, 1);   result[posArray[rand]] = selected;   
posArray.splice(rand, 1);   posArray.push(last);  } }
  return result;}
 
 
Thanks,
Stephen.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Project 3:16

2006-04-28 Thread Helmut Granda
deja-vu?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
Sent: Monday, April 24, 2006 10:27 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Project 3:16

Project 3:16 - For Client so loved the work, that he told his one and  
only
Designer, that whosoever listens to him shall not finish, but have  
eternal
changes.

___
I thought you would enjoy this! ;)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] XML push() data scope issue?

2006-04-28 Thread zikey Han

you can read this article:http://www.person13.com/articles/proxy/Proxy.htm
or mx.utils.Delegate class
http://www.flashpixy.com/index.php?entry=entry060306-225238
i hope this can help you!
2006/4/29, Mandongo <[EMAIL PROTECTED]>:


i'm trying to figure out if it's a problem with scope, or if i'm
overlooking
something else?  this is a combination of moock's imageviewer walkthru
from
his essential as book, but with xml functionality which i'm trying to
implement.  i can't seem to keep the xml values in imageBank when i push()
them from _13 inside buildImageBank().

i can trace imageBank in loadImage() and get a type object but with no
children, yet i can trace the hell out of imageBank in buildImageBank()
and
get all the attribute values.  shed some light?  here's the class, broken
down:

class ImageViewBare {
private var _12;
private static var _11 = 0;
private static var _13;
private var imagePos = 0;

private var container;
private static var images;
private static var imageBank = [];

public function ImageViewBare (target, depth, xmlfile) {
container = target.createEmptyMovieClip("container" + depth,
depth);
images = new XML();
images.ignoreWhite = true;
images.onLoad = buildImageBank;
images.load(xmlfile);
}

private function buildImageBank() {
_12 = images.firstChild.childNodes;
while (_11 < _12.length) {
_13 = {
name: _12[_11].attributes.name,
notes: _12[_11].attributes.notes,
file: _12[_11].attributes.file,
width: _12[_11].attributes.width,
height: _12[_11].attributes.height
}
// this gets lost outside buildImageBank()
// how to make my push()'s to imageBank var permanent?
imageBank.push (_13);
_11++;
}
}

public function loadImage(posInc) {
container.loadMovie(imageBank[index].file);
}
}

on the fla that works this class, i have this:

var viewer = new ImageViewerBare(this, 1, "images.xml");
viewer.loadImage(1);  // comes back undefined


thanks,
M.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
亲爱的朋友,祝你天天快了!
http://www.flashpixy.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] XML push() data scope issue?

2006-04-28 Thread Mandongo

i'm trying to figure out if it's a problem with scope, or if i'm overlooking
something else?  this is a combination of moock's imageviewer walkthru from
his essential as book, but with xml functionality which i'm trying to
implement.  i can't seem to keep the xml values in imageBank when i push()
them from _13 inside buildImageBank().

i can trace imageBank in loadImage() and get a type object but with no
children, yet i can trace the hell out of imageBank in buildImageBank() and
get all the attribute values.  shed some light?  here's the class, broken
down:

class ImageViewBare {
   private var _12;
   private static var _11 = 0;
   private static var _13;
   private var imagePos = 0;

   private var container;
   private static var images;
   private static var imageBank = [];

   public function ImageViewBare (target, depth, xmlfile) {
   container = target.createEmptyMovieClip("container" + depth, depth);
   images = new XML();
   images.ignoreWhite = true;
   images.onLoad = buildImageBank;
   images.load(xmlfile);
   }

   private function buildImageBank() {
   _12 = images.firstChild.childNodes;
   while (_11 < _12.length) {
   _13 = {
   name: _12[_11].attributes.name,
   notes: _12[_11].attributes.notes,
   file: _12[_11].attributes.file,
   width: _12[_11].attributes.width,
   height: _12[_11].attributes.height
   }
   // this gets lost outside buildImageBank()
   // how to make my push()'s to imageBank var permanent?
   imageBank.push (_13);
   _11++;
   }
   }

   public function loadImage(posInc) {
   container.loadMovie(imageBank[index].file);
   }
}

on the fla that works this class, i have this:

var viewer = new ImageViewerBare(this, 1, "images.xml");
viewer.loadImage(1);  // comes back undefined


thanks,
M.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Project 3:16

2006-04-28 Thread Steven Sacks
Project 3:16 - For Client so loved the work, that he told his one and  
only
Designer, that whosoever listens to him shall not finish, but have  
eternal

changes.

___
I thought you would enjoy this! ;)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] I no longer need your mail. I wish to donot sendme mail

2006-04-28 Thread Scott Hyndman
Hi Shiju,

Follow this link: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Enter your email into the last textbox and press enter.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Steve Rachels
Sent:   Sat 4/29/2006 12:45 AM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] I no longer need your mail. I wish to donot 
sendmemail

Uh... okay sure


shiju oommen wrote:

>Dear SIr:
>
>i don't need your mail no longer. so don't send any
>mailt to me.
>
>best regards
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] I no longer need your mail. I wish to donot send me mail

2006-04-28 Thread Steve Rachels

Uh... okay sure


shiju oommen wrote:


Dear SIr:

i don't need your mail no longer. so don't send any
mailt to me.

best regards



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] I no longer need your mail. I wish to donot send me mail

2006-04-28 Thread shiju oommen
Dear SIr:

i don't need your mail no longer. so don't send any
mailt to me.

best regards



__ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Problem compiling the FLA when moved to a different machine

2006-04-28 Thread Julian 'Julik' Tarkhanov

Hello Flashcoders.

I am trying to copy my document to another machine and edit there, but
when I try to build the movie I get the following errors all over the
place:


**Error** /Users/julik/Library/Application Support/Macromedia/Flash
8/en/Configuration/Classes/FP8/Number.as: Line 7: The class being
compiled, 'Number', does not match the class that was imported,
'FP8.Number'.
{

etc. I get this for every built-in MM type and class that I use, and
the movie (inevitably) compiles with errors. It does run, but
partially (many things just refuse to work). It's remarkable that it
complains only about the built-in classes.

I tried deleting my UserConfig in Library and clear the ASO cache but
to no avail.

Both machines are Macs, Flash 8 with all the updates. Could someone
please help me get my files on the go with me?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] R/GA seeks Flash Developers

2006-04-28 Thread Jason Lutes
Krystyna,

Are you still looking to fill a Flash developer position in NYC? If so,
are you considering relocation candidates?

I live in Salt Lake City, and am adept with the things (and more) I saw
recently in the job posting, and would love to work for R/GA. I'm happy to
send a résumé and work/code samples if there is potential.

Thanks.


-
Jason Lutes

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Talking Flash over Bluetooth

2006-04-28 Thread Weyert de Boer
I would like to communicate with Flash with a other client over Bluetooth.
My current design is as follows:

[flash] <> [1.xmlsocket_bluetooth_supporting] <--bluetooth serial port -->
[2.xmlsocket_bluetooth_supporting] <> [myapp]

As you see I want to be able to communicate with my application over
Bluetooth using the standard available Serial Port which shoul dbe
supporteed by most Bluetooth stacks. The main reason that I want to use
the bluetooth serial port is the $1500 fee on getting the WIDCOMM SDK --
something I don't want to pay for my pet project.

Do you think that would be a issue in a example (for my blog) ? Of course,
you have some serious roundtrips... Sadly enough. But I think I can make
this all work nicely using C#/.NET. It's for a little notebook game :)

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Flash Player 6 on PSP

2006-04-28 Thread John Dowdell
fwiw, I got a blogpost up last night, oriented towards PSP owners rather 
than to Flash developers... if you've got additional useful details for 
that audience then additions in comments there would be great, thanks.

http://weblogs.macromedia.com/jd/archives/2006/04/viewing_flash_o.cfm


Joe Cutting wrote:
Hmm, some time ago I saw some comments from an Adobe staffer regarding 
an open source
flash player project. They made some very good points regarding the 
problems of "forking" the player - in that
it would lead to consumer confusion as to what were the capabilities of 
each player and what they needed installed to run what.


Yes, the Adobe Flash Player on Sony PSP does offer different abilities 
than the Adobe Flash Players for Macintosh, Windows, Linux (once we get 
version alignment), Mozilla, Opera, Microsoft and so on. That's mainly 
because the gaming console itself has different capabilities than your 
desktop computer does. It's a fork for cross-device SWF playback, but 
not a fork within single-device SWF playback.


I'd like to erase device differences as well, but realize that some 
devices will always be more capable than other devices. If you created a 
SWF and tested it only on big computers, then that content may not play 
the same on a smaller device. This is different from forking *within* a 
single device profile, however.


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Localconnection bug?

2006-04-28 Thread Serge Jespers
So I'm working on this site that uses a local connection between two  
swf's...
I named that local connection "SergesHistoryKeeper"... It worked just  
fine on Mac (both Safari and Firefox) but not on PC (neither in IE or  
Firefox).


After going completely nuts in checking the code over and over, I  
thought about changing the name... So I called it SergesHistory and  
tried it again... And guess what... It worked on both PC and Mac...


So I started Googling to see if there was a limit for the size of the  
connection name or something like that but apparently the only limit  
of a local Connection is that you can only send 40k over it... But  
that was certainly not the case... So I'm guessing this is probably a  
bug... No?


Serge
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] (no subject)

2006-04-28 Thread Mark Miller

Is there anyway to convert shockwave dcr files to video files ?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about FLEX2 - AS3 interactiing withLaserScanners ...

2006-04-28 Thread Ing. Mario Falomir
Thanks for all your comments and suggestions :) Amazingly it worked, the
scanner works like any input device ( such keyboard ) and I just drag an
input text field to stage , run the test and scan a bar code and its value
was entered in the input field :) Great!

Thanks!

On 4/28/06, JesterXL <[EMAIL PROTECTED]> wrote:
>
> http://www.barcoder.nu/
>
> - Original Message -
> From: "JesterXL" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, April 28, 2006 2:14 PM
> Subject: Re: [Flashcoders] Question about FLEX2 - AS3 interactiing
> withLaserScanners ...
>
>
> http://www.impossibilities.com/blog/entry_blog-155.php
>
> http://weblogs.macromedia.com/jd/archives/2005/08/player_card_rea.cfm
>
> - Original Message -
> From: "Ing. Mario Falomir" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, April 28, 2006 1:12 PM
> Subject: [Flashcoders] Question about FLEX2 - AS3 interactiing with
> LaserScanners ...
>
>
> I dont know if this make sense,  I need to develop an application that
> captures data read by a Laser Scanner, however before getting into the
> process (trying to avoid Delphi) I was wondering if this kind of
> functionality could be accomplish with AS3 and FLEX2 ?
>
> Thanks in advanced
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 7player

2006-04-28 Thread Derek Vadneau
I run Flash 5/6/MX04/8 at home and 6/MX04/8 at work.

They install to different directories so there's nothing you need to do 
except install to the default directory.

The Flash players are included with the installs, so you can run the 
installers from the appropriate folder.

There are utilities that you can download to switch between versions in 
the browser, which would probably be handier.

The standalone players are also included in the installs and you just need 
to run the version you want and then anytime you double-click an SWF after 
that it will launch in that version of the SA player.


Derek Vadneau

- Original Message - 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 3:48 PM
Subject: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 
7player


We're thinking about upgrading to Flash 8.  Our customers are at Flash 6/7
players, but we expect some to start the shift to 8.

So - while using Flash 8 and the 8 player, I must simultaneously develop
Flash mx 2004 pro applications that run in Flash 6/7 players.

A long time ago, I read somewhere on this list that there's a way to 
install
Flash 8 so that you can still develop in MX 2004 pro - ie, run both 
versions
of Flash on the same PC at the same time.  Would you guys kindly supply 
some
tips for doing this?  Also, do we buy an upgrade, and if so, does the
upgrade install overwrite mx 2004 pro?  or are we forced to buy a full
install package if we need to run both versions of flash at the same time?

Also, is there a way to install the Flash 8 player without blowing away my
Flash 7 player -- ie, run both players on the same PC at the same time? 
If
so, how have you done this and then...how do you launch Flash 7 player
(rather than the also-installed 8) for testing purposes?  Ie, if I need to
test application A in flash 7, how do I make sure the 7 player launches
(rather than the 8 player) when I test application A?

Any help/tips appreciated.
Thanks!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman

That's even better then. :-)

I actually don't know where the problem is, with embedding or with 
authoring - but as you said, it should be easy to figure it out, and if 
it's embedding that's the problem, then the workaround is pretty easy 
too (using two different external libs for the fonts - 1 PC, and 1 Mac).


Kevin N.


elibol wrote:

Nice idea. You think just one shared library would work?

Since the problem is that each platform renders the same font 
differently,
the presentation needs to be compiled in the same platform it was 
designed
in, but the source should have no effect on the presentation; atleast 
none
that pertain from the compiler. This approach is analogous to how the 
same

font on both platforms render differently.

If the process of embeding the font is the source of the problem, it 
can be

determined by observing the effects of not embeding the culprit font,
however, I'm under the impression that this occurs at author time. If 
it's

the case, then you would have to seperate the libraries.

I had this problem when I was freelancing with a company that had mac 
users,

and if my memory is right, then the fonts were shifted at author time.

Just tossing in my 2 cents =]

M.

On 4/28/06, Kevin Newman <[EMAIL PROTECTED]> wrote:


I just posted something similar a few days ago. To take care of the font
shifting you can make sure to publish the files with the fonts on the
system they were designed on. So for example if you did the design on
the pc, then the swf and the shared lib with the fonts should also be
published on the pc. If you did the design on the mac, then the final
output should also be on the mac.

I suppose you could end up with a problem where some files were designed
on the mac, and some on then pc, in this case you may never be able to
get them to line up right all the time using the same publishing
computer - so you could do a comprimise by making sure all PC designed
flas are finally published on a PC and use a PC fonts shared lib, while
all the Mac designed flas are published on the Mac, and use a Mac fonts
shared lib. It's suboptimal, but it's better than 50K on every file.

By the way I have no experience with fonts in shared libraries, so while
conceptually this solution should work, it might be overkill, since just
making sure to publish the final swf on the platform they were layed out
in, might fix the problem. In our environment, I do programming on the
PC, and the designers do layout on the Mac, so after they do the layout,
I have to program it, then send it back to them for final output to get
the fonts to line up. I'm not sure how to work in the shared font libs,
but I would bet that using two different libs (one PC and one Mac) would
fix it.

Kevin N.


Serge Jespers wrote:
> Hey guyz,
>
> I'm working on this project that has a shared library with some
> movieclips and fonts...
> It are those fonts that cause quite a bit of stress...
>
> The designer on this project is on a PC and I work on a Mac... Not
> that that should matter but I'm taking a wild guess this is the
> problem...
>
> The situation... Both his PC and my Mac have all the fonts... Same TTF
> files. However, if I use the shared fonts in the swf on the server,
> they come out looking like this:
> http://webkitchen.be/downloads/sharedfonts.png
> Not really what was intended...
>
> If I make that library again, and use my shared lib instead of the one
> on the server, the text comes out right but is shifted down by quite a
> few pixels causing the design to be screwed up...
>
> So yeah... Should we just drop the shared fonts and thereby add a some
> 50k to each swf? Or is there something we may not have thought about?
>
> Thanks for your help,
> Serge
>
>







___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 7player

2006-04-28 Thread JesterXL
I bought the upgrade.  At the time, I think there was a Studio 8 deal that 
was cheaper if you owned Flash MX 2004 professional (which I did).  I then 
just had to install it, input my Studio 8 serial, Flash MX 2004 serial, and 
finally Flash MX serial (since I've upgraded since then).

...so, technically, I actually have Studio MX 2004 installed alongside 
Studio 8.


- Original Message - 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Friday, April 28, 2006 3:57 PM
Subject: RE: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 
7player



Thanks.  Very helpful info!
Did you have to buy the full install package - or were you able to buy the
upgrade and install it alongside mx 1004?



-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 3:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] using both flash 8 -and- flash mx 2004
pro/flash 7player


Here's what I did:

- installed Flash 8

That's it.  MX 2004 and Flash 8 work fine; both are installed on my machine,

and I swap to the other one when necessarey.  Granted, I could do everything

in 8 and save as MX 2004, but sometimes, there is a specific extension or
something I only had in MX 2004 and lost the MXP for, so

I have Flash Player 7 debug installed on IE, and Flash Player 8.5 debug
installed on Firefox.

I move between them via Flash Plugin Switcher:
http://www.kewbee.de/produkte/PluginSwitcher.html


- Original Message - 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 3:48 PM
Subject: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash
7player


We're thinking about upgrading to Flash 8.  Our customers are at Flash 6/7
players, but we expect some to start the shift to 8.

So - while using Flash 8 and the 8 player, I must simultaneously develop
Flash mx 2004 pro applications that run in Flash 6/7 players.

A long time ago, I read somewhere on this list that there's a way to install
Flash 8 so that you can still develop in MX 2004 pro - ie, run both versions
of Flash on the same PC at the same time.  Would you guys kindly supply some
tips for doing this?  Also, do we buy an upgrade, and if so, does the
upgrade install overwrite mx 2004 pro?  or are we forced to buy a full
install package if we need to run both versions of flash at the same time?

Also, is there a way to install the Flash 8 player without blowing away my
Flash 7 player -- ie, run both players on the same PC at the same time?  If
so, how have you done this and then...how do you launch Flash 7 player
(rather than the also-installed 8) for testing purposes?  Ie, if I need to
test application A in flash 7, how do I make sure the 7 player launches
(rather than the 8 player) when I test application A?

Any help/tips appreciated.
Thanks!



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flas h 7player

2006-04-28 Thread Gresh, Lois

Thanks.  Very helpful info!  
Did you have to buy the full install package - or were you able to buy the
upgrade and install it alongside mx 1004?



-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 3:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] using both flash 8 -and- flash mx 2004
pro/flash 7player


Here's what I did:

- installed Flash 8

That's it.  MX 2004 and Flash 8 work fine; both are installed on my machine,

and I swap to the other one when necessarey.  Granted, I could do everything

in 8 and save as MX 2004, but sometimes, there is a specific extension or 
something I only had in MX 2004 and lost the MXP for, so

I have Flash Player 7 debug installed on IE, and Flash Player 8.5 debug 
installed on Firefox.

I move between them via Flash Plugin Switcher:
http://www.kewbee.de/produkte/PluginSwitcher.html


- Original Message - 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 3:48 PM
Subject: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 
7player


We're thinking about upgrading to Flash 8.  Our customers are at Flash 6/7
players, but we expect some to start the shift to 8.

So - while using Flash 8 and the 8 player, I must simultaneously develop
Flash mx 2004 pro applications that run in Flash 6/7 players.

A long time ago, I read somewhere on this list that there's a way to install
Flash 8 so that you can still develop in MX 2004 pro - ie, run both versions
of Flash on the same PC at the same time.  Would you guys kindly supply some
tips for doing this?  Also, do we buy an upgrade, and if so, does the
upgrade install overwrite mx 2004 pro?  or are we forced to buy a full
install package if we need to run both versions of flash at the same time?

Also, is there a way to install the Flash 8 player without blowing away my
Flash 7 player -- ie, run both players on the same PC at the same time?  If
so, how have you done this and then...how do you launch Flash 7 player
(rather than the also-installed 8) for testing purposes?  Ie, if I need to
test application A in flash 7, how do I make sure the 7 player launches
(rather than the 8 player) when I test application A?

Any help/tips appreciated.
Thanks!



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 7player

2006-04-28 Thread JesterXL
Here's what I did:

- installed Flash 8

That's it.  MX 2004 and Flash 8 work fine; both are installed on my machine, 
and I swap to the other one when necessarey.  Granted, I could do everything 
in 8 and save as MX 2004, but sometimes, there is a specific extension or 
something I only had in MX 2004 and lost the MXP for, so

I have Flash Player 7 debug installed on IE, and Flash Player 8.5 debug 
installed on Firefox.

I move between them via Flash Plugin Switcher:
http://www.kewbee.de/produkte/PluginSwitcher.html


- Original Message - 
From: "Gresh, Lois" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 3:48 PM
Subject: [Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 
7player


We're thinking about upgrading to Flash 8.  Our customers are at Flash 6/7
players, but we expect some to start the shift to 8.

So - while using Flash 8 and the 8 player, I must simultaneously develop
Flash mx 2004 pro applications that run in Flash 6/7 players.

A long time ago, I read somewhere on this list that there's a way to install
Flash 8 so that you can still develop in MX 2004 pro - ie, run both versions
of Flash on the same PC at the same time.  Would you guys kindly supply some
tips for doing this?  Also, do we buy an upgrade, and if so, does the
upgrade install overwrite mx 2004 pro?  or are we forced to buy a full
install package if we need to run both versions of flash at the same time?

Also, is there a way to install the Flash 8 player without blowing away my
Flash 7 player -- ie, run both players on the same PC at the same time?  If
so, how have you done this and then...how do you launch Flash 7 player
(rather than the also-installed 8) for testing purposes?  Ie, if I need to
test application A in flash 7, how do I make sure the 7 player launches
(rather than the 8 player) when I test application A?

Any help/tips appreciated.
Thanks!



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] using both flash 8 -and- flash mx 2004 pro/flash 7 player

2006-04-28 Thread Gresh, Lois
We're thinking about upgrading to Flash 8.  Our customers are at Flash 6/7
players, but we expect some to start the shift to 8. 
 
So - while using Flash 8 and the 8 player, I must simultaneously develop
Flash mx 2004 pro applications that run in Flash 6/7 players.

A long time ago, I read somewhere on this list that there's a way to install
Flash 8 so that you can still develop in MX 2004 pro - ie, run both versions
of Flash on the same PC at the same time.  Would you guys kindly supply some
tips for doing this?  Also, do we buy an upgrade, and if so, does the
upgrade install overwrite mx 2004 pro?  or are we forced to buy a full
install package if we need to run both versions of flash at the same time?  
 
Also, is there a way to install the Flash 8 player without blowing away my
Flash 7 player -- ie, run both players on the same PC at the same time?  If
so, how have you done this and then...how do you launch Flash 7 player
(rather than the also-installed 8) for testing purposes?  Ie, if I need to
test application A in flash 7, how do I make sure the 7 player launches
(rather than the 8 player) when I test application A?

Any help/tips appreciated.
Thanks!
  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [OBORONA-SPAM] RE: [Flashcoders] Are you a help vampire?

2006-04-28 Thread jim
What 

If you have a problem come out and say something, don't start a new account
simply to be annoying anonymously. 

I replied to the original email that seemed to be talking about scoping
issues among other things and asked for more knowledge / assistance so I
pointed them at an article on scoping issues. I think that makes sense,
don't you?

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ?
???
Sent: 27 April 2006 12:04
To: Flashcoders mailing list
Subject: Re: [OBORONA-SPAM] RE: [Flashcoders] Are you a help vampire?

Jim Tann ?:
> http://www.osflash.org/flashcoders/as2#handling_scope_in_event_handlers
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan
> Berry
> Sent: 26 April 2006 23:53
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Are you a help vampire?
>
> I want to offer a basic counterpoint to this: what if the question is
> just
> from a beginner, who has in fact researched a problem found the
> documentation/resources incomplete in some way? Is it just because a
> person
> is a beginner that you will not offer help?
>
> Case in point, and be patient with me. I am not by any means venting
> here,
> but I offered a question some time ago about the basic placement of
> anonymous functions like btn1.onRelease =
> function(){getURL(_root.variable_name,"_blank");} and also asked about
> whether or not such a function required the _root if it was in fact on
> the
> _root timeline. I actually received some very nice assistance on this
> and I
> appreciate the poster, since though I did discover that this was true
> through experimentation myself, he did give me a short lesson on scope.
> I
> had already learned about the Delegate class, but this basic issue was
> not
> clear in my reading, so I would not know I had to use _root or Delegate
> or
> what have you. I do know some Javascript and PHP and so programming is
> not
> beyond me, but learning a new technology from the ground up is the way I
> learn generally. I like to know *all* the aspects. So please permit
> those
> who are learning and obviously trying the benefit of the doubt.
>
> Another thing is further questions on the same subject. In this same
> issue,
> I had the question "are such function assignments applicable to a button
> if
> the code is placed before the button on the timeline?" I got a no, of
> course, which was a basic thing I had sketchy knowledge on. What I had
> was
> an ad sent to us by a client wherein the previous coder had used on()
> handlers on the clips and I was trying to rewrite it to include the
> anonymous functions and our variables, as stated before. When I wrote in
> the
> code in a keyframe in the actions layer above where the button was
> instantiated, it worked, but when a new keyframe in the button layer
> came
> up, I had to re-enter the code there as well. This seemed like
> repetitive
> work and my further question about this was not answered.
>
> My point is, does this make me dumb? No. It would make me lazy however
> if I
> did not research this. But this basic practice of where code should be
> written and how often was not clear to me since the project was not
> working
> in subsequent frames and the documentation I had read seemed to say
> write
> and be done with it.
>
> I suppose I am both asking this general question again, to help solidify
> my
> knowledge, and also pointing out that this does not make those who try
> but
> fail stupid. All I am saying is that I appreciate all your knowledge on
> this
> subject, but please have patience with those who are trying to learn and
> distinguish them from the vampires who ask questions that are so general
> that they lack any knowledge of Flash.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>   
> I suppose I am both asking this general question again, to help 
> solidify my knowledge, and also pointing out that this does not make 
> those who try but fail stupid. All I am saying is that I appreciate 
> all your knowledge on this subject, but please have patience with 
> those who are trying to learn and distinguish them from the vampires 
> who ask questions that are so general that they lack any knowledge of 
> Flash.
Entirely and completely I support this comrade

Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread elibol

Nice idea. You think just one shared library would work?

Since the problem is that each platform renders the same font differently,
the presentation needs to be compiled in the same platform it was designed
in, but the source should have no effect on the presentation; atleast none
that pertain from the compiler. This approach is analogous to how the same
font on both platforms render differently.

If the process of embeding the font is the source of the problem, it can be
determined by observing the effects of not embeding the culprit font,
however, I'm under the impression that this occurs at author time. If it's
the case, then you would have to seperate the libraries.

I had this problem when I was freelancing with a company that had mac users,
and if my memory is right, then the fonts were shifted at author time.

Just tossing in my 2 cents =]

M.

On 4/28/06, Kevin Newman <[EMAIL PROTECTED]> wrote:


I just posted something similar a few days ago. To take care of the font
shifting you can make sure to publish the files with the fonts on the
system they were designed on. So for example if you did the design on
the pc, then the swf and the shared lib with the fonts should also be
published on the pc. If you did the design on the mac, then the final
output should also be on the mac.

I suppose you could end up with a problem where some files were designed
on the mac, and some on then pc, in this case you may never be able to
get them to line up right all the time using the same publishing
computer - so you could do a comprimise by making sure all PC designed
flas are finally published on a PC and use a PC fonts shared lib, while
all the Mac designed flas are published on the Mac, and use a Mac fonts
shared lib. It's suboptimal, but it's better than 50K on every file.

By the way I have no experience with fonts in shared libraries, so while
conceptually this solution should work, it might be overkill, since just
making sure to publish the final swf on the platform they were layed out
in, might fix the problem. In our environment, I do programming on the
PC, and the designers do layout on the Mac, so after they do the layout,
I have to program it, then send it back to them for final output to get
the fonts to line up. I'm not sure how to work in the shared font libs,
but I would bet that using two different libs (one PC and one Mac) would
fix it.

Kevin N.


Serge Jespers wrote:
> Hey guyz,
>
> I'm working on this project that has a shared library with some
> movieclips and fonts...
> It are those fonts that cause quite a bit of stress...
>
> The designer on this project is on a PC and I work on a Mac... Not
> that that should matter but I'm taking a wild guess this is the
> problem...
>
> The situation... Both his PC and my Mac have all the fonts... Same TTF
> files. However, if I use the shared fonts in the swf on the server,
> they come out looking like this:
> http://webkitchen.be/downloads/sharedfonts.png
> Not really what was intended...
>
> If I make that library again, and use my shared lib instead of the one
> on the server, the text comes out right but is shifted down by quite a
> few pixels causing the design to be screwed up...
>
> So yeah... Should we just drop the shared fonts and thereby add a some
> 50k to each swf? Or is there something we may not have thought about?
>
> Thanks for your help,
> Serge
>
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Maths bug???

2006-04-28 Thread Dave Wood
Apologies if this is common knowledge, but I've just come across a  
huge maths problem in Flash... as I've mentioned before I'm working  
on an online trading system where real people make or lose real  
money, sometimes a huge amount of it, so this isn't funny...


You are right. It's very not funny.

Here's one solution that might be useful to you...

correctThis = function(thisNumber:Number,thesePlaces:Number):Number{
var temp:Number = Math.pow(10,thesePlaces);
return Math.round(thisNumber * temp) / temp;
}

var a:Number = 171.9;
var b:Number = 172.2;
var c:Number;
trace(correctThis(b - a,2));

...0.3

Cheers

David

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about FLEX2 - AS3 interactiing withLaserScanners ...

2006-04-28 Thread JesterXL
http://www.barcoder.nu/

- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, April 28, 2006 2:14 PM
Subject: Re: [Flashcoders] Question about FLEX2 - AS3 interactiing 
withLaserScanners ...


http://www.impossibilities.com/blog/entry_blog-155.php

http://weblogs.macromedia.com/jd/archives/2005/08/player_card_rea.cfm

- Original Message - 
From: "Ing. Mario Falomir" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, April 28, 2006 1:12 PM
Subject: [Flashcoders] Question about FLEX2 - AS3 interactiing with
LaserScanners ...


I dont know if this make sense,  I need to develop an application that
captures data read by a Laser Scanner, however before getting into the
process (trying to avoid Delphi) I was wondering if this kind of
functionality could be accomplish with AS3 and FLEX2 ?

Thanks in advanced
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: Flashcoders Digest, Vol 15, Issue 93

2006-04-28 Thread JesterXL
I'm with you.  Adobe has the same challenge(s) that Java had.  I remember 
reading about one company who built Java games for phones... they had 52 
builds for one game.  52 FRIKIN' BUILDS of the SAME FRIKIN' GAME!  F'ing 
insanity.  I'd go nuts without some sort of pre-processor.

Part of that fragmentation makes it really hard to make a consistent selling 
point, and device manufacturers make it harder on not just Adobe Flash 
Player engineers, but us.  Like, the Nokia 6680 plays things better than the 
6681 for example... ugh.  Same code, some Flash Lite 2 player, different 
fps... wtf!?  It's c:\documents\others on some phones, but not on others. 
Some devices support some phone centric settings, like sound and vibration 
while others do not.  It's hard.

Not to mention the fact that hardware manufactures, and the US operators 
make things worse.  They spit in the face of standards as far as I can tell, 
thus most devices do not have some semblance of normacly.  The best Adobe 
can do is get Flash Lite onto phones at least, let alone 1.1 or 2.  They've 
scored Verizon, and that's great, but Sony is a huge company and has nothing 
to do with Verizon.  God knows how many man hours, sales pitches, and huge 
bling investments it took to get both companies to work with them to get 
Flash on their devices.

For you and me it's simple; put the latest greatest on the device, now.  The 
details, however, are vastly more complex... hence the fragmentation of 
versions.

As far as Flash 8 being cosmetic; it was when it first was released they 
told you correctly.  I actually incorrectly blogged that it was a true 
emulation when it fact it was just visual (with some trace outputs of 
non-supported features).  Now that it's out you can configure some of those 
actual device-like settings.


- Original Message - 
From: "Ryan Creighton" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 1:39 PM
Subject: [Flashcoders] RE: Flashcoders Digest, Vol 15, Issue 93



JesterXL,

To clarify: i don't expect portable devices to run the same files that
desktop systems can run.  i expect portable devices to run the same
files that *other portable devices* can run.  Just as Flash is Flash is
Flash across desktop machines, i would love to see the same kind of
consistency across portable devices with FlashLite2.0.

Regarding your comment about bottlenecks - i hear you, but it seems like
something different is going on here.  The phones are starting to ship
with FlashLite2.0.  The PSP has its own version of the Flash player.
Why doesn't it run FlashLite 2.0?  A few people on the thread say that
Sony is exerting too much control over what the PSP can run.

The Toronto Flash user group reported that the device emulation in Flash
8 was cosmetic at best ... my mistake  (but i blame them  :)


>Ryan Creighton
Senior Game Developer, CORUS Interactive

>http://www.ytv.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Question about FLEX2 - AS3 interactiing with LaserScanners ...

2006-04-28 Thread JesterXL
http://www.impossibilities.com/blog/entry_blog-155.php

http://weblogs.macromedia.com/jd/archives/2005/08/player_card_rea.cfm

- Original Message - 
From: "Ing. Mario Falomir" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, April 28, 2006 1:12 PM
Subject: [Flashcoders] Question about FLEX2 - AS3 interactiing with 
LaserScanners ...


I dont know if this make sense,  I need to develop an application that
captures data read by a Laser Scanner, however before getting into the
process (trying to avoid Delphi) I was wondering if this kind of
functionality could be accomplish with AS3 and FLEX2 ?

Thanks in advanced
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Question about FLEX2 - AS3 interactiing with LaserScanners ...

2006-04-28 Thread Tom Lee
I think you would have to have an external program that interfaces with the
scanner, and then talk to it from Flash using ExternalInterface.  One
theoretical possibility would be to use a Shockwave movie (which you make
using Macromedia/Adobe Director) as a stub that talks to the scanner for
you.  With Director/Shockwave there are a lot of Xtras that extend the
capabilities of the Shockwave Player:  Go to
www.updatestage.com/products_table.html and look for the TWAIN Xtra.

So (in THEORY), you would make a Shockwave stub movie with the TWAIN Xtra,
set up some useful methods in it, and then use ExternalInterface from Flash
to talk to the stub.

Roundabout? Yes.  Better than nothing? Maybe.

Of course, you could always get your users to scan their documents with
their webcam. (joking)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ing. Mario
Falomir
Sent: Friday, April 28, 2006 1:12 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Question about FLEX2 - AS3 interactiing with
LaserScanners ...

I dont know if this make sense,  I need to develop an application that
captures data read by a Laser Scanner, however before getting into the
process (trying to avoid Delphi) I was wondering if this kind of
functionality could be accomplish with AS3 and FLEX2 ?

Thanks in advanced
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Xray Trouble Shooting

2006-04-28 Thread Charles Parcell

Many thanks to you both. I will go and take a look at all the data. If I am
still unable to solve the issue I will post details here to ask for your
expert help.

Again, many thanks.

Charles P.



On 4/28/06, John Grden <[EMAIL PROTECTED]> wrote:


Heres' an official post on the subject as well:

http://labs.blitzagency.com/?p=46

Thanks Jc!

JG

On 4/28/06, j.c.wichman <[EMAIL PROTECTED]> wrote:
>
> Hi,
> This other post by John might help too:)))
> http://osflash.org/pipermail/xray_osflash.org/2005-November/000273.html
>
> It solved it for my anyway, the problem was that I exported my classes
in
> frame 10 instead of one,
> And so I had to move the xray connector too and add the code mentioned
in
> his post.
>
> Greetz
> Hans
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of John Grden
> > Sent: Friday, April 28, 2006 6:04 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] Xray Trouble Shooting
> >
> > labs.blitzagency.com - that's the official home / information
> > source for xray
> >
> > Let me know if I can help out,
> >
> > JG
> >
> > On 4/27/06, Charles Parcell <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there a document/web site that outlines specific issues
> > revolving
> > > around Xray?  I have encountered a project where the primary Flash
> > > file was developed by someone else. After adding the Xray
> > component I
> > > am unable to get Xray to connect. I have gone through all
> > of the code
> > > in this primary file and there is nothing obvious that I
> > can see as to
> > > why I am unable to get connection between the component and the
> > > client.
> > >
> > > I was just wondering if there was a "Things that could
> > break Xray" or
> > > "Things to watch out for when injecting Xray" site some where?
> > >
> > > Many thanks.
> > > Charles P.
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > John Grden - Blitz
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] RE: Flashcoders Digest, Vol 15, Issue 93

2006-04-28 Thread Ryan Creighton

JesterXL,

To clarify: i don't expect portable devices to run the same files that
desktop systems can run.  i expect portable devices to run the same
files that *other portable devices* can run.  Just as Flash is Flash is
Flash across desktop machines, i would love to see the same kind of
consistency across portable devices with FlashLite2.0.

Regarding your comment about bottlenecks - i hear you, but it seems like
something different is going on here.  The phones are starting to ship
with FlashLite2.0.  The PSP has its own version of the Flash player.
Why doesn't it run FlashLite 2.0?  A few people on the thread say that
Sony is exerting too much control over what the PSP can run.

The Toronto Flash user group reported that the device emulation in Flash
8 was cosmetic at best ... my mistake  (but i blame them  :)


>Ryan Creighton
Senior Game Developer, CORUS Interactive

>http://www.ytv.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Question about FLEX2 - AS3 interactiing with Laser Scanners ...

2006-04-28 Thread Ing. Mario Falomir
I dont know if this make sense,  I need to develop an application that
captures data read by a Laser Scanner, however before getting into the
process (trying to avoid Delphi) I was wondering if this kind of
functionality could be accomplish with AS3 and FLEX2 ?

Thanks in advanced
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MXNA

2006-04-28 Thread John Dowdell

Erik Porroa Vivanco wrote:

I guess all the blog system of Adobe is down too.


The Adobe.com-hosted blog system is still fine:
http://blogs.adobe.com/

The old Macromedia MXNA server, though, has changed owners a few times 
lately, and has definitely been falling down too much, particularly this 
past week. What makes things more complicated is that we're also in a 
transition period on the overall website now, so resources are focused 
on the main site.


Wish I could say something useful here -- I'm real frustrated by the 
erratic behavior too -- I know things will be better in the future but 
I'm not yet sure of each step through to that better future. :(


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Listeners / ASBroadcasters / EventDispatchersconfusion

2006-04-28 Thread Tom Lee
I thought I recognized some undocumented-feature goodness in there. :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manuel
Saint-Victor
Sent: Friday, April 28, 2006 12:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Listeners / ASBroadcasters /
EventDispatchersconfusion

Oh yeah- Good catch Tom- I think I was reverting to the old school way.

Mani


On 4/28/06, Tom Lee <[EMAIL PROTECTED]> wrote:
>
> Just a quick note: it is a common mistake to capitalize the second letter
> of
> AsBroadcaster.  If you spell it "ASBroadcaster", it will fail silently
> (according to Flash help docs).
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Manuel
> Saint-Victor
> Sent: Thursday, April 27, 2006 6:09 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Listeners / ASBroadcasters / Event
> Dispatchersconfusion
>
> ASBroadcaster.initialize(acrobat_mc);
>
> I think you could add a method on your audience object that does
> acrobat_mc.addListener( this);
> and a  method
> onTrickCompleted=function(){
>applaud();
> }
> from the acrobat_mc you would call a broadcastMessage("onTrickCompleted");
>
>
>
> The best explanation that I found when I was trying to learn it is here:
> http://www.kirupa.com/developer/actionscript/asbroadcaster.htm
>
> not sure if this is clear but I have to run out of here to beat the
> Atlanta
> traffic.
>
> If it's no good I'll follow up when I get home.
>
> M
>
>
>
>
>
> On 4/27/06, Mark Burvill <[EMAIL PROTECTED]> wrote:
> >
> > Hi group,
> >
> > AS2 newbie question here...
> >
> > I've been going round and round in circles trying to work out the best
> > way of doing this, so maybe someone can help me.
> >
> > Let's say I have a movieclip on the main timeline of my fla called
> > acrobat_mc which is an animation of a little man doing a somersault.
> >
> > I also have a bunch of movieclips of audience members each controlled by
> > thier own instance of an AudienceMember object. The AudienceMember
> > object contains a method called applaud().
> >
> > When the acrobat has finished doing his somersault, I want all the
> > instances of audienceMember to have their applaud methods triggered.
> >
> > Now obviously, I could put a whole bunch of commands on the final frame
> > of my somersault animation such as:
> > _parent.audienceMember1.applaud();
> > _parent.audienceMember2.applaud();
> > _parent.audienceMember3.applaud();
> >
> > etc...etc...
> > But what I really want is to just broadcast some message from that frame
> > on the acrobat's timeline which all the audience members will listen to
> > and automatically applaud.
> >
> > How should I be doing this?
> > Cheers.
> > Mark.
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Listeners / ASBroadcasters / Event Dispatchersconfusion

2006-04-28 Thread Manuel Saint-Victor

Oh yeah- Good catch Tom- I think I was reverting to the old school way.

Mani


On 4/28/06, Tom Lee <[EMAIL PROTECTED]> wrote:


Just a quick note: it is a common mistake to capitalize the second letter
of
AsBroadcaster.  If you spell it "ASBroadcaster", it will fail silently
(according to Flash help docs).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manuel
Saint-Victor
Sent: Thursday, April 27, 2006 6:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Listeners / ASBroadcasters / Event
Dispatchersconfusion

ASBroadcaster.initialize(acrobat_mc);

I think you could add a method on your audience object that does
acrobat_mc.addListener( this);
and a  method
onTrickCompleted=function(){
   applaud();
}
from the acrobat_mc you would call a broadcastMessage("onTrickCompleted");



The best explanation that I found when I was trying to learn it is here:
http://www.kirupa.com/developer/actionscript/asbroadcaster.htm

not sure if this is clear but I have to run out of here to beat the
Atlanta
traffic.

If it's no good I'll follow up when I get home.

M





On 4/27/06, Mark Burvill <[EMAIL PROTECTED]> wrote:
>
> Hi group,
>
> AS2 newbie question here...
>
> I've been going round and round in circles trying to work out the best
> way of doing this, so maybe someone can help me.
>
> Let's say I have a movieclip on the main timeline of my fla called
> acrobat_mc which is an animation of a little man doing a somersault.
>
> I also have a bunch of movieclips of audience members each controlled by
> thier own instance of an AudienceMember object. The AudienceMember
> object contains a method called applaud().
>
> When the acrobat has finished doing his somersault, I want all the
> instances of audienceMember to have their applaud methods triggered.
>
> Now obviously, I could put a whole bunch of commands on the final frame
> of my somersault animation such as:
> _parent.audienceMember1.applaud();
> _parent.audienceMember2.applaud();
> _parent.audienceMember3.applaud();
>
> etc...etc...
> But what I really want is to just broadcast some message from that frame
> on the acrobat's timeline which all the audience members will listen to
> and automatically applaud.
>
> How should I be doing this?
> Cheers.
> Mark.
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Listeners / ASBroadcasters / Event Dispatchersconfusion

2006-04-28 Thread Tom Lee
Just a quick note: it is a common mistake to capitalize the second letter of
AsBroadcaster.  If you spell it "ASBroadcaster", it will fail silently
(according to Flash help docs).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manuel
Saint-Victor
Sent: Thursday, April 27, 2006 6:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Listeners / ASBroadcasters / Event
Dispatchersconfusion

ASBroadcaster.initialize(acrobat_mc);

I think you could add a method on your audience object that does
acrobat_mc.addListener( this);
and a  method
onTrickCompleted=function(){
   applaud();
}
from the acrobat_mc you would call a broadcastMessage("onTrickCompleted");



The best explanation that I found when I was trying to learn it is here:
http://www.kirupa.com/developer/actionscript/asbroadcaster.htm

not sure if this is clear but I have to run out of here to beat the Atlanta
traffic.

If it's no good I'll follow up when I get home.

M





On 4/27/06, Mark Burvill <[EMAIL PROTECTED]> wrote:
>
> Hi group,
>
> AS2 newbie question here...
>
> I've been going round and round in circles trying to work out the best
> way of doing this, so maybe someone can help me.
>
> Let's say I have a movieclip on the main timeline of my fla called
> acrobat_mc which is an animation of a little man doing a somersault.
>
> I also have a bunch of movieclips of audience members each controlled by
> thier own instance of an AudienceMember object. The AudienceMember
> object contains a method called applaud().
>
> When the acrobat has finished doing his somersault, I want all the
> instances of audienceMember to have their applaud methods triggered.
>
> Now obviously, I could put a whole bunch of commands on the final frame
> of my somersault animation such as:
> _parent.audienceMember1.applaud();
> _parent.audienceMember2.applaud();
> _parent.audienceMember3.applaud();
>
> etc...etc...
> But what I really want is to just broadcast some message from that frame
> on the acrobat's timeline which all the audience members will listen to
> and automatically applaud.
>
> How should I be doing this?
> Cheers.
> Mark.
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MXNA

2006-04-28 Thread Erik Porroa Vivanco

I guess all the blog system of Adobe is down too.

"*Internal Server Error*

The server encountered an internal error or misconfiguration and was 
unable to complete your request.


Please contact the server administrator, [EMAIL PROTECTED] and inform 
them of the time the error occurred, and anything you might have done 
that may have caused the error.


More information about this error may be available in the server error log."


I tried enter to MESH's blog , but 
it show me the same problem.


Looks like they are migrating to new servers, or cleaning some bugs.

-

Erik Porroa.
http://www.porroa.com/erik

Mike Britton escribió:

What's going on with MXNA?  It looks like the server is down.

http://weblogs.macromedia.com/mxna/index.cfm


Mike
--
http://www.mikebritton.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MXNA

2006-04-28 Thread John Attebury

http://weblogs.macromedia.com/mxna/

says "down for maintenance"

On 4/28/06, eric dolecki <[EMAIL PROTECTED]> wrote:


Perhaps she is taking a trip? She forgot her out of office message ;)

On 4/28/06, Mike Britton <[EMAIL PROTECTED]> wrote:
>
> What's going on with MXNA?  It looks like the server is down.
>
> http://weblogs.macromedia.com/mxna/index.cfm
>
>
> Mike
> --
> http://www.mikebritton.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Regards,
John Attebury
Webmaster
West Texas A&M University
http://www.wtamu.edu
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] 1st May Sydney Developers study group

2006-04-28 Thread Anggie Bratadinata

Monday 1st May is the next meeting of the study group


1st May is my birthday ...

--
Anggie Bratadinata
Born in May 1st, 1977
on a hospital bed


Chris Velevitch wrote:

Monday 1st May is the next meeting of the study group. We will be
studying Flex MXML. Please read the articles prior to the meeting (see
http://www.flashdev.org.au/program). At the meeting, the moderator
will lead discussion and with questions about the topic. The meeting
is on at 6:30pm for 7pm start and finishes around 8:30pm.

Details about the group, venue and program are available from
http://www.flashdev.org.au. Please note, whilst the meetings and the
use of the club are free, the club does require us to purchase
beverages and/or snacks in exchange.

Please RSVP at http://www.flashdev.org.au/rsvp.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Flash Player 6 on PSP

2006-04-28 Thread JesterXL
Responding to your points.

1. They do.  Granted, minor inconsistencies such as device fonts below 11 
pointsize but those are minor and do not affect this perception.

2. They player and API does within reason, but you cannot possibly expect 
your Flash content that runs on a Pentium 4 3 gigahertz to run just as well 
on a device that has the processing power of a Pentium 1 224 megahertz; that 
is unreasonable.

The PC gaming market has crumbled in revenue compared to the console market 
is the same reason you and many others are probably frustrated: dependable 
hardware playback.  If we all had the exact same device hardware & software 
specifications, none of us would have performance problems with our content 
because we could immediately identify the bottlenecks.  With the variety of 
PC's, Macs, and other devices with varying hardware & software specs, you 
can't, and thus the same rules apply here; identifying the bottlenecks.

3. The device emulator in Flash 8 does emulate performance.  In fact, you 
can configure these settings such as memory in the XML files that are 
included with the emulator.


- Original Message - 
From: "Ryan Creighton" <[EMAIL PROTECTED]>
To: 
Sent: Friday, April 28, 2006 10:52 AM
Subject: [Flashcoders] Re: Flash Player 6 on PSP



"The great strength of Flash as a distribution platform is that I can
write a program and know that it will run on almost any PC in general
without me having to worry that the user won't have the right libraries
or that a particular function might not work."

Very well said, Joe.  This is the precise reason i didn't get into
website design and html programming back in the day.  i couldn't stand
the fact that my work could look radically different (or that it
wouldn't work at all) depending on the user's platform and preferences.

John - the visible offstage area problem is my mistake. Our games are
passed through a popped-up window with a shared preloader, which we
couldn't pull off quickly on the PSP; we were viewing the swf, not an
html file with an embedded swf.

i appreciate the fact that Adobe is stepping up and extending the reach
of Flash across multiple devices, instead of waiting for homebrew
hackers to create their own solution, but i can't help but wonder if
hackers couldn't have reached a better solution in this case.

i don't know what we/you should tell Flash consumers, but i know what
i'd like to hear as a developer:

1. Your Flash files will work consistently across computer platforms and
browsers.

2. If you develop specifically for mobile devices, your Flash files will
work consistently across those mobile devices, from phone to PocketPC to
PSP to DS.

3. Flash will allow you to emulate these devices to test your work.
We're not talking about trivial "emulation" where we've overlayed a
picture of the device and linked up the buttons.  We're talking memory
and processor diagnostics.  (i like Joe's benchmarking idea very much.)

Macromedia got it right when they made a cross-browser, cross-platform
app.  i worry things are going a little sour now.


Ryan Creighton
Senior Game Developer, CORUS Interactive

http://www.ytv.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MXNA

2006-04-28 Thread eric dolecki

Perhaps she is taking a trip? She forgot her out of office message ;)

On 4/28/06, Mike Britton <[EMAIL PROTECTED]> wrote:


What's going on with MXNA?  It looks like the server is down.

http://weblogs.macromedia.com/mxna/index.cfm


Mike
--
http://www.mikebritton.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MXNA

2006-04-28 Thread Mike Britton

What's going on with MXNA?  It looks like the server is down.

http://weblogs.macromedia.com/mxna/index.cfm


Mike
--
http://www.mikebritton.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Maths bug???

2006-04-28 Thread elibol

There is a way to work around it though. The number of numbers between two
integers drops as the number grows, so if you represent your number by
splitting it into more variables, then the precision of your arithmetic will
grow as well.

Try this:

var a:Number = 1.9;
var b:Number = 2.2;
var c = b-a;
trace(c); //0.3

Since it's using lower numbers in the operation, 0.3 is found as the best
representation for the result.

I wrote this to parse number strings to working precisions, I think you
could use a similiar technique to do higher precision arithmetic.

function parsePrecision(a:String){
   var b = a.split('.'), l=b[1].length, b=[Number(b[0]), Number(b[1])], c =
b[1]/Math.pow(10, l);
   return b[0]>0? b[0]+c:b[0]-c;

}

var s:String = "-952.86";
var i:Number = parsePrecision(s);
trace(i); // -952.86
trace(i - -952.86);   // 0

I think I will have at it later today.

Hope this helps,

M.

On 4/28/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:



Apologies if this is common knowledge, but I've just come across a huge
maths problem in Flash... as I've mentioned before I'm working on an online
trading system where real people make or lose real money, sometimes a huge
amount of it, so this isn't funny...

Here's some simple arithmetic..

var a:Number = 171.9;
var b:Number = 172.2;
var c:Number;
c = b - a;

Now an elementary school kid would probably give the answer 0.3
Unfortunately Flash has other ideas...

trace(c);
0.283

I'm a bit shocked to be honest. Am I imagining it?

I'm aware that AS3 introduces proper integers and floats for arithmetic,
but that doesnt address my problem now.

What says the wise Chattyfig community??

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Flash Player 6 on PSP

2006-04-28 Thread Ryan Creighton

"The great strength of Flash as a distribution platform is that I can
write a program and know that it will run on almost any PC in general
without me having to worry that the user won't have the right libraries
or that a particular function might not work."

Very well said, Joe.  This is the precise reason i didn't get into
website design and html programming back in the day.  i couldn't stand
the fact that my work could look radically different (or that it
wouldn't work at all) depending on the user's platform and preferences.

John - the visible offstage area problem is my mistake. Our games are
passed through a popped-up window with a shared preloader, which we
couldn't pull off quickly on the PSP; we were viewing the swf, not an
html file with an embedded swf.

i appreciate the fact that Adobe is stepping up and extending the reach
of Flash across multiple devices, instead of waiting for homebrew
hackers to create their own solution, but i can't help but wonder if
hackers couldn't have reached a better solution in this case.

i don't know what we/you should tell Flash consumers, but i know what
i'd like to hear as a developer:

1. Your Flash files will work consistently across computer platforms and
browsers.

2. If you develop specifically for mobile devices, your Flash files will
work consistently across those mobile devices, from phone to PocketPC to
PSP to DS.

3. Flash will allow you to emulate these devices to test your work.
We're not talking about trivial "emulation" where we've overlayed a
picture of the device and linked up the buttons.  We're talking memory
and processor diagnostics.  (i like Joe's benchmarking idea very much.)

Macromedia got it right when they made a cross-browser, cross-platform
app.  i worry things are going a little sour now.


Ryan Creighton
Senior Game Developer, CORUS Interactive

http://www.ytv.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] onPress in nested MC

2006-04-28 Thread Adrian Lynch
Found the answer.

delete this.onPress;

Not sure why setting it to null or undefined didn't work though?!

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 28 April 2006 15:40
To: Flashcoders
Subject: [Flashcoders] onPress in nested MC


I know about event hidden, but I've never seen this before...

I have an MC(btn), with a nested MC(innerBtn). On pressing btn, I want to
remove it's onPress so I can get at the inner button's onPress.

Is this possible? I tried onRelease instead but then yields the same
results.

btn.onPress = function() {
// Remove this onPress so we can get at the inner buttons onPress
this.onRelease = null;
};

button.innerBtn.onPress = function() {
trace(this);
};

The onPress is removed in that it doesn't fire after the first press, but
the finger pointer doesn't disappear when I hover anywhere over btn.

Any ideas. I thought I had events sussed!

Adrian Lynch

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] onPress in nested MC

2006-04-28 Thread Adrian Lynch
I know about event hidden, but I've never seen this before...

I have an MC(btn), with a nested MC(innerBtn). On pressing btn, I want to
remove it's onPress so I can get at the inner button's onPress.

Is this possible? I tried onRelease instead but then yields the same
results.

btn.onPress = function() {
// Remove this onPress so we can get at the inner buttons onPress
this.onRelease = null;
};

button.innerBtn.onPress = function() {
trace(this);
};

The onPress is removed in that it doesn't fire after the first press, but
the finger pointer doesn't disappear when I hover anywhere over btn.

Any ideas. I thought I had events sussed!

Adrian Lynch

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Kevin Newman
I just posted something similar a few days ago. To take care of the font 
shifting you can make sure to publish the files with the fonts on the 
system they were designed on. So for example if you did the design on 
the pc, then the swf and the shared lib with the fonts should also be 
published on the pc. If you did the design on the mac, then the final 
output should also be on the mac.


I suppose you could end up with a problem where some files were designed 
on the mac, and some on then pc, in this case you may never be able to 
get them to line up right all the time using the same publishing 
computer - so you could do a comprimise by making sure all PC designed 
flas are finally published on a PC and use a PC fonts shared lib, while 
all the Mac designed flas are published on the Mac, and use a Mac fonts 
shared lib. It's suboptimal, but it's better than 50K on every file.


By the way I have no experience with fonts in shared libraries, so while 
conceptually this solution should work, it might be overkill, since just 
making sure to publish the final swf on the platform they were layed out 
in, might fix the problem. In our environment, I do programming on the 
PC, and the designers do layout on the Mac, so after they do the layout, 
I have to program it, then send it back to them for final output to get 
the fonts to line up. I'm not sure how to work in the shared font libs, 
but I would bet that using two different libs (one PC and one Mac) would 
fix it.


Kevin N.


Serge Jespers wrote:

Hey guyz,

I'm working on this project that has a shared library with some 
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not 
that that should matter but I'm taking a wild guess this is the 
problem...


The situation... Both his PC and my Mac have all the fonts... Same TTF 
files. However, if I use the shared fonts in the swf on the server, 
they come out looking like this: 
http://webkitchen.be/downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the one 
on the server, the text comes out right but is shifted down by quite a 
few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a some 
50k to each swf? Or is there something we may not have thought about?


Thanks for your help,
Serge





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Maths bug???

2006-04-28 Thread

Thanks Ian... I was aware of the problem in general from experiences with Java, 
but I guess I'd ignored them.

I'm multiplying by 100 and dividing by 100 also. If I'd written this system 
from scratch i'd have created my own numeric class and represented floating 
point numbers as 2 seperate variables...


Here's a direct lift from something I posted on the OSFlash list...This is all 
to do with floating-point precision and that you can'trepresent all numbers 
exactly (0.1 is one culprit) in the IEEstandard. There are plenty of sites 
about this - see here, 
forexample:http://en.wikipedia.org/wiki/Floating_point#Problems_with_floating-pointYou
 are almost certainly better off working with integers; or perhapsmultiplying 
up your numbers by 100 before working with them, thenreducing as a final step, 
or something similar.This is not just limited to Flash/AS2 as an issue.IanOn 
4/28/06, [EMAIL PROTECTED] .figleaf.com

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] NetStream.seek() delay- how long does it take to actually affect the stream.time value?

2006-04-28 Thread Manuel Saint-Victor

i am trying to update a progressbar based on the netstream.time but find
that right after the seek the value is not accurate.  Is there a delay with
updating the time based on seek and what is the reccomended way to handle
that?

Thanks


Mani
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Maths bug???

2006-04-28 Thread Johannes Boyne
I am a bit shocked, too. But yeah, I think you are right, I tried it 
with the subtraction assignment (-=), too and I have the same return.

The second queer thing is that Macromedia says:

"The following statement subtracts the floating-point number 1.5 from 
the floating-point number 3.25 [ 3.25 - 1.5 = 1.75 ]"


That is true, flash trace it right!

I am confused,
greets johannes



[EMAIL PROTECTED] schrieb:

Apologies if this is common knowledge, but I've just come across a huge maths 
problem in Flash... as I've mentioned before I'm working on an online trading 
system where real people make or lose real money, sometimes a huge amount of 
it, so this isn't funny...

Here's some simple arithmetic..

var a:Number = 171.9;
var b:Number = 172.2;
var c:Number;
c = b - a;

Now an elementary school kid would probably give the answer 0.3
Unfortunately Flash has other ideas...

trace(c);
0.283

I'm a bit shocked to be honest. Am I imagining it? 

I'm aware that AS3 introduces proper integers and floats for arithmetic, but that doesnt address my problem now. 


What says the wise Chattyfig community??

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Maths bug???

2006-04-28 Thread Ian Thomas

Here's a direct lift from something I posted on the OSFlash list...

This is all to do with floating-point precision and that you can't
represent all numbers exactly (0.1 is one culprit) in the IEE
standard. There are plenty of sites about this - see here, for
example:
http://en.wikipedia.org/wiki/Floating_point#Problems_with_floating-point

You are almost certainly better off working with integers; or perhaps
multiplying up your numbers by 100 before working with them, then
reducing as a final step, or something similar.

This is not just limited to Flash/AS2 as an issue.

Ian

On 4/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Apologies if this is common knowledge, but I've just come across a huge maths 
problem in Flash... as I've mentioned before I'm working on an online trading 
system where real people make or lose real money, sometimes a huge amount of 
it, so this isn't funny...

Here's some simple arithmetic..

var a:Number = 171.9;
var b:Number = 172.2;
var c:Number;
c = b - a;

Now an elementary school kid would probably give the answer 0.3
Unfortunately Flash has other ideas...

trace(c);
0.283

I'm a bit shocked to be honest. Am I imagining it?

I'm aware that AS3 introduces proper integers and floats for arithmetic, but 
that doesnt address my problem now.

What says the wise Chattyfig community??

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] TextField as Menu?

2006-04-28 Thread August Gresens

Thanks - I'll give it a shot. It occurred to me later I could also roll my
own menu using a series of textfields in a clip - but that seems like more
work. August

On 4/27/06, Marc Hoffman <[EMAIL PROTECTED]> wrote:


If you use HTML text, you can use "
>The TextField Class supports scrolling, and determining the mouse
location
>within it's region. Is there any way to determine which line was clicked,
>and getting the contents of the line?
>
>Thanks,
>
>August
>
>--
>-
>
>
>August Gresens
>Technical Director
>Black Hammer Productions, NYC
>[EMAIL PROTECTED]
>
>-
>
>___
>Flashcoders@chattyfig.figleaf.com
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problem with removeEventListener and Delegate

2006-04-28 Thread Manuel Saint-Victor

Thanks- I actually came across it in the livedocs.  That is sort of a
strange way to do it.

Mani


On 4/28/06, Stéphane Bebrone <[EMAIL PROTECTED]> wrote:


Hi Manuel,

You must declare a reference to your delegate function to safety remove it
with removeEventListener.

Here is a code snippet:

var fdel:Function = Delegate.create(this, videoUpdates);

public function videoUpdates(ev)
{
...
this.removeEventListener(fdel);
}

2006/4/27, Manuel Saint-Victor <[EMAIL PROTECTED]>:
>
> I am using the following code to add an eventListener
> VideoModel.getInstance().addEventListener("startUpdates",
> Delegate.create(this, videoUpdates));
>
>
> Later when this dispatched event is caught I'm using the following to
try
> to
> remove the listener but it is not working- Am I missing some other
detail.
>
>
> public function videoUpdates(ev){
> Logger.info("updated");
> Logger.info("source:"+ ev.source._name);
> if(ev.source._name==targetVideo || targetVideo=="defaultVideo"){
> Logger.info("BINGO");
> this.assignedStream=ev.stream;
> Logger.debug(ev.target);
> VideoModel.getInstance().removeEventListener("startUpdates",
> this.videoUpdates);
> }
> Logger.info("i am "+ this  +" my targetVideo is"+ targetVideo);
>
> }
> I also tried removing the listener using  a reference that was passes in
> through the event object with no success.
> Please help- I can't figure out why it's failing.
>
> Mani
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Regards,
Stéphane Bebrone
--
Flash | ASP.NET | Web Developer
http://weblog.shaoken.be
--
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Xray Trouble Shooting

2006-04-28 Thread John Grden

Heres' an official post on the subject as well:

http://labs.blitzagency.com/?p=46

Thanks Jc!

JG

On 4/28/06, j.c.wichman <[EMAIL PROTECTED]> wrote:


Hi,
This other post by John might help too:)))
http://osflash.org/pipermail/xray_osflash.org/2005-November/000273.html

It solved it for my anyway, the problem was that I exported my classes in
frame 10 instead of one,
And so I had to move the xray connector too and add the code mentioned in
his post.

Greetz
Hans



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of John Grden
> Sent: Friday, April 28, 2006 6:04 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Xray Trouble Shooting
>
> labs.blitzagency.com - that's the official home / information
> source for xray
>
> Let me know if I can help out,
>
> JG
>
> On 4/27/06, Charles Parcell <[EMAIL PROTECTED]> wrote:
> >
> > Is there a document/web site that outlines specific issues
> revolving
> > around Xray?  I have encountered a project where the primary Flash
> > file was developed by someone else. After adding the Xray
> component I
> > am unable to get Xray to connect. I have gone through all
> of the code
> > in this primary file and there is nothing obvious that I
> can see as to
> > why I am unable to get connection between the component and the
> > client.
> >
> > I was just wondering if there was a "Things that could
> break Xray" or
> > "Things to watch out for when injecting Xray" site some where?
> >
> > Many thanks.
> > Charles P.
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
>
>
>
> --
> John Grden - Blitz
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash Maths bug???

2006-04-28 Thread

Apologies if this is common knowledge, but I've just come across a huge maths 
problem in Flash... as I've mentioned before I'm working on an online trading 
system where real people make or lose real money, sometimes a huge amount of 
it, so this isn't funny...

Here's some simple arithmetic..

var a:Number = 171.9;
var b:Number = 172.2;
var c:Number;
c = b - a;

Now an elementary school kid would probably give the answer 0.3
Unfortunately Flash has other ideas...

trace(c);
0.283

I'm a bit shocked to be honest. Am I imagining it? 

I'm aware that AS3 introduces proper integers and floats for arithmetic, but 
that doesnt address my problem now. 

What says the wise Chattyfig community??

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Serge Jespers

Yeah... I know they're inconsistent...
But I mean... Why is this still the case...?

I've now added a 200ms interval that executes the play command...  
That works...


Serge


Try moving the stop (and related content) down to frame 2.  That  
usually clears up problems of stop + play (or stop + gotoAndPlay)  
not working at all or inconsistently.


Helen


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Helen Triolo
Try moving the stop (and related content) down to frame 2.  That usually 
clears up problems of stop + play (or stop + gotoAndPlay) not working at 
all or inconsistently.


Helen

--
http://flash-creations.com
http://i-technica.com



Serge Jespers wrote:



Hey guys,

I'm using this MovieClipLoader thing to load in some movieclips...  
And when they're loaded, I want them to play... Very simple, no?  
Well...

For some reason, some are playing and some aren't...

I was just wondering... We currently have stop() commands in the  
first frame of each loaded swf so they don't start playing before we  
want them to actually play so we can add some variables to it before  
it starts playing.


Now, onLoadInit is called when the actions in the first frame of the  
loaded clip are executed, right?


So if the first frame holds a stop(); command and onLoadInit is like  
this:

mclListener.onLoadInit = function(target_mc:MovieClip) {
// loading done
// setting some vars here before we play it
target_mc.play();
};
the loaded movieclip should start playing, no?

Well... some are, and some aren't... :-(

Any thoughts?

Serge




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MovieClipLoader :: onLoadInit

2006-04-28 Thread Serge Jespers


Hey guys,

I'm using this MovieClipLoader thing to load in some movieclips...  
And when they're loaded, I want them to play... Very simple, no?  
Well...

For some reason, some are playing and some aren't...

I was just wondering... We currently have stop() commands in the  
first frame of each loaded swf so they don't start playing before we  
want them to actually play so we can add some variables to it before  
it starts playing.


Now, onLoadInit is called when the actions in the first frame of the  
loaded clip are executed, right?


So if the first frame holds a stop(); command and onLoadInit is like  
this:

mclListener.onLoadInit = function(target_mc:MovieClip) {
// loading done
// setting some vars here before we play it
target_mc.play();
};
the loaded movieclip should start playing, no?

Well... some are, and some aren't... :-(

Any thoughts?

Serge

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] focus in internet explorer

2006-04-28 Thread j.c.wichman
Hi,
Could be:) mine seems to work also, but you are right, I forgot about the
new 'feature'in IE.
Macromedia posted a solution as well I think, but if Karina's blog already
solved your problem, why bother:).

Greetz
Hans 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of eugen pflüger
> Sent: Friday, April 28, 2006 12:37 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] focus in internet explorer
> 
> hello hans,
> 
> thank you.
> shouldnt it be:  ();"> ?
> 
> well, none of both work. internet explorer gives me the 
> hand-cursor- symbol and a tooltip says: "click here to 
> activate this element".
> has this always been like this on windows? i never realized?
> 
> best
> eugen
> 
> 
> 
> Am 28.04.2006 um 11:17 schrieb j.c.wichman:
> 
> > Hi,
> >
> >   will take the focus away from your 
> > flash object.
> >  should do the 
> > trick.
> >
> > Greetz
> > Hans
> >
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On 
> Behalf Of eugen 
> >> pflüger
> >> Sent: Friday, April 28, 2006 10:37 AM
> >> To: Flashcoders mailing list
> >> Subject: [Flashcoders] focus in internet explorer
> >>
> >> hello guys and girls,
> >>
> >> maybe i missed something...but when i start my flashfilm in ie on 
> >> windows i always have to click first one time so that the 
> flash film 
> >> detects rollovers and everything.
> >> i know all that stuff with focus and so on.
> >> but i never encountred it this way. i swear it did behave 
> normal all 
> >> those years :)
> >>
> >> did something change?
> >> on firefox and safari is everthing alright.
> >>
> >> i also tried this in my html:
> >> 
> >> but it has no effect in internet explorer.
> >>
> >> best
> >> eugen
> >>
> >> ___
> >> Flashcoders@chattyfig.figleaf.com
> >> To change your subscription options or search the archive:
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >> Brought to you by Fig Leaf Software
> >> Premier Authorized Adobe Consulting and Training 
> >> http://www.figleaf.com http://training.figleaf.com
> >>
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com
> >
> 
> 
> 
> 
> 
> 
> 
> 
> plugisto
> ...
> eugen pflüger
> 
> alexanderstr. 109
> 70180 stuttgart
> 
> fon +49.711.6739797
> mobil   +49.177.6428272
> e-mail  [EMAIL PROTECTED]
> ...
> http://www.plugisto.net
> http://itself.pmalc.de
> http://www.lifeperformance.net
> 
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Export classes on frame other than 1 - app fails

2006-04-28 Thread Adrian Park
Hi all,

The preloading of the app' I'm working on is not working properly when
classes are exported on first frame. This is because they are large enough
to have a significant effect on the loading of the .swf as a whole (yes,
they can and should be optimised, if only I had that luxury!). More
specifically, the application works fine when tested locally but sometimes
doesn't initialise correctly in the live environment.

If I set the classes to export in frame 2 and move all code currently in
frame 1 onto frame 2, the application initialises correctly when I test
locally using 'Simulate Download' but does not initialise fully when I just
use a standard 'Test Movie' (I haven't tested it live yet). I can see that
some things are initialising correctly but some views, apparently those
using V2 components, are not initialising at all. The output window reports
no errors. So, I find myself in a situation where all indications are that
the preloading is working as I'd like it but i can no longer conveniently
test the app locally (without using 'Simulate Download' I mean)!

Can anyone suggest what is causing this? I could start delving into the
internals of the app and try to work out what isn't initialising and why but
I thought I'd check if there is a more obvious answer first.

Other specifics to note are:
- I have used V2 components extensively (might they be causing this?)
- I have turned off 'export in first frame' on ALL linked assets and have
dumped them in a movie clip which is placed on a later frame on the main
timeline - this ensures the preloader loads first and this all seems to work
fine.
- I'm positive everything has loaded because the app is not instantiated
until I press a button (included for testing) and still doesn't work even if
wait a while before instantiating the app.
- there are 2 components, Slider and EnhancedDataGrid, which are not part of
the standard compenent library and which I've had to set to export on first
frame because the app fails to compile of I don't! Could this be something
to do with it?

TIA
Adrian P
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Flash Player 6 on PSP

2006-04-28 Thread Joe Cutting

John Dowdell wrote
>>
Yes, the file format runs on multiple devices, but not all content will
run identically on all devices. In hallway talks with other Adobe
staffers today this is something we'll have to work on, cross-device
creation guides, not just for SWF but also for HTML and video.
>>
Hmm, some time ago I saw some comments from an Adobe staffer 
regarding an open source
flash player project. They made some very good points regarding the 
problems of "forking" the player - in that
it would lead to consumer confusion as to what were the capabilities 
of each player and what they needed installed to run what.


It seems to me that as Flash is being rolled out for more different 
devices this forking problem is raising its ugly head.
Not only do we have to cope with different versions of Flash on 
personal computers but we also have different versions for phones 
(Flash lite 1.0 and Flashlite 2.0) and now a "cut-down" version of 
Flash 6 for the PSP. Now I suspect that Adobe are
aware that this is a problem but are being squeezed between the 
politics of what manufacturers want to put on their machines and the 
technical limitations of these devices.


As to what we do about it I have two suggestions. One of them is 
pretty straightforward - the other less so.


1) Create a definitive "FlashMark" benchmark program which lets you 
test your hardware and see how fast it goes.
Manufacturers would also be encouraged to publicize the results from 
their devices. I can see this being popular with companies like Nokia 
because they could encourage you to buy a new phone because its 
FlashMark was much better than your old one. It would also be useful 
for benchmarking PCs, rather than the usual 3D game/video encoding 
benchmarks which get used at the moment and with the rollout of dual 
core chips are becoming increasingly less useful for gauging flash 
performance. Ideally you'd also be able to run the development 
environment at a lower FlashMark to simulate running on another device.


2) Get stricter with manufacturers regarding the capabilities of 
different players. Introduce a simple system of "player capabilites" 
and then run a certification scheme whereby you certify that 
different devices will run a certain level of player
with no glitches. I suspect that Adobe is moving towards this and 
that players will settle down a bit more when version 8.5 comes out 
and at the moment they're waiting for it and willing to tolerate 
dodgy players to encourage a wider takeup.


The great strength of Flash as a distribution platform is that I can 
write a program and know that it will run on almost any PC in general 
without me having to worry that the user won't have the right 
libraries or that a particular function might not work. This is 
obviously going to get more difficult with a larger number of devices 
but I think its a worth working at.


Hmm, that's enough from me - what do other people think? It would be 
great to have an official "road map" from Adobe because the other 
defining feature of all this device development is that information 
seems to come out on a bit by bit which

makes it difficult to plan ahead with any certainty.

Joe

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Autoscroll on ScrollPane component?

2006-04-28 Thread André Goliath
Hi there,

I can´t seem to figur out how to auto-scroll a ScrollPane.
I use my_sp.content.attachMovieClip to add instances of a MC on-the-fly to
the end of a ScrollPane.
Now i would like to autoscroll the pane down.
I tried my_sp.vPosition to scroll down by code, but it does not work.

Anyone seen anything similar to this?

Thanks,

André 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] MC Tween

2006-04-28 Thread Adrian Lynch
Thank you thank you thank you...

... and once more thank you.

I understand how it works, I just had a warped view of the code I was
writing.

Thanks for the great explanation. Very much appreciated.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Zeh
Fernando
Sent: 28 April 2006 11:51
To: Flashcoders mailing list
Subject: Re: [Flashcoders] MC Tween


> I'm using MC Tween on some navigation blocks. Three blocks on top of each
> other, they start out equal in side, when you click on one, it opens up
> and
> the others close up.
> This involves tweening the clip's height and y coord. It works great for
> basic MCs(see the good link below), but when I change it so that the
> height
> change is applied to a nested MC it goes all screwy.
> Does anyone know of a problem with using this library in relation to
> nested
> MCs.

There's no problem with the library in relation to nested MCs. The problem
with your code on nested MCs is that instead of applying the code to the
nested MCs all the time - like you did with the 'un-nested' version - you're
applying it sometimes to the MC itself, and sometimes to the nested MCs.
Like increasing the _height of the parent MC but then decreasing the height
of the parent MC.

Think about it this way: forget about mc tween for a while. Instead of
applying _y and _height tweens, directly apply values to the properties, as
in

 navBlock3._y = 200;

Will it work? In your second case, the nested FLA, it won't, no matter what
extension you use, because there are reference problems. So before thinking
of fixing problems on the animation, see if your movieclip references are
correct. The tween() function works just like assigning values to the
properties - so if the references themselves are wrong, there's no way it's
gonna work.

Anyways, this is your 'nested' code:

navBlock1.onPress = function() {
 if ( this.state == 1 || this.state == 2 ) {
  this.tween("_height", STATE_HEIGHTS[3], TWEEN_TIME);
  this.state = 3;
  trace("closing " + 2 + " and " + 3);
  navBlock2.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2);
navBlock2.state = 1;
  navBlock3.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2);
navBlock3.state = 1;
  navBlock2.tween("_y", 150, TWEEN_TIME);
  navBlock3.tween("_y", 200, TWEEN_TIME);
 }
};

Notice you're changing the _height of the movieclip being expanded itself,
but when resetting the other two movieclips, you're changing the height of
the inner movie. This won't work; you have to use the inner movie or the
outer movie for both.

So instead, it should be this:

navBlock1.onPress = function() {
 if ( this.state == 1 || this.state == 2 ) {
  this.navBlockBG.tween("_height", STATE_HEIGHTS[3], TWEEN_TIME);
  this.state = 3;
  trace("closing " + 2 + " and " + 3);
  navBlock2.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2);
navBlock2.state = 1;
  navBlock3.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2);
navBlock3.state = 1;
  navBlock2.tween("_y", 150, TWEEN_TIME);
  navBlock3.tween("_y", 200, TWEEN_TIME);
 }
};

Also, the other functions (navBlock2.onPress and navBlock3.onPress) have old
references, from the un-nested file, so you should properly make it tween
the navBlockBG movies instead - properly tweening the _height of your nested
navBlockBG instead of just the parent movieclip. In the end, just around one
sixth of the code of your second FLA is made for tweening the nested MCs, so
it's not gonna work until you go all the way.

Again, you can't mix expect to change the _height of a movieclip and expect
to change it back by resizing its parent or its child - it won't work
properly. If you want to reset the movieclip back, it should reset its own
_height.


- Zeh

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] focus in internet explorer

2006-04-28 Thread eugen pflüger

hey,

it works. great script.

thanks for your help.

best
eugen


Am 28.04.2006 um 12:41 schrieb Suhas Kotkar:


Hi,
   Please refer to the following link to get the more details:

http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm

This is because of the security added in the Internet explorer by MS.

Regards,

Suhas


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders- 
[EMAIL PROTECTED] On Behalf Of eugen pflüger

Sent: Friday, April 28, 2006 4:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] focus in internet explorer

hello hans,

thank you.
shouldnt it be:  ?

well, none of both work. internet explorer gives me the hand-cursor-
symbol and a tooltip says: "click here to activate this element".
has this always been like this on windows? i never realized?

best
eugen



Am 28.04.2006 um 11:17 schrieb j.c.wichman:


Hi,

  will take the focus away from your
flash
object.
 should do the
trick.

Greetz
Hans




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of eugen pflüger
Sent: Friday, April 28, 2006 10:37 AM
To: Flashcoders mailing list
Subject: [Flashcoders] focus in internet explorer

hello guys and girls,

maybe i missed something...but when i start my flashfilm in
ie on windows i always have to click first one time so that
the flash film detects rollovers and everything.
i know all that stuff with focus and so on.
but i never encountred it this way. i swear it did behave
normal all those years :)

did something change?
on firefox and safari is everthing alright.

i also tried this in my html:

but it has no effect in internet explorer.

best
eugen

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] MC Tween

2006-04-28 Thread Zeh Fernando

I'm using MC Tween on some navigation blocks. Three blocks on top of each
other, they start out equal in side, when you click on one, it opens up 
and

the others close up.
This involves tweening the clip's height and y coord. It works great for
basic MCs(see the good link below), but when I change it so that the 
height

change is applied to a nested MC it goes all screwy.
Does anyone know of a problem with using this library in relation to 
nested

MCs.


There's no problem with the library in relation to nested MCs. The problem 
with your code on nested MCs is that instead of applying the code to the 
nested MCs all the time - like you did with the 'un-nested' version - you're 
applying it sometimes to the MC itself, and sometimes to the nested MCs. 
Like increasing the _height of the parent MC but then decreasing the height 
of the parent MC.


Think about it this way: forget about mc tween for a while. Instead of 
applying _y and _height tweens, directly apply values to the properties, as 
in


navBlock3._y = 200;

Will it work? In your second case, the nested FLA, it won't, no matter what 
extension you use, because there are reference problems. So before thinking 
of fixing problems on the animation, see if your movieclip references are 
correct. The tween() function works just like assigning values to the 
properties - so if the references themselves are wrong, there's no way it's 
gonna work.


Anyways, this is your 'nested' code:

navBlock1.onPress = function() {
if ( this.state == 1 || this.state == 2 ) {
 this.tween("_height", STATE_HEIGHTS[3], TWEEN_TIME);
 this.state = 3;
 trace("closing " + 2 + " and " + 3);
 navBlock2.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2); 
navBlock2.state = 1;
 navBlock3.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2); 
navBlock3.state = 1;

 navBlock2.tween("_y", 150, TWEEN_TIME);
 navBlock3.tween("_y", 200, TWEEN_TIME);
}
};

Notice you're changing the _height of the movieclip being expanded itself, 
but when resetting the other two movieclips, you're changing the height of 
the inner movie. This won't work; you have to use the inner movie or the 
outer movie for both.


So instead, it should be this:

navBlock1.onPress = function() {
if ( this.state == 1 || this.state == 2 ) {
 this.navBlockBG.tween("_height", STATE_HEIGHTS[3], TWEEN_TIME);
 this.state = 3;
 trace("closing " + 2 + " and " + 3);
 navBlock2.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2); 
navBlock2.state = 1;
 navBlock3.navBlockBG.tween("_height", STATE_HEIGHTS[1], 2); 
navBlock3.state = 1;

 navBlock2.tween("_y", 150, TWEEN_TIME);
 navBlock3.tween("_y", 200, TWEEN_TIME);
}
};

Also, the other functions (navBlock2.onPress and navBlock3.onPress) have old 
references, from the un-nested file, so you should properly make it tween 
the navBlockBG movies instead - properly tweening the _height of your nested 
navBlockBG instead of just the parent movieclip. In the end, just around one 
sixth of the code of your second FLA is made for tweening the nested MCs, so 
it's not gonna work until you go all the way.


Again, you can't mix expect to change the _height of a movieclip and expect 
to change it back by resizing its parent or its child - it won't work 
properly. If you want to reset the movieclip back, it should reset its own 
_height.



- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] focus in internet explorer

2006-04-28 Thread Suhas Kotkar
Hi,
   Please refer to the following link to get the more details:

http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm

This is because of the security added in the Internet explorer by MS. 

Regards,

Suhas


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eugen pflüger
Sent: Friday, April 28, 2006 4:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] focus in internet explorer

hello hans,

thank you.
shouldnt it be:  ?

well, none of both work. internet explorer gives me the hand-cursor- 
symbol and a tooltip says: "click here to activate this element".
has this always been like this on windows? i never realized?

best
eugen



Am 28.04.2006 um 11:17 schrieb j.c.wichman:

> Hi,
>
>   will take the focus away from your  
> flash
> object.
>  should do the  
> trick.
>
> Greetz
> Hans
>
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf
>> Of eugen pflüger
>> Sent: Friday, April 28, 2006 10:37 AM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] focus in internet explorer
>>
>> hello guys and girls,
>>
>> maybe i missed something...but when i start my flashfilm in
>> ie on windows i always have to click first one time so that
>> the flash film detects rollovers and everything.
>> i know all that stuff with focus and so on.
>> but i never encountred it this way. i swear it did behave
>> normal all those years :)
>>
>> did something change?
>> on firefox and safari is everthing alright.
>>
>> i also tried this in my html:
>> 
>> but it has no effect in internet explorer.
>>
>> best
>> eugen
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com http://training.figleaf.com
>>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>








plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] focus in internet explorer

2006-04-28 Thread eugen pflüger

hello hans,

thank you.
shouldnt it be: ();"> ?


well, none of both work. internet explorer gives me the hand-cursor- 
symbol and a tooltip says: "click here to activate this element".

has this always been like this on windows? i never realized?

best
eugen



Am 28.04.2006 um 11:17 schrieb j.c.wichman:


Hi,

  will take the focus away from your  
flash

object.
 should do the  
trick.


Greetz
Hans




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of eugen pflüger
Sent: Friday, April 28, 2006 10:37 AM
To: Flashcoders mailing list
Subject: [Flashcoders] focus in internet explorer

hello guys and girls,

maybe i missed something...but when i start my flashfilm in
ie on windows i always have to click first one time so that
the flash film detects rollovers and everything.
i know all that stuff with focus and so on.
but i never encountred it this way. i swear it did behave
normal all those years :)

did something change?
on firefox and safari is everthing alright.

i also tried this in my html:

but it has no effect in internet explorer.

best
eugen

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] MC Tween

2006-04-28 Thread Adrian Lynch
I'm using MC Tween on some navigation blocks. Three blocks on top of each
other, they start out equal in side, when you click on one, it opens up and
the others close up.

This involves tweening the clip's height and y coord. It works great for
basic MCs(see the good link below), but when I change it so that the height
change is applied to a nested MC it goes all screwy.

Does anyone know of a problem with using this library in relation to nested
MCs.

The library: http://hosted.zeh.com.br/mctween/index.html

My files

Working version with no nested MCs:
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block_1.swf
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block_1.fla


Broken version with nested MCs:
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block.swf
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block.fla

Even a quick look at the code to see if I've made a typo would be great.

This is in 2004 Pro and I'm using the latest MC Tween, 2.28.29.

Thanks all.

Adrian Lynch

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] beginBitmapFill makes IDE crash if texture has alpha channel

2006-04-28 Thread Christian Giordano
As you can imagine it is quite difficult to debug, especially because it 
happens often (not always) and of course because Flash closes in a mo. 
But after hundreds of tests it seems so. It happens during intensive 
calculates and if played outside the IDE nothing bad happens. Did anyone 
encounter the same issue? Any solution also if of course the important 
is what happens outside the IDE?


Best, chr
--
___
{ Christian Giordano's site and blog @ http://cgws.nuthinking.com }
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Are you a help vampire?

2006-04-28 Thread lists
Self confessed help vampire here. To be honest, I have browsed for
questions to
answer but have seen none I feel capable of answering yet. I shall, however,
endeavour to answer one soon :-).

While off topic for a minute, I would also add that personally I would prefer
this all to be in web forum rather than mailing lists as it seems much easier
to keep track of threads and spot unanswered queries. I do expect flames for
that last comment :P. Nevermind.

Kev

Quoting ryanm <[EMAIL PROTECTED]>:

>> I've been a member of a group , more "strict" than any other groups.
>> It's a place for C/C++ programmers where Help Vampires more than
>> often get these replies :
>>
>Heh, that's old school. Back in the day, when all this kind of
> discussion took place on newsgroups, that was standard fare. Except
> that there wasn't any google, and vampires were told to restate their
> questions in the form of a haiku.
>
>Ah, the good old days when flame cascades were relegated to afk-mn
> (alt.fan.karl-malden.nose for the uninitiated)... good stuff. There
> is no cabal.
>
> ryanm ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>




- End forwarded message -

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] focus in internet explorer

2006-04-28 Thread j.c.wichman
Hi,
 
  will take the focus away from your flash
object.
 should do the trick.

Greetz
Hans

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of eugen pflüger
> Sent: Friday, April 28, 2006 10:37 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] focus in internet explorer
> 
> hello guys and girls,
> 
> maybe i missed something...but when i start my flashfilm in 
> ie on windows i always have to click first one time so that 
> the flash film detects rollovers and everything.
> i know all that stuff with focus and so on.
> but i never encountred it this way. i swear it did behave 
> normal all those years :)
> 
> did something change?
> on firefox and safari is everthing alright.
> 
> i also tried this in my html:
> 
> but it has no effect in internet explorer.
> 
> best
> eugen
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread Danny Kodicek
> I'm working on this project that has a shared library with some
> movieclips and fonts...
> It are those fonts that cause quite a bit of stress...
>
> The designer on this project is on a PC and I work on a Mac... Not
> that that should matter but I'm taking a wild guess this is the
> problem...
>
> The situation... Both his PC and my Mac have all the fonts... Same
> TTF files. However, if I use the shared fonts in the swf on the
> server, they come out looking like this: http://webkitchen.be/
> downloads/sharedfonts.png
> Not really what was intended...

It looks like you're dealing with the same problem I've been struggling with
recently. It's all about code pages. Windows and Macs have different ways of
translating text info into characters. The lower-end characters (those in
the ASCII range from 0-127) are the same. The higher end ones (in the ANSI
range 128-255) are different. You can see them in these tables:
http://en.wikipedia.org/wiki/Mac_OS_Roman,
http://en.wikipedia.org/wiki/Windows-1252 (These are for English-language
OS's; for other languages the encodings are different again).

There are a number of ways to deal with this. One is simply to switch to
Unicode. Unicode is cross-platform and will work in any language. If you
can't use Unicode for some reason, you have two options: either create two
fonts, one for the Mac and one for Windows (possibly more if you need to
deal with multiple regions), or do what I did, which is to run a translation
function to change your text from one code page to the other (eg, running
myText.split(String.fromCharCode(128)).join(String.fromCharCode(219)) will
swap a Windows Euro symbol with a Mac Euro symbol). This isn't going to
solve your problem in a general sense, and it will only work for those
characters that are represented in both code pages, but if you have some
control over which characters you will be using, it will do the job.

Best
Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared fonts nightmare

2006-04-28 Thread eugen pflüger

i never worked with shared fonts but maybe this could help you:
http://www.sharedfonts.com

e


Am 28.04.2006 um 09:44 schrieb Serge Jespers:


Hey guyz,

I'm working on this project that has a shared library with some  
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not  
that that should matter but I'm taking a wild guess this is the  
problem...


The situation... Both his PC and my Mac have all the fonts... Same  
TTF files. However, if I use the shared fonts in the swf on the  
server, they come out looking like this: http://webkitchen.be/ 
downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the  
one on the server, the text comes out right but is shifted down by  
quite a few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a  
some 50k to each swf? Or is there something we may not have thought  
about?


Thanks for your help,
Serge


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] focus in internet explorer

2006-04-28 Thread eugen pflüger

hello guys and girls,

maybe i missed something...but when i start my flashfilm in ie on  
windows i always have to click first one time so that the flash film  
detects rollovers and everything.

i know all that stuff with focus and so on.
but i never encountred it this way. i swear it did behave normal all  
those years :)


did something change?
on firefox and safari is everthing alright.

i also tried this in my html:

but it has no effect in internet explorer.

best
eugen

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared fonts nightmare

2006-04-28 Thread Serge Jespers

Hey guyz,

I'm working on this project that has a shared library with some  
movieclips and fonts...

It are those fonts that cause quite a bit of stress...

The designer on this project is on a PC and I work on a Mac... Not  
that that should matter but I'm taking a wild guess this is the  
problem...


The situation... Both his PC and my Mac have all the fonts... Same  
TTF files. However, if I use the shared fonts in the swf on the  
server, they come out looking like this: http://webkitchen.be/ 
downloads/sharedfonts.png

Not really what was intended...

If I make that library again, and use my shared lib instead of the  
one on the server, the text comes out right but is shifted down by  
quite a few pixels causing the design to be screwed up...


So yeah... Should we just drop the shared fonts and thereby add a  
some 50k to each swf? Or is there something we may not have thought  
about?


Thanks for your help,
Serge


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Xray Trouble Shooting

2006-04-28 Thread j.c.wichman
Hi,
This other post by John might help too:)))
http://osflash.org/pipermail/xray_osflash.org/2005-November/000273.html

It solved it for my anyway, the problem was that I exported my classes in
frame 10 instead of one, 
And so I had to move the xray connector too and add the code mentioned in
his post.

Greetz
Hans

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of John Grden
> Sent: Friday, April 28, 2006 6:04 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Xray Trouble Shooting
> 
> labs.blitzagency.com - that's the official home / information 
> source for xray
> 
> Let me know if I can help out,
> 
> JG
> 
> On 4/27/06, Charles Parcell <[EMAIL PROTECTED]> wrote:
> >
> > Is there a document/web site that outlines specific issues 
> revolving 
> > around Xray?  I have encountered a project where the primary Flash 
> > file was developed by someone else. After adding the Xray 
> component I 
> > am unable to get Xray to connect. I have gone through all 
> of the code 
> > in this primary file and there is nothing obvious that I 
> can see as to 
> > why I am unable to get connection between the component and the 
> > client.
> >
> > I was just wondering if there was a "Things that could 
> break Xray" or 
> > "Things to watch out for when injecting Xray" site some where?
> >
> > Many thanks.
> > Charles P.
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training 
> > http://www.figleaf.com http://training.figleaf.com
> >
> 
> 
> 
> --
> John Grden - Blitz
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com