Re: [Flashcoders] another mtasc question

2006-06-14 Thread Nicolas Cannasse
 I'm just full of questions today :)
 
 Jason Nussbaum's AS2 Base64 class makes use of the symbol \+, 
 something mtasc protests. Why? :)
 
 - A

Use \\+ instead.
MTASC enforces valid escape sequences, so for instance if you use by
mistake \m instead of \n it will give you an error.

Nicolas
___
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 coders content degrading

2006-06-14 Thread Mark Winterhalder

On 6/13/06, Matt Mc [EMAIL PROTECTED] wrote:

First I would like to say sorry for being snappy. I took an email in the wrong 
way. Thanks for setting me straight.


No problem, Matt.
As I said, lack of sleep can do that to you :)

Mark

--
http://snafoo.org/

key: 1BD689C0 (3801 6F51 4810 C674 1491 ADE7 D8F6 0203 1BD6 89C0)
___
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] how to decode base64 data and display in flash

2006-06-14 Thread Santhakumar K

Hi Matthias,
 some of  my images may very big.So I have solved this problem by sending
my base64 data to servlet and it returns the bye array that i can able to
display using loadmovie.

Regards,
santhakumar


On 6/12/06, Matthias Dittgen [EMAIL PROTECTED] wrote:


Hi Santhakumar,

If your image data is not too big in size/resolution (pixel * pixel),
you could repaint it after decoding, for example:
* Have a class painting a 1*1 pixel sized square and put it to
specific coordinates x/y.
* Decode your base64 encoded image.
* paint your image line by line.

This solution is probably not a good idea for big pictures, but should
work for a single small thumbnail sized picture. You might combine the
painting with nice effects, other than line by line.

I am looking forward to your feedback. Regards,

Matthias


2006/6/9, Santhakumar K [EMAIL PROTECTED]:
 Flashcoders,
In my application I received image data inform of base64. I have to
 decode that data and display in flash using actionscript 2.0. I cannot
able
 to do it. I try to to use this class
 http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as
 *
 but it dosent works.

 Thanks,

 --Santhakumar K Chennai India
http://www22.brinkster.com/zkumar/main.html
 ___
 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





--
Santhakumar KChennai Indiahttp://www22.brinkster.com/zkumar/main.html
___
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] externalInterface Issue

2006-06-14 Thread David Rorex

Post with some info about some of the problems/bugs in ExternalInterface:
http://codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.html

In general, whoever coded ExternalInterface should be fired. Great idea,
terrible implementation. Have they ever heard of unit tests and boundary
conditions?

-David R

On 6/13/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote:


Not really, just create an ArrayToString parser function :)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 13 June 2006 15:11
To: Flashcoders mailing list
Subject: RE: [Flashcoders] externalInterface Issue

Yeah sending it in chunks is an option but that requires more from the
backend.

A friend of mine just explained that it probably had to do with Firefox
being able to directly communicate with the plugin which would make it
lightningfast...and IE doesnt do this which makes it slower.

// joakim


 As an actual helpful reply, you could always try cutting the string
down
 and then send the string in separate vars.  Actually, have you tried
 sending the thing cut up into an Array?  You could always do a join()
on
 the other side.

 Lee



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: 13 June 2006 14:50
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] externalInterface Issue

 Are there any known limitations when using the ExternalInterface to
send
 large amounts of data.

 I set up this example and I'm not liking the result.

 1. Code in flash
 import flash.external.ExternalInterface;
 ExternalInterface.call(receiveData,massiveString);


 2. Code on htmlpage
 function receiveData(args) {

   alert(result:  + args.colorData.length);
   return args.colorData.length;

 }

 Firefox and Internet Explorer obviously treats this differently. While
 Firefox communicates with flash almost instantly and sends the string
 with
 minimal delay Internet Explorer times out when the string gets to big.

 So my question is
 How come the two browsers handles this differently and how could i
work
 around it so that i can send that massive string.

 Thanks,

 joakim

 ___
 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] Eolas fix and backspace key flash bug

2006-06-14 Thread Karina Steffens
Hi Alec,

You could try ObjectSwap on my blog -
http://www.neo-archaic.net/blog/2006/04/25/objectswap.htm

Karina  

 -Original Message-
 From: Alec Matusis [mailto:[EMAIL PROTECTED] 
 Sent: 13 June 2006 19:49
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Eolas fix and backspace key flash bug
 
 I have to embed flash applets into web pages directly, 
 without Javascript Eolas workaround. The users therefore 
 have to click to activate the flash movie in IE. 
  
 After that, the Flash movie properly receives the text input, 
 EXCEPT for Backspace and Tab keys. Pressing Backspace has an 
 action of Back button in the browser, it takes a user back 
 one page. Pressing Tab moves the focus into another object in 
 the browser.  
  
 So it looks like when the control is activated , the Flash 
 receives only a PARTIAL focus: it accepts all text input 
 except Backspace and Tab. When you click on Flash the second 
 time, it receives full focus, and Backspace and Tab function 
 properly. 
  
 Can anyone explain this behavior? Is this an IE bug? 
 
  
 ___
 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] Zinc install to startup folder

2006-06-14 Thread Andreas Rønning
I'm writing an application that works like an auto updater, and it needs 
to run as the user boots his computer. Does anyone know how i can write 
a script to add to the installer that will create a shortcut to the 
application in the user's startup folder and then delete itself?


Thanks

--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
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 object error handling

2006-06-14 Thread Bart Wttewaall

check XML.status
http://livedocs.macromedia.com/flash/8/main/2880.html

2006/6/13, Howard Nager [EMAIL PROTECTED]:

Will the XML object's onLoad  function recognize an http 500 error message? Is 
that the argument passed to the onLoad function?
___
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] Loading MP3 fr om another domain…Is it possible?

2006-06-14 Thread David Rorex

Possible options:

1. Use a crossdomain.xml file on the mp3 server
downside: You may not have access to that server
upside: If you do have access, it's as simple as uploading a .xml file to
the server

2. Use a php proxy on your own server
downside: More bandwidth usage on your server
upside: Works even if you dont have access to the mp3 server

-David R

On 6/8/06, Marlon Harrison [EMAIL PROTECTED] wrote:


I'm putting together a small mp3 player and the mp3's that I need to
load are on another domain (Akamai)  When I test the player, the sound
plays after a few sec, but the .onLoad function does not fire. Is this
a security thing? Any suggestions?
___
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] Flashcoders Archive Broken

2006-06-14 Thread Steven Sacks
The Flashcoders Archive is broken.

How can we elitists lecture newbies to search the Flashcoders archives if it
isn't working correctly?  ;)

I realize that you are providing a free service, but if we are telling
people to check the Archives before asking the list and the archive isn't
working, we look like jerks.  IMHO, this needs to be fixed ASAP in order to
save us from ourselves (and, of course, to have a useful archive).

Searches aren't working fully, even by Author.

Example.  I searched for the term help vampire which has been brought up
many times over the past two months and it comes up with no results.

No matches were found for 'help and vampire'

However, I can look at today's posts and see the term help vampire in a
few threads.

Looking at April, two months previous:

Here's my post with help vampire right in the subject!
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-April/164715.html

That post didn't come up even when I searched by my name, even though it is
clearly written by me.

The post right after it has help vampire in the body:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-April/164716.html

Yet, no results.

Also, all the images are broken.

Help!

___
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] The Delegate class ...

2006-06-14 Thread Stephen Ford
Hello All,
 
Can anyone confirm that the Delegate class is only helpful when using 
components ?
 
Or should it also be used for events outside the component framework ?
 
No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.
 
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] Re: Flash coders content degrading (Mark Winter halder)

2006-06-14 Thread Mark Winterhalder

On 6/13/06, hank williams [EMAIL PROTECTED] wrote:

Mark,

I think a bit of confusion. It was in ken's posting, and he put your
name in the subject line. Dave then responded to ken, not you.


Yeah, Jason forwarded it to me and so I had a closer look. It was just
the WTF? moment when I thought somebody had been faking my
address...
You never know, today has been the first time I had been an elitist, too. :/

Mark

--
http://snafoo.org/

key: 1BD689C0 (3801 6F51 4810 C674 1491 ADE7 D8F6 0203 1BD6 89C0)
___
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: Re: Flash coders content degrading (Mark Winterhalder), (Dave Watts)

2006-06-14 Thread Ken Rogers
The list is still amazing once you weed out the 
RTFM/Googlables. I just wish that the moderators would do 
this job for us so the overall quality of the list could 
stay amazing. 




You do realize that this is, and always has been, an unmoderated list,
right?



Dave Watts, CTO, Fig Leaf Software



My apologies, I was using the term 'moderator' loosely and was really referring 
to the folks on the list who try and gently remind others what the list is 
about for many of us,  I will now go back to being invisible for another 5 
years. :)

P.S.- Thank you Fig Leaf for supporting this list, period. 



___
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] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Bernard Visscher
Does it have to be flash, because quicktime can do this...
http://www.ideesfortes.nl/shapesquad/


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: dinsdag 13 juni 2006 17:21
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] Transparent independent window (not wmode)3rd
party tools?

Hey thanks though - appreciate it!

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 13, 2006 11:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

Yeah, well sadly enough I can't help you with this... Neither do I
have
time for it. Sorry, otherwise I wouldn't mind to hack something up in
Delphi (win32 onyl)
___
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] ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

I've been developing a video player that has a built in API to allow
external communication (E.g.; JavaScript to Flash). But I've run into
a strange problem.

I can pass the FLV path to Flash from JavaScript and achieve
communication fine, but if I make any other callbacks to the
ExternalInterface during stream playback the stream abruptly stops.

I get no NetStream status events or NetConnection status events.
___
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] Zinc install to startup folder

2006-06-14 Thread ellen . sundh
Hi!

You can find the path to the start menu on Windows by using this:
mdm.System.Paths.startMenu;

And then you just copy your application file into this directory and it
will run on start up!

Ellen
. . . . . . . . . . . . . . . . .
Email: [EMAIL PROTECTED]



 I'm writing an application that works like an auto updater, and it needs
 to run as the user boots his computer. Does anyone know how i can write
 a script to add to the installer that will create a shortcut to the
 application in the user's startup folder and then delete itself?

 Thanks

 --

 - Andreas Rønning

 ---
 Flash guy
 Rayon Visual Concepts, Oslo, Norway
 ---
 ___
 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] Zinc install to startup folder

2006-06-14 Thread ellen . sundh
Sorry, these are the right paths to the startUp folder:

mdm.System.Paths.commonStartup;
mdm.System.Paths.allUsersStartup;

Ellen



 I'm writing an application that works like an auto updater, and it needs
 to run as the user boots his computer. Does anyone know how i can write
 a script to add to the installer that will create a shortcut to the
 application in the user's startup folder and then delete itself?

 Thanks

 --

 - Andreas Rønning

 ---
 Flash guy
 Rayon Visual Concepts, Oslo, Norway
 ---
 ___
 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] Button problem

2006-06-14 Thread Weyert de Boer

Hello,

I happen to have some odd button problem in Flash, I am going totally 
nuts over here. The problem I have is that the letter spacing is 
changing over time. Let me explain how I make my button:


1. Movieclip which encapsulates the text field with the text, the text 
field is on x,y and has a letter space of zero

   the Arial font is  embedded

2. The second movieclip is the real button which does all the rollover 
animations, this button has a actions, normal, and hover layer. The 
normal and hover layer both use the movieclip of #1. The only difference 
between the two is that the one in the hover layer has a Color Tint 
effect ont he timeline to change the color of the text.


3. I have a associated AS2.0 class which  automatically jump to the 
right label for the right i.e. onRollOver - rollover label etc.


The problem I now happen to have is when I now go with my mouse over the 
button, the text changes. One or more letters are shifted to the right, 
without any good reason (in my opinon). The movieclips both are  on the 
same x,y position (which is 0.0). The only real difference is the color 
effect.


Does anyone know how to get rid of this odd effect? I know this is a 
stupid question, but I really have it with it.


Yours,
Weyert de Boer

___
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] The Delegate class ...

2006-06-14 Thread James Marsden

The delegate class is a godsend for so many things...


// inside a class:

mc.onEnterFrame = mx.utils.Delegate.create(this, main);

function main()
{
   // the mc is calling my method, and I can access all my properties 
as if I was calling it myself

}




Stephen Ford wrote:


Hello All,

Can anyone confirm that the Delegate class is only helpful when using 
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.

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] The Delegate class ...

2006-06-14 Thread Andreas Rønning

i use Delegate for most handlers. Never used it with components

- A

Stephen Ford wrote:


Hello All,

Can anyone confirm that the Delegate class is only helpful when using 
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.

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
 


___
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] Zinc install to startup folder

2006-06-14 Thread Muzak
http://www.mdmforum.com/

Muzak

- Original Message - 
From: Andreas Rønning [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, June 14, 2006 4:07 PM
Subject: [Flashcoders] Zinc install to startup folder


 I'm writing an application that works like an auto updater, and it needs to 
 run as the user boots his computer. Does anyone know 
 how i can write a script to add to the installer that will create a shortcut 
 to the application in the user's startup folder and 
 then delete itself?

 Thanks

 -- 

 - Andreas Rønning



___
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] The Delegate class ...

2006-06-14 Thread Chuck Hoffman
Delegate simply tells the code you're delegating to run in the scope of
a particular object.  So there are all sorts of ways you could use it.
It basically creates a function that runs in the scope you indicate, but
can be attached to any object.  This most commonly comes in handy in the
context of event listeners, but there's nothing about Delegate that
makes it inherently tied to the component framework.  It works with any
kind of objects.





 CHUCK HOFFMAN
PROGRAMMER  
T8DESIGN.COM | P 319.266.7574 - x150 | 877.T8IDEAS | F 888.290.4675


This e-mail, including attachments, is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then please
delete it. Thank you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Ford
Sent: Tuesday, June 13, 2006 8:18 PM
To: flashcoders
Subject: [Flashcoders] The Delegate class ...

Hello All,
 
Can anyone confirm that the Delegate class is only helpful when using
components ?
 
Or should it also be used for events outside the component framework ?
 
No doubt it depends on what your trying to achieve, but just generally
speaking, what do you think.
 
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
___
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] Flashcoders Archive Broken

2006-06-14 Thread Muzak
As an alternative, you can search the flashcoders list through google.

search for:

site:http://chattyfig.figleaf.com/pipermail/flashcoders/ help vampire

regards,
Muzak

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Wednesday, June 14, 2006 11:04 AM
Subject: [Flashcoders] Flashcoders Archive Broken


 The Flashcoders Archive is broken.

 How can we elitists lecture newbies to search the Flashcoders archives if it
 isn't working correctly?  ;)

 I realize that you are providing a free service, but if we are telling
 people to check the Archives before asking the list and the archive isn't
 working, we look like jerks.  IMHO, this needs to be fixed ASAP in order to
 save us from ourselves (and, of course, to have a useful archive).

 Searches aren't working fully, even by Author.

 Example.  I searched for the term help vampire which has been brought up
 many times over the past two months and it comes up with no results.

 No matches were found for 'help and vampire'

 However, I can look at today's posts and see the term help vampire in a
 few threads.

 Looking at April, two months previous:

 Here's my post with help vampire right in the subject!
 http://chattyfig.figleaf.com/pipermail/flashcoders/2006-April/164715.html

 That post didn't come up even when I searched by my name, even though it is
 clearly written by me.

 The post right after it has help vampire in the body:
 http://chattyfig.figleaf.com/pipermail/flashcoders/2006-April/164716.html

 Yet, no results.

 Also, all the images are broken.

 Help!


___
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] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Weyert de Boer

How cool is that :-)
___
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] The Delegate class ...

2006-06-14 Thread eka

Hello :)

you can show your mx package in Flash installation : C:\Program
Files\Macromedia\Flash 8\en\First Run\Classes

In this directory you find mx.utils.Delegate class !

Now in flash you can use this class :

[code]

import mx.utils.Delegate ;

var o = {} ;
o.toString = function () {
   return myCustomScope ;
}

var action:Function = function () {
   trace(   + this +  : action) ;
}

// test1 - scope is the _root
action() ;

// test2 - scope is o your custom scope.
var myAction:Function = Delegate.create(o, action) ;
myAction() ;

// test3 - scope is a MovieClip with mc this instance's name

mc.onRelease = action ; // if you release your mc, use action with mc scope
(classic)

mc.onPress = Delegate.create(o, action) ; // if you press your mc, use
custom scope

[/code]

EKA+ :)

2006/6/14, Stephen Ford [EMAIL PROTECTED]:


Hello All,

Can anyone confirm that the Delegate class is only helpful when using
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally
speaking, what do you think.

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


___
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] Button problem

2006-06-14 Thread Mike Mountain

 movieclip of #1. The only difference between the two is that 
 the one in the hover layer has a Color Tint effect ont he 
 timeline to change the color of the text.

 The problem I now happen to have is when I now go with my 
 mouse over the button, the text changes. One or more letters 
 are shifted to the right, without any good reason (in my 
 opinon). The movieclips both are  on the same x,y position 
 (which is 0.0). The only real difference is the color effect.

I've had similar problems when I use the filter FX (blur, drop shadow
etc.) I get a 1 px shift up and across - the way I got around it (but it
wasn't 100% sucessful) was to enable bitmapcaching on everything. This
meant everything was shifted on startup.

Not a great fix but it may lead to a better one.

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


Re: [Flashcoders] The Delegate class ...

2006-06-14 Thread Rich Rodecker

the Delegate class is useful whenever you are trying to control the
scope of a method call.  Normall, when you do something like:

//code on _root
my_mc.onPress = function(){
 trace(this);
}

the onPress function is assigned to my_mc.  this means that when you
use this inside code inside the onPress function, you will be
referring to my_mc (the code above would output _level0.my_mc).
Most of the time, people will want to create a separate function to
run when the onPress event occurs (or when an onLoad event occurs in
an XML or LoadVars object).

//code on the _root timeline
my_mc.onPress = Delegate.create(this, myPressFunction);

function myPressFunction(){
 trace (this)
}

this code would output _level0. This means that you can still run
the function in it's normal scope and still have normal references to
other variables and methods in the same scope.  This comes in most
handy whe you are dealing with classes, where you'd want to reference
methods and properties in your class when an event occurs, but you
don't want the mehod (such as onPress) being scoped to the object that
produced the event.



On 6/14/06, Andreas Rønning [EMAIL PROTECTED] wrote:

i use Delegate for most handlers. Never used it with components

- A

Stephen Ford wrote:

Hello All,

Can anyone confirm that the Delegate class is only helpful when using 
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.

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


___
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: ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

Geez, its not the ExternalInterface at all. Its a whole new mystery...
___
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] The Delegate class ...

2006-06-14 Thread Ian Thomas

Delegate, sadly, is a necessity.

I very rarely use components.

I use Delegate all the time. (Or rather, my own hand-rolled version,
which deals properly with arguments - there are a bunch of such
replacement versions knocking around.)

See here for more info on Delegate and its usage:
http://www.osflash.org/flashcoders/as2#handling_scope_in_event_handlers

Ian

On 6/14/06, Stephen Ford [EMAIL PROTECTED] wrote:

Hello All,

Can anyone confirm that the Delegate class is only helpful when using 
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.

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


___
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] another mtasc question

2006-06-14 Thread michael . bordner
if you look at the Base64.as class he provided, he should actually remove 
the \ from the \+

the replacement string should be +  not \+ or \\+




Nicolas Cannasse [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
06/14/2006 06:53 AM
Please respond to
Flashcoders mailing list flashcoders@chattyfig.figleaf.com


To
Flashcoders mailing list flashcoders@chattyfig.figleaf.com
cc

Subject
Re: [Flashcoders] another mtasc question






 I'm just full of questions today :)
 
 Jason Nussbaum's AS2 Base64 class makes use of the symbol \+, 
 something mtasc protests. Why? :)
 
 - A

Use \\+ instead.
MTASC enforces valid escape sequences, so for instance if you use by
mistake \m instead of \n it will give you an error.

Nicolas
___
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] Yahoo! Maps Flash API

2006-06-14 Thread Mike Britton

I'm getting started with the Yahoo! Flash API, and noticed their Maps
mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget.  Looks
like Yahoo! needs to update their MXP to include this code since
there's an article on Adobe about how to use it.

http://www.adobe.com/devnet/flash/articles/yahoo_mashup_02.html

If anyone's run into this, let me know (and if you have this MXP with
com.yahoo.maps.widgets.NavigatorWidget included, I'd appreciate it
someone could send this to me offlist).


Mike
___
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] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Merrill, Jason
I think that Ice Player need the Plugin to be installed.
You can also use ScreenWeaver HX : http://haxe.org/swhx

Nicolas, Yes, you do have to have the Ice player installed.  I said that
already. :)  And that's OK with the client.

From what I read about Screenweaver HX, (and I HOPE I am wrong) you
still compile to an .exe file - so this isn't a solution for Internet
Explorer, which is what I am asking for.  Basically, just need the exact
same thing the ice player does, but without the incompatibilities with
Javascript and the Flash 8 player like the Ice player has.  

Thanks anyway,

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Nicolas Cannasse
Sent: Wednesday, June 14, 2006 6:59 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

 Yeah, it can be done with the Flashants Ice player -
 http://www.flashants.com/root/index.shtml

 It's an ActiveX control you have to install.

I think that Ice Player need the Plugin to be installed.
You can also use ScreenWeaver HX : http://haxe.org/swhx

Nicolas
___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread Kevin Newman

Hello,

I have not been able to reproduce that problem with IE 7 beta, but I 
have found that it occasionally stalls out after the files have been 
cleared from the cache (though not if this is the first time to visit 
the page, then it seems to work fine - maybe if all history is cleared 
and not just the cache it solves the problem?).


I think the defer attribute on the script my be causing this - I have 
had some issues with using this method as an ondomcomplete event 
mimicker, and I'm not sure it always works (it definitely does not under 
IE 5.5 on Windows 98 that I'm running in VMware - it's the standalone 
install, which might be the problem). Do you have the same problem if 
you are running this script from onload instead of using the deferred 
script? If so, then a possible fix might be to use ondocumentready 
instead, and just fix the objects that are available at each stage of 
ondocument ready (I have never used that, so I'm not sure it would work, 
but it might be worth a try, if this is an onload problem).


If that is not the problem and/or that solution doesn't work, it might 
be possible to add the replacement script the each individual object 
tag's onload, so that the replacement doesn't happen until we know that 
the specific object has been loaded (though I'm not sure they are 
loading if you set the display to none, and if they are, then you get 
the double loading issue). Setting these onload properties could be done 
during the stages of ondocumentready (or if the deferred script is 
actually working, we could just use that).


I will do some testing on these tricks, and see what I can come up with, 
but I probably will not be able to get to it any time soon - its quite 
busy around here. :-)


BTW, I have no problem discussing this stuff in the mailing list, if it 
isn't too OT.


Thanks,

Kevin N.


Tom Lee wrote:
Kevin, 


I just tried out your patentmagic demo, and found that it suffers from the
same problem I have faced in my own attempts.  If you empty your cache and
then reload the page, the Active X control does require activation.  (I have
verified this on 3 individual PCs).  I blogged about the problem at
http://tom-lee.blogspot.com/2006/06/eolas-workaround-fails-if-triggered.html
.  The post contains a test page to verify.  Perhaps we can join forces and
figure out what the hell's going on with this?  I'd be happy to work with
you off-list if you prefer.

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman
Sent: Tuesday, June 13, 2006 3:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

Is the problem that you can't run Javascript at all, or that you need to 
put the embed code in html instead of javascript?


You could use this patent fix:
http://www.unfocus.com/projects/patentmagic/

It still relies on scripting being enabled (so you'd still have this 
problem for anyone that doesn't have JS enabled - if they don't have JS 
enabled, they probably don't have ActiveX enable either though), but you 
can at least use your html markup to embed the flash movie.


Kevin N.


Alec Matusis wrote:
  

I have to embed flash applets into web pages directly, without Javascript
Eolas workaround. The users therefore have to click to activate the
flash movie in IE. 
 
After that, the Flash movie properly receives the text input, EXCEPT for

Backspace and Tab keys. Pressing Backspace has an action of Back button


in
  

the browser, it takes a user back one page. Pressing Tab moves the focus
into another object in the browser.  
 
So it looks like when the control is activated , the Flash receives only


a
  

PARTIAL focus: it accepts all text input except Backspace and Tab. When


you
  

click on Flash the second time, it receives full focus, and Backspace and
Tab function properly. 
 
Can anyone explain this behavior? Is this an IE bug? 

 



  



___
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] Transparent independent window (not wmode)3rd partytools?

2006-06-14 Thread Tom Lee
Quicktime can embed some versions of Flash within it, but I believe that
only works up to Flash 5.  Really cool technique though!

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Wednesday, June 14, 2006 11:53 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Transparent independent window (not wmode)3rd
partytools?

How cool is that :-)
___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
Hi Kevin,

To answer a few questions you raised:

1) It does seem to be the defer attribute which causes the issue.  If the
replacement script is triggered from window.onload, it works fine.
2) Clearing the browser's history seems to have no effect.  However, if you
clear your cache and then restart your browser, the problem is solved.

I've experimented with delaying the replacement script using setTimeout.
So, the deferred script sets up a delay, and then the replacement script is
executed after that delay.  If you set the delay long enough, the problem is
solved - no click to activate.  I haven't quite narrowed down how long the
delay needs to be exactly, but it does seem to point to some issue in the
timing of events.  Perhaps there is a magic sweet spot between the execution
of deferred scripts and window.onload when elements can be inserted into the
document without click to activate.  There also seems to be a relationship
between the length of delay necessary versus the filesize of the SWF being
inserted into the document.  Which makes no sense to me, since SWFs stream.

I do kind of feel like we should take this off list if we get into a lot of
JavaScript - even though it relates to Flash in this context.  Thoughts?

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman
Sent: Wednesday, June 14, 2006 1:03 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

Hello,

I have not been able to reproduce that problem with IE 7 beta, but I 
have found that it occasionally stalls out after the files have been 
cleared from the cache (though not if this is the first time to visit 
the page, then it seems to work fine - maybe if all history is cleared 
and not just the cache it solves the problem?).

I think the defer attribute on the script my be causing this - I have 
had some issues with using this method as an ondomcomplete event 
mimicker, and I'm not sure it always works (it definitely does not under 
IE 5.5 on Windows 98 that I'm running in VMware - it's the standalone 
install, which might be the problem). Do you have the same problem if 
you are running this script from onload instead of using the deferred 
script? If so, then a possible fix might be to use ondocumentready 
instead, and just fix the objects that are available at each stage of 
ondocument ready (I have never used that, so I'm not sure it would work, 
but it might be worth a try, if this is an onload problem).

If that is not the problem and/or that solution doesn't work, it might 
be possible to add the replacement script the each individual object 
tag's onload, so that the replacement doesn't happen until we know that 
the specific object has been loaded (though I'm not sure they are 
loading if you set the display to none, and if they are, then you get 
the double loading issue). Setting these onload properties could be done 
during the stages of ondocumentready (or if the deferred script is 
actually working, we could just use that).

I will do some testing on these tricks, and see what I can come up with, 
but I probably will not be able to get to it any time soon - its quite 
busy around here. :-)

BTW, I have no problem discussing this stuff in the mailing list, if it 
isn't too OT.

Thanks,

Kevin N.


Tom Lee wrote:
 Kevin, 

 I just tried out your patentmagic demo, and found that it suffers from the
 same problem I have faced in my own attempts.  If you empty your cache and
 then reload the page, the Active X control does require activation.  (I
have
 verified this on 3 individual PCs).  I blogged about the problem at

http://tom-lee.blogspot.com/2006/06/eolas-workaround-fails-if-triggered.html
 .  The post contains a test page to verify.  Perhaps we can join forces
and
 figure out what the hell's going on with this?  I'd be happy to work with
 you off-list if you prefer.

 -tom

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Newman
 Sent: Tuesday, June 13, 2006 3:49 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

 Is the problem that you can't run Javascript at all, or that you need to 
 put the embed code in html instead of javascript?

 You could use this patent fix:
 http://www.unfocus.com/projects/patentmagic/

 It still relies on scripting being enabled (so you'd still have this 
 problem for anyone that doesn't have JS enabled - if they don't have JS 
 enabled, they probably don't have ActiveX enable either though), but you 
 can at least use your html markup to embed the flash movie.

 Kevin N.


 Alec Matusis wrote:
   
 I have to embed flash applets into web pages directly, without Javascript
 Eolas workaround. The users therefore have to click to activate the
 flash movie in IE. 
  
 After that, the Flash movie properly receives the text input, EXCEPT for
 Backspace and Tab keys. Pressing Backspace has an action 

RE: [Flashcoders] Transparent independent window (not wmode)3rd partytools?

2006-06-14 Thread jim
That is realy cool, I had no idea you could do things like that in
quicktime.

Thanks for the link
Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Visscher
Sent: 14 June 2006 15:57
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Transparent independent window (not wmode)3rd
partytools?

Does it have to be flash, because quicktime can do this...
http://www.ideesfortes.nl/shapesquad/


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: dinsdag 13 juni 2006 17:21
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] Transparent independent window (not wmode)3rd
party tools?

Hey thanks though - appreciate it!

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 13, 2006 11:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

Yeah, well sadly enough I can't help you with this... Neither do I
have
time for it. Sorry, otherwise I wouldn't mind to hack something up in
Delphi (win32 onyl)
___
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] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Merrill, Jason
Uh, yeah. Has to be Flash. Unless Quicktime can handle XML, Webservices,
Javascript, load other .swfs, etc.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Bernard Visscher
Sent: Wednesday, June 14, 2006 10:57 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

Does it have to be flash, because quicktime can do this...
http://www.ideesfortes.nl/shapesquad/


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill,
Jason
Verzonden: dinsdag 13 juni 2006 17:21
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

Hey thanks though - appreciate it!

Jason Merrill
Bank of America
Learning Technology Solutions







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 13, 2006 11:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Transparent independent window (not
wmode)3rd
party tools?

Yeah, well sadly enough I can't help you with this... Neither do I
have
time for it. Sorry, otherwise I wouldn't mind to hack something up
in
Delphi (win32 onyl)
___
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] Button problem

2006-06-14 Thread Weyert de Boer
Hmm, when I change the textfield property from Antialias for Readability 
to Device Font the shifting doesn't occur!!! Could someone please 
explain me why this happens. I am seriously clueless, I can't really 
think of a reason hy it would shift when you got antialise enabled.

___
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] Command line compile

2006-06-14 Thread Sam Thorne
Hi List,

I'm working on a project where we're looking at switching to nightly builds for 
the development process, building on MS Windows.

At the moment a cron job attempts to run the compile and gets stuck on our 
Flash compilation.
This is probably because the build machine isn't running as a logged in user, 
but as a system process. This means when Flash tries to throw up a splash 
screen etc. it is probably falling over.
We can't run it as a logged in user (and thus get the windowing environment), 
as it breaches company security to have a dummy user logged in all the time and 
the machine will auto logout after a couple of minutes.

We can't use mtasc, because of issues with using an unsupported compiler for 
production code.

Is there any way to do a command line compile with pure actionscript 2.0 .as 
and .fla based source files without a windowing environment?
Is this something that Flex can do for us, or would we have to rewrite into 
mxml?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] checkbox component label - can it wrap?

2006-06-14 Thread Michael Stuhr

Woodage, Alison schrieb:

Just a quickie...

Does anyone know if you can set a checkbox component label to wrap if
required.

I think I already know the answer ('no') but thought I'd ask just in
case someone knows otherwise.
  
it will behave very strange if you directly turn the textfield used 
inside into multiline. but try it for yourself :-)


micha
___
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] Command line compile

2006-06-14 Thread Éric Thibault
Do your command line from a .bat wrapped with a SU command (substitut 
user with the password).  I don't have an example with me but will try 
to get one from home.  I've used that trick a lot but it was over 6 
years ago.


A+

Sam Thorne a écrit :

Hi List,

I'm working on a project where we're looking at switching to nightly builds for 
the development process, building on MS Windows.

At the moment a cron job attempts to run the compile and gets stuck on our 
Flash compilation.
This is probably because the build machine isn't running as a logged in user, 
but as a system process. This means when Flash tries to throw up a splash 
screen etc. it is probably falling over.
We can't run it as a logged in user (and thus get the windowing environment), 
as it breaches company security to have a dummy user logged in all the time and 
the machine will auto logout after a couple of minutes.

We can't use mtasc, because of issues with using an unsupported compiler for 
production code.

Is there any way to do a command line compile with pure actionscript 2.0 .as 
and .fla based source files without a windowing environment?
Is this something that Flex can do for us, or would we have to rewrite into 
mxml?


Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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

  



--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

___
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] checkbox component label - can it wrap?

2006-06-14 Thread Steven Sacks
 Does anyone know if you can set a checkbox component label 
 to wrap if required.

Why don't you set its label to  and put your own multiline textfield next
to it?
 

___
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] Q: Pixellated Mouse Trail Effect

2006-06-14 Thread bitstreams

Hi
A beautiful pixellated mouse trail effect.
I know there is a variety of ways to achieve this, but would apprecaite hearing 
different viewpoints from a pseudo-code perspective.

And could FP9 enhance the experience?

http://www.beyes.jp/editwall/


Jim Bachalo 
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
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] Double-rendered Text

2006-06-14 Thread Jason Lutes
I have a pop-up window that remains always on the Stage, and is simply
shown/hidden as needed. The pop-up window has 3 text fields that get
populated with HTML-formatted text from an XML document each time it gets
shown. My problem is that when the pop-up window gets shown the text
fields display both the former text (for a prior showing) along with the
new text (for the current showing). The text is overlapping and garbled. I
can't figure it out. Has someone seen this and can help me with a
suggestion?

Thanks.


-
Jason

___
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] Q: Pixellated Mouse Trail Effect

2006-06-14 Thread Weyert de Boer

Damn, I am first gonna look up that font. Let's browse to fonts.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] Double-rendered Text

2006-06-14 Thread Scott Hyndman

Sounds like you're recreating textfields without removing the old
ones. It may sound stupid, but in my personal experience it's one of
the most commonly encountered bugs while working in Flash. I've
already fixed two like that today!

If you're working in the IDE, step through the code to make sure
you're calling removeTextField() wherever necessary.

The other option is that there is a problem with your layout code and
the textfields overlap as a result. If this is the case, you may find
it helpful to give your textfields borders (just for debugging
purposes). If that doesn't help, trace out coordinates and do hit
tests. You'll get it.

Scott

On 14/06/06, Jason Lutes [EMAIL PROTECTED] wrote:

I have a pop-up window that remains always on the Stage, and is simply
shown/hidden as needed. The pop-up window has 3 text fields that get
populated with HTML-formatted text from an XML document each time it gets
shown. My problem is that when the pop-up window gets shown the text
fields display both the former text (for a prior showing) along with the
new text (for the current showing). The text is overlapping and garbled. I
can't figure it out. Has someone seen this and can help me with a
suggestion?

Thanks.


-
Jason

___
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] The Delegate class ...

2006-06-14 Thread js
While not as elegant, you can get around this issue delegate-free with 
the following:


class SomeClass {

private var a:Number = 3;

function SomeClass(mc:MovieClip){

var thisObj = this;
// Set a reference to this

mc.onRelease = function(){

thisObj.onRelease.call(thisObj);
}

}

function onRelease(){

trace(this.a: +this.a);

}
}

--

Joseph

James Marsden wrote:

The delegate class is a godsend for so many things...


// inside a class:

mc.onEnterFrame = mx.utils.Delegate.create(this, main);

function main()
{
   // the mc is calling my method, and I can access all my properties as 
if I was calling it myself

}




Stephen Ford wrote:


Hello All,

Can anyone confirm that the Delegate class is only helpful when using 
components ?


Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally 
speaking, what do you think.


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



___
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: ExteneralInterface and NetStreams

2006-06-14 Thread John Giotta

The problem was my NetStream declaration was local scope to a method
and for some reason any call I made to the singleton class just killed
the stream be cause the NetStream was trashed early.

I corrected it my making the NetStream object inherit to the singleton
class to keep it around throughout the stream.
___
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] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
Sorry for the long subject line, guys.  I've never had to do much with
_levels, and so I don't understand how they work very well.  The Help docs
seem sparse on the topic as well.  Anyway, I'm doing some experimentation,
and I'm trying to get a swf in _level1 to load a movie into _level0, wait
for the swf in _level0 to load, and then execute some more actions.

 

SWF A:

 

loadMovieNum('swfB.swf',1);

 

 

SWF B:

 

loadMovieNum('swfC.swf',0);

 

// A one-second interval is long enough to allow

// the swfC to load on my local machine

var myInt = setInterval(function(){ 

trace('Now I can execute some code');

},1000);

 

 

The result is that swfC gets loaded into _level0, but the trace never gets
fired.  It's as though the ActionScript in SWF B gets put in _level0 and
then is overwritten by SWF C.

 

Anyone have experience with _levels and care to comment?

 

Thanks,

 

-tom

___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread ryanm

Perhaps there is a magic sweet spot between the execution
of deferred scripts and window.onload when elements can be inserted into 
the

document without click to activate.

   There's no magic there, the embedded object cannot exist prior to the 
onload event firing or it will require activation. Period. Don't use a 
delay, use the onload event. A delay is unpredictable because you are 
working on the client side, where bandwidth, network congestion, and the 
size of the images and other files loaded into the page will cause the 
amount of time before the onload event fires to vary drastically. To state 
that more clearly, you will *never* accomplish this in any predictable way 
using a time delay, not even if you make the delay over 1 minute, because 
somewhere there is still a guy using a 14.4 modem.


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


Re: [Flashcoders] The Delegate class ...

2006-06-14 Thread Aaron Buchanan
What is the difference between that and this:

class SomeClass {

private var a:Number = 3;

function SomeClass(mc:MovieClip){

var thisObj = this;
// Set a reference to this

mc.onRelease = function(){

thisObj.onRelease();
}

}

function onRelease(){

trace(this.a: +this.a);

}
}


On 6/14/06 1:39 PM, js [EMAIL PROTECTED] wrote:

 While not as elegant, you can get around this issue delegate-free with
 the following:
 
 class SomeClass {
 
 private var a:Number = 3;
 
 function SomeClass(mc:MovieClip){
 
 var thisObj = this;
 // Set a reference to this
 
 mc.onRelease = function(){
 
 thisObj.onRelease.call(thisObj);
 }
 
 }
 
 function onRelease(){
 
 trace(this.a: +this.a);
 
 }
 }
 
 --
 
 Joseph
 
 James Marsden wrote:
 The delegate class is a godsend for so many things...
 
 
 // inside a class:
 
 mc.onEnterFrame = mx.utils.Delegate.create(this, main);
 
 function main()
 {
// the mc is calling my method, and I can access all my properties as
 if I was calling it myself
 }
 
 
 
 
 Stephen Ford wrote:
 
 Hello All,
 
 Can anyone confirm that the Delegate class is only helpful when using
 components ?
 
 Or should it also be used for events outside the component framework ?
 
 No doubt it depends on what your trying to achieve, but just generally
 speaking, what do you think.
 
 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
 
 
 ___
 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] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread Mark Lapasa
///
// Inside Interface.as //
///
interface Interface
{
public function foo():Void;
}



///
// Inside ConcreteClass.as //
///
import Interface;

class ConcreteClass implements Interface
{
public function foo():Void { trace(Foo was fired);};  // As required 
by
the interface
public function bar():Void { trace(Bar was fired);};
}



///
// Inside the Test.FLA //
///
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();

tmp.foo();  // Works
tmp.bar();  // Doesn't Work, why?




I don't think all the public ConcreteClass methods have to be listed in an
interface.
Has anyone else come across this problem? Thx,


-mL
http://knowledge.lapasa.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] Command line compile

2006-06-14 Thread Scott Hyndman

http://weblogs.macromedia.com/mesh/archives/2003/11/flashcommand_fl.html

On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:

Do your command line from a .bat wrapped with a SU command (substitut
user with the password).  I don't have an example with me but will try
to get one from home.  I've used that trick a lot but it was over 6
years ago.

A+

Sam Thorne a écrit :
 Hi List,

 I'm working on a project where we're looking at switching to nightly builds 
for the development process, building on MS Windows.

 At the moment a cron job attempts to run the compile and gets stuck on our 
Flash compilation.
 This is probably because the build machine isn't running as a logged in user, 
but as a system process. This means when Flash tries to throw up a splash screen 
etc. it is probably falling over.
 We can't run it as a logged in user (and thus get the windowing environment), 
as it breaches company security to have a dummy user logged in all the time and 
the machine will auto logout after a couple of minutes.

 We can't use mtasc, because of issues with using an unsupported compiler for 
production code.

 Is there any way to do a command line compile with pure actionscript 2.0 .as 
and .fla based source files without a windowing environment?
 Is this something that Flex can do for us, or would we have to rewrite into 
mxml?


 Regards,

 Sam Thorne
 Interaction Design

 Web: http://www.native.com/
 Tel: +44 (0)207 588 7970
 Fax: +44 (0)207 588 7971


 ___
 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




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

___
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] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
Found the answer in the Help docs, and its NO.  Loading a movie into
_level0 wipes out everything in the other levels too.

 

-tom

___
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] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread eka

Hello :)

you must use Transtype if you use a method defined in your class but not
in the interface :)


[code]
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();

tmp.foo();  // Works

ConcreteClass(tmp).bar();  // Works with methods not implemented in
interface.
[/code]

EKA+ :)

2006/6/14, Mark Lapasa [EMAIL PROTECTED]:


///
// Inside Interface.as //
///
interface Interface
{
public function foo():Void;
}



///
// Inside ConcreteClass.as //
///
import Interface;

class ConcreteClass implements Interface
{
public function foo():Void { trace(Foo was fired);};  // As
required by
the interface
public function bar():Void { trace(Bar was fired);};
}



///
// Inside the Test.FLA //
///
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();

tmp.foo();  // Works
tmp.bar();  // Doesn't Work, why?




I don't think all the public ConcreteClass methods have to be listed in an
interface.
Has anyone else come across this problem? Thx,


-mL
http://knowledge.lapasa.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] Can a movie in _level1 load a movie into _level0, and then execute more actions?

2006-06-14 Thread Tom Lee
To put this in context, my original post where I initially asked the
question appears not to have arrived.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Wednesday, June 14, 2006 5:26 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Can a movie in _level1 load a movie into _level0,and
then execute more actions?

Found the answer in the Help docs, and its NO.  Loading a movie into
_level0 wipes out everything in the other levels too.

 

-tom

___
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] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread Hans Wichman

The compiler sees an object of type Interface which does not support the
method you are trying to call. Either use:
var tmp:ConcreteClass = new ConcreteClass();
or
var tmp:Interface = new ConcreteClass();
ConcreteClass(tmp).bar();

grtz
JC



On 6/14/06, Mark Lapasa [EMAIL PROTECTED] wrote:


///
// Inside Interface.as //
///
interface Interface
{
   public function foo():Void;
}



///
// Inside ConcreteClass.as //
///
import Interface;

class ConcreteClass implements Interface
{
   public function foo():Void { trace(Foo was fired);};  // As
required by
the interface
   public function bar():Void { trace(Bar was fired);};
}



///
// Inside the Test.FLA //
///
import ConcreteClass;
import Interface;
var tmp:Interface = new ConcreteClass();

tmp.foo();  // Works
tmp.bar();  // Doesn't Work, why?




I don't think all the public ConcreteClass methods have to be listed in an
interface.
Has anyone else come across this problem? Thx,


-mL
http://knowledge.lapasa.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] Transparent independent window (notwmode)3rd party tools?

2006-06-14 Thread Tom Haschenburger
What would you call something like that if I were trying to look up in
help file or google. 

Very cool stuff never seen that before.

Thanks,
T

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Wednesday, June 14, 2006 12:06 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Transparent independent window
(notwmode)3rd
 party tools?
 
 Uh, yeah. Has to be Flash. Unless Quicktime can handle XML,
Webservices,
 Javascript, load other .swfs, etc.
 
 Jason Merrill
 Bank of America
 Learning Technology Solutions
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Bernard Visscher
 Sent: Wednesday, June 14, 2006 10:57 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Transparent independent window (not
 wmode)3rd
 party tools?
 
 Does it have to be flash, because quicktime can do this...
 http://www.ideesfortes.nl/shapesquad/
 
 
 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Namens Merrill,
 Jason
 Verzonden: dinsdag 13 juni 2006 17:21
 Aan: Flashcoders mailing list
 Onderwerp: RE: [Flashcoders] Transparent independent window (not
 wmode)3rd
 party tools?
 
 Hey thanks though - appreciate it!
 
 Jason Merrill
 Bank of America
 Learning Technology Solutions
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Weyert de Boer
 Sent: Tuesday, June 13, 2006 11:09 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Transparent independent window (not
 wmode)3rd
 party tools?
 
 Yeah, well sadly enough I can't help you with this... Neither do I
 have
 time for it. Sorry, otherwise I wouldn't mind to hack something up
 in
 Delphi (win32 onyl)
 ___
 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] Transparent independent window (notwmode)3rd party tools?

2006-06-14 Thread Merrill, Jason
What would you call something like that if I were trying to look up in
help file or google.
Very cool stuff never seen that before.
Thanks,

?  I don't follow you Tom.   If you are asking what that particular type
of Flash file browser presentation is called, like the way the Flashants
Ice player works, I don't think it has any sort of name.

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 
___
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] ScreenWeaver HX Beta

2006-06-14 Thread StefX

Hi Nicolas,

Sorry for the delay too...
By more friendly interface i mean an interface as ScreenWeaver OS 
offers to choose which files you like to embed with your application, 
its size and other options...
I think that the best way is finally to produce one and only simple 
executable file that embeds all files needed by the application rather 
than pack SWHX and the others files of the application you like to 
distribute.


Sincerely yours

StefX


Nicolas Cannasse wrote:

Really a great job again Nicolas and Edwin !!!

Do you plan to make a more friendly interface as ScreenWeaver OS in the 
future ?


Cheers

St3fX



Edwin is on hollidays right now so he could possibly answer better than
me, but what kind of friendly interface would you except ? No hurry to
answer, try the SWHX Beta first ;)

Nicolas
___
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] Transparent independent window (notwmode)3rd party tools?

2006-06-14 Thread Weyert de Boer

Hi Jason,
I think he refers to the quicktime website, and I think that is a media 
skin. You can find more info at:

http://www.apple.com/quicktime/tutorials/mediaskins.html

cheers,
weyert
___
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] Command line compile

2006-06-14 Thread Sam Thorne

Hi Scott,

Yeah, I've seen this, but the problem isn't making the compile call,  
it's running Flash while not in a windowing environment.


All Mike's script really does is build a custom jsfl script on the  
fly, open Flash and run the script.
It's the 'Open Flash' bit that we're stuck with, as we have no logged  
in user.


On 14 Jun 2006, at 14:29PM, Scott Hyndman wrote:


http://weblogs.macromedia.com/mesh/archives/2003/11/ 
flashcommand_fl.html


On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:


Do your command line from a .bat wrapped with a SU command (substitut
user with the password).  I don't have an example with me but will  
try

to get one from home.  I've used that trick a lot but it was over 6
years ago.

A+

Sam Thorne a écrit :
 Hi List,

 I'm working on a project where we're looking at switching to  
nightly builds for the development process, building on MS Windows.


 At the moment a cron job attempts to run the compile and gets  
stuck on our Flash compilation.
 This is probably because the build machine isn't running as a  
logged in user, but as a system process. This means when Flash  
tries to throw up a splash screen etc. it is probably falling over.
 We can't run it as a logged in user (and thus get the windowing  
environment), as it breaches company security to have a dummy user  
logged in all the time and the machine will auto logout after a  
couple of minutes.


 We can't use mtasc, because of issues with using an unsupported  
compiler for production code.


 Is there any way to do a command line compile with pure  
actionscript 2.0 .as and .fla based source files without a  
windowing environment?
 Is this something that Flex can do for us, or would we have to  
rewrite into mxml?





Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971___
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] Command line compile

2006-06-14 Thread Scott Hyndman

Oh, sorry about that. Didn't read carefully enough.

I don't think there is a solution given your contraints...but I'm
going to offer my two cents. Forget MM's compiler. It might as well be
unsupported. Tech support will cost a fortune to speak to and I'm
pretty sure they wouldn''t be able to fix your problems anyway.

Switch to MTASC. Convince whoever you're working for that it's a good
idea. Your life will be easier and consequently, so will everyone
elses. I've been using it for more than a year building major
libraries (ActionStep -- http://tinyurl.com/lupmv) and at this point
there is absolutely nothing to worry about. A large and well-versed
user base will be right at your fingertips. Lots of coders were fed up
with MMC a long time ago, and are now happily enjoying Flash
development again.

Hope you didn't mind the rant, good luck,
Scott

On 14/06/06, Sam Thorne [EMAIL PROTECTED] wrote:

Hi Scott,

Yeah, I've seen this, but the problem isn't making the compile call,
it's running Flash while not in a windowing environment.

All Mike's script really does is build a custom jsfl script on the
fly, open Flash and run the script.
It's the 'Open Flash' bit that we're stuck with, as we have no logged
in user.

On 14 Jun 2006, at 14:29PM, Scott Hyndman wrote:


 http://weblogs.macromedia.com/mesh/archives/2003/11/
 flashcommand_fl.html

 On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:

 Do your command line from a .bat wrapped with a SU command (substitut
 user with the password).  I don't have an example with me but will
 try
 to get one from home.  I've used that trick a lot but it was over 6
 years ago.

 A+

 Sam Thorne a écrit :
  Hi List,
 
  I'm working on a project where we're looking at switching to
 nightly builds for the development process, building on MS Windows.
 
  At the moment a cron job attempts to run the compile and gets
 stuck on our Flash compilation.
  This is probably because the build machine isn't running as a
 logged in user, but as a system process. This means when Flash
 tries to throw up a splash screen etc. it is probably falling over.
  We can't run it as a logged in user (and thus get the windowing
 environment), as it breaches company security to have a dummy user
 logged in all the time and the machine will auto logout after a
 couple of minutes.
 
  We can't use mtasc, because of issues with using an unsupported
 compiler for production code.
 
  Is there any way to do a command line compile with pure
 actionscript 2.0 .as and .fla based source files without a
 windowing environment?
  Is this something that Flex can do for us, or would we have to
 rewrite into mxml?



Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971___
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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
I am doing some flash ads and was trying to find out if there is a property
that I can read the url of the html page that called my current .swf file.

I know that MovieClip._url will tell me where the .swf file's sitting, but
what do I read for the serving page's location?

Thx!
Aaron


___
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] The Delegate class ...

2006-06-14 Thread stacey
Do you really need the call bit ? Can you not just do something like:

var host=this;
mc.onRelease=function(){
 host.fireFunction();
}
function fireFunction(){
trace(function called)
}


You can use delegates for more than just components - I use delegate most
often when I want an item/class to have a public no-op function that I can
overwrite outside of it - like a layoutclass that draws items to the
stage, i might want to overwrite what it does when its finished laying
stuff out- a totally made up example might be :



var LM:LayoutManager=new LayoutManager();
LM.onLayoutComplete=Delegate.create(this,layoutChildren);
LM.doLayout(grid,items);

function layoutChildren():Void{
 trace( layout is done);
}

Alot of people complain that you can't pass parameters with delegate. Well
you can, a multiple of ways, and if you structure your code with some
forethought, you can have it pass params if you are delegating a function
structured do so. I would argue that if its not flexible enough for you ,
then maybe you need to revisit your architecure and determine if Delegate
is  what you need or if you're really in need of using something else such
athe dispatch scenerio.  One thing to remember is that Delegate is just a
function, and therefore you can add properties to it and have a reference
to it. I don't know how proper that is, but it works.

var myDelegate:Function =mx.utils.Delegate.create(this,onComplete);
myDelegate.someProperty=foo;

myButton.addEventListener(click,myDelegate);

function onComplete(obj:Object):Void{
  trace(arguments.caller.someProperty)
}




 While not as elegant, you can get around this issue delegate-free with
 the following:

 class SomeClass {

   private var a:Number = 3;

   function SomeClass(mc:MovieClip){

   var thisObj = this;
   // Set a reference to this

   mc.onRelease = function(){

   thisObj.onRelease.call(thisObj);
   }

   }

   function onRelease(){

   trace(this.a: +this.a);

   }
 }

 --

 Joseph

 James Marsden wrote:
 The delegate class is a godsend for so many things...


 // inside a class:

 mc.onEnterFrame = mx.utils.Delegate.create(this, main);

 function main()
 {
// the mc is calling my method, and I can access all my properties
 as
 if I was calling it myself
 }




 Stephen Ford wrote:

 Hello All,

 Can anyone confirm that the Delegate class is only helpful when using
  components ?

 Or should it also be used for events outside the component framework
 ?

 No doubt it depends on what your trying to achieve, but just
 generally  speaking, what do you think.

 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


 ___
 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] .swf's containing html's location

2006-06-14 Thread [EMAIL PROTECTED]
You can send a parameter in source code like:
manualy
param name=movie value=main.swf?url=test.asp and embed
src=main.swf?url=test.asp ...

or 
dynamic (for example with asp)
param name=movie
value=main.swf?url=%Request.ServerVariables(URL)% and embed
src=main.swf?url=%Request.ServerVariables(URL)% ...

note: if current page in a folder %Request.ServerVariables(URL)% gives
you foldername/test.asp


mail2web - Check your email from the web at
http://mail2web.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] Command line compile

2006-06-14 Thread stacey
A couple notes about MTASC -

First off its pretty strict. Your code has to be pretty solid, items have
to be casted properly, variables cannot be redefined in the same scope,
etc, or MTASC bitches at your fierce. Its not a bad thing in the long run,
but something you should think about preparing for if you are going to use
it. I had to refactor an entire codebase which was quite large, and clean
up the casting and variable definitions, in order for MTASC to work with
it. IT was not fun. The code, by no means was incorrect or even sloppy.
MTASC is just super super strict. I personally like that tho.
Having said that, once I got it running through MTASC I went from a four
and half minute compile time to 29 seconds. That made things so much
easier :)

 Oh, sorry about that. Didn't read carefully enough.

 I don't think there is a solution given your contraints...but I'm
 going to offer my two cents. Forget MM's compiler. It might as well be
 unsupported. Tech support will cost a fortune to speak to and I'm
 pretty sure they wouldn''t be able to fix your problems anyway.

 Switch to MTASC. Convince whoever you're working for that it's a good
 idea. Your life will be easier and consequently, so will everyone
 elses. I've been using it for more than a year building major
 libraries (ActionStep -- http://tinyurl.com/lupmv) and at this point
 there is absolutely nothing to worry about. A large and well-versed user
 base will be right at your fingertips. Lots of coders were fed up with
 MMC a long time ago, and are now happily enjoying Flash
 development again.

 Hope you didn't mind the rant, good luck,
 Scott

 On 14/06/06, Sam Thorne [EMAIL PROTECTED] wrote:
 Hi Scott,

 Yeah, I've seen this, but the problem isn't making the compile call,
 it's running Flash while not in a windowing environment.

 All Mike's script really does is build a custom jsfl script on the
 fly, open Flash and run the script.
 It's the 'Open Flash' bit that we're stuck with, as we have no logged
 in user.

 On 14 Jun 2006, at 14:29PM, Scott Hyndman wrote:


  http://weblogs.macromedia.com/mesh/archives/2003/11/
  flashcommand_fl.html
 
  On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:
 
  Do your command line from a .bat wrapped with a SU command
 (substitut user with the password).  I don't have an example with
 me but will try
  to get one from home.  I've used that trick a lot but it was over 6
 years ago.
 
  A+
 
  Sam Thorne a écrit :
   Hi List,
  
   I'm working on a project where we're looking at switching to
  nightly builds for the development process, building on MS Windows.
  
   At the moment a cron job attempts to run the compile and gets
  stuck on our Flash compilation.
   This is probably because the build machine isn't running as a
  logged in user, but as a system process. This means when Flash
 tries to throw up a splash screen etc. it is probably falling over.
   We can't run it as a logged in user (and thus get the windowing
  environment), as it breaches company security to have a dummy user
 logged in all the time and the machine will auto logout after a
 couple of minutes.
  
   We can't use mtasc, because of issues with using an unsupported
  compiler for production code.
  
   Is there any way to do a command line compile with pure
  actionscript 2.0 .as and .fla based source files without a
  windowing environment?
   Is this something that Flex can do for us, or would we have to
  rewrite into mxml?
 
 

 Regards,

 Sam Thorne
 Interaction Design

 Web: http://www.native.com/
 Tel: +44 (0)207 588 7970
 Fax: +44 (0)207 588
 7971___
 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] The Delegate class ...

2006-06-14 Thread David Rorex

The whole point of a Delegate type class is to eliminate having to type
those 4 lines of code every time you want to handle an event from somwhere
else without messing up the scope.

-David R

On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


What is the difference between that and this:

class SomeClass {

private var a:Number = 3;

function SomeClass(mc:MovieClip){

var thisObj = this;
// Set a reference to this

mc.onRelease = function(){

thisObj.onRelease();
}

}

function onRelease(){

trace(this.a: +this.a);

}
}


On 6/14/06 1:39 PM, js [EMAIL PROTECTED] wrote:

 While not as elegant, you can get around this issue delegate-free with
 the following:

 class SomeClass {

 private var a:Number = 3;

 function SomeClass(mc:MovieClip){

 var thisObj = this;
 // Set a reference to this

 mc.onRelease = function(){

 thisObj.onRelease.call(thisObj);
 }

 }

 function onRelease(){

 trace(this.a: +this.a);

 }
 }

 --

 Joseph

 James Marsden wrote:
 The delegate class is a godsend for so many things...


 // inside a class:

 mc.onEnterFrame = mx.utils.Delegate.create(this, main);

 function main()
 {
// the mc is calling my method, and I can access all my properties
as
 if I was calling it myself
 }




 Stephen Ford wrote:

 Hello All,

 Can anyone confirm that the Delegate class is only helpful when using
 components ?

 Or should it also be used for events outside the component framework ?

 No doubt it depends on what your trying to achieve, but just generally
 speaking, what do you think.

 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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
Alright,

I had a theory that if you were to try and load a relative file that didn't
exist, you might be able to catch the path within the
MovieClipLoader.onLoadError() event, by reading the ._url property of the
movieclip that you were trying to load into. This seems to be working fine,
if there is no documented way to read the property, then I will continue
this way.

Here is a preview, notice the swf is being called remotely:
http://lab-media.com/test

This is the code:

var myListener:Object = new Object ();
var servedToUrl:String = ;
var my_mcl:MovieClipLoader = new MovieClipLoader ();
var myListener:Object = new Object ();
myListener.onLoadError = function (target_mc:MovieClip, errorCode:String)
{
servingUrl = target_mc._url.substr (0, target_mc._url.indexOf
(SomeFileThatDoesntExist));
};
my_mcl.addListener (myListener);
this.createEmptyMovieClip (clip1_mc, this.getNextHighestDepth ());
my_mcl.loadClip (SomeFileThatDoesntExist, clip1_mc);


Thx!
Aaron


On 6/14/06 3:52 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:

 I am doing some flash ads and was trying to find out if there is a property
 that I can read the url of the html page that called my current .swf file.
 
 I know that MovieClip._url will tell me where the .swf file's sitting, but
 what do I read for the serving page's location?
 
 Thx!
 Aaron
 
 
 ___
 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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
The problem is that the only thing I can deliver is a .swf file. I cannot
pass anything in because it is served by an ad tracking system.

Thx tho :)


On 6/14/06 4:07 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 You can send a parameter in source code like:
 manualy
 param name=movie value=main.swf?url=test.asp and embed
 src=main.swf?url=test.asp ...
 
 or 
 dynamic (for example with asp)
 param name=movie
 value=main.swf?url=%Request.ServerVariables(URL)% and embed
 src=main.swf?url=%Request.ServerVariables(URL)% ...
 
 note: if current page in a folder %Request.ServerVariables(URL)% gives
 you foldername/test.asp
 
 
 mail2web - Check your email from the web at
 http://mail2web.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] .swf's containing html's location

2006-06-14 Thread stacey
You could also tap into the history of the page with the js history object
- and either embed that via params or use external interface. Not sure how
reliable that is but its an idea.

 I am doing some flash ads and was trying to find out if there is a
 property that I can read the url of the html page that called my current
 .swf file.

 I know that MovieClip._url will tell me where the .swf file's sitting,
 but what do I read for the serving page's location?

 Thx!
 Aaron


 ___
 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] The Delegate class ...

2006-06-14 Thread js
Absolutely nothing. I have no idea why I put call there. :) I use call 
 a fair amount to manipulate scope and I think I just typed it out of 
habit.


Joseph

Aaron Buchanan wrote:

What is the difference between that and this:

class SomeClass {

private var a:Number = 3;

function SomeClass(mc:MovieClip){

var thisObj = this;

// Set a reference to this

mc.onRelease = function(){

thisObj.onRelease();
}

}


function onRelease(){

trace(this.a: +this.a);

}

}


On 6/14/06 1:39 PM, js [EMAIL PROTECTED] wrote:


While not as elegant, you can get around this issue delegate-free with
the following:

class SomeClass {

private var a:Number = 3;

function SomeClass(mc:MovieClip){

var thisObj = this;
// Set a reference to this

mc.onRelease = function(){

thisObj.onRelease.call(thisObj);
}

}

function onRelease(){

trace(this.a: +this.a);

}
}

--

Joseph

James Marsden wrote:

The delegate class is a godsend for so many things...


// inside a class:

mc.onEnterFrame = mx.utils.Delegate.create(this, main);

function main()
{
   // the mc is calling my method, and I can access all my properties as
if I was calling it myself
}




Stephen Ford wrote:


Hello All,

Can anyone confirm that the Delegate class is only helpful when using
components ?

Or should it also be used for events outside the component framework ?

No doubt it depends on what your trying to achieve, but just generally
speaking, what do you think.

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



___
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] Command line compile

2006-06-14 Thread Sam Thorne

Scott  Stacey:
Yeah, seems crazy not to use mtasc, but unfortunately that's not my  
decision to make.
In the timeline we have it seems very unlikely that we'll change  
compiler in the middle of a release schedule.


Éric:
With the su batch script, I've not seen an su for windows before, is  
that a third party app or running through cygwin?
A quick look on google brings up runas as a possible command, or is  
the su you're referring to a throw back from win 98 or so? To be  
honest, i'm more a unix/os x person than windows, so I'm not up to  
date with any of this.


Thanks all!

On 14 Jun 2006, at 15:51PM, Scott Hyndman wrote:


Oh, sorry about that. Didn't read carefully enough.

I don't think there is a solution given your contraints...but I'm
going to offer my two cents. Forget MM's compiler. It might as well be
unsupported. Tech support will cost a fortune to speak to and I'm
pretty sure they wouldn''t be able to fix your problems anyway.

Switch to MTASC. Convince whoever you're working for that it's a good
idea. Your life will be easier and consequently, so will everyone
elses. I've been using it for more than a year building major
libraries (ActionStep -- http://tinyurl.com/lupmv) and at this point
there is absolutely nothing to worry about. A large and well-versed
user base will be right at your fingertips. Lots of coders were fed up
with MMC a long time ago, and are now happily enjoying Flash
development again.

Hope you didn't mind the rant, good luck,
Scott


 On 14/06/06, Éric Thibault [EMAIL PROTECTED] wrote:

 Do your command line from a .bat wrapped with a SU command  
(substitut

 user with the password).  I don't have an example with me but will
 try
 to get one from home.  I've used that trick a lot but it was  
over 6

 years ago.

 A+



Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
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] .swf's containing html's location

2006-06-14 Thread Weyert de Boer

Nice one! :-)
___
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] The Delegate class ...

2006-06-14 Thread ryanm

What is the difference between that and this:

class SomeClass {
   private var a:Number = 3;
   function SomeClass(mc:MovieClip){
   var thisObj = this;
   // Set a reference to this
   mc.onRelease = function(){
   thisObj.onRelease();
   }
   }

   function onRelease(){
   trace(this.a: +this.a);
   }
}

   Not much, just cleaner and more convenient code. You code can be 
rewritten as:


import mx.utils.Delegate;
class SomeClass {
  private var a:Number = 3;
  function SomeClass(mc:MovieClip){
  mc.onRelease = Delegate.create(this,onRelease);
  }
  function onRelease(){
  trace(this.a: +this.a);
  }
}

   It's shorter, cleaner, less typing, and accomplishes exactly the same 
thing. Except you could also do this:


mc.onRelease = Delegate.create(_root.someotherclip,onRelease);

   ...or...

mc.onRelease = Delegate.create(_parent._parent,onRelease);

   ...and so on. You could, of course, do the same thing by defining 
thisObj as whatever scope you want to use, but it just seems cleaner and 
easier to do it with Delegate. The only downside being passing parameters, 
but that can be gotten around.


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


Re: [Flashcoders] Command line compile

2006-06-14 Thread Weyert de Boer

Yes, runas is similar to su but then for Windows
___
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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
Without being able to execute any js, I'm not sure I could get that to work?
Unless I tried via raw js calls via ExternalInterface(). But that would only
work for flash 8 ads, and we get away with very little of those, the
majority is still F7.

Thanks though!
Aaron


On 6/14/06 4:17 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 You could also tap into the history of the page with the js history object
 - and either embed that via params or use external interface. Not sure how
 reliable that is but its an idea.
 
 I am doing some flash ads and was trying to find out if there is a
 property that I can read the url of the html page that called my current
 .swf file.
 
 I know that MovieClip._url will tell me where the .swf file's sitting,
 but what do I read for the serving page's location?
 
 Thx!
 Aaron
 
 
 ___
 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] FlashPaper Component 0.7 Released

2006-06-14 Thread Mark Walters

A new version of my FlashPaper component has been released.

http://www.digitalflipbook.com/archives/2006/06/flashpaper_comp_1.php

- markW
___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread Kevin Newman
Maybe the workaround is to remove the old node, before overwriting it? I 
am currently just setting oldObjectNode.outerHTML = newObject.outerHTML. 
We might have to remove the old node completely, then reinsert it (in 
the correct position in the DOM).


Actually, it's probably worth testing if the script is running at all 
when you set up your error condition (and whether the script has access 
to the DOM if it does run - an alert(document.body.innerHTML); should 
do). I think that you may have found a critical bug in the deferred 
script technique. I have noticed intermittent strange behavior with 
using deffered scripts with IE on other projects.


Another solution might be to just suffer the extra load time (waiting 
for images and such), and use the document.onactivate event or 
document.onbeforeactivate, which fires before onload. I think right 
before it, which means after all the images load - actually, I'm not 
even sure it waits until the DOM is ready... If my assumptions about 
when this fires are correct, it will take longer to load than the defer 
method, but will still happen before onload, so onload scripting should 
still be safe.


http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onactivate.asp

Then there's the old ondocumentready trick..

This is still related to Flash in a round about way, but it more about 
JScript ActiveX and IE than it is about Flash at this point. I'll let 
you guys decide if this should continue on the list...


Kevin N.


Tom Lee wrote:

Really I wasn't considering the delay as a real solution.  It was just
something I was using to probe for clues.  

the embedded object cannot exist prior to the 
onload event firing or it will require activation. Period.


Actually, that's not true.  The only time it DOES require activation when
inserted by a deferred script (script defer src=whatever.js/script) is
if the user clears their cache and revisits the page without restarting
their browser first.  It is this edge case for which I am seeking a
workaround.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ryanm
Sent: Wednesday, June 14, 2006 5:20 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

  

Perhaps there is a magic sweet spot between the execution
of deferred scripts and window.onload when elements can be inserted into 
the

document without click to activate.


There's no magic there, the embedded object cannot exist prior to the 
onload event firing or it will require activation. Period. Don't use a 
delay, use the onload event. A delay is unpredictable because you are 
working on the client side, where bandwidth, network congestion, and the 
size of the images and other files loaded into the page will cause the 
amount of time before the onload event fires to vary drastically. To state 
that more clearly, you will *never* accomplish this in any predictable way 
using a time delay, not even if you make the delay over 1 minute, because 
somewhere there is still a guy using a 14.4 modem.


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


[Flashcoders] getting Google Video wmode=transparent to work

2006-06-14 Thread Barrett

Seems clear enough, I have a Google Video, it used their embed code and
dropped it into my site. I need to set wmode to transparent so it can fall
behind some javascript menus, but when I enable transparent the control
buttons don't seem to function anymore.

For those of whom don't understand what wmode=transparent will do for me.
Flash stays on top of everything in a site, DHTML, Javascript, z-index layer
order, everything, unless you set wmode to transparent, then the Flash piece
falls into place!

Thanks for any assistance,
Barrett
--
[ http://www.sosuke.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] Yahoo! Maps Flash API

2006-06-14 Thread Kevin Newman
I'm using the 3.02 (it says 3.2.0 in the Extension Manager) component in 
my current work, and importing that widget seems to work fine. Are you 
sure you have the latest MXP?


http://developer.yahoo.com/maps/flash/componentEULA.html

Kevin N.


Mike Britton wrote:

I'm getting started with the Yahoo! Flash API, and noticed their Maps
mxp doesn't include com.yahoo.maps.widgets.NavigatorWidget.  Looks
like Yahoo! needs to update their MXP to include this code since
there's an article on Adobe about how to use it.

http://www.adobe.com/devnet/flash/articles/yahoo_mashup_02.html

If anyone's run into this, let me know (and if you have this MXP with
com.yahoo.maps.widgets.NavigatorWidget included, I'd appreciate it
someone could send this to me offlist).


Mike




___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
Some good thoughts, Kevin.  It'll take me some time to work through all the
testing.  I thought you'd be interested to know, I found two PCs the same
version of IE on them - one exhibits the buggy behavior, the other doesn't.
According to the version info, the IE installations are identical.  However,
there are some differences as to which Advanced Options are available, and
one has the Java runtime installed and the other doesn't.  Hopefully, I can
narrow this down to a setting or something.  On a very coarse-grain level,
the installation that does not exhibit the bug is a much newer installation
with no add-ons. 

I'm frankly not sure at this point whether to try to figure out the critical
difference between the two browsers, or to try different JS methodologies
until I hit one that works bug free.

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman
Sent: Wednesday, June 14, 2006 8:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

Maybe the workaround is to remove the old node, before overwriting it? I 
am currently just setting oldObjectNode.outerHTML = newObject.outerHTML. 
We might have to remove the old node completely, then reinsert it (in 
the correct position in the DOM).

Actually, it's probably worth testing if the script is running at all 
when you set up your error condition (and whether the script has access 
to the DOM if it does run - an alert(document.body.innerHTML); should 
do). I think that you may have found a critical bug in the deferred 
script technique. I have noticed intermittent strange behavior with 
using deffered scripts with IE on other projects.

Another solution might be to just suffer the extra load time (waiting 
for images and such), and use the document.onactivate event or 
document.onbeforeactivate, which fires before onload. I think right 
before it, which means after all the images load - actually, I'm not 
even sure it waits until the DOM is ready... If my assumptions about 
when this fires are correct, it will take longer to load than the defer 
method, but will still happen before onload, so onload scripting should 
still be safe.

http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onactivate.
asp

Then there's the old ondocumentready trick..

This is still related to Flash in a round about way, but it more about 
JScript ActiveX and IE than it is about Flash at this point. I'll let 
you guys decide if this should continue on the list...

Kevin N.


Tom Lee wrote:
 Really I wasn't considering the delay as a real solution.  It was just
 something I was using to probe for clues.  

 the embedded object cannot exist prior to the 
 onload event firing or it will require activation. Period.

 Actually, that's not true.  The only time it DOES require activation when
 inserted by a deferred script (script defer src=whatever.js/script)
is
 if the user clears their cache and revisits the page without restarting
 their browser first.  It is this edge case for which I am seeking a
 workaround.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of ryanm
 Sent: Wednesday, June 14, 2006 5:20 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

   
 Perhaps there is a magic sweet spot between the execution
 of deferred scripts and window.onload when elements can be inserted into 
 the
 document without click to activate.

 
 There's no magic there, the embedded object cannot exist prior to the 
 onload event firing or it will require activation. Period. Don't use a 
 delay, use the onload event. A delay is unpredictable because you are 
 working on the client side, where bandwidth, network congestion, and the 
 size of the images and other files loaded into the page will cause the 
 amount of time before the onload event fires to vary drastically. To state

 that more clearly, you will *never* accomplish this in any predictable way

 using a time delay, not even if you make the delay over 1 minute, because 
 somewhere there is still a guy using a 14.4 modem.

 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


___
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] Eolas fix and backspace key flash bug

2006-06-14 Thread Tom Lee
Some more information... Don't know how I missed this earlier, but it turns
out the script defer isn't the issue - the bug occurs even with
window.onload.  Stupid me.

Anyway, here's a link that may explain the whole thing:

http://blog.metawrap.com/blog/MicrosoftsEolasActiveXPatchForIESometimesBreak
sJavaScriptWorkaround.aspx


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Wednesday, June 14, 2006 10:21 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Eolas fix and backspace key flash bug

Some good thoughts, Kevin.  It'll take me some time to work through all the
testing.  I thought you'd be interested to know, I found two PCs the same
version of IE on them - one exhibits the buggy behavior, the other doesn't.
According to the version info, the IE installations are identical.  However,
there are some differences as to which Advanced Options are available, and
one has the Java runtime installed and the other doesn't.  Hopefully, I can
narrow this down to a setting or something.  On a very coarse-grain level,
the installation that does not exhibit the bug is a much newer installation
with no add-ons. 

I'm frankly not sure at this point whether to try to figure out the critical
difference between the two browsers, or to try different JS methodologies
until I hit one that works bug free.

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman
Sent: Wednesday, June 14, 2006 8:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

Maybe the workaround is to remove the old node, before overwriting it? I 
am currently just setting oldObjectNode.outerHTML = newObject.outerHTML. 
We might have to remove the old node completely, then reinsert it (in 
the correct position in the DOM).

Actually, it's probably worth testing if the script is running at all 
when you set up your error condition (and whether the script has access 
to the DOM if it does run - an alert(document.body.innerHTML); should 
do). I think that you may have found a critical bug in the deferred 
script technique. I have noticed intermittent strange behavior with 
using deffered scripts with IE on other projects.

Another solution might be to just suffer the extra load time (waiting 
for images and such), and use the document.onactivate event or 
document.onbeforeactivate, which fires before onload. I think right 
before it, which means after all the images load - actually, I'm not 
even sure it waits until the DOM is ready... If my assumptions about 
when this fires are correct, it will take longer to load than the defer 
method, but will still happen before onload, so onload scripting should 
still be safe.

http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onactivate.
asp

Then there's the old ondocumentready trick..

This is still related to Flash in a round about way, but it more about 
JScript ActiveX and IE than it is about Flash at this point. I'll let 
you guys decide if this should continue on the list...

Kevin N.


Tom Lee wrote:
 Really I wasn't considering the delay as a real solution.  It was just
 something I was using to probe for clues.  

 the embedded object cannot exist prior to the 
 onload event firing or it will require activation. Period.

 Actually, that's not true.  The only time it DOES require activation when
 inserted by a deferred script (script defer src=whatever.js/script)
is
 if the user clears their cache and revisits the page without restarting
 their browser first.  It is this edge case for which I am seeking a
 workaround.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of ryanm
 Sent: Wednesday, June 14, 2006 5:20 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Eolas fix and backspace key flash bug

   
 Perhaps there is a magic sweet spot between the execution
 of deferred scripts and window.onload when elements can be inserted into 
 the
 document without click to activate.

 
 There's no magic there, the embedded object cannot exist prior to the 
 onload event firing or it will require activation. Period. Don't use a 
 delay, use the onload event. A delay is unpredictable because you are 
 working on the client side, where bandwidth, network congestion, and the 
 size of the images and other files loaded into the page will cause the 
 amount of time before the onload event fires to vary drastically. To state

 that more clearly, you will *never* accomplish this in any predictable way

 using a time delay, not even if you make the delay over 1 minute, because 
 somewhere there is still a guy using a 14.4 modem.

 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

Re: [Flashcoders] .swf's containing html's location

2006-06-14 Thread Jameson Hsu

Aaron,

I don't think that your example is working.  The This ad is being served
to field is empty in your example.  Also your variable servedToUrl isn't
being utilized in the code that you provided.

Did I overlook something?

Jameson



On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


Alright,

I had a theory that if you were to try and load a relative file that
didn't
exist, you might be able to catch the path within the
MovieClipLoader.onLoadError() event, by reading the ._url property of the
movieclip that you were trying to load into. This seems to be working
fine,
if there is no documented way to read the property, then I will continue
this way.

Here is a preview, notice the swf is being called remotely:
http://lab-media.com/test

This is the code:

var myListener:Object = new Object ();
var servedToUrl:String = ;
var my_mcl:MovieClipLoader = new MovieClipLoader ();
var myListener:Object = new Object ();
myListener.onLoadError = function (target_mc:MovieClip, errorCode:String)
{
servingUrl = target_mc._url.substr (0, target_mc._url.indexOf
(SomeFileThatDoesntExist));
};
my_mcl.addListener (myListener);
this.createEmptyMovieClip (clip1_mc, this.getNextHighestDepth ());
my_mcl.loadClip (SomeFileThatDoesntExist, clip1_mc);


Thx!
Aaron


On 6/14/06 3:52 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:

 I am doing some flash ads and was trying to find out if there is a
property
 that I can read the url of the html page that called my current .swf
file.

 I know that MovieClip._url will tell me where the .swf file's sitting,
but
 what do I read for the serving page's location?

 Thx!
 Aaron


 ___
 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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
Forgot to embed fonts.

The variable servedToUrl, defined on line 2, was a typo, should have been
servingUrl, which is what was embedded into the textfield and being set from
the onLoadError event.

I moved the test into a more permanent place and uploaded the flas, incase
anyone wanted to take a look.

DEMO: http://lab-media.com/transfer/chattyfig/swf_served_url/
SOURCE: http://lab-media.com/transfer/chattyfig/swf_served_url/source.zip

Thx!
Aaron


On 6/14/06 8:17 PM, Jameson Hsu [EMAIL PROTECTED] wrote:

 Aaron,
 
 I don't think that your example is working.  The This ad is being served
 to field is empty in your example.  Also your variable servedToUrl isn't
 being utilized in the code that you provided.
 
 Did I overlook something?
 
 Jameson
 
 
 
 On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:
 
 Alright,
 
 I had a theory that if you were to try and load a relative file that
 didn't
 exist, you might be able to catch the path within the
 MovieClipLoader.onLoadError() event, by reading the ._url property of the
 movieclip that you were trying to load into. This seems to be working
 fine,
 if there is no documented way to read the property, then I will continue
 this way.
 
 Here is a preview, notice the swf is being called remotely:
 http://lab-media.com/test
 
 This is the code:
 
 var myListener:Object = new Object ();
 var servedToUrl:String = ;
 var my_mcl:MovieClipLoader = new MovieClipLoader ();
 var myListener:Object = new Object ();
 myListener.onLoadError = function (target_mc:MovieClip, errorCode:String)
 {
 servingUrl = target_mc._url.substr (0, target_mc._url.indexOf
 (SomeFileThatDoesntExist));
 };
 my_mcl.addListener (myListener);
 this.createEmptyMovieClip (clip1_mc, this.getNextHighestDepth ());
 my_mcl.loadClip (SomeFileThatDoesntExist, clip1_mc);
 
 
 Thx!
 Aaron
 
 
 On 6/14/06 3:52 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:
 
 I am doing some flash ads and was trying to find out if there is a
 property
 that I can read the url of the html page that called my current .swf
 file.
 
 I know that MovieClip._url will tell me where the .swf file's sitting,
 but
 what do I read for the serving page's location?
 
 Thx!
 Aaron
 
 
 ___
 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] .swf's containing html's location

2006-06-14 Thread Jameson Hsu

I think I figured out the problem.  Your solution only seems to work when
running Safari.  I'm running Firefox on a PC so that's why your examples
weren't working for me.

Jameson



On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


Forgot to embed fonts.

The variable servedToUrl, defined on line 2, was a typo, should have been
servingUrl, which is what was embedded into the textfield and being set
from
the onLoadError event.

I moved the test into a more permanent place and uploaded the flas, incase
anyone wanted to take a look.

DEMO: http://lab-media.com/transfer/chattyfig/swf_served_url/
SOURCE: http://lab-media.com/transfer/chattyfig/swf_served_url/source.zip

Thx!
Aaron


On 6/14/06 8:17 PM, Jameson Hsu [EMAIL PROTECTED] wrote:

 Aaron,

 I don't think that your example is working.  The This ad is being
served
 to field is empty in your example.  Also your variable servedToUrl
isn't
 being utilized in the code that you provided.

 Did I overlook something?

 Jameson



 On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:

 Alright,

 I had a theory that if you were to try and load a relative file that
 didn't
 exist, you might be able to catch the path within the
 MovieClipLoader.onLoadError() event, by reading the ._url property of
the
 movieclip that you were trying to load into. This seems to be working
 fine,
 if there is no documented way to read the property, then I will
continue
 this way.

 Here is a preview, notice the swf is being called remotely:
 http://lab-media.com/test

 This is the code:

 var myListener:Object = new Object ();
 var servedToUrl:String = ;
 var my_mcl:MovieClipLoader = new MovieClipLoader ();
 var myListener:Object = new Object ();
 myListener.onLoadError = function (target_mc:MovieClip,
errorCode:String)
 {
 servingUrl = target_mc._url.substr (0, target_mc._url.indexOf
 (SomeFileThatDoesntExist));
 };
 my_mcl.addListener (myListener);
 this.createEmptyMovieClip (clip1_mc, this.getNextHighestDepth ());
 my_mcl.loadClip (SomeFileThatDoesntExist, clip1_mc);


 Thx!
 Aaron


 On 6/14/06 3:52 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:

 I am doing some flash ads and was trying to find out if there is a
 property
 that I can read the url of the html page that called my current .swf
 file.

 I know that MovieClip._url will tell me where the .swf file's sitting,
 but
 what do I read for the serving page's location?

 Thx!
 Aaron


 ___
 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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
Interesting find Jameson! I just ran it on a pc here at the office and it
worked in IE and failed in Firefox. It also fails on OS X in firefox.

Anyone know of any issues with onLoadError not being triggered from firefox?

Thx!
Aaron


On 6/14/06 8:45 PM, Jameson Hsu [EMAIL PROTECTED] wrote:

 I think I figured out the problem.  Your solution only seems to work when
 running Safari.  I'm running Firefox on a PC so that's why your examples
 weren't working for me.
 
 Jameson


___
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] xls - xml mapping

2006-06-14 Thread Kedar Mehendale
Hi,

I have designed a website in flash with a xml backend. All the products are 
called from the xml datasheet. Now the client wants a simpler way of updating 
the site. He finds xml difficult to work on.

How can i map an xls to the xml backend. ie the client will update the xls file 
 upload it. From there the xml should read the xls file and update the site.

Is that possible. Pls do help if anyone knows the solution or codes to do it.

Thanks.

Regards,
Kedar Mehendale

Account Supervisor
Tribal DDB India 
[EMAIL PROTECTED]
Brindavan , 3rd Floor, Shree Ram Mills, Worli, Mumbai 18
Tel: 022-30404055 /58
Cell: 9820211838
www.tribalddbindia.com


This email is intended only for the named person or entity to which it is 
addressed and contains valuable business information that is privileged, 
confidential and/or otherwise protected from disclosure. Dissemination, 
distribution or copying of this email or the information herein, by anyone 
other than the intended recipient or an employee or an agent responsible for 
delivering the message to the intended recipient, is strictly prohibited. All 
contents are the copyright property of Mudra Communications Pvt. Ltd. (Mudra) 
or its group Companies or its clients. If you are not the intended recipient, 
you are nevertheless bound to respect the sender's legal rights. We require 
that unintended recipients delete the email and destroy all electronic copies 
in their system, retaining no copies in any media. Information in this message 
that do not relate to the official business of sender or its group Companies 
shall be understood to be neither given nor endorsed by the Company. If you 
have received this e-mail in error, please notify us immediately by email to 
[EMAIL PROTECTED]

The email has been successfully scanned for presence of virus.  It is 
recommended to scan along with attachment, if any, before launching. We do not 
accept any liability for any errors, omissions, viruses or computer problems 
experienced by any recipient as a result of this email.








___
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] How long will it takes to develop a stock quotes banner with Flash?

2006-06-14 Thread 翁穎晰
I'm so curious about this problem. It seems to handle flash and ActionScript is 
not so easy.

Well, let's take a look at the demo : a demo of flash-based RIA euqiped with 
iPush Server.

http://www.icetechnology.com/scenarios/finance.shtml

The developer of that demo (my boss) is not familiar with ActiveScript 2.0 and 
Flash. According to his opinions, 

Started from the page one of books about Flash MX (for API documentation 
purpose) to the D-day, one month.

Write-to-learn the POC (receiverfeeder), 2 weeks.

I think a skilled AS developer can make it in one day.___
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] How long will it takes to develop a stock quotes banner with Flash?

2006-06-14 Thread Ramon Miguel M. Tayag

Yeah, just to develop the banner, assuming everything else is in
place, would take a day or less.

On 6/15/06, 翁穎晰 [EMAIL PROTECTED] wrote:

I'm so curious about this problem. It seems to handle flash and ActionScript is 
not so easy.

Well, let's take a look at the demo : a demo of flash-based RIA euqiped with 
iPush Server.

http://www.icetechnology.com/scenarios/finance.shtml

The developer of that demo (my boss) is not familiar with ActiveScript 2.0 and 
Flash. According to his opinions,

Started from the page one of books about Flash MX (for API documentation 
purpose) to the D-day, one month.

Write-to-learn the POC (receiverfeeder), 2 weeks.

I think a skilled AS developer can make it in one day.


--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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] .swf's containing html's location

2006-06-14 Thread Aaron Buchanan
After I asked, I found a bunch of people mentioning this bug. Sorry for bein
lazy.. According to some livedocs post, we cannot rely on this event
because:

The problem is that the MovieClipLoader.onLoadError function is triggered
by 404 HTTP error... as far as I know, nor mozilla or CF based servers
return 404 error to flash.. that's why it doesn't work...

FROM:
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/h
tml/wwhelp.htm?context=Flash_MX_2004file=1579.html

So I tried not using the moviecliploader class, and just using a loadmovie
then an iterative function to watch the movieclip's _url property to change,
but it didn't.

I guess the clip's _url value will only be updated once the load has
finished, or an error has been returned. Otherwise it's still waiting for
something to load (as indicated by the status waiting for
lab-media.com...).

Anyone else have any ideas? I'm about out, sigh.

Thx!
Aaron


On 6/14/06 9:06 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:

 Interesting find Jameson! I just ran it on a pc here at the office and it
 worked in IE and failed in Firefox. It also fails on OS X in firefox.
 
 Anyone know of any issues with onLoadError not being triggered from firefox?
 
 Thx!
 Aaron
 
 
 On 6/14/06 8:45 PM, Jameson Hsu [EMAIL PROTECTED] wrote:
 
 I think I figured out the problem.  Your solution only seems to work when
 running Safari.  I'm running Firefox on a PC so that's why your examples
 weren't working for me.
 
 Jameson
 
 
 ___
 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: *** Spam *** [Flashcoders] xls - xml mapping

2006-06-14 Thread Aaron Buchanan
Quick search turned this up:
http://www.xml.com/pub/a/2002/01/09/q-and-a.html

A

On 6/15/06 9:47 AM, Kedar Mehendale [EMAIL PROTECTED] wrote:

 Hi,
 
 I have designed a website in flash with a xml backend. All the products are
 called from the xml datasheet. Now the client wants a simpler way of updating
 the site. He finds xml difficult to work on.
 
 How can i map an xls to the xml backend. ie the client will update the xls
 file  upload it. From there the xml should read the xls file and update the
 site.
 
 Is that possible. Pls do help if anyone knows the solution or codes to do it.
 
 Thanks.
 
 Regards,
 Kedar Mehendale
 
 Account Supervisor
 Tribal DDB India 
 [EMAIL PROTECTED]
 Brindavan , 3rd Floor, Shree Ram Mills, Worli, Mumbai 18
 Tel: 022-30404055 /58
 Cell: 9820211838
 www.tribalddbindia.com
 
 
 This email is intended only for the named person or entity to which it is
 addressed and contains valuable business information that is privileged,
 confidential and/or otherwise protected from disclosure. Dissemination,
 distribution or copying of this email or the information herein, by anyone
 other than the intended recipient or an employee or an agent responsible for
 delivering the message to the intended recipient, is strictly prohibited. All
 contents are the copyright property of Mudra Communications Pvt. Ltd. (Mudra)
 or its group Companies or its clients. If you are not the intended recipient,
 you are nevertheless bound to respect the sender's legal rights. We require
 that unintended recipients delete the email and destroy all electronic copies
 in their system, retaining no copies in any media. Information in this message
 that do not relate to the official business of sender or its group Companies
 shall be understood to be neither given nor endorsed by the Company. If you
 have received this e-mail in error, please notify us immediately by email to
 [EMAIL PROTECTED]
 
 The email has been successfully scanned for presence of virus.  It is
 recommended to scan along with attachment, if any, before launching. We do not
 accept any liability for any errors, omissions, viruses or computer problems
 experienced by any recipient as a result of this email.
 
 
 
 
 
 
 
 
 ___
 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: *** Spam *** [Flashcoders] xls - xml mapping

2006-06-14 Thread Aaron Buchanan
Here is another, has more implementation in a non-complex xml schema
http://www.meadinkent.co.uk/xl_xml1.htm
a

On 6/15/06 9:47 AM, Kedar Mehendale [EMAIL PROTECTED] wrote:

 Hi,
 
 I have designed a website in flash with a xml backend. All the products are
 called from the xml datasheet. Now the client wants a simpler way of updating
 the site. He finds xml difficult to work on.
 
 How can i map an xls to the xml backend. ie the client will update the xls
 file  upload it. From there the xml should read the xls file and update the
 site.
 
 Is that possible. Pls do help if anyone knows the solution or codes to do it.
 
 Thanks.
 
 Regards,
 Kedar Mehendale
 
 Account Supervisor
 Tribal DDB India 
 [EMAIL PROTECTED]
 Brindavan , 3rd Floor, Shree Ram Mills, Worli, Mumbai 18
 Tel: 022-30404055 /58
 Cell: 9820211838
 www.tribalddbindia.com
 
 
 This email is intended only for the named person or entity to which it is
 addressed and contains valuable business information that is privileged,
 confidential and/or otherwise protected from disclosure. Dissemination,
 distribution or copying of this email or the information herein, by anyone
 other than the intended recipient or an employee or an agent responsible for
 delivering the message to the intended recipient, is strictly prohibited. All
 contents are the copyright property of Mudra Communications Pvt. Ltd. (Mudra)
 or its group Companies or its clients. If you are not the intended recipient,
 you are nevertheless bound to respect the sender's legal rights. We require
 that unintended recipients delete the email and destroy all electronic copies
 in their system, retaining no copies in any media. Information in this message
 that do not relate to the official business of sender or its group Companies
 shall be understood to be neither given nor endorsed by the Company. If you
 have received this e-mail in error, please notify us immediately by email to
 [EMAIL PROTECTED]
 
 The email has been successfully scanned for presence of virus.  It is
 recommended to scan along with attachment, if any, before launching. We do not
 accept any liability for any errors, omissions, viruses or computer problems
 experienced by any recipient as a result of this email.
 
 
 
 
 
 
 
 
 ___
 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] .swf's containing html's location

2006-06-14 Thread Rajat Paharia

Here's something I tried that might work if you have control over the code
used to do the embed. You'll need to set allowScriptAccess to always and
set the name/id in the OBJECT/EMBED tags to the same as the variable
embedName. This doesn't require any javascript to be embedded in the page.
This sets a variable named location to the location of the HTML page. You
should wait a frame or two before trying to read it.

getURL ('javascript:document.getElementById(' + embedName+
').setVariable(location, window.location.href); void (0);');

I have in my notes that this only worked in IE, but can't remember the
specifics. Also won't work on MySpace where they overwrite allowScriptAccess
to never.

Crazy the hoops you need to jump through to even attempt to get this
information.

best, - rajat


On 6/14/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


After I asked, I found a bunch of people mentioning this bug. Sorry for
bein
lazy.. According to some livedocs post, we cannot rely on this event
because:

The problem is that the MovieClipLoader.onLoadError function is triggered
by 404 HTTP error... as far as I know, nor mozilla or CF based servers
return 404 error to flash.. that's why it doesn't work...

FROM:

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/h
tml/wwhelp.htm?context=Flash_MX_2004file=1579.html

So I tried not using the moviecliploader class, and just using a loadmovie
then an iterative function to watch the movieclip's _url property to
change,
but it didn't.

I guess the clip's _url value will only be updated once the load has
finished, or an error has been returned. Otherwise it's still waiting for
something to load (as indicated by the status waiting for
lab-media.com...).

Anyone else have any ideas? I'm about out, sigh.

Thx!
Aaron


On 6/14/06 9:06 PM, Aaron Buchanan [EMAIL PROTECTED] wrote:

 Interesting find Jameson! I just ran it on a pc here at the office and
it
 worked in IE and failed in Firefox. It also fails on OS X in firefox.

 Anyone know of any issues with onLoadError not being triggered from
firefox?

 Thx!
 Aaron


 On 6/14/06 8:45 PM, Jameson Hsu [EMAIL PROTECTED] wrote:

 I think I figured out the problem.  Your solution only seems to work
when
 running Safari.  I'm running Firefox on a PC so that's why your
examples
 weren't working for me.

 Jameson


 ___
 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





--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.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