RE: [Flashcoders] Copy Paste into Firefox

2006-07-17 Thread Anthony Lee
Hi Jim, All,

 No worries, If it works in one version and not in another - it's up to
 you/theclient/company to decide which browsers you support.

I'm the client, the end users are my clients, and I say not being able to
copy and paste into Firefox bites!!

 This is obviously very important to my company and others considering this
 is an important part of many forms-based flash applications.

Agreed 100%. Ajax starts looking a lot more attractive when this kind of
thing comes up.

I've posted a SWF to collect input here:
http://dozo.jp/paste_test.php

The source is here:
http://dozo.jp/PasteTest.zip

Thanks

Tony


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Does your next RIA work in Firefox?

2006-07-17 Thread Anthony Lee
Hi,

Sorry for starting a new thread on this but it seems important.

Rich Internet Application development review
1) Get information for the punters
2) Do something sexy with it in Flash

It's not all pushing buttons and typing. There's the clipboard... If your
not building something to get data from the users clipboard now your next
project might, and the bad news appears to be that Firefox is not coming
to the party.

I've noticed that Ctrl-v, pasting from the clipboard to flash, doesn't
work in all versions of Firefox. In fact nothing related to the clipboard
does.

A similar thread from 2001:
http://chattyfig.figleaf.com/pipermail/flashcoders/2001-November/016166.html
...didn't post an answer.

Please visit this URL:
http://dozo.jp/paste_test.php

Then try to paste something in on Firefox and and register how it went.

The test results are available at:
http://dozo.jp/paste_test.php?result=true

I've managed to figure out that pressing Ctrl and V _really_ fast
sometimes works. In that case I get the following output:

UP -   Code: 17Key:
UP -   Code: 86Key: v
DOWN - Code: 86Key: v
DOWN - Code: 17Key:

As opposed to:

UP -   Code: 86Key: v
UP -   Code: 17Key:
DOWN - Code: 86Key: v
DOWN - Code: 17Key:

Which is the key sequence flash reads when the operation fails.

IE reads the keys in this order:

DOWN - Code: 17Key:
UP -   Code: 86Key: v
UP -   Code: 17Key:

Hacking something to get the info from Javascript doesn't seem like a
practical option, Firefox won't read the clipboard by default:
http://www.mozilla.org/editor/midasdemo/securityprefs.html

Any input appreciated.

Thanks for reading this far!

Tony


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Output to Text File

2006-07-17 Thread Nick Weekes
Kelly,

Did you decide on an approach to this?  Id be interested to hear it.

Cheers,

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kelly snyder
Sent: 11 July 2006 17:51
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Output to Text File

I am trying to find a way to get my Flash file read from and write to ASCII
text files.  I would like to run the swf or exe file on my local machine,
with an input test file and an output text file in the same directory.  The
swf file would read from the input file and write to the output  file.  Is
this possible?  Can I use javascript to achieve this?

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flex2 application HorizontalList with varying mx:text width

2006-07-17 Thread franto

Hi all,

I know, this is Flash coders list, but many of you are working or jsut
trying with new Flex2.

i got 2 problems:
1) higer priority:

I got HorizontalList with dataProvider which contains some Strings which can
have varying length
and I need to create itemRenderer (mx:Text, mx:Laberl, whatever) which can
render this strings but space between strings must be same

So it should be varying width of mx:text component in List
Till now I didnt find anything in Flex2 help... Please help, if you know
some workaround, it would be great
I have to do it today :))

2) lower priority:
I need hand cursor on mx:text (fake button)  i've turn on buttonMode=true
butit doesn't work

Thank you all in advance

--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FW: Flash Remoting on Flash 8

2006-07-17 Thread Rui Duarte Silva
Hi,

I'm having a problem regarding Flash Remoting on Flash8. I've already posted
a question before on this group, but received no answer that solved the
problem (I'm hoping there is one that does :) ).

Is there a way to isolate connection level errors and determine its type
(HTTP10, HTTP500, etc) in Flash Remoting for Flash 8?

I did this in Flash MX 2004 Pro by defining an onStatus callback function in
a Connection object that was shared in all Service objects. When a
connection error occurred, this callback function was called with an object
that had several properties indicating the kind of error it was (much like
the one returned on PendingCall). Apparently in Flash Player 8, though the
function is still called, no object is sent to it, so I have no way of
knowing what kind of error happened. I scanned through the Connection class
definition and discovered it extends NetConnection. I tried to use that
instead, but the same thing happens so I'm assuming it's a player 8 thing as
NetConnection is an intrinsic class.

I scavenged the Net for answers and tried all the suggestions to no avail.
Used _global.System.onStatus, _root.onStatus and none of them worked. I'm
starting to get a bit desperate as I absolutely need to know this info to
indicate to the user what happened.

Anyone can help me? Please?

Rui Duarte Silva
Senior Flash Developer / Senior Product Manager
 
MNI - Médicos Na Internet, Saúde na Internet, SA
Alert Life Sciences Computing
 
www.alert-online.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] FLVPlayBack Component in Flash 8

2006-07-17 Thread vipin chandran

Hello All,

I am using FLVPlayBack Component for my project. I have a doubt here. The
fastforward and rewind button just takes the playhead to end and start of
the movie respectively.

I want the real ffwd and rwnd function for my video player. I am streaming
from Flash Meda Server. Help me out how i can achieve this...

Regards,

Vipin
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis

The weird thing is: In the flash 9 as3 preview IDE, I tried it and it does
work!
I imported the Test class, set c:\classes\ as the root within the IDE, and
the constructor
simply traces 'jay'. So I guess the problem is the source-path setting in
the XML.. Which
is:
source-path 
path-elementc:/classes//path-element
/source-path

But I can't see what's wrong with it

-Meinte

On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote:


I tried it just yet, doesn't work either :(.



On 7/15/06, Bernard Visscher [EMAIL PROTECTED] wrote:

 Try this:
 source-path
 path-elementc:/classes/path-element
 /source-path

 Note the / instead of \ for the path.

 Hope this will help.

 Bernard

  -Oorspronkelijk bericht-
  Van: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Namens
  Meinte van't Kruis
  Verzonden: zaterdag 15 juli 2006 15:11
  Aan: Flashcoders mailing list
  Onderwerp: Re: [Flashcoders] as3: weird package problem
 
  Thanks for your reply,
 
  I just tried out what you suggested, but didn't make any difference :(

 
  It works when I leave the package name empty (this seems obvious).
  But that wouldnt be a solution, because a class sitting
  somewhere else wouldn't be able to access it.
 
  On 7/15/06, John Grden  [EMAIL PROTECTED] wrote:
  
   it's a stab in the dark, but have you tried renaming your class to
   somehting different than the folder/package it sits in?
  
   package nl.test{
  public class MyClassTest{
  public function MyClassTest(){
  }
  }
   }
  
  
  
   On 7/15/06, Meinte van't Kruis [EMAIL PROTECTED] wrote:
   
Hellow,
   
I'm currently exploring as3 with the free compiler and
  keep running
against a seemingly strange problem.
Here's my class:
   
package nl.test{
public class Test{
public function Test(){
}
}
}
   
It's sitting in the directory c:\classes\nl\test. That
  directory is
   added
in
the flex configuration file:
   
source-path
 path-elementc:\classes\/path-element
/source-path
   
I get the following error when I try to compile the class:
   
C:\classes\nl\test\Test.as: Error: A file found in a source-path
must
   have
the s
ame package structure '', as the definition's package, 'nl.test'.
   
This error also shows when I don't add the c:\classes to the
source-path in the flex-config.xml.
   
I'm really stuck, I can't figure out what I'm doing
  wrong, probably
overlooking something..
Does anyone know?
   
regards,
Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com
   
  
  
  
   --
   John Grden
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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] Loading issue: Downloading just stops without reason!

2006-07-17 Thread Éric Thibault
I've visited your site last week (or two) and it worked like a charm!  
But now, it just stops loading...


Have you done any modifications in the loading sequence since then?

Good luck!

Éric.

Marcelo de Moraes Serpa a écrit :
Hi Keith.  Have you looked at the site? Did it load ok for you? 
Actually I´m

using PixLib´s LibStack to load the SWF´s sequentially. Maybe there´s
something that I missed up in the code (two assets loading at the same 
time)

but I don´t think so. I don´t know how LibStack´s implements it though...
has anyone ever had similar problem?

Thanks again,

Marcelo.

On 7/16/06, keith [EMAIL PROTECTED] wrote:


You probably have better luck by making each item load sequentially
after one finishes when flash is loading them in web-browser.
Is there some HTTP limit on the total number of items and kb size a
person can load through HTTP at a time anyone?
I had this same problem before and I fixed it by waiting for each asset
to load before starting to load another asset.

--Keith H --



Marcelo de Moraes Serpa wrote:
 I´m having a really serious issue with my flash website. I´m using
pixlib
 LibStack to load several library SWF´s at the initial preloader. The
 problem
 is that sometimes the loading just stops without any apparent reason.
 Many
 of users are complaining about that and I don´t know what could be
 causing
 it as on my tests locally, the preloading works 100%. What could be
 happening!?

 Here´s the url to the site: www.chapeco-online.com.br

 Any hints on what could be happening would be greatly appreaciated...

 Marcelo.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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




--
===

É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] mirror effect using bitmapdata and matrix

2006-07-17 Thread Peter O'Brien

Hi coders,  I am trying to get a mirror effect to work.  The effect has a
number of x and y reflections in a set sized mc (this case a 240x180), which
is intended to result in a tiled effect (the more reflections the smaller
the tile)

Senoculars tutorial on the matrix is pretty comprehensive but I can't quite
get my creation to work, below is the function i have written so far, if
anyone could enlighten me would be great:

public function mirror(mc:MovieClip):Void
   {
   var mcSnapshot:BitmapData=new BitmapData(240,180,false);
   mcSnapshot.draw(mc);
   var mcMirror=mc.createEmptyMovieClip('mcMirror',1);
   var mirrorBmpd:BitmapData=new BitmapData(240,180,false);
   var totalReflections=_reflectionsInX*_reflectionsInY;
   var xUnit=240/_reflectionsInX, yUnit=180/_reflectionsInY;
   var a=1/_reflectionsInX;
   var d=1/_reflectionsInY;
   for(var i=0; itotalReflections; i++){
   var xc=i%_reflectionsInX;
   var yc=Math.floor(i/_reflectionsInY);
   var xReverse = (xc%2) ? 1 : -1;
   var yReverse = (yc%2) ? 1 : -1;
   var m:Matrix=new
Matrix(a*xReverse,0,0,d*yReverse,xc*xUnit,yc*yUnit);
   mirrorBmpd.draw(mcSnapshot,m);
   }
   mcMirror.attachBitmap(mirrorBmpd,1);
   }

Best,
Pete
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiplayer and LAG!

2006-07-17 Thread iestyn lloyd

Hey all,

I might be working on a multiplayer game at some point in the future,
and i'm wondering how you guys have dealt with lag? Obviously its not
just the users net connection, but also the fact that flash can run
rather slowly on some machines..

Anyone here dealt with this problem before? I'm interested in hearing
any experiences you've had... :)

Cheers,

iestyn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiplayer and LAG!

2006-07-17 Thread Jobe Makar

Hi iestyn,

How you deal with lag can depend on the type of game you're creating. What, 
in a nutshell, are you going to be creating? Turn-based versust real-time is 
the first big question to be answered.


I've programmed over 50 multiplayer games and would be happy to provide some 
insight here!


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message - 
From: iestyn lloyd [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, July 17, 2006 10:09 AM
Subject: [Flashcoders] Multiplayer and LAG!



Hey all,

I might be working on a multiplayer game at some point in the future,
and i'm wondering how you guys have dealt with lag? Obviously its not
just the users net connection, but also the fact that flash can run
rather slowly on some machines..

Anyone here dealt with this problem before? I'm interested in hearing
any experiences you've had... :)

Cheers,

iestyn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiplayer and LAG!

2006-07-17 Thread dan
I built some multiplayer game swith flash com
And the best thing I can say
Build you game ona turn base instead of realtime

Tun base'd games the lag dosent matter
:)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of iestyn lloyd
Sent: Monday, July 17, 2006 4:10 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Multiplayer and LAG!

Hey all,

I might be working on a multiplayer game at some point in the future,
and i'm wondering how you guys have dealt with lag? Obviously its not
just the users net connection, but also the fact that flash can run
rather slowly on some machines..

Anyone here dealt with this problem before? I'm interested in hearing
any experiences you've had... :)

Cheers,

iestyn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multiplayer and LAG!

2006-07-17 Thread iestyn lloyd

On 7/17/06, Jobe Makar [EMAIL PROTECTED] wrote:

Hi iestyn,

How you deal with lag can depend on the type of game you're creating. What,
in a nutshell, are you going to be creating? Turn-based versust real-time is
the first big question to be answered.

I've programmed over 50 multiplayer games and would be happy to provide some
insight here!



Turn-based I don't really see (too) much of a problem. It's the whole
realtime thing that gets me worried!
Any examples of smooth running realitime multiplayer games? :)

Cheers!

iestyn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 issue: Downloading just stops without reason!

2006-07-17 Thread Marcelo de Moraes Serpa

Hi Éric.. that´s what I wanna find out... I don´t remember having done any
modifications since then, at least not on the preloader... however, what I
would really love to know is why the preloading **just stops** as you said
:(

Marcelo.

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


I've visited your site last week (or two) and it worked like a charm!
But now, it just stops loading...

Have you done any modifications in the loading sequence since then?

Good luck!

Éric.

Marcelo de Moraes Serpa a écrit :
 Hi Keith.  Have you looked at the site? Did it load ok for you?
 Actually I´m
 using PixLib´s LibStack to load the SWF´s sequentially. Maybe there´s
 something that I missed up in the code (two assets loading at the same
 time)
 but I don´t think so. I don´t know how LibStack´s implements it
though...
 has anyone ever had similar problem?

 Thanks again,

 Marcelo.

 On 7/16/06, keith [EMAIL PROTECTED] wrote:

 You probably have better luck by making each item load sequentially
 after one finishes when flash is loading them in web-browser.
 Is there some HTTP limit on the total number of items and kb size a
 person can load through HTTP at a time anyone?
 I had this same problem before and I fixed it by waiting for each asset
 to load before starting to load another asset.

 --Keith H --



 Marcelo de Moraes Serpa wrote:
  I´m having a really serious issue with my flash website. I´m using
 pixlib
  LibStack to load several library SWF´s at the initial preloader. The
  problem
  is that sometimes the loading just stops without any apparent reason.
  Many
  of users are complaining about that and I don´t know what could be
  causing
  it as on my tests locally, the preloading works 100%. What could be
  happening!?
 
  Here´s the url to the site: www.chapeco-online.com.br
 
  Any hints on what could be happening would be greatly appreaciated...
 
  Marcelo.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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



--
===

É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] the height of a dynamic textfield

2006-07-17 Thread MetaArt
How can I retrieve the height of a dynamic textfield, created runtime, with
'autoSize' set to true ('left')?
I need this value dynamically, to assign it as variable for other actions,
and the textfield can load text with different lenght...

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] as3: weird package problem

2006-07-17 Thread John Giotta

This same problem had me puzzled too.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] problem displaying text in dynamic text box with embeded fonts in flash 8

2006-07-17 Thread Jeanna Lievsasy

This is frustrating... I've got several dynamic text boxes that pull in text
from my .txt file just fine until i embed the font.  Anyone know what is up
with that and how to fix the problem.  I've found several threads talking
about the same problem but no solutions that i understand.  I would also
LOVE to know why this is happening in the first place when it was never a
problem in previous versions.

Thanks much.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 height of a dynamic textfield

2006-07-17 Thread Matthias Dittgen

Hi Enrico,

the best working solution I know, is to encapsulate the textfield into
a MovieClip. Then you insert your text into the textfield and
afterwards you determine the height of the MovieClip.

Have fun,
Matthias

remark: I think, this is one of the questions that is asked all the
time and again and again. So my question is: Is there, beside of the
flashcoders archive, a flashcoders faq?


2006/7/17, MetaArt [EMAIL PROTECTED]:

How can I retrieve the height of a dynamic textfield, created runtime, with
'autoSize' set to true ('left')?
I need this value dynamically, to assign it as variable for other actions,
and the textfield can load text with different lenght...

* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] problem displaying text in dynamic text box with embeded fonts in flash 8

2006-07-17 Thread Marc Hoffman
Are you using html text? If so, are you embedding the font for each 
face (regular, bold, and italic)? A simple way to do that is to 
create a dummy text field for each font face required, embed the 
necessary characters, and check the text field for bold or italic as 
needed. If that's not the issue, if you're using any special 
characters that aren't gettting embedded, try embedding ALL 
characters just as a test. Or modify your .txt file to contain just a 
very simple, plain string and see if that works.


Sorry I can't be more definitive about this.

Marc

At 10:31 AM 7/17/2006, you wrote:


Errors-To: [EMAIL PROTECTED]
X-UIDL: +7T[EMAIL PROTECTED]!b=@!'$a!

This is frustrating... I've got several dynamic text boxes that pull in text
from my .txt file just fine until i embed the font.  Anyone know what is up
with that and how to fix the problem.  I've found several threads talking
about the same problem but no solutions that i understand.  I would also
LOVE to know why this is happening in the first place when it was never a
problem in previous versions.

Thanks much.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 height of a dynamic textfield

2006-07-17 Thread Palmer, Jim
I found this bit http://www.overset.com/?p=1 from the stock 
mx.controls.gridclasses code that finds the height rather well.

--
Jim Palmer ! Mammoth Web Operations

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Steven
 Sacks | BLITZ
 Sent: Monday, July 17, 2006 10:48 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] the height of a dynamic textfield
 
 
 TextField.textHeight
 
 A lot of answers can be found in Flash's built-in help.
 
 1. Type TextField into the actions window and select it.  
 2. In Flash 7, hit the Lookup button.  In Flash 8, right click and
 choose View Help
 3. Expand the TextField folder and look through all the properties of
 TextField.
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] AMFPHP: CrossDomain

2006-07-17 Thread Ashwan Wadhwa
Hello,

I am working on a project where the data is read/written to another web
server for which AMFPHP is being deployed, everything works perfectly
when running off the local machine. However when I host this on a
separate server I keep getting Macromedia Flash Security Sandbox
warning. I did go in and the line
System.security.allowDomain(name_of_domain). That still did not work. I
finally used the wild card allowDomain(*).  This also did not solve
the security problem. Is there something I am missing here. If I use the
security.allowDomain function, do I still need to deploy a
crossdomain.xml file in the webserver root. And where does this is
crossdomain policy go? In the webserver hosting the flash files or the
one hosting the amfphp gateway.php file??
 
Thanks
Ashwan.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] In the List Component how to add more than one iconin one item (eg. Yahoo Messenger's Address Book)

2006-07-17 Thread Steven Sacks | BLITZ
Write your own, don't use the component.

BLITZ | Steven Sacks - 310-551-0200 x209


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Santhakumar K
 Sent: Friday, July 14, 2006 7:25 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] In the List Component how to add more than one
 iconin one item (eg. Yahoo Messenger's Address Book)
 
 flashcoders,
   I am developing a appliction which should have more than one icon in
one
 item (eg. Yahoo Messenger's Address Book). Anyone can help me in this
 regard.
 
 Thanks,
 santhakumar
 --
 Santhakumar K Chennai India
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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 height of a dynamic textfield

2006-07-17 Thread Merrill, Jason
Wait for it to load first.  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of MetaArt
Sent: Monday, July 17, 2006 2:12 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] the height of a dynamic textfield

yes, I supposed the same... but, if I code like this:

 loadVariables(artlist.txt, _root.lists.submain);
 var middle = _root.lists.submain.height;
 _root.ctrl = middle;

the ctrl textfield stay empty, and an action based on this value don't
start...
TextField.textHeight don't retrieve any value...


* Enrico Tomaselli
* web designer
[EMAIL PROTECTED]
http://www.metatad.it
* Skype: MetaArt
RSS: http://www.metatad.it/mnfeeder.php
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Copy Paste into Firefox

2006-07-17 Thread Palmer, Jim
Tony,

This still seems odd, the http://dozo.jp/paste_test.php example works fine on 
my XP+FF1.5.0.4
I'll test this on more machines here.

--
Jim Palmer ! Mammoth Web Operations
(work) 760.934.2571 x3233 ! (cell) 518.331.2688 ! (home) 760.709.0119


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf
 Of Anthony Lee
 Sent: Tuesday, January 16, 2007 9:47 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Copy  Paste into Firefox


 Hi Jim, All,

  No worries, If it works in one version and not in another -
 it's up to
  you/theclient/company to decide which browsers you support.

 I'm the client, the end users are my clients, and I say not
 being able to
 copy and paste into Firefox bites!!

  This is obviously very important to my company and others
 considering this
  is an important part of many forms-based flash applications.

 Agreed 100%. Ajax starts looking a lot more attractive when
 this kind of
 thing comes up.

 I've posted a SWF to collect input here:
 http://dozo.jp/paste_test.php

 The source is here:
 http://dozo.jp/PasteTest.zip

 Thanks

 Tony


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Multiplayer and LAG!

2006-07-17 Thread Jeremy Rodgers

I came across this article a while ago, still relevant although not specific
to Flash/FMS:
http://mine-control.com/zack/timesync/timesync.html


On 7/17/06, iestyn lloyd [EMAIL PROTECTED] wrote:


On 7/17/06, Jobe Makar [EMAIL PROTECTED] wrote:
 Hi iestyn,

 How you deal with lag can depend on the type of game you're creating.
What,
 in a nutshell, are you going to be creating? Turn-based versust
real-time is
 the first big question to be answered.

 I've programmed over 50 multiplayer games and would be happy to provide
some
 insight here!


Turn-based I don't really see (too) much of a problem. It's the whole
realtime thing that gets me worried!
Any examples of smooth running realitime multiplayer games? :)

Cheers!

iestyn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flash Query String More Problems

2006-07-17 Thread Sunnrunner
Hello,

I'm having a problem with my menu item labels showing up. Here is my code
below the link. I tried url encoding it but, no luck. The problem is random
but, consistently on the same buttons if that makes sense. Anyone have any
suggestions? Thanks, passing parameters into flash should not be such a
pain. Much appreciation, T.

http://www.todamax.com/index.php?c=50d=27a=6w=2r=Y

HTML
object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=7,0,19,0 width=150 height=20
param name=movie
value=image_lib/navButtonsSub1.swf?buttonLabel={$menu_text[menu]} /
param name=quality value=high /
param name=FlashVars value=uri={$menu_link[menu]|urlencode} /
embed
src=image_lib/navButtonsSub1.swf?buttonLabel={$menu_text[menu]|urlencode}
quality=high pluginspage=http://www.macromedia.com/go/getflashplayer;
type=application/x-shockwave-flash width=150 height=20
FlashVars=uri={$menu_link[menu]|urlencode}/embed
/object
END HTML


AS
myButtonLabel = _root.buttonLabel;
AS



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tan
Sent: Sunday, July 16, 2006 3:13 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash Query String Problem

You might want to pass in escaped value for myURL before it is passed into
Flash so that Flash would not get confused.  Depending on how the URL is
generated, in javascript you can easily write it as escape(myURLvalue).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sunnrunner
Sent: Sunday, July 16, 2006 5:04 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flash Query String Problem

Hello,

I have a button flash file. This file needs two parameters that are passed
in through the query string. 

Here's my query string. 
navButtons.swf?myURL={$menu_channel_id[menu]}buttonLabel={$menu_text[menu]}

here is the URL that is being passed in

domain.com/index.php?c=21a=35w=2r=Y

the ampersands are making flash think these are separate variables to pass
into flash. Is there a way to make flash send in the above link as a whole
without chopping it up into several separate variables.

I would use some other method besides a query string but, I really need this
to work with it.

Hope that makes sense!

Thanks,
T



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] First attempts at wirting code in AS2

2006-07-17 Thread Steven Sacks | BLITZ
You need to declare your class variables before you use them:

class GameObject extends MovieClip {
var little_stars_mc:MovieClip;
var game_number:Number;

function GameObject() {
game_number = 1;
little_stars_mc.gotoAndStop(game + game_number);
}
}

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] call JS-Method from SWF in hidden div on IE

2006-07-17 Thread David Fischer

Hi Kevin,

after several test i can confirm your previously mentioned behaviour,
but haven't found a workaround though.

Thanks for your information!

David





Kevin Newman wrote:
In my experience with trying to work out a magic fix for the eolas 
patent (http://www.unfocus.com/projects/patentMagic/), I have found that 
in IE, with swfs at least (but possibly all objects) objects that are 
set with display: none, do not even load in the background, never mind 
execute javascript.


Kevin N.


David Fischer wrote:

Hi,

turns out that a swf in a  hidden div won't execute any 
Javascript-Methods in Internet Explorer.

it kinda seems logical in terms of if anything is hidden, i don't care.

this works with firefox (mac/win), opera(mac/win), safari though.
Can anyone confirm this behaviour ?

Thanks,

David



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

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




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] In the List Component how to add more than one icon in one item (eg. Yahoo Messenger's Address Book)

2006-07-17 Thread eric dolecki

Use a custom cellRenderer. You can find oodles of information on that in the
archives of this list, google, and flash developer sites. I assume you mean
something like this:

http://www.ericd.net/new_css/

on the right side, the middle list box and its various icons shown there.

On 7/14/06, Santhakumar K [EMAIL PROTECTED] wrote:


flashcoders,
  I am developing a appliction which should have more than one icon in one
item (eg. Yahoo Messenger's Address Book). Anyone can help me in this
regard.

Thanks,
santhakumar
--
Santhakumar K Chennai India
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Wierd animated text trailing effect issue

2006-07-17 Thread Geoffrey Holland
Hello,

 

I am working on a dynamic presentation generator which allows for user
generated SWF content authored by a console, external XML files,  and
compiled by using swfmill and mtasc.

 

The user can define animations on textfields, along with changing fonts,
sizes, etc.

 

The problem I'm having is that when running the MTASC compiled SWF, and the
text animates, it is leaving a ghost trail behind, as if the stage is not
refreshing the display. Using embedFonts with textformats and external font
library to created the text content along with the animation package to
animate the content. Also. The top of the text is being cut off, as if the
baseline is being shifted up a half of a line. (BTW. the text displays fine
in my SWF studio authored console upon reimport of the parameters).

 

Any thoughts? Have already tried updateAfterEvent in an onEnterFrame call.
Could this be an MTASC compiling bug?

 

Thanks in advance,

 

Geoff

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JumpEye Accordian Tree Pro - Anyone know what options are available?

2006-07-17 Thread Mendizabal

Hey All, So I have a project that I am using Jumpeye's Accordion Tree Menu
component to display the menu. I have knocked it around a bit, but the set
doesn't come with much instruction to speak of and if it does it's in broken
English. Does anyone know what options are available? Or if there is a list
one can point me I would be greatly appreciative.

Thanks,
Steve
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Output to Text File

2006-07-17 Thread Adrian Park

Nick,

I know you asked Kelly but, in case it's interesting to you, I have
completed the project I was working on using Zinc. It is a kiosk application
in which I needed to capture user data from a form in Flash and append it to
a text file for collection later. Zinc made this an absolute breeze! The new
{mdm}Script™ 2.0 is a doddle to use and really well integrated and with just
a few short lines of code I was able to build the functionality I needed.

Cheers
Adrian

On 7/17/06, Nick Weekes [EMAIL PROTECTED] wrote:


Kelly,

Did you decide on an approach to this?  Id be interested to hear it.

Cheers,

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kelly
snyder
Sent: 11 July 2006 17:51
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Output to Text File

I am trying to find a way to get my Flash file read from and write to
ASCII
text files.  I would like to run the swf or exe file on my local machine,
with an input test file and an output text file in the same
directory.  The
swf file would read from the input file and write to the output  file.  Is
this possible?  Can I use javascript to achieve this?

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] call JS-Method from SWF in hidden div on IE

2006-07-17 Thread Bernard Visscher
You could try a width and height of 0px and the overflow set to hidden.
I don't know if all browsers will accept 0px for the width or height,
therefor I made a simple js example:

script language=javascript type=text/javascript
function hideDiv(divId)
{
var d = document.getElementById(divId);
if(document.all){
d.style.width = 0px;
d.style.height = 0px;
d.style.overflow = hidden; 
} else {
d.style.visibility = hidden;
}
}
hideDiv(testDiv);
/script

Just place it just before the /body tag.

Greetz,

Bernard
 

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Namens 
 David Fischer
 Verzonden: maandag 17 juli 2006 21:18
 Aan: Flashcoders mailing list
 Onderwerp: Re: [Flashcoders] call JS-Method from SWF in 
 hidden div on IE
 
 Hi Kevin,
 
 after several test i can confirm your previously mentioned 
 behaviour, but haven't found a workaround though.
 
 Thanks for your information!
 
 David
 
 
 
 
 
 Kevin Newman wrote:
  In my experience with trying to work out a magic fix for the eolas 
  patent (http://www.unfocus.com/projects/patentMagic/), I have found 
  that in IE, with swfs at least (but possibly all objects) 
 objects that 
  are set with display: none, do not even load in the 
 background, never 
  mind execute javascript.
  
  Kevin N.
  
  
  David Fischer wrote:
  Hi,
 
  turns out that a swf in a  hidden div won't execute any 
  Javascript-Methods in Internet Explorer.
  it kinda seems logical in terms of if anything is hidden, 
 i don't care.
 
  this works with firefox (mac/win), opera(mac/win), safari though.
  Can anyone confirm this behaviour ?
 
  Thanks,
 
  David
  
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
  
  
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] AMFPHP: CrossDomain

2006-07-17 Thread Count Schemula

crossdomain.xml goes in the webserver root of the server with the flash file.

I had problems with it recently as well, it was not easy to
troubleshoot, so, I can offer no other hints.

On 7/17/06, Ashwan Wadhwa [EMAIL PROTECTED] wrote:

Hello,

I am working on a project where the data is read/written to another web
server for which AMFPHP is being deployed, everything works perfectly
when running off the local machine. However when I host this on a
separate server I keep getting Macromedia Flash Security Sandbox
warning. I did go in and the line
System.security.allowDomain(name_of_domain). That still did not work. I
finally used the wild card allowDomain(*).  This also did not solve
the security problem. Is there something I am missing here. If I use the
security.allowDomain function, do I still need to deploy a
crossdomain.xml file in the webserver root. And where does this is
crossdomain policy go? In the webserver hosting the flash files or the
one hosting the amfphp gateway.php file??

Thanks
Ashwan.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AMFPHP: CrossDomain

2006-07-17 Thread Mike Britton

To skirt this issue, I use AMFPHP proxy classes on my swf's host
server to talk to other servers or snap up RSS files.  Not sure about
filesystem stuff though.  It seems like that would be a security issue
on the backend as well as the front!

Feel free to mail me offlist if you want to check out one of the PHP
proxy classes.

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] Output to Text File

2006-07-17 Thread Nick Weekes
Adrian/Eric, 

Thanks for the info.

I need to build quite a large RIA soon (it will be a flex app, but for the
purposes of this discussion the gui will be a series of swf's) that requires
extensive local machine/local network access (and this needs to be released
prior to Apollo).  I understand there is a polarised opinion of desktop to
swf products such as zinc, but my current thinking is if I need to use a
wrapper of this nature, I'd prefer to write my own in C# (my app is heavily
reliant on database servers, and im not sure current data access in zinc or
swf studio is sufficient or good enough performance-wise).  

Maybe these products have moved on since I last investigated though.

Eric, just out of interest, what particularly puts you off zinc?

Cheers,

Nick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: 17 July 2006 22:40
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Output to Text File

When I hear people using Zinc, I cringe. I hope that works out for you.
Personally, I feel more content using a little product from Northcode...

e.dolecki

On 7/17/06, Adrian Park [EMAIL PROTECTED] wrote:

 Nick,

 I know you asked Kelly but, in case it's interesting to you, I have 
 completed the project I was working on using Zinc. It is a kiosk 
 application in which I needed to capture user data from a form in 
 Flash and append it to a text file for collection later. Zinc made 
 this an absolute breeze! The new {mdm}ScriptT 2.0 is a doddle to use 
 and really well integrated and with just a few short lines of code I 
 was able to build the functionality I needed.

 Cheers
 Adrian

 On 7/17/06, Nick Weekes [EMAIL PROTECTED] wrote:
 
  Kelly,
 
  Did you decide on an approach to this?  Id be interested to hear it.
 
  Cheers,
 
  Nick
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  kelly snyder
  Sent: 11 July 2006 17:51
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Output to Text File
 
  I am trying to find a way to get my Flash file read from and write 
  to ASCII text files.  I would like to run the swf or exe file on my 
  local
 machine,
  with an input test file and an output text file in the same 
  directory.  The swf file would read from the input file and write to 
  the
 output  file.  Is
  this possible?  Can I use javascript to achieve this?
 
  _
  Don't just search. Find. Check out the new MSN Search!
  http://search.msn.click-url.com/go/onm00200636ave/direct/01/
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Output to Text File

2006-07-17 Thread Steven Sacks | BLITZ
And I feel happy using mProjector from Binary Noise, a wrapper written
with a Flash developer in mind from the ground up.  The API is second to
none and the performance and stability is unmatched, IMO.

BLITZ | Steven Sacks - 310-551-0200 x209


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of eric dolecki
 Sent: Monday, July 17, 2006 2:40 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Output to Text File
 
 When I hear people using Zinc, I cringe. I hope that works out for
you.
 Personally, I feel more content using a little product from
Northcode...
 
 e.dolecki
 
 On 7/17/06, Adrian Park [EMAIL PROTECTED] wrote:
 
  Nick,
 
  I know you asked Kelly but, in case it's interesting to you, I have
  completed the project I was working on using Zinc. It is a kiosk
  application
  in which I needed to capture user data from a form in Flash and
append
 it
  to
  a text file for collection later. Zinc made this an absolute breeze!
The
  new
  {mdm}Script(tm) 2.0 is a doddle to use and really well integrated
and with
  just
  a few short lines of code I was able to build the functionality I
 needed.
 
  Cheers
  Adrian
 
  On 7/17/06, Nick Weekes [EMAIL PROTECTED] wrote:
  
   Kelly,
  
   Did you decide on an approach to this?  Id be interested to hear
it.
  
   Cheers,
  
   Nick
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
kelly
   snyder
   Sent: 11 July 2006 17:51
   To: flashcoders@chattyfig.figleaf.com
   Subject: [Flashcoders] Output to Text File
  
   I am trying to find a way to get my Flash file read from and write
to
   ASCII
   text files.  I would like to run the swf or exe file on my local
  machine,
   with an input test file and an output text file in the same
   directory.  The
   swf file would read from the input file and write to the
  output  file.  Is
   this possible?  Can I use javascript to achieve this?
  
   _
   Don't just search. Find. Check out the new MSN Search!
   http://search.msn.click-url.com/go/onm00200636ave/direct/01/
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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] Output to Text File

2006-07-17 Thread eric dolecki

Zinc looks awesome on the outside. The app is nice looking, the APIs look to
be really deep  extensive. However I have found it to be quite buggy

On 7/17/06, Nick Weekes [EMAIL PROTECTED] wrote:


Adrian/Eric,

Thanks for the info.

I need to build quite a large RIA soon (it will be a flex app, but for the
purposes of this discussion the gui will be a series of swf's) that
requires
extensive local machine/local network access (and this needs to be
released
prior to Apollo).  I understand there is a polarised opinion of desktop to
swf products such as zinc, but my current thinking is if I need to use a
wrapper of this nature, I'd prefer to write my own in C# (my app is
heavily
reliant on database servers, and im not sure current data access in zinc
or
swf studio is sufficient or good enough performance-wise).

Maybe these products have moved on since I last investigated though.

Eric, just out of interest, what particularly puts you off zinc?

Cheers,

Nick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric
dolecki
Sent: 17 July 2006 22:40
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Output to Text File

When I hear people using Zinc, I cringe. I hope that works out for you.
Personally, I feel more content using a little product from Northcode...

e.dolecki

On 7/17/06, Adrian Park [EMAIL PROTECTED] wrote:

 Nick,

 I know you asked Kelly but, in case it's interesting to you, I have
 completed the project I was working on using Zinc. It is a kiosk
 application in which I needed to capture user data from a form in
 Flash and append it to a text file for collection later. Zinc made
 this an absolute breeze! The new {mdm}ScriptT 2.0 is a doddle to use
 and really well integrated and with just a few short lines of code I
 was able to build the functionality I needed.

 Cheers
 Adrian

 On 7/17/06, Nick Weekes [EMAIL PROTECTED] wrote:
 
  Kelly,
 
  Did you decide on an approach to this?  Id be interested to hear it.
 
  Cheers,
 
  Nick
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  kelly snyder
  Sent: 11 July 2006 17:51
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] Output to Text File
 
  I am trying to find a way to get my Flash file read from and write
  to ASCII text files.  I would like to run the swf or exe file on my
  local
 machine,
  with an input test file and an output text file in the same
  directory.  The swf file would read from the input file and write to
  the
 output  file.  Is
  this possible?  Can I use javascript to achieve this?
 
  _
  Don't just search. Find. Check out the new MSN Search!
  http://search.msn.click-url.com/go/onm00200636ave/direct/01/
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] Yahoo! Maps api

2006-07-17 Thread Kevin Newman
This is a known problem with the current version of the mxp file (3.02). 
You can work around the problem by using the whole classname.


so instead of:

import com.yahoo.maps.widgets.NavigatorWidget;
var foo:NavigatorWidget = new NavigatorWidget('closed');

use:

var foo:com.yahoo.maps.widgets.NavigatorWidget =
   new com.yahoo.maps.widgets.NavigatorWidget('closed');

etc.

There is another way to fix this, but I can't remember it ;-P

Kevin N.


Aaron Buchanan wrote:

Anyone seen any issues with class files not being installed when you load
the mpx in?

This is among the errors I am getting after freshly installing the
component. I tried y! Blogs but haven't heard back yet, so was wondering if
anyone here had found any info on the mystery classes :)

**Error** Symbol=yahoomap, layer=//as, frame=1:Line 7: The class or
interface 'com.yahoo.maps.widgets.NavigatorWidget' could not be loaded.
 import com.yahoo.maps.widgets.NavigatorWidget;

Thx!
A

  



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] amf-php, AS2, mysql, and multilanguage website

2006-07-17 Thread Anthony Lee
 Hi all, can someone put a step by step guide about what are the correct
 steps to have a front(in flash) that connects to a MySql with AMFPHP

Lots of good information at:
http://www.sephiroth.it
http://www.5etdemi.com/blog/
http://amfphp.org

Flash player uses UTF-8 so you shouldn't have character issues.

One gotcha, if you're storing UTF-8 strings in MySQL you will want to use
4+, and you'll need to call the following before running select where
queries from your service.

mysql_query(SET NAMES 'utf8');

Tony
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] as3: weird package problem

2006-07-17 Thread Meinte van't Kruis

haha, ok well at least I'm not the only one. Question is: What is the
solution?? I can't imagine beeing the only one wondering bout this..

On 7/17/06, John Giotta [EMAIL PROTECTED] wrote:


This same problem had me puzzled too.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Scrollpane and masking

2006-07-17 Thread Haikal Saadh

Hi all.

Having some problems with the v2 scrollpane.

I'm trying to pick up where this post: 
http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2005-January/128299.html

leaves off.

Basically, the content 'outside' my scroll pane is not being masked off, 
and by reading the post above, I've got this bit of code:


   private function createChildren():Void {
  
   viewport = ScrollPane(createObject(ScrollPane,viewport, 
depth++));

   viewport.contentPath = TimeLineBackground;
  
   viewport.addEventListener(complete, this);

   viewport.move(0,0);
   timeLineBG = viewport.content;
   timeLineBG._width = 600;
  
   viewport.doLater(this,forceScrollPaneRefresh);
   viewport.addEventListener(scroll, this); 
   }
  
   private function forceScrollPaneRefresh(){

   viewport.invalidate();
   viewport.redraw(true);
   trace (viewPort redrawn);
   }
  
   private function scroll(){

   viewport.doLater(this,forceScrollPaneRefresh);
   trace(scrolled);
   }


This is all within a component that extends UIComponent.  I can see the 
events are getting fired and handled from the traces. Am I 
misunderstanding what I'm supposed to do?


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

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


RE: [Flashcoders] Scrollpane and masking

2006-07-17 Thread Steven Sacks | BLITZ
How is your movie built?  Is the scrollpane component in a loaded in
swf?  If so, you must have the scrollpane component in the library of
the root/loading swf.  Do you have the scrollpane embedded in another
component?  Do you have the scrollpane masked?

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

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