[Flashcoders] Nested clip mouse over

2013-05-21 Thread [ p e r c e p t i c o n ]
Anyone know how to get the mouse over of a nested clip
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flickering buttons

2013-05-18 Thread [p e r c e p t i c o n]
Hi Gang,

really stupid question.

I have a movieclip that animates on.  in it are several movieclips
representing buttons.
When the the containing movieclip animates on...the clips it contains
flicker even thought they have instance names.  Does anyone have any ideas
on why this is happening?

thanks,

p

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flickering buttons

2013-05-18 Thread [ p e r c e p t i c o n ]
I guess what I mean is after the containing clip is finished animating the 
clips within it are cycling through their rollover states
Thanks

On May 18, 2013, at 10:29 AM, Paul A. p...@ipauland.com wrote:

 On 18/05/2013 15:19, [p e r c e p t i c o n] wrote:
 Hi Gang,
 
 really stupid question.
 
 I have a movieclip that animates on.  in it are several movieclips
 representing buttons.
 When the the containing movieclip animates on...the clips it contains
 flicker even thought they have instance names.  Does anyone have any ideas
 on why this is happening?
 
 thanks,
 
 p
 The fact they have instance names has no relevance.
 
 I suspect that they aren't on every frame of your animation.
 
 We can only guess.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] flickering buttons

2013-05-18 Thread [ p e r c e p t i c o n ]
Yes, code in the button class should stop it. I just wondered if the animation 
was creating individual instances and that was causing it to hinder the buttons 
is all.

On May 18, 2013, at 1:05 PM, Paul A. p...@ipauland.com wrote:

 I guess they're still playing.
 
 They won't stop just because the parent has stopped.
 
 If they are movieclip acting as buttons, at some stage you've told them to 
 play.
 
 You do have a stop() in them to stop then cycling, don't you?
 
 On 18/05/2013 17:16, [ p e r c e p t i c o n ] wrote:
 I guess what I mean is after the containing clip is finished animating the 
 clips within it are cycling through their rollover states
 Thanks
 
 On May 18, 2013, at 10:29 AM, Paul A. p...@ipauland.com wrote:
 
 On 18/05/2013 15:19, [p e r c e p t i c o n] wrote:
 Hi Gang,
 
 really stupid question.
 
 I have a movieclip that animates on.  in it are several movieclips
 representing buttons.
 When the the containing movieclip animates on...the clips it contains
 flicker even thought they have instance names.  Does anyone have any ideas
 on why this is happening?
 
 thanks,
 
 p
 The fact they have instance names has no relevance.
 
 I suspect that they aren't on every frame of your animation.
 
 We can only guess.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] jsfl

2013-05-02 Thread [p e r c e p t i c o n]
been a long time since i posted...

qwik ques..

what's wrong with this

MMExecute(fl.runScript(fl.configURI + 'Javascript' +
'/browse_optimize_dirs.jsfl', 'batchOptimize',  + iTxt + ,  + oTxt +
););

error is:

SyntaxError: missing ) after argument list

TIA

percy

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] getURL/ExternalInterface

2011-11-02 Thread [p e r c e p t i c o n]
Hi All,

Can anyone tell me if getURL or ExternalInterface in FP10 use HTTP 1.0 or
1.1?

TIA

percy

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-19 Thread [p e r c e p t i c o n]
Hi,

No I looked into that as a possibility, but I just realized is that over time 
there is a build up of connections orphaned by the server in the wait 
state...so I believe this is the source of my problem

Thanks again

 
[-percy-]

-Original Message-
From: Karl DeSaulniers k...@designdrumm.com
Sender: flashcoders-boun...@chattyfig.figleaf.com
Date: Tue, 18 Oct 2011 22:57:22 
To: Flash Coders Listflashcoders@chattyfig.figleaf.com
Reply-To: Flash Coders List flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] animation memory leak ... please help

Just checking, but you don't happen to have save bitmap as cache set to your 
image being animated do you? As it will be cached every move. 

JAT

Karl

Sent from losPhone

On Oct 18, 2011, at 4:02 PM, Paul Andrews p...@ipauland.com wrote:

 On 18/10/2011 21:46, Chris Foster wrote:
 If you're already manually removing event listeners and deleting created 
 objects, and you really wanna nail this and don't mind spending a few hours 
 learning something new then I totally recommend the Temple Library for 
 ActionScript 3 by MediaMonks
 
 The OP is using AS2..
 
 
 http://code.google.com/p/templelibrary/
 
 Extend all your MovieClips from 'CoreMovieClip', utilise the 'destruct' 
 method, and view/test the results in the 'Memory' class.
 
 It's saved my bacon, hope it's useful to you too.
 
 C:
 
 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com 
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of [p e r c e p 
 t i c o n]
 Sent: Wednesday, 19 October 2011 7:31 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] animation memory leak ... please help
 
 yes, i delete it and mark it null..
 
 thx all
 
 On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafaniross.sclaf...@gmail.comwrote:
 
 Are you disposing of the image after it is offscreen? Have you run the
 profiler to see what's happening?
 
 Ross P. Sclafani
 Design | Technology | Creative
 347.204.5714
 http://ross.sclafani.net
 http://www.twitter.com/rosssclafani
 
 On Oct 18, 2011, at 4:00 PM, Adrian Zajączajac.adr...@gmail.com  wrote:
 
 I think I had this problem once...
 How many of images do you have? Maybe it will be better to make the same
 number of movie clips, and download every jpg only once?
 
 Adrian
 
 W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
 Hi All,
 
 I have an excrutiating memory leak.  Here's what i'm doing.
 
 first some specs:
 
 AS2, FP10+, Linux OS, ff browser
 
 I load a jpg into one of two movie clips...once a specified amount of
 time
 has expired
 i load the next image (download it using moviclip loader) and animate
 the
 visible movieclip off stage (slide it to the left or right) and at the
 same
 time i animate it
 i also fade it (mc._alpha -= mc._alpha-someAmount).
 i swap their depths and repeat this process.
 
 what i'd like to know is why after so many hours (8-24) flash starts
 slowing
 down and ultimately throws up the abort script dialog when i'm not
 really
 doing anything all that intensive..
 can someone explain how flash handles animations internally for
 example...it
 creates a copy of the image in memory..moves it then blits it the
 screen.
 can anyone give me some pointers as to where to begin looking for this
 leak
 or if you think this is flash player bug
 
 all advise helpful
 
 thanks
 
 percy
 
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


[Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
Hi All,

I have an excrutiating memory leak.  Here's what i'm doing.

first some specs:

AS2, FP10+, Linux OS, ff browser

I load a jpg into one of two movie clips...once a specified amount of time
has expired
i load the next image (download it using moviclip loader) and animate the
visible movieclip off stage (slide it to the left or right) and at the same
time i animate it
i also fade it (mc._alpha -= mc._alpha-someAmount).
i swap their depths and repeat this process.

what i'd like to know is why after so many hours (8-24) flash starts slowing
down and ultimately throws up the abort script dialog when i'm not really
doing anything all that intensive..
can someone explain how flash handles animations internally for example...it
creates a copy of the image in memory..moves it then blits it the screen.

can anyone give me some pointers as to where to begin looking for this leak
or if you think this is flash player bug

all advise helpful

thanks

percy




-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
Yes :) 
Hours.
--Original Message--
From: Matt S.
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: Re: [Flashcoders] animation memory leak ... please help
Sent: Oct 18, 2011 12:43 PM

Hours? Is that supposed to be minutes? Or is it really running that long
nonstop?

..m

On Tue, Oct 18, 2011 at 2:39 PM, [p e r c e p t i c o n] 
percepti...@gmail.com wrote:

 what i'd like to know is why after so many hours (8-24)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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


Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread [p e r c e p t i c o n]
yes, i delete it and mark it null..

thx all

On Tue, Oct 18, 2011 at 1:13 PM, Ross Sclafani ross.sclaf...@gmail.comwrote:

 Are you disposing of the image after it is offscreen? Have you run the
 profiler to see what's happening?

 Ross P. Sclafani
 Design | Technology | Creative
 347.204.5714
 http://ross.sclafani.net
 http://www.twitter.com/rosssclafani

 On Oct 18, 2011, at 4:00 PM, Adrian Zając zajac.adr...@gmail.com wrote:

  I think I had this problem once...
  How many of images do you have? Maybe it will be better to make the same
 number of movie clips, and download every jpg only once?
 
 
  Adrian
 
  W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze:
  Hi All,
 
  I have an excrutiating memory leak.  Here's what i'm doing.
 
  first some specs:
 
  AS2, FP10+, Linux OS, ff browser
 
  I load a jpg into one of two movie clips...once a specified amount of
 time
  has expired
  i load the next image (download it using moviclip loader) and animate
 the
  visible movieclip off stage (slide it to the left or right) and at the
 same
  time i animate it
  i also fade it (mc._alpha -= mc._alpha-someAmount).
  i swap their depths and repeat this process.
 
  what i'd like to know is why after so many hours (8-24) flash starts
 slowing
  down and ultimately throws up the abort script dialog when i'm not
 really
  doing anything all that intensive..
  can someone explain how flash handles animations internally for
 example...it
  creates a copy of the image in memory..moves it then blits it the
 screen.
 
  can anyone give me some pointers as to where to begin looking for this
 leak
  or if you think this is flash player bug
 
  all advise helpful
 
  thanks
 
  percy
 
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] more movieclip loader madness

2011-10-17 Thread [p e r c e p t i c o n]
Hi again!

i'm using movieclip loader to download images.  very simple stuff. i
download an image and animate it across the screen.

it has a listener and i use the delegate class to deal with the loadInit
callback.
the strangest thing is that loadClip continues to be called unless i delete
the moviecliploader completely...

any ideas why this is happening...who might be holding on to it?

let me know if this makes sense or you need more to go on..

thanks

percy

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MovieClipLoader Oddness

2011-10-12 Thread [p e r c e p t i c o n]
Thaks Guys,

these suggestions are most helpful.

in addition to what i wrote...
i looked at the logs closer...and noticed that prior to the 304 status, my
logs show repeated downloads of the same image with a status of 200???
the number of times it downloads it appears to be random..sometimes only
twice sometimes as many as 10 times...

at this point i can't tell if it's flash or the server or the hardware..

Thanks again..

percy

On Wed, Oct 12, 2011 at 2:08 AM, Karl DeSaulniers k...@designdrumm.comwrote:

 Hi Percy,
 Sounds like you need to keep it from caching if only to test.
 Like Glen said in his tips, try the  ? + new Date().getTime(); when
 calling the image.
 Flash is most likely caching all the images and if you are fetching a
 grandios number of them,
 well flash is going to be reading all those files every time until its
 cleared or garbaged.
 If your storing 100,000+ every time, then the build up to a player stall is
 inevitable.
 At least that sounds right to me.. :)

 I've used ImageLoader and set a while loop that only continued unless
 incremented once the previous was at a ready state.
 Went very smoothly.

 Another thing you can do if you WANT to cache the images is set a
 .httaccess
 in your image directory that sets an expiration on images that are cached.
 Or even a cookie. Then flash can't cache everything forever,
 but if a user goes back to the same search, their results will open quickly
 for a period of time.
 Then the images are collected by the garbage man sooner than later.
 This may help in performance areas whereas the no-cache method may be a
 little intensive or take a min
 as you will always be downloading new images.

 For Apache:
 http://www.askapache.com/**htaccess/apache-speed-**compression.htmlhttp://www.askapache.com/htaccess/apache-speed-compression.html

 For .httaccess
 http://www.bloghash.com/2006/**11/beginners-guide-to-**
 htaccess-file-with-examples/http://www.bloghash.com/2006/11/beginners-guide-to-htaccess-file-with-examples/
 http://www.catswhocode.com/**blog/awesome-wordpress-hacks-**
 to-make-your-blogger-life-**easierhttp://www.catswhocode.com/blog/awesome-wordpress-hacks-to-make-your-blogger-life-easier
 (look at the bottom for .httaccess image caching)

 and then there is the option of loading per wither it has a status of 200
 or not.

 HTH,

 Best,
 Karl



 On Oct 12, 2011, at 3:13 AM, Glen Pike wrote:

  Hi,

   We have had similar issues loading images this way - we cannot stream
 from our image server program so Flash loads the same image into 2 movie
 clips swapping them whilst the server saves to the same image.

   To solve some difficulties with refreshing, so we used a cache-killer
 method, e.g. var url:String = http://imageserver/image.jpg?**; + new
 Date().getTime();

   We also had some problems loading one image when the first one had
 finished, so I used setTimeout inside the onLoadInit handler to delay
 calling of loading the next image.

   Our server also caused problems - apache could not read the image when
 the server was writing it, so the programmer wrote to a 2nd image, then
 renamed it to our desirable one, but this might not affect you.

   Hope some of these tricks may help.

   Glen



 On 11/10/2011 23:42, [p e r c e p t i c o n] wrote:

 Hi All,

 I'm working on a project in which I continuously grab images from a
 server
 (don't ask..) using MovieClipLoader.
 everything works fine for a period of days then suddenly the player
 crashes
 with the dreadful ..script to run slowly... dialog.
 when I check my servers logs, i notice that the server at some point
 earlier
 than the crash, started to send 304 (http status - means the document
 hasn't
 been modified) as opposed to status code 200 (ok - document was found..)

 has anyone else encountered this? and if so, what headers might the flash
 player be sending to trigger this?

 anyone with in-depth knowledge of the headers flash sends?

 Thx,

 percy


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] MovieClipLoader Oddness

2011-10-11 Thread [p e r c e p t i c o n]
Hi All,

I'm working on a project in which I continuously grab images from a server
(don't ask..) using MovieClipLoader.
everything works fine for a period of days then suddenly the player crashes
with the dreadful ..script to run slowly... dialog.
when I check my servers logs, i notice that the server at some point earlier
than the crash, started to send 304 (http status - means the document hasn't
been modified) as opposed to status code 200 (ok - document was found..)

has anyone else encountered this? and if so, what headers might the flash
player be sending to trigger this?

anyone with in-depth knowledge of the headers flash sends?

Thx,

percy

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] scrollbar problems

2010-10-16 Thread [p e r c e p t i c o n]
Hello,

apologize for the xpost but i need an answer quick

i've skinned a scrollbar (using cs5) and i can see that the the MovieClips
are in fact changed, but the scrollbar still shows up looking the same as
the default when i deploy it. when i test the movie it shows up.  is this a
problem with the player in the browser being different than the one
local..any ideas on how to get the player to recognize the skin.

thanks

percy

-- 
  . :   .
  [ p e r c e p t i c o n ]
  . _ _ _ _ _ _ _ _ _ _  .
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] jpeg enhancement

2009-02-05 Thread [p e r c e p t i c o n]
just the sort of thing i'm looking to do...perfect
thanks

percy

On Thu, Feb 5, 2009 at 12:17 AM, Hans Wichman 
j.c.wich...@objectpainters.com wrote:

 Hi,
 assuming you are using as2?
 http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html

 Besides that make sure that the source jpeg is a high quality one of
 course,
 smoothing a crappy jpeg is not going to make it better:)

 hth
 JC

 On Wed, Feb 4, 2009 at 7:18 PM, [p e r c e p t i c o n] 
 percepti...@gmail.com wrote:

  Hi,
  I'm loading them...appreciate all the tips...
  cheers
 
  percy
 
  On Wed, Feb 4, 2009 at 12:05 AM, Hans Wichman 
  j.c.wich...@objectpainters.com wrote:
 
   Hi,
  
   are you loading them or are they in the library?
   greetz
   JC
  
  
  
   On Tue, Feb 3, 2009 at 3:45 PM, Matt S. mattsp...@gmail.com wrote:
  
As Laurent said, check the smoothing, eg image.smoothing = true; ,
that's almost always the issue, especially if they're being scaled
down and appearing jaggy. This is assuming you're not scaling your
JPG's  100%, for which there's not much you can do, although
smoothing helps somewhat.
   
.m
   
On Mon, Feb 2, 2009 at 7:21 PM, [p e r c e p t i c o n]
percepti...@gmail.com wrote:
 Hi All,I have some JPEGs that I display in my app...the problem is
  that
the
 quality isn't so great...does anyone know of a way to enhance the
   quality
of
 a jpeg once you load it or am i skrewed
 thanks
 percy
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] jpeg enhancement

2009-02-04 Thread [p e r c e p t i c o n]
Hi,
I'm loading them...appreciate all the tips...
cheers

percy

On Wed, Feb 4, 2009 at 12:05 AM, Hans Wichman 
j.c.wich...@objectpainters.com wrote:

 Hi,

 are you loading them or are they in the library?
 greetz
 JC



 On Tue, Feb 3, 2009 at 3:45 PM, Matt S. mattsp...@gmail.com wrote:

  As Laurent said, check the smoothing, eg image.smoothing = true; ,
  that's almost always the issue, especially if they're being scaled
  down and appearing jaggy. This is assuming you're not scaling your
  JPG's  100%, for which there's not much you can do, although
  smoothing helps somewhat.
 
  .m
 
  On Mon, Feb 2, 2009 at 7:21 PM, [p e r c e p t i c o n]
  percepti...@gmail.com wrote:
   Hi All,I have some JPEGs that I display in my app...the problem is that
  the
   quality isn't so great...does anyone know of a way to enhance the
 quality
  of
   a jpeg once you load it or am i skrewed
   thanks
   percy
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] jpeg enhancement

2009-02-02 Thread [p e r c e p t i c o n]
Hi All,I have some JPEGs that I display in my app...the problem is that the
quality isn't so great...does anyone know of a way to enhance the quality of
a jpeg once you load it or am i skrewed
thanks
percy
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flash lite on widows mobile

2008-08-05 Thread [p e r c e p t i c o n]
Hi all...
Long time...

Wondering if anyone has actually developed using flash lite for windows
mobile 5 or 6...
what issues did you encounter, etc etc, any resources..tutorials, blogs and
such

thanks much

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


[Flashcoders] paused stream still playing...

2008-02-07 Thread [p e r c e p t i c o n]
Hi Coders,
I'm trying understand why an flv that i've pause is still playing but
without audio and it seems to play really fast then stop then play really
fas again until the whole video has played...only then does it truly
pause...
wierd??
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Insert new symbol

2008-02-04 Thread [p e r c e p t i c o n]
Hi all,
Can anyone explain why when you insert a new movieclip symbol using the
insertnew symbol from the menu can't choose a registration point?  very
annoying...
that's my rant for the day...
happy monday
p
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Delegate question...

2008-02-04 Thread [p e r c e p t i c o n]
oh yes...of course! i haven't done that in such a long time i forgot about
it :)
thanks to all

On Feb 4, 2008 7:21 AM, Merrill, Jason [EMAIL PROTECTED]
wrote:

 You don't.  Therein lies the rub with Macromedia's Delegate class.

 But there is a semi-ugly way you could if you want to.  Not that I
 recommend this method (though I have used it lots in the past with no
 issues, but I think it's better to go with Muzak's suggestion)

 myDel:Object = myClip.onRelease = Delegate.create(this,
 myReleaseHandler)
 myDel.myProperty = hello

 function myReleaseHandler():Void
 {
trace(arguments.caller.myProperty)
 }



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

 Bank of America Flash Platform Developer Community





 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Steven Sacks
 Sent: Friday, February 01, 2008 7:19 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Delegate question...
 
 You don't.  Therein lies the rub with Macromedia's Delegate class.
 
 Use Big Spaceship's Improved Delegate class
 
 http://labs.bigspaceship.com/blog/?p=9
 
 
 
 [p e r c e p t i c o n] wrote:
  Howdy,
  Quick question...How can I pass vars if i'm using delegates
 for handlers
  I have it set up like so...
 
 
  someMC.onRelease = Delegate.create(_level0, doSomething);
 
  what i want to be able to do is know which instance of
 someMC actually
  called it...
 
  thanks
 
  p
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Insert new symbol

2008-02-04 Thread [p e r c e p t i c o n]
because i load an image into it and animate from the middle of the
image...so if i can't control the registration point it animates from top
left...

On Feb 4, 2008 9:12 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote:

 Do you mean an empty MovieClip? It's empty - why do you need to worry
 about the registration point?

 Kenneth Kawamoto
 http://www.materiaprima.co.uk/

 [p e r c e p t i c o n] wrote:
  Hi all,
  Can anyone explain why when you insert a new movieclip symbol using the
  insertnew symbol from the menu can't choose a registration point?  very
  annoying...
  that's my rant for the day...
  happy monday
  p
 

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

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


Re: [Flashcoders] Delegate question...

2008-02-02 Thread [p e r c e p t i c o n]
you guys are indeed the best

many thanks
p

On Feb 2, 2008 5:28 AM, EECOLOR [EMAIL PROTECTED] wrote:

 class fly.Delegate extends Object
 {
   static function create(obj:Object, func:Function):Function
   {
  var returnFunction = function()
  {
 var self:Function = arguments.callee;
 var target_obj:Object = self.target_obj;
 var func:Function = self.func;
 var userArguments_array:Array = self.userArguments_array;
 return func.apply(target_obj, arguments.concat
 (userArguments_array));
  };

  returnFunction.target_obj = obj;
  returnFunction.func = func;
  returnFunction.userArguments_array = arguments.splice(2);
  return returnFunction;
   }
 };



 Greetz Erik


 On 2/2/08, Muzak [EMAIL PROTECTED] wrote:
 
  You don't and should never have to.
  Create a custom button (MovieClip+Class) that dispatches an event (e.g.
  release), rather than using a generic Button/MovieClip
  symbol.
  So instead of:
 
  someMC.onRelease = Delegate.create(_level0, doSomething);
 
  you'd then use:
 
  function doSomething(o:Object):Void {
  trace(o.target);
  }
  someMC.addEventListener(release, Delegate.create(this,
  doSomething));
 
  regards,
  Muzak
 
  - Original Message -
  From: [p e r c e p t i c o n] [EMAIL PROTECTED]
  To: Flash Coders List flashcoders@chattyfig.figleaf.com
  Sent: Saturday, February 02, 2008 1:02 AM
  Subject: [Flashcoders] Delegate question...
 
 
   Howdy,
   Quick question...How can I pass vars if i'm using delegates for
  handlers
   I have it set up like so...
  
  
   someMC.onRelease = Delegate.create(_level0, doSomething);
  
   what i want to be able to do is know which instance of someMC actually
   called it...
  
   thanks
  
   p
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] jpeg manipulation

2008-02-01 Thread [p e r c e p t i c o n]
Hello Experts,
I'm loading an arbitray number of jpgs that are pretty hefty in
size...roughly 650X400 or in other words between 15 and 40k.
I'm wondering if there's a way i can make them smaller other than using
jmagick or something similar before-hand...meaning before i load them into
my swf...currently i'm scaling them after i load them, but i'd like to be
able to do something more effecient...

cheers and
thanks

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


Re: [Flashcoders] jpeg manipulation

2008-02-01 Thread [p e r c e p t i c o n]
That's a great suggestion...thanks!

On Feb 1, 2008 8:58 AM, Helmut Granda [EMAIL PROTECTED] wrote:

 Im not familiar with jmagic but how about php? having the image resize the
 first time its hit and making a duplicate, then after that you can use
 either the original or the resized image.

 On 2/1/08, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
 
  Hello Experts,
  I'm loading an arbitray number of jpgs that are pretty hefty in
  size...roughly 650X400 or in other words between 15 and 40k.
  I'm wondering if there's a way i can make them smaller other than using
  jmagick or something similar before-hand...meaning before i load them
 into
  my swf...currently i'm scaling them after i load them, but i'd like to
 be
  able to do something more effecient...
 
  cheers and
  thanks
 
  p
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



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

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


[Flashcoders] Delegate question...

2008-02-01 Thread [p e r c e p t i c o n]
Howdy,
Quick question...How can I pass vars if i'm using delegates for handlers
I have it set up like so...


someMC.onRelease = Delegate.create(_level0, doSomething);

what i want to be able to do is know which instance of someMC actually
called it...

thanks

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


[Flashcoders] flash remoting msi

2007-09-14 Thread [p e r c e p t i c o n]
anyone besides me experience a problem installing the flash remoting msi
from the adobe site...
it keeps telling me that i don't have the installshield engine but every
other msi seems to work...
thanks
p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] protecting graphics

2007-09-14 Thread [p e r c e p t i c o n]
i can always do a screen capture...


On 9/14/07, Stanford Vinson [EMAIL PROTECTED] wrote:

 I am looking for a way to make it very difficult for a user who downloads
 my flash APP to extract the graphics. Can anyone help? Here is my
 situation:

 I am making a project that allows its users to download very complex maps
 as swfs. They are vector based created orignally from illustrator.
 However, they are very valuable to my client and he doesnt want them to be
 hacked and reused in other places for free. I have considered loading them
 in in mulitple swfs, but I could imagine the seperate swfs could be found
 in the temp files folder, decompiled and assembed in one FLA in about 30
 minutes. Can anyone suggest a better way to protect my extremely valuable
 graphics?

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

2007-09-14 Thread [p e r c e p t i c o n]
hi all,
can anyone tell me how remoting is accomplished using cs3...the domponents
download won't even install without flash 8 installed it appears
thanks
p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] cs3 remoting...

2007-09-14 Thread [p e r c e p t i c o n]
thanks guys!

On 9/14/07, Palmer, Jim [EMAIL PROTECTED] wrote:


 If you're starting a new project in AS3 just use the NetConnection classes
 included...

 http://www.oscartrelles.com/archives/as3_flash_remoting_example

 --
 Jim Palmer ! Mammoth Web Operations

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf
  Of [p e r c
  e p t i c o n]
  Sent: Friday, September 14, 2007 10:50 AM
  To: flashcoders
  Subject: [Flashcoders] cs3 remoting...
 
 
  hi all,
  can anyone tell me how remoting is accomplished using
  cs3...the domponents
  download won't even install without flash 8 installed it appears
  thanks
  p
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] documentation generators

2007-09-05 Thread [p e r c e p t i c o n]
hi all,
does anyone know of a documentation generator for flash files that can
output uml?

thanks

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

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


Re: [Flashcoders] as3 code!!

2007-09-03 Thread [p e r c e p t i c o n]
eka,
thanks for the link...i can see many uses for it in the future

p

On 9/2/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 thanks guys!

 the array idea is exactly what i didi just don't know why it took so
 long to come to me...i just got stuck in this one way of thinking, but
 thanks so much for the suggestions...i'm trying to learn as3 and flex and
 fms and air while i'm in-between jobs and my old bad habits (that as1/as2
 let me form) have to be done away with in favor of new ones :)

 cheers
 p


 On 9/2/07, T. Michael Keesey [EMAIL PROTECTED] wrote:
 
  On 9/1/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
   greetings experts!
  
   way back in the days of as2 you could do something like this...
  
   this[somevarname+someIndex] = new Something();
 
  Even in AS2, it seems that this would be better done with an array.
 
  var somethings:Array = [];
  something[someIndex] = new Something();
 
  (Same syntax in AS3.)
 
  Come to think of it, even in AS1 it would be better done with an
  array. The last time I would have used such a structure was in Flash 4
  Actions.
 
  One exception might be for MovieClip/Button/TextField instances in
  AS2. Often in AS2 it was handy to grab those by their name, since they
  are often made through the IDE rather than through code. The new way
  of retrieving a composed display object by its name is the
  getChildByName() function of the DisplayObjectContainer class (which
  Sprite, among others, extends). So you could do something like this
  within some class that extends DisplayObjectContainer:
 
  var currentObject:DisplayObject = getChildByName(someVarName +
  someIndex);
 
  I'm still not sure if that would be the most elegant solution in most
  situations, though. It still seems to me that in most cases an array
  should be somehow involved.
 
  --
  Mike Keesey
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] as3 code!!

2007-09-02 Thread [p e r c e p t i c o n]
greetings experts!

way back in the days of as2 you could do something like this...

this[somevarname+someIndex] = new Something();


...and i'm wondering how you do something like this in as3i've extended
the sprite class and need to create items similar to this, but it won't let
me

cheers

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

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


Re: [Flashcoders] as3 code!!

2007-09-02 Thread [p e r c e p t i c o n]
thanks guys!

the array idea is exactly what i didi just don't know why it took so
long to come to me...i just got stuck in this one way of thinking, but
thanks so much for the suggestions...i'm trying to learn as3 and flex and
fms and air while i'm in-between jobs and my old bad habits (that as1/as2
let me form) have to be done away with in favor of new ones :)

cheers
p


On 9/2/07, T. Michael Keesey [EMAIL PROTECTED] wrote:

 On 9/1/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
  greetings experts!
 
  way back in the days of as2 you could do something like this...
 
  this[somevarname+someIndex] = new Something();

 Even in AS2, it seems that this would be better done with an array.

 var somethings:Array = [];
 something[someIndex] = new Something();

 (Same syntax in AS3.)

 Come to think of it, even in AS1 it would be better done with an
 array. The last time I would have used such a structure was in Flash 4
 Actions.

 One exception might be for MovieClip/Button/TextField instances in
 AS2. Often in AS2 it was handy to grab those by their name, since they
 are often made through the IDE rather than through code. The new way
 of retrieving a composed display object by its name is the
 getChildByName() function of the DisplayObjectContainer class (which
 Sprite, among others, extends). So you could do something like this
 within some class that extends DisplayObjectContainer:

 var currentObject:DisplayObject = getChildByName(someVarName +
 someIndex);

 I'm still not sure if that would be the most elegant solution in most
 situations, though. It still seems to me that in most cases an array
 should be somehow involved.

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

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

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

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


Re: [Flashcoders] Flash SC3 and Windows 2000?

2007-09-02 Thread [p e r c e p t i c o n]
yes, i've tried...cs3 doesn't work using windows 2000 you need xp or vista
best
p

On 9/1/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:

 Hi
 Will Flash SC3 work under Windows 2000? Had anybody  this experiment?
 Thanks in advance.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] new features in cs3

2007-08-22 Thread [p e r c e p t i c o n]
Hi all,
usually, every new version of flash has some features that aren't quite
documented...for example flash six had video but it wasn't really promoted
as a feature until MX...is there anything like that in cs3
cheers
p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-21 Thread [p e r c e p t i c o n]
most college programming courses have prerequisites right?

personally i know many programmers who don't have a background in
programming who jumped right into oop...just looking at the code i can tell
what they understand about programming let alone oop...


my 0.02 pieces of lint

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

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


Re: [Flashcoders] Intro to OOP using ActionScript

2007-08-20 Thread [p e r c e p t i c o n]
I started in the industry as a t.a. for a graduate course in
programming...the research as well as my own personal experience suggests
that younger people tend to learn the semantics and nuance of object
oriented programming much easier than older adults...with that said..AS1 or
even JavaScript for that matter actually provides a suitable introduction to
OOP on some level...while still being heavily steeped in the procedural
paradigm...i would start there let them build a few things that way then
expand on the concept of OOp from there...after all...the most important
thing is the fundamentals...no matter how the discipline evolves...it
evolves  from the fundamentals

cheers

p

On 8/19/07, Mike Reilly [EMAIL PROTECTED] wrote:

 Hi there -

 I'm a high school teacher who's decided to teach Intro to
 Programming using Actionscript (2.0 for now, waiting for the school
 to upgrade).

 I'd prefer to take an OO approach, and use games in doing so.  For
 example, my first game would be a Pong copy.  Lots of basics in there
 to learn the environment, basic principles, etc.

 So, I was wondering if anyone out there knew of good resources, wanted
 to contribute (hell, I'll give you all the credit, you can write a
 book, etc.), collaborate, share.  I've search most of the tutorial
 sites, but most code is not a great OO example for Flash games due to
 little OO, or too much complexity for the beginner.

 Your input is welcome, rock on.

 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

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

2007-08-20 Thread [p e r c e p t i c o n]
hi Kerry,
i understand your point, but i found that when teach students how to use an
object and what's contained in an object first, then the more conceptual
ideas come easier...of course every class and every student is different...

p

On 8/20/07, Kerry Thompson [EMAIL PROTECTED] wrote:

 [p e r c e p t i c o n] wrote:
  AS1 or even JavaScript for that matter actually provides a suitable
 introduction to
  OOP on some level

 Oof. I agree with most of what you said except for AS1 being a suitable
 introduction to OOP. I consider AS1's OOP model an abomination. You can
 write OOP in AS1 if you work really hard, and don't let any other
 programmers get their hands on it, but it's way, way too easy to break
 encapsulation.

 AS2's OOP implementation is light years ahead of AS1, and AS3, from what
 I've read, is even better. Plus, AS2's class approach is much more
 standard
 than the AS1 prototype approach.

 Cordially,

 Kerry Thompson


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

2007-08-20 Thread [p e r c e p t i c o n]
i guess it depends on where you begin...i think special attention has to be
paid to as1's ability to add variables and function dynamically because it's
at once very powerful and in the hands of someone looking to expand their
knowledge of programming and programming languages very misleading because
most languages don't make it that easy to do that sort of thing...

but, it's still a bit easier to explain prototype after having explained how
to use variables and functions, then how to attach them to objects like
moviclips, than it is to explain the relationship of
class/encapsulation/inheritence/polymorphism...ooops did i say polymorphism
in relation to actionscript?...well ok let's say interface...

my point is that these are higher level concepts that are much easier to
grasp if you have the fundamentals of vars/functions/scope

i came from c++ as well ...the concept of adding vars and functions
dynamically was very alien,yet liberating...and protoype just confused me
because i can be thick when i'm rushing to get a project done, but everyone
i know who came over from lingo has had a very hard time with actionscript,
oddly, i  couldn't learn lingo...i tried several times and never quite
caught on...

all in all i too am biased towards the class model, but when people ask me
if they should learn c or c++ first i always say learn c first...

regards

p



On 8/20/07, Kerry Thompson [EMAIL PROTECTED] wrote:

 [p e r c e p t i c o n] wrote:

  i understand your point, but i found that when teach students how to use
 an
  object and what's contained in an object first, then the more conceptual
  ideas come easier

 Ok, I'll buy that.

 Not to be argumentative--just curious--how do you find the AS1 prototype
 model easier to understand than the class/object model? I'll admit to
 having
 a strong bias for the class model from my time with C++ and Lingo, and
 having a tough time when first introduced to the prototype model.

 Cordially,

 Kerry Thompson


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

2007-08-20 Thread [p e r c e p t i c o n]
 I feel the same way. C gives you a feeling for the nitty-gritty of the
 computer. I use C++ now, but I did a lot of C first (and Assembler before
 that). Can you imagine writing a C library to display Chinese characters
 on
 English Windows 3.1? I would have died if it hadn't been for Paetzold.

 here here!



cheers

p

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

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

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

2007-08-17 Thread [p e r c e p t i c o n]
for real this time...

hi all,

so i'm in between jobs and before i get going again i would like to finally
invest some adequate time and energy learning flex.  problem is i don't
remember the name of the open source tool that was the equivalent of flex
builder...anybody know where i can find it?

thanks

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

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


Re: [Flashcoders] connect to fms using as3

2007-08-09 Thread [p e r c e p t i c o n]
Hi Brian,
Thanks so much for this...ironically enough eventually i found your link!
best
p

On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote:

 Hi,

 I did a short tutorial on some basics of connecting Flex 2/FMS:

 http://flash-communications.net/technotes/fms2/flex2FMS/index.html

 To set the encoding:

 NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;

 Yours truly,
 -Brian

 [p e r c e p t i c o n] wrote:

 hello experts...
 i'm trying to connect to an fms2 server using as3 like this...
 
   connection = new NetConnection();
   connection.addEventListener(NetStatusEvent.NET_STATUS,
 netStatusHandler);
   connection.addEventListener(
 SecurityErrorEvent.SECURITY_ERROR,
 securityErrorHandler);
 
   connection.connect(rtmp://localhost/myApp/_definst_);
 
 however, i keep getting a connection error stating that there's a problem
 with object encoding...is there an upgrade for fms2 i should know about?
 
 thanks
 
 p
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 


 --
 __
 Brian Lesser
 Assistant Director, Application Development and Integration
 Computing and Communications Services
 Ryerson University
 350 Victoria St.
 Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
 M5B 2K3Fax: (416) 979-5220
 Office: POD??  E-mail: [EMAIL PROTECTED]
 (Enter through LB99)   Web: http://www.ryerson.ca/~blesser
 __

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

2007-08-09 Thread [p e r c e p t i c o n]
hello again,
I'm trying to obtain the results of a db query on a remote server using
fms.  to achieve this I make the net connection call a method in
Main.ascthat does the remoting.  All of this works well except the
asynchronous part
of returning the results to the client (client-side swf)...can anyone point
out how i can do this without using clientObj.call method from inside the
onResult callback?

let me know if this is too vague...

thanks

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

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


Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread [p e r c e p t i c o n]
Hi Brian,
thanks, i have one question regarding shared objects...this may be a dumb
question, but i overheard someone say that shared objects are treated as
streams...is this correct?

thanks

b


On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote:

 Not sure this is what you are looking for but if the data must be shared
 across clients some people write it into a shared object that all
 clients subscribe to - one slot per record.  Whenever the shared object
 is updated all subscribed clients automatically see the changes.
 Updating the shared object can get complex unless you simply clear and
 repopulate it. This may not be what you are looking for but there is a
 related article here:
 http://www.adobe.com/devnet/flashcom/articles/improving_ria.html
 Yours truly,
 -Brian



 [p e r c e p t i c o n] wrote:

 hello again,
 I'm trying to obtain the results of a db query on a remote server using
 fms.  to achieve this I make the net connection call a method in
 Main.ascthat does the remoting.  All of this works well except the
 asynchronous part
 of returning the results to the client (client-side swf)...can anyone
 point
 out how i can do this without using clientObj.call method from inside the
 onResult callback?
 
 let me know if this is too vague...
 
 thanks
 
 p
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 


 --
 __
 Brian Lesser
 Assistant Director, Application Development and Integration
 Computing and Communications Services
 Ryerson University
 350 Victoria St.
 Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
 M5B 2K3Fax: (416) 979-5220
 Office: POD B-66-C E-mail: [EMAIL PROTECTED]
 (Enter through LIB-B99)Web: http://www.ryerson.ca/~blesser
 __

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

2007-08-09 Thread [p e r c e p t i c o n]
That's fine, but my service provider only allows so many simultaneous
streams...i'm trying to find out if this will factor into that number

thanks

p

On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote:

 Hi,
 From a developer's perspective they are not streams and are not really
 treated like streams - except that both shared objects and streams have
 a send() method you can use to broadcast a message to other clients. I'm
 told that internally SharedObjects are implemented using two streams -
 one for output and one for input - but developers don't see them. I tend
 not to use the send() method with streams but I'm sure there are lots of
 cases when it would be useful because the stream publisher does not
 receive back their own message.
 Yours truly,
 -Brian

 [p e r c e p t i c o n] wrote:

 Hi Brian,
 thanks, i have one question regarding shared objects...this may be a dumb
 question, but i overheard someone say that shared objects are treated as
 streams...is this correct?
 
 thanks
 
 b
 
 
 
 


 --
 __
 Brian Lesser
 Assistant Director, Application Development and Integration
 Computing and Communications Services
 Ryerson University
 350 Victoria St.
 Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
 M5B 2K3Fax: (416) 979-5220
 Office: POD??  E-mail: [EMAIL PROTECTED]
 (Enter through LB99)   Web: http://www.ryerson.ca/~blesser
 __

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

2007-08-09 Thread [p e r c e p t i c o n]
figured this one out myself...subclassed NetConnection and made it
dynamic...seems to work...

thanks so much for setting me straight

p

On 8/9/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 i'm going to double-check, but i think so ...

 ok...this is my last
 question.(today :))

 is the NetConnection class no longer dynamic??

 i keep getting this error using as3


 ReferenceError: Error #1056: Cannot create property returnQueryString on
 flash.net.NetConnection.

 i'm not sure how to get around this...

 in Main.asc i'm trying to call a method on the client

 like this

 clientObj.call(someMethod, null, result);

 so frustrating!

 p



 On 8/9/07, Brian Lesser  [EMAIL PROTECTED] wrote:
 
  Really? On streams? Not on simultaneous connections?
  -B
 
 
 
  [p e r c e p t i c o n] wrote:
 
  That's fine, but my service provider only allows so many simultaneous
  streams...i'm trying to find out if this will factor into that number
  
  thanks
  
  p
  
  On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote:
  
  
  Hi,
  From a developer's perspective they are not streams and are not really
 
  treated like streams - except that both shared objects and streams
  have
  a send() method you can use to broadcast a message to other clients.
  I'm
  told that internally SharedObjects are implemented using two streams -
 
  one for output and one for input - but developers don't see them. I
  tend
  not to use the send() method with streams but I'm sure there are lots
  of
  cases when it would be useful because the stream publisher does not
  receive back their own message.
  Yours truly,
  -Brian
  
  [p e r c e p t i c o n] wrote:
  
  
  
  Hi Brian,
  thanks, i have one question regarding shared objects...this may be a
  dumb
  question, but i overheard someone say that shared objects are treated
  as
  streams...is this correct?
  
  thanks
  
  b
  
  
  
  
  
  
  --
  __
  Brian Lesser
  Assistant Director, Application Development and Integration
  Computing and Communications Services
  Ryerson University
  350 Victoria St.
  Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
  M5B 2K3Fax: (416) 979-5220
  Office: POD??  E-mail: [EMAIL PROTECTED]
  (Enter through LB99)   Web: http://www.ryerson.ca/~blesser
  http://www.ryerson.ca/%7Eblesser
  __
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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
  
  
 
 
  --
  __
  Brian Lesser
  Assistant Director, Application Development and Integration
  Computing and Communications Services
  Ryerson University
  350 Victoria St.
  Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
  M5B 2K3Fax: (416) 979-5220
  Office: POD??  E-mail: [EMAIL PROTECTED]
  (Enter through LB99)   Web: 
  http://www.ryerson.ca/~blesserhttp://www.ryerson.ca/%7Eblesser
  __
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] fms application class

2007-08-08 Thread [p e r c e p t i c o n]
Hi folks,

i know htis isn't the fms list, but can anyone tell how to define a method
in the asc file... for example

i tried to define a method like this

application.helloServer = function()
{
trace(hello from server);
}

but it isn't recognized as a method...

i'm trying to not have to define it on the client side as a member of the
NetConnection object...


thanks

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

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


[Flashcoders] connect to fms using as3

2007-08-08 Thread [p e r c e p t i c o n]
hello experts...
i'm trying to connect to an fms2 server using as3 like this...

  connection = new NetConnection();
  connection.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
  connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);

  connection.connect(rtmp://localhost/myApp/_definst_);

however, i keep getting a connection error stating that there's a problem
with object encoding...is there an upgrade for fms2 i should know about?

thanks

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

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


Re: [Flashcoders] fms application class

2007-08-08 Thread [p e r c e p t i c o n]
hi Andy,
the server logs indicate that the method isn't defined...

however if i define it using Client.helloServer = function()

it seems to work, but my concern is that this isn't really remote...i want
the client to call the application's method

thanks


p

On 8/8/07, Andy Herrman [EMAIL PROTECTED] wrote:

 Your syntax looks fine.  What do you mean by it isn't recognized as a
 method?

   -Andy

 On 8/8/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
  Hi folks,
 
  i know htis isn't the fms list, but can anyone tell how to define a
 method
  in the asc file... for example
 
  i tried to define a method like this
 
  application.helloServer = function()
  {
  trace(hello from server);
  }
 
  but it isn't recognized as a method...
 
  i'm trying to not have to define it on the client side as a member of
 the
  NetConnection object...
 
 
  thanks
 
  p
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] fms application class

2007-08-08 Thread [p e r c e p t i c o n]
hey Andy,
thanks, yes this helps alot...i was confused about the client having the
definition and conceptually i still don't get what's remote about it...the
clientObj is an instance of the connection right? and that's instantiated
on the client-side right?...anyway as long as it works i'm not going to
quibble too much :)

p



On 8/8/07, Andy Herrman [EMAIL PROTECTED] wrote:

 The only way for a client to call a method is for that method to exist
 on the Client's object.  That's just the way the Flash RPC stuff
 works.  You can either add it to the Client prototype (which I don't
 like) or add it to the client object after they connect (my preferred
 way).

 For instance:

 application.onConnect = function(oClient, oParams) {
   this.acceptConnection(oClient);
   oClient.helloServer = function() {
 trace(Hello Server);
   };
 }

 Or, you can get fancy and do some delegate-style work so that your
 actual function is defined on application (or some other object):

 application.helloServer = function() {
   trace(Hello Server);
 }

 application.onConnect = function(oClient, oParams) {
   this.acceptConnection(oClient);
   oClient.oScope = this;
   oClient.helloServer = function() {
 this.oScope.helloServer.apply(this.oScope, arguments); };
 }

 The reason you're getting an error about the function not existing is
 that it doesn't.  When the client makes a call the server looks for a
 function of the given name on the client's object.  If it doesn't
 exist you get an error.

 I hope that helps!

   -Andy

 On 8/8/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
  hi Andy,
  the server logs indicate that the method isn't defined...
 
  however if i define it using Client.helloServer = function()
 
  it seems to work, but my concern is that this isn't really remote...i
 want
  the client to call the application's method
 
  thanks
 
 
  p
 
  On 8/8/07, Andy Herrman [EMAIL PROTECTED] wrote:
  
   Your syntax looks fine.  What do you mean by it isn't recognized as a
   method?
  
 -Andy
  
   On 8/8/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
Hi folks,
   
i know htis isn't the fms list, but can anyone tell how to define a
   method
in the asc file... for example
   
i tried to define a method like this
   
application.helloServer = function()
{
trace(hello from server);
}
   
but it isn't recognized as a method...
   
i'm trying to not have to define it on the client side as a member
 of
   the
NetConnection object...
   
   
thanks
   
p
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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] scrollpane woes

2007-07-02 Thread [p e r c e p t i c o n]

when i use a textfield that's already on the stage it seems to work for me
as well, but if i change the text at runtime it doesn't seem to work in that
case...

thanks so much for your help

p

On 7/2/07, Holth, Daniel C. [EMAIL PROTECTED] wrote:



This seems to be working fine for me, unless I'm missing something... I
copied your code into its own layer on frame one.  I then dropped the
ScrollPane component into my library.  Created a new MovieClip, exported
it for ActionScript and gave it an identifier of mcEventText.

When I run the swf, it creates the scrollpane, adds the mcEventText
MovieClip and resizes its self to the desired dimensions.  If the
mcEventText clip is larger than 292x180 the pane scrolls correctly.  I
added a TextArea component and a TextInput component to the mcEventText
clip and it still seems to work fine...

The TextArea will have *its own* scroll bars within mcEventText, and
won't run off the pScrollPane scroller  - so you would have nested
scrollpanels.  Are you trying to get the scrollbars of the textfield to
use the ones from psScrollPane?


DC Holth


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [p e r c
e p t i c o n]
Sent: Sunday, July 01, 2007 12:13 PM
To: flashcoders
Subject: [Flashcoders] scrollpane woes

hi experts,
i'm trying to stick a movieclip with a textfield nested inside it into a
scroll pane (component)...even though the text is in the pane the
scrollbars
are not adjusting themselvs nor does the pane scroll...here;s the
code...

pScrollPane = this.attachMovie(ScrollPane, sPane, 0);
pScrollPane.setStyle('borderStyle', 'none');
pScrollPane.tabChildren = false;
pScrollPane.tabEnabled = false;
pScrollPane.__hScrollPolicy = auto;
pScrollPane.__vScrollPolicy = auto;
pScrollPane.contentPath = 'mcEventText';

pScrollPane.setSize(292, 180);
pScrollPane._x = mcEventText._x;
pScrollPane._y = mcEventText._y;

any ideas?

thanks

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

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

This e-mail and its attachments are intended only for the use of the
addressee(s) and may contain privileged, confidential or proprietary
information. If you are not the intended recipient, or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution, displaying, copying,
or use of this information is strictly prohibited. If you have received this
communication in error, please inform the sender immediately and delete and
destroy any record of this message. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] scrollpane woes

2007-07-02 Thread [p e r c e p t i c o n]

niice!
thanks a bunch
p
On 7/2/07, Muzak [EMAIL PROTECTED] wrote:


call invalidate() on the scrollpane after changing the scrollpane content.

regards,
Muzak

- Original Message -
From: [p e r c e p t i c o n] [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, July 02, 2007 6:32 PM
Subject: Re: [Flashcoders] scrollpane woes


 when i use a textfield that's already on the stage it seems to work for
me
 as well, but if i change the text at runtime it doesn't seem to work in
that
 case...

 thanks so much for your help

 p



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

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


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

2007-07-01 Thread [p e r c e p t i c o n]

hi experts,
i'm trying to stick a movieclip with a textfield nested inside it into a
scroll pane (component)...even though the text is in the pane the scrollbars
are not adjusting themselvs nor does the pane scroll...here;s the code...

   pScrollPane = this.attachMovie(ScrollPane, sPane, 0);
   pScrollPane.setStyle('borderStyle', 'none');
   pScrollPane.tabChildren = false;
   pScrollPane.tabEnabled = false;
   pScrollPane.__hScrollPolicy = auto;
   pScrollPane.__vScrollPolicy = auto;
   pScrollPane.contentPath = 'mcEventText';

   pScrollPane.setSize(292, 180);
   pScrollPane._x = mcEventText._x;
   pScrollPane._y = mcEventText._y;

any ideas?

thanks

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

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


[Flashcoders] corrupt files in cs3

2007-06-28 Thread [p e r c e p t i c o n]

Hello Experts,
Has anyone had a problem with FLA file becoming corrupt for no apparent
reason and quite frequently...
i'm using CS3 on vista

i can't really point to any pattern to it...files just suddenly become
corrupt and flash throws up a dialog that the docfile is corrupt


what gives?

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

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


Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!

2007-06-20 Thread [p e r c e p t i c o n]

i'm having a difficult time getting it to download fullydownload stops
halfway through...anybody else have this problem???

p

On 6/20/07, Jon Bradley [EMAIL PROTECTED] wrote:



On Jun 19, 2007, at 4:31 PM, JulianG wrote:

 I saw this coming... Once Adobe take over Macromedia, things would
 start to happen.
 Bad things, I mean.

Still searching to see what can be defined as bad in this thread.

 How come Flash CS3 Installer is over 400 MB, when Flash 8 was only
 110 MB??
 While I'm writing this the application in being installed (less
 than 50% progress).
 How is it possible that it's taking AGES to do finish!

Cause it's a large install and there are a lot of pieces. Hundred
thousand or so lines of code just for the class support and thousands
of documents for help alone.

If it were one large file it'd take only a few minutes to write.
Rather, it's thousands upon thousands of files. That is what takes a
long time to install - hard drives do not function efficiently with
read/write on tons of tiny files. They are efficient on large files.

And if your drive is fragmented... oh boy, have fun with that.

 It almost seems like I was installing... I don't know Photoshop, or
 some other buggy Adobe software. Oh! s**t I am!

I mean honestly, why do I keep reading things about Adobe products
being so buggy. Photoshop and Adobe products are some of the least
buggy software products around. Consider yourself lucky.

 I'm scared! I hope they don't screw it with the Flash Player.
 That'd be quite harmful for us. I think.
 I don't see people updating Flash Player if it's 30MB or annoying
 in some other way.

That won't happen. There's a very explicit development process when
adding features or adjusting the Flash Player. The team has very
detailed requirements for coding and there are, I imagine, impact
analyses for every addition to the Player.

 Perhaps you guys had this discussion some time ago.
 Do you have any URLs I can read about this, so I can find out if it
 is just me paranoid?

Paranoid. Who cares if the installer is big? Honestly. Get a bigger
hard drive.

400 MB for an installer is a drop in the bucket. Even a couple gigs
is a drop in the bucket with the size of drives today.

cheers,

jon

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

2007-06-16 Thread [p e r c e p t i c o n]

thanks Bob and Jim!
p

On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote:


anywhere outside that camera object

(other than bitmap class like jim just posted)

On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote:

 yes and no. You can do a camera.get but that will basicaly create a
 connection to your camera, no one else can see it just you. It is not
only a
 few frames, it is live.  it's also not accessible (images that is) to
use
 anywhere outside that camera object. 'Capturing' it and saving to a
source
 can only be done through FMS (server side FLV which I believe is not
 accessible outside of the server it's self).


 B.


 On 6/15/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
 
  Hi all,
  is there a way to capture web cam video straight into flash...not a
  single
  frame, but a few seconds worth?
 
  thanks
  p
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


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

2007-06-15 Thread [p e r c e p t i c o n]

Hi all,
is there a way to capture web cam video straight into flash...not a single
frame, but a few seconds worth?

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

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


[Flashcoders] object tag params

2007-04-30 Thread [p e r c e p t i c o n]

I have a question regarding the params in the object tag.

first, are the default params (height, bgcolor etc) the only ones permitted?

second how can i pass in a var at runtime...so far i'm doing it like this

object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase=
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0;
width=550 height=400 id=DocProxy align=middle
param name=allowScriptAccess value=always /
param name=movie value=DocProxy.swf?ZipCode= /
param name=quality value=high /
param name=bgcolor value=#ff /
embed src=DocProxy.swf quality=high bgcolor=#ff width=550
height=400 name=DocProxy align=middle allowScriptAccess=always
type=application/x-shockwave-flash pluginspage=
http://www.macromedia.com/go/getflashplayer; /
/object

the problem is that if i pass in ZipCode this way i need to use the request
object  (DocProxy.swf?ZipCode=% request.getParameter(zipCode); %  /)
to pass the value, but how can i do it within the quotes

thanks in advance
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT - best AJAX SITES

2007-04-17 Thread [p e r c e p t i c o n]

can anyone provide links to some of the best ajax sites

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

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


[Flashcoders] getURL question

2007-04-11 Thread [p e r c e p t i c o n]

Hello,
can anyone tell me how to keep unwanted objects and variable from being
posted when i call getURL?

for example... i instantiate an WebServices object and need to post the data
returned to another server...but what i'm seeing is that the WebServices
object is being posted, but not the data...

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

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


[Flashcoders] webervices question...

2007-04-11 Thread [p e r c e p t i c o n]

am i correct to assume that i need to have a crossdomain policy file on the
server i'm getting the data from?
what about where i'm sending it to?

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

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


[Flashcoders] more web service questions

2007-04-11 Thread [p e r c e p t i c o n]

these are the error messages i'm getting back when i try to load a wsdl
file...
when i run thw swf standalone it works no problem, but from a browser off of
a server i get this

Warning: Reference to undeclared variable, 'mx'
Could not load WSDL
Client.Disconnected
Unable to load WSDL, if currently online, please verify the URI and/or
format of the WSDL (http://someURL/service.asmx?wsdl)


can someone explain why it's not able to connect?

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

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


[Flashcoders] webservices question

2007-04-06 Thread [p e r c e p t i c o n]

Hi Experts,
I've connected to a web service and can see the result fields in the
component inspector, but can't seem to get any values into the text area the
results are bound to.

all i get is undefined...

the storage type is complex and the data type is array.  is this correct?

can anyone tell me how to access the elements in the results array?

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] webservices question

2007-04-06 Thread [p e r c e p t i c o n]

what are you expecting to get - is it an object of some kind?

it's an array...

thanks for the suggestion i'm going to try this now...



On 4/6/07, Merrill, Jason [EMAIL PROTECTED] wrote:


use code instead:

import mx.services.*;
import mx.util.Delegate;

myWS = new WebService(myWebservice.asmx?WSDL);
myWS.onLoad = Delegate.create(this, getResult);

function getResult()
{
wsResult = myWS.getMyObject()
wsResult.onResult = Delegate.create(this, showResult);
}

function showResult(result)
{
trace(result);
trace(result.myProperty);
//do stuff, show stuff etc.
}

what are you expecting to get - is it an object of some kind?

Jason Merrill
Bank of America
GTO Learning  Leadership Development
eTools  Multimedia Team




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of [p e r c e p t i c o n]
Sent: Friday, April 06, 2007 3:00 PM
To: flashcoders
Subject: [Flashcoders] webservices question

Hi Experts,
I've connected to a web service and can see the result fields
in the component inspector, but can't seem to get any values
into the text area the results are bound to.

all i get is undefined...

the storage type is complex and the data type is array.  is
this correct?

can anyone tell me how to access the elements in the results array?

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

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

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

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


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

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


Re: [Flashcoders] how to remove an event on a movie Clip( onEnterFrame)

2007-04-01 Thread [p e r c e p t i c o n]

delete this.onEnterFrame;

On 4/1/07, Gustavo Duenas [EMAIL PROTECTED] wrote:


Hi, I have a timer that someone of the flashcoder list gave me, it
works, the problem is what if the users discover the way of the
button (the code was made for all of them who doesn't know how to
find the buttom or are dumb enough for not to.) The timer works ok,
but what if I've clicked on the buttom, the timer is still in
progress and launches itself as previewed. there is a way to remove
the behaviour.

this is the code for the timer.

stop();


var startTime:Number = getTimer()/1000;
var later:Number = 20;
var timeCheck:Number = setInterval(checkTime, 100);
this.onEnterFrame = this.checkTime();
function checkTime(){
var currentTime:Number = getTimer()/1000;
var elapsedTime:Number = currentTime - startTime;
if(elapsedTime = later){
trace(llegamos);
tellTarget(_root.timerAction){
gotoAndPlay(2);
}
clearInterval(timeCheck);
}
}

is on a movie clip with launches the event, but I want a way to
remove the event if the movieClip Logo has been clicked, or aq way to
put a code into the buttom some like on(releases){
removeMovieClip(this.timer);
or delete this.timer.OnEnterFrame;

so far the two doesn't work for launched as an event from the button,
so far anyone has ideas?



regards.


Gustavo Duenas

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] how to remove an event on a movie Clip( onEnterFrame)

2007-04-01 Thread [p e r c e p t i c o n]

this.logoX.logo.onRelease = function()
{

}

On 4/1/07, Gustavo Duenas [EMAIL PROTECTED] wrote:


and how can I know when a button has been clicked...Im Using : if
(this.logoX.logo.onRelease(true)) or if
(this.logoX.logo.onRelease=true) or if(this.logoX.logo.onRelease) but
neither of them works, any ideas?


regards


gustavo Duenas



On Apr 1, 2007, at 10:02 PM, Ryan wrote:

 this.onEnterFrame = null;



 Gustavo Duenas wrote:
 Hi, I have a timer that someone of the flashcoder list gave me, it
 works, the problem is what if the users discover the way of the
 button (the code was made for all of them who doesn't know how to
 find the buttom or are dumb enough for not to.) The timer works
 ok, but what if I've clicked on the buttom, the timer is still in
 progress and launches itself as previewed. there is a way to
 remove the behaviour.

 this is the code for the timer.

 stop();


 var startTime:Number = getTimer()/1000;
 var later:Number = 20;
 var timeCheck:Number = setInterval(checkTime, 100);
 this.onEnterFrame = this.checkTime();
 function checkTime(){
 var currentTime:Number = getTimer()/1000;
 var elapsedTime:Number = currentTime - startTime;
 if(elapsedTime = later){
 trace(llegamos);
 tellTarget(_root.timerAction){
 gotoAndPlay(2);
 }
 clearInterval(timeCheck);
 }
 }

 is on a movie clip with launches the event, but I want a way to
 remove the event if the movieClip Logo has been clicked, or aq way
 to put a code into the buttom some like on(releases){
 removeMovieClip(this.timer);
 or delete this.timer.OnEnterFrame;

 so far the two doesn't work for launched as an event from the
 button, so far anyone has ideas?



 regards.


 Gustavo Duenas

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Sending binary data to server - NO HEADERS

2007-03-27 Thread [p e r c e p t i c o n]

carlos,
what language is the other script (not php) written...i had a similar
problem using java...the issue is that there are two headers being
sent...one without content to make sure the addres is valid and a second one
after with the data..so you need to set up a condition that doesn't do
anything when there is no content and handle the one with the content data
in it

hope this helps


On 3/5/07, Carlos Saenz [EMAIL PROTECTED] wrote:


I am trying to send binary data to a server side script which takes a
variable called file, and saves it as a binary file.

so if I have a variable in my flash movie myfile, with a value of
asdf, and I send that to the server, it will make a file on the
filesystem called myfile, and the contents of it will be asdf

Now, the trick is to send the script an image or video file. I have
tried the following ways:

1) Using FileReference class (Flash 8)
--- This works with php and move_uploaded_file.
--- This does NOT work the server side script mentioned above. It
adds headers to the file. Same headers found here:

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=LiveDocs_Partsfile=2225.html

Namely:
Content-Type: multipart/form-data; boundary=AaB03x
--AaB03x
Content-Disposition: form-data; name=Filedata; filename=example.jpg
Content-Type: application/octet-stream
... contents of example.jpg ...
--AaB03x--

PHP can handle this, the other script cannot. Unfortunately we are
stuck with the other script. So I looked at different ways to send
binary data to the server, without using FileReference.


2) Flex Builder 2.

Here we have some new classes. Such as URLRequest and URLLoader,
where you can use URLLoaderDataFormat.BINARY. This transferred the
file to the server side script we are stuck with perfectly. No errors
or problems.

Unfortunately they want a Flash Player 8 solution.


3) Some examples on the web where people have taken a BitmapData
object in Flash 8 and programmatically convert a bitmap into an array
of string data which represents pixel data, which is converted on the
server to an image.
-- Is this method possible with LoadVars to send a binary stream of
data to a script via POST, which will make it think it's the same as
a file upload???


Well these are my three options
1) FileReference -- Flash 8 -- Is there a way to eliminate the
headers its sending by default?
2) Flex Builder 2 - URLLoader class -- Any way to use this in Flash
Player 8? (Doesn't seem possible)
3) Manually encode binary data into a variable and pass it through
loadVars making the server think it's a file upload. Possible???

OR

4) Any other possibility I may have overlooked?

Thanks for any help,
-Carlos-
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] actionscript/flash performance

2007-03-27 Thread [p e r c e p t i c o n]

Hi Michael,
one thing that stands out right away is the use of prototype...if i'm not
mistaken, this will make these variables available to all movie clips...even
ones that don't use the markers you're speaking of...the other thing is that
loading of xml data is asynchronous, so you just burning cycles by looping
this way...i would use set interval to manage the removal of the clips
...it's far more efficient...

just my .02

On 3/27/07, Michael King [EMAIL PROTECTED] wrote:


Hey all,

I finally have a question to ask!

I'm working on a project that, in simplest terms, is an event visualizer.
It takes event data coming in from an XMLSocket (or a standard PHP script
pulling from a database for replays), creates an empty movie clip,
stores it in a simple object/array combination to aide in timestamping,
then it uses removeMovieClip() to discard the clip when it's a minute or
so old.

Warning, I'm a complete noob when it comes to ActionScript, I have a
little bit of Javascript experience, and a good amount of PERL and Python,
so I can handle criticisms, and hopefully they can be explained in a
language I understand. :)

I have three keyframes, 1, 2 and 20, with 20 being the loop back to give
me a nearly one second tick mark, when things are not overloaded.

At 1, I instantiate an Array (_root.lines), import WDDX, and create a
custom function on the MovieClip prototype for some initial markers, along
with a few longitude/latitude-to-map-coordinates functions, and a function
for drawing curved vectors.  I initialize some starting points for some
global counters on _root here, as well.  Lastly, there's a map of the
globe for the scene background, and the custom function marks three
locations on the map.

At 2, I populate the initial location marks at level 1, calculate the
current date/time by instantiating Date(), and store the results on _root
for later retrieval (we'll call it _root.ratio_start).  I then pull in the
data stream, currently I limit it to 2500 lines (events, really, it can be
a little more than 500 characters in XML per event).  I calculate the
start point (one of the three marks) based on the data provided, then use
the latitude and longitude calculate an end point.  Here's the part I'm
not sure is the most efficient:

// Increment the counter to give us a pseudo-unique number.
_root.counter++;
// make a timestamp
date_now = new Date();
// make an empty movie clip with a unique, but dynamic, name
pen = createEmptyMovieClip(vector_ + root.counter + _mc,
root.counter+2);
// Set the line style
pen.lineStyle(2,0x00CC00);
// Store it in a simple object for later retrieval and timestamp
comparison
container = {pen: pen, timestamp: date_now);
// Pus it into the lines array.
_root.lines.push(container);
// Draw the vector
curvePoint(pen, x, y, x, y);


From there, it just moves along with no more code until I get to frame
20:

// make a timestamp
date_now = new Date();
// Get the benchmark up until this point
_root.ratio_end = date_now;
// Calculate the ratio between the time it actually took, and one second,
for throttling purposes
_root.ratio = 1000 / (_root.ratio_end.getTime() -
_root.ratio_start.getTime());
// _root.millisecondsToMinute = 1000 * 60, get the fraction  (multiple) of
1 minute.
_root.timeLimit = _root.millisecondsToMinute * _root.ratio;
temp_count = 0;

for (i = 0; i  _root.lines.length; i++) {
// Calculate the difference between the current time, and the time
this line was turned into a clip.
timeDiff = date_now.getTime() -
_root.lines[i].timestamp.getTime();
if (timeDiff  _root.timeLimit) {
// Keep track of how many we remove for debugging
purposes.
temp_count++;
// Remove the movie clip the only way I know how.
_root.lines[i].pen.removeMovieClip();
// remove this entry from the array.
_root.lines.splice(i,1);
}
}

// Occasionally reset the unique counter
if (_root.counter = 32000) {
_root.counter = 0;
}

// Loop back to frame 2, pull more data, etc.
_root.gotoAndPlay(2);


Now, on to my actual question/comment.  I've noticed that if the rate of
incoming data goes above about 2200, it fails to keep up with the
throttling, and will start to bog down.  It will remove more than it's
bringing in, and eventually stablize to about a 3400 total clips in the
array at the end of each loop.  However, this takes updates down to once
every 11 seconds or so, defeating the point of a once-per-second refresh
rate.  If I can't get this to work more efficiently in flash, I'll likely
have to switch to another platform and language. :/

Is there something I could do that would be more efficient?  I need to be
able to remove the vectors when they're about a minute old, but I couldn't
seem to find any other way than to store the clip and date object on
another, simple object, and store that in an array.  A stack of sorts. I'd
rather have a way of just using a single 

Re: [Flashcoders] actionscript/flash performance

2007-03-27 Thread [p e r c e p t i c o n]

if you use date in this context MovieClip.prototype.age = new Date(); and
you want incremental values, you should pass in some parameters like hour,
minutes, seconds and milliseconds...check documentation on this...


As to the XML data being asynchronous, so you mean I don't actually have
to use gotoAndPlay()?  I can just start off with a stop(); and set up the
event code?


that's correct...you certainly want to set up event handlers...


On 3/27/07, Michael King [EMAIL PROTECTED] wrote:


Hello,

Thanks for the response.  So by using prototype, I could set the date on
it, and at the very least get rid of the simple object I'm creating for
the array, and just go directly to the array?

Something like:

MovieClip.prototype.age = new Date();

Or is there something else I need to do to make sure it has an increasing
date with each loop?

As to the XML data being asynchronous, so you mean I don't actually have
to use gotoAndPlay()?  I can just start off with a stop(); and set up the
event code?

I did it the way it is now because I need to use the code with two
possible ways - an XML packet from a socket, or an XML request from a PHP
script hitting a MySQL backend (this would facilitate replaying events,
whereas the socket would be the live-events-as-they-happen version).

Again, thanks for the response, I'm hoping I can keep this in Flash, as it
presents a wonderful way to have multiple clients viewing the same data,
with a much smaller effect on the server than other methods -- I also
don't know C/C++ very well. :)


Thanks,

Michael King
CSIRT - Developer
Security Incident Response Group
Humana Inc.
E-mail: [EMAIL PROTECTED]
STANDS: Some Theoretical Acronym Not Described Sufficiently



[p e r c e p t i c o n] [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
03/27/2007 01:43 PM
Please respond to
flashcoders@chattyfig.figleaf.com


To
flashcoders@chattyfig.figleaf.com
cc

Subject
Re: [Flashcoders] actionscript/flash performance






Hi Michael,
one thing that stands out right away is the use of prototype...if i'm not
mistaken, this will make these variables available to all movie
clips...even
ones that don't use the markers you're speaking of...the other thing is
that
loading of xml data is asynchronous, so you just burning cycles by looping
this way...i would use set interval to manage the removal of the clips
...it's far more efficient...

just my .02




The information transmitted is intended only for the person or entity to
which it is addressed and may contain CONFIDENTIAL material.  If you receive
this material/information in error, please contact the sender and delete or
destroy the material/information.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] Flash video, works locally not online

2007-03-21 Thread [p e r c e p t i c o n]

it could also be that your server doesn't have the right mime settings for
flvees
cheers

On 3/21/07, DannyT [EMAIL PROTECTED] wrote:


I am trying to get some video loaded at runtime using the following:

var my_nc:NetConnection;
var my_ns:NetStream;
my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
curMedia = createEmptyMovieClip(videoPlayer, getNextHighestDepth());
curMedia.attachMovie(FlvManager,video, curMedia.getNextHighestDepth
());
//FLVManager is a movieclip in the library which contains an instance of
FlvPlayer called FlvPlayer

curMedia[video].FlvPlayer.attachVideo(my_ns);

my_ns.onStatus = function(infoObject)
{
for (var prop in infoObject)
{
debugRef.text += \t+prop+:\t+infoObject[prop] + \n;
//
output to textfield
}
}
my_ns.play(this.curClient.videos[0]); // reference to video object
debugRef.text += this.curClient.videos[0]+\n; // which is
outputted here and is correct

When i try to run this locally it works fine, when i try to run it online
I
get no status response from my_ns.
However the flv file will run when I use a video component wizard
(FLVPlayback)

Can someone suggest what is wrong or how i can debug this?

Cheers,
--
http://danny-t.co.uk
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple math question...

2007-03-02 Thread [p e r c e p t i c o n]

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have the
onPress part down...i just need to center it on those coordinates

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] simple math question...

2007-03-02 Thread [p e r c e p t i c o n]

thanks for the info...very helpful!
cheers
[p]

On 3/2/07, Joshua Sera [EMAIL PROTECTED] wrote:


For an arbitrary registration point, use

var b:Object = mc.getBounds(mc._parent);
var offset:Object = {x:(mc._x - b.xMin, y:instance._y
- b.yMin)};

then

mc._x =  (_root.xmouse - mc._width/2) - offset.x;
mc._y =  (_root.ymouse - mc._height/2) - offset.y;


--- Karina Steffens [EMAIL PROTECTED] wrote:

 If your mc's reg point is top left:
  mc._x =  _root.xmouse - mc._width/2
  mc._y =  _root.ymouse - mc._height/2

 if it's centered you need not bother about the
 width/2 etc, but if it's
 somewhere else, you'll need to change it or do other
 calcualtions.

 Karina

  -Original Message-
  From: [p e r c e p t i c o n]
 [mailto:[EMAIL PROTECTED]
  Sent: 01 March 2007 23:57
  To: flashcoders
  Subject: [Flashcoders] simple math question...
 
  good people,
 
  how do i move a moviClip to center itself at
 (_xmouse,
  _ymouse)...i have the onPress part down...i just
 need to
  center it on those coordinates
 
  thanks
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the
 archive:
 

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

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the
 archive:

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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







Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] more bitmap questions

2007-02-03 Thread [p e r c e p t i c o n]

Hi all,

I have a Movieclip that i attach to the stage at runtime.  i then load a jpg
into that movieclip and on the press of a button remove all clips on stage
and create an entire new
screen (screen being new ui elements).  before i remove the clips i copy the
movieclip with the jpg in it, but it seems when i remove all the clips the
bitmapdata goes with it...even though i saved it as a member of my
class...can someone confirm this, and if so is there a better way to store
and copy the data as needed?

thanks

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

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


[Flashcoders] Re: more bitmap data questions...

2007-02-03 Thread [p e r c e p t i c o n]

thanks...while i'm at it...does anyone know of a way to change a movieclips
parent?  say i attach a clip to level0 then want to attach it to a movieclip
later can this be done?

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

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


[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]

Hi Alain,
I would think that would work too, but i tried that as well...not sure
what's happening...

in fact all of my coordinates are all screwed up...plus i've noticed that
when i change the width of some clips it literally skews the clip as if i
used the transform tool...very strange as i haven't touched the matrix of
the clip...

i've never had this happen before so i quite baffled

thanks

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

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


[Flashcoders] loadMovie question

2007-02-02 Thread [p e r c e p t i c o n]

here's what the output window is spitting out...

Target not found: Target=/screen_container/card1/image_container
Base=_level0.screen_container.card1.image_container

the clip is on the stage...which this trace confirms

image container: _level0.screen_container.card1.image_container

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

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


[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]

ok so i noticed that where i have the clip that i'm loading into matters...

so here's how my movieclip is set up.

there are about 20 frames

the background spans all 20
the mask begins at frame 10 as does the clip that i'm trying to load the jpg
into...

before i load the jpg i goto frame 10 so it should be a valid clip at that
point, but that's when i get the target errors,
i moved the clip i'm loading into to frame 1 and the error goes away, but no
jpg


???

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

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


[Flashcoders] Re: Flashcoders Digest, Vol 25, Issue 5

2007-02-02 Thread [p e r c e p t i c o n]

sorry for that but i'm on digest
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] bitmapdata question...

2007-02-02 Thread [p e r c e p t i c o n]

i've taken a snapshot of a movieclip.  is there a way to keep it from
showing? meaning i don't want to see it on stage i just want to save it.

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

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


[Flashcoders] loadMovie question -- better explaination

2007-02-02 Thread [p e r c e p t i c o n]

further...

if i drag a clip onstage...it works like it's supposed to, but when i attach
it while the movie is running, it doesn't like accept it.  does anyone have
an explaination for this?



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

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


[Flashcoders] bitmapdata question...

2007-02-02 Thread [p e r c e p t i c o n]

thank you sir!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] loadMovie question -- better explaination --SOLVED

2007-02-02 Thread [p e r c e p t i c o n]

don't know why it suddenly started working, but it did...

thanks to all who helped

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

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


[Flashcoders] FileReference

2007-01-24 Thread [p e r c e p t i c o n]

I've been tasked with making the FileReference class work with Java/jsp.
are there any Java experts on this list that i can ask questions?  php works
fine, as well as asp, but what i really need right now is Java...

any ideas appreciated

thanks

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

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


[Flashcoders] bitmap data question

2007-01-22 Thread [p e r c e p t i c o n]

Hello experts,
i'm trying to gain a little clarity on bitmap data...is everything inside of
a movieclip considered bitmap data?

e.g. if i have a movieclip with a couple of textboxes in it, would
everything in the movieclip be considered bitmap data??

thanks much

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

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


[Flashcoders] FLASH REMOTING HELP!!! ([p e r c e p t i c o n])

2007-01-19 Thread [p e r c e p t i c o n]

thanks John,

what i failed to mention was that the method i'm intending to call doesn't
get called, but the doPost method does ???  problem is that the doPost
method returns void so it doesn't push any params back to the client...

utterly confused

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

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


[Flashcoders] FLASH REMOTING HELP!!!

2007-01-18 Thread [p e r c e p t i c o n]

I've been struggling with this all week and really need some help...

i'm trying to call a method in a servlet (java) and can't seen to call that
method nor get a response back into flashi know it can be done, but
don't know the nuances of remoting enough to pull it off...can anyone point
me in the right direction?

thanks in advance
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] remoting components / jsp

2007-01-16 Thread [p e r c e p t i c o n]

Hi all,

I'm wondering if anyone has experience with the remoting components and the
flashgateway.war file that's supposed to be part of the install?


here's what i'm trying to do.  first i created a servlet that let's me
upload a file to a server. then i use getURL to popup a page that calls that
servlet.  what i'd like to have happen is to have that servlet send some
info back to the swf i called getURL from...i'm also using loadvars to get a
result back...any ideas how to accomplish this?

thanks so much

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

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