Re: [Flashcoders] A reason to use Windows

2005-10-19 Thread eric dolecki
*hand raise* :)

e.d.

On 10/19/05, Spike [EMAIL PROTECTED] wrote:

 Very cool,

 I know a few people who will be keen to read that.

 Spike

 On 10/19/05, Alisdair Mills [EMAIL PROTECTED] wrote:
 
  It took a bit of tinkering but I have the flex framework 2 and
  actionscript 3 compiling on OS X (nb. not flex builder 2 plugin). if
  you get all the jar files from the lib folder from the windows
  standalone application - you can then use mxmlc.jar from the command
  line or set up an ant script to do it. works great - can compile mxml
  and/or AS class files no problem, and you can use it with any editor
  of your choice.
 
  so no need to rush out and make bill gates richer just yet ;)
 
  will post a howto when i get a free minute.
 
  On 18 Oct 2005, at 20:37, Spike wrote:
 
   Flex 2 requires Flex Builder 2.
  
   Several parts of Flex Builder 2 rely on parts of the java.awt
   family of
   packages. There is a really nasty bug with threading on OS X whihc
   means
   that SWT and awt don't play well at all. Unfortunately the only way
   to fix
   it is at the OS level, so you have to use one or the other. I
   expect MM will
   have to reimplement the awt stuff for the OS X version.
  
   AFAIK VirtualPC or some equivalent is the only way to get it going
   on OS X.
  
   Spike
  
   On 10/18/05, Dave Watts [EMAIL PROTECTED] wrote:
  
  
  
   Flex 2 I cannot run it on my Mac :-(
   Woe is me.
  
  
   I haven't tried to do this, but I would think you could run it on
   a Mac,
   although it may not be supported. With Flex 1.x at least, you could
   install
   it as an EAR or WAR file onto a J2EE app server. I suspect you can
   do the
   same thing with Flex 2, although you may need to run the installer on
   Windows, or you may need to download a J2EE installer.
  
   Dave Watts, CTO, Fig Leaf Software
   http://www.figleaf.com/
  
   Fig Leaf Software provides the highest caliber vendor-authorized
   instruction at our training centers in Washington DC, Atlanta,
   Chicago, Baltimore, Northern Virginia, or on-site at your location.
   Visit http://training.figleaf.com/ for more information!
  
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  
  
  
  
   --
   
   Stephen Milligan
   Do you do the Badger?
   http://www.yellowbadger.com
  
   Do you cfeclipse? http://www.cfeclipse.org
   ___
   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
 



 --
 
 Stephen Milligan
 Do you do the Badger?
 http://www.yellowbadger.com

 Do you cfeclipse? http://www.cfeclipse.org
 ___
 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] flash linux

2005-10-19 Thread eric dolecki
whats the current rev of flash to run on linux? any plans for fp8 for linux?
etc...

thanks!

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


Re: [Flashcoders] flash linux

2005-10-19 Thread eric dolecki
Is the FP7 for Linux pretty solid? Has anyone tried it - and it looks like
its plugin only, no standalone. Which is okay I guess.

e.dolecki

On 10/19/05, David Rorex [EMAIL PROTECTED] wrote:

 On 10/19/05, eric dolecki [EMAIL PROTECTED] wrote:
  whats the current rev of flash to run on linux? any plans for fp8 for
 linux?
  etc...

 flash player 7 on linux. they are working on flash player 8, but it's
 going to be quite a while. i think it was last month or two they were
 trying to hire someone to work on it for them. I wouldn't expect it
 for at least 6 months. (fp7 for linux came out like 8+ months after
 fp7 for windows IIRC)

 -David R
 ___
 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] closed caption options

2005-10-20 Thread eric dolecki
dont have 8 pro? tsk - tsk ;)

e.d.

On 10/20/05, John Giotta [EMAIL PROTECTED] wrote:

 Or you don't have 8 professional

 On 10/20/05, eric dolecki [EMAIL PROTECTED] wrote:
  Use the FLV Encoder that comes with F8... unless of course you are given
  FLVs already without those cue points
 ___
 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] External Interface Unicode

2005-10-24 Thread eric dolecki
I'm trying to pass unicode strings into Flash by using flash8.ocx ActiveX
control and the ExternalInterface handlers. Thus far I've been observing the
XML serialization that comes out of Flash, and I'm trying to mimick that
serialization process in the host application (written in Python.)

I see that there is an argument element named string, but I don't have
much more information than that. Additionally, I have to strip the ?xml
version=1.0 etc. etc. ? off of the document I submit to
flash8.ocx(otherwise Flash sends back an error), so I'm skeptical
about the XML parser
that Flash is using.

Is there a way I can inform the Flash deserializer about the encoding I'm
using, or some other child element of the element that I should be using to
indicate the encoding? Trying to pass some live data Unicode characters into
Flash for display using ExternalInterface...

any insight greatly welcomed. Yes, 2nd post on this, hoped to bump it up.

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


Re: [Flashcoders] setInterval() and the trouble

2005-10-30 Thread eric dolecki
Its undocumented, but it works in a fire once kind of situation  like
javascript:

foo = setTimeout( func, ms)
clearTimeout(foo)

but only if you need to stop the interval. Otherwise, just fire it and
forget it.

e.d.

On 10/30/05, Kent Humphrey [EMAIL PROTECTED] wrote:
 Eric E. Dolecki wrote:
  use setTimeout now and you dont need to worry about interval ids.
 
  e.dolecki
 
 

 Have you found any documentation about setTimeout - because I haven't :
 ___
 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] controlling sound on mouse moves

2005-10-30 Thread eric dolecki
Can you be more specific?

e.dolecki

On 10/30/05, Weyert de Boer [EMAIL PROTECTED] wrote:
 Does anyone know a flash movie/sample who creates sounds based on the
 mouse moves ?

 Yours,
 Weyert de Boer
 ___
 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] ASDT data loss?

2005-10-31 Thread eric dolecki
Just curious if anyone else has lost data when using Eclipse with ASDT?

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


Re: [Flashcoders] ASDT data loss?

2005-10-31 Thread eric dolecki
i had it clear my entire desktop. I didn't have it all in SVN at the
time. Pretty freaking scary when it happens.

On 10/31/05, JesterXL [EMAIL PROTECTED] wrote:
 I've had Eclipse 3.1 delete an entire project directory when I removed a
 project, and said No, please don't delete the project.

 It crashed, deleted everything.  I told it to f'off because I had just
 checked everything in via SVN, but close call.

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Monday, October 31, 2005 10:27 PM
 Subject: [Flashcoders] ASDT data loss?


 Just curious if anyone else has lost data when using Eclipse with ASDT?

 e.dolecki
 ___
 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] Circle, rotation to ?

2005-11-01 Thread eric dolecki
Its that last part frying me - sometimes it works as expected, other times,
it decides to rotate the long way around :/

thanks all.


On 11/1/05, Helen Triolo [EMAIL PROTECTED] wrote:

 Assuming your circle has a center registration point:

 import mx.transitions.Tween;
 import mx.transitions.easing.*;

 function rotation(dx:Number, dy:Number):Number {
 return Math.atan2(dy, dx) * 180/Math.PI;
 }
 circle.onRelease = function() {
 new Tween(this, _rotation, Strong.easeOut, this._rotation,
 rotation(_xmouse - this._x, _ymouse-this._y), 1, true);
 };

 I added it to the bottom of this page:
 http://flash-creations.com/notes/asclass_math.php

 The only thing is you're at the mercy of the Tween class to determine
 which way the rotation will go, so you might need to modify it some.

 Helen

 eric dolecki wrote:

 I have a math question. Lets say I have a circular movieclip on the
 stage.
 It has a directional marker on it so you know which direction its rotated
 to.
 
 click on the circle, now with easing (even just linear), rotate to the
 movieclip from its current rotation to the destination angle (where the
 movieclip was clicked on). To work in full 360 degrees.
 
 Anyone have any good suggestions on the best way to code this, or an
 example
 to boot?
 
 Thanks,
 e.dolecki
 
 

 ___
 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] Different font sizes in Tree Component

2005-11-02 Thread eric dolecki
check cellRenderers... you'll have to roll one up, and then assign some
formatted text to the labels for the nodes as you want.

On 11/2/05, Claudia Barnal [EMAIL PROTECTED] wrote:

 Is it possible to assign different fonts (font size really) to the
 different
 nodes of a Tree component?

 What I need is to assign a different font size to the branch nodes (say
 20)
 and the leaf nodes should have a smaller font size (say 12). I have tried
 looking, but can't find any info on how to achieve this.

 TIA,
 Claudia

 _
 MSN Messenger 7.5 is now out. Download it for FREE here.
 http://messenger.msn.co.uk

 ___
 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] [OT] light mac AS2 text editor

2005-11-03 Thread eric dolecki
TextMate, SubEthaEdit, TextWrangler. Smultron could be okay if they ever
optimized it.

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


Re: [Flashcoders] LiveMotion Woes

2005-11-03 Thread eric dolecki
No converters from lm to fla. Do you have the SWFs at least?
Get a copy of lm2 and extract all the assets and rebuild. Or try ASV5. If no
SWFs, gotta get a copy of lm2 :/

e.dolecki

On 11/3/05, eric dolecki [EMAIL PROTECTED] wrote:

 I know someone who was an software engineer on LiveMotion 2... I'll ping
 him about it.

 e.dolecki

 On 11/3/05, John Dowdell [EMAIL PROTECTED] wrote:
 
  Mike West wrote:
   I have a client looking to edit several (100s) of files that were
   created in LiveMotion by an animator and now are dropped on my door.
   This is a long shot—but does anyone know of a converter to open the
   original LiveMotion files in Flash? or any way to remove buttons and
   actions?
 
  To my knowledge, the LiveMotion authoring files can only be opened in
  LiveMotion. I think this was removed from the Adobe sales catalog awhile
 
  back, but may be available on eBay. (Just be sure to get a reputable
  seller, so you're not executing instructions from strangers.)
 
  Other than that, one possibility may be to take their deliverable SWF,
  and open these in a SWF decompiler, one by one, to remove the unwanted
  interactivity. Anyone have a better idea here...?
 
  jd
 
 
 
 
 
  --
  John Dowdell . Macromedia Developer Support . San Francisco CA USA
  Weblog: http://www.macromedia.com/go/blog_jd
  Aggregator: http://www.macromedia.com/go/weblogs
  Technotes: http://www.macromedia.com/support/
  Spam killed my private email -- public record is best, thanks.
  ___
  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] Help For Custom Components

2005-11-03 Thread eric dolecki
I get all the jazz about the customactions XML document - but can that file
be specified in an MXI file so when you install a component via MXP, it
installs the help as well?

Looking for documentation, not finding any yet.

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


Re: [Flashcoders] Help For Custom Components

2005-11-04 Thread eric dolecki
Ok I have this all figured out, but is there an application that actually
creates Help for components (generates the XML)?

Its a pain in the ass composing help right now. A little app that generates
the hierarchy of stuff would be awesome (reference panel).

e.dolecki


On 11/4/05, Robert Edgar [EMAIL PROTECTED] wrote:

 Hmm,
 We bought AS2Doc a year ago, its good, probably still the best around(due
 to
 lack of any real competition) but...
 the bad news is AS2Doc development was abandoned in March and now there is
 no support whatsoever or bug fixes or new releases coming ever...

 There are a number of bugs, like some Interface classes get skipped, the
 PanelActions generate junk at times, and some essential features missing
 like no way to document events and of course once AS3 is here there wil be
 no way forward.

 It still might be worth buying but anyone doing so needs to do it with
 there
 eyes wide open.
 Rob

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of JOR
 Sent: Thursday, November 03, 2005 5:29 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Help For Custom Components


 Gregory_GOusable wrote:
  In MX 2004, you can write the help in form of HTML files (number of
  files) instead of reference tag in customactions.
 
  Then, add the tag for each html file to your .mxi like that: file
  source=_your_path_/file_name.html
  destination=$flash/HelpPanel/Help/_your_folder_ /
 
  See Extending Flash Help Panel Content article in Flash
  Documentation on MM site. Also, I'd recommend just download any
  component (for Flash MX 2004) and look through it's content, mxi etc.
 
 

 I just bought AS2DOC and it's awesome at creating Flash documentation
 files. I just ran it on a couple of packages I had recently written
 with JavaDoc style commenting and in a matter of seconds it created
 detailed help docs and an mxi file for me. I packaged the mxi file into
 an mxp and installed it into Flash. After looking through the docs I
 see I left some comments out so I'm going to use it as a reference to
 where to go back to my classes and add more information to fill out the
 pages more.

 Pricey but great product. Highly recommended. Unfortunatley their free
 trial version does not do Flash help files.

 JOR



 ___
 === James O'Reilly
 ===
 === SynergyMedia, Inc.
 === www.synergymedia.net http://www.synergymedia.net

 ___
 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] live preview vs. compiled swf

2005-11-04 Thread eric dolecki
I have a component, where part of the live preview is to show the date of
compile.

How can I code this so that when the resulting SWF is run some other time,
it uses a burned in value for the date, and not my get todays date
function? Somene suggested localSharedObject - but that doesn't really work
- since the 1st time you run it, the date could be inaccurate.

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


Re: [Flashcoders] live preview vs. compiled swf

2005-11-04 Thread eric dolecki
I have a dedicated live preview SWF, so I don't need that isLivePreview
thing. So I guess the only way to do this is to publish the SWF and then
inject a value in it aftwerwards. I have no qualms about a pre-processor,
but I'm making components for designers to use. I guess maybe instead of
trying to do some llifting for them by auto-completing the date, they can
just enter it as a string and be done with it :/

thanks.

ed

On 11/4/05, JesterXL [EMAIL PROTECTED] wrote:

 Put this in your onLoad/initLayout function in your class.

 if ( _global.isLivePreview == true)
 {
 // you are running in the Flash Live Preview
 compile_txt.text = compiledDate;
 }

 To get the actualy compile date itself, you'll have to go ask the dudes on
 OSFlash; I think using ANT or some other post/pre-processor, you can set
 vars/global vars to a preset value.

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 04, 2005 2:17 PM
 Subject: [Flashcoders] live preview vs. compiled swf


 I have a component, where part of the live preview is to show the date of
 compile.

 How can I code this so that when the resulting SWF is run some other time,
 it uses a burned in value for the date, and not my get todays date
 function? Somene suggested localSharedObject - but that doesn't really
 work
 - since the 1st time you run it, the date could be inaccurate.

 ed
 ___
 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] Embedding a Video Object

2005-11-04 Thread eric dolecki
Don't believe so. You'd have to make it available via Library. It would be
cool to create a video object on the fly if needed, but alas...

ed

On 11/4/05, Jason Lutes [EMAIL PROTECTED] wrote:

 What magic secret do I need to know in order to create an embedded video
 object via ActionScript (not manually, via the Library) in order to
 perform the requisite NetStream voodoo?

 In other words, what can I do besides dropping a embedded video asset from
 the Library onto the Stage?

 Does the Library's embedded video object have an exposed class somewhere?


 -
 pixelTwiddler, a.k.a. Jason



 ___
 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] media display v. netstream and video object

2005-11-04 Thread eric dolecki
media display component is made with netstream and a video object.
FLVPlayback component lets you tweak the buffer time too, so I would think
there is no difference in speed to load it up.

ed

On 11/4/05, Matt Ganz [EMAIL PROTECTED] wrote:

 hi.

 quick question. will an external flv begin playing faster thru a media
 display component or using the netstream with a video object?

 thanks. -- matt.
 ___
 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] Embedding a Video Object

2005-11-04 Thread eric dolecki
sure - but i think he was after calling one up without it residing in the
Library at all. like a createClassObject kinda thing

ed

On 11/4/05, Jim Phelan [EMAIL PROTECTED] wrote:

 You can put it within a MovieClip and attach the movieclip using
 attachMovie

 Of course, then you must refer to it as myMC.videoObj. But it works; it's
 what I use with my components,

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jason
 Lutes
 Sent: Friday, November 04, 2005 9:59 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Embedding a Video Object

 What magic secret do I need to know in order to create an embedded video
 object via ActionScript (not manually, via the Library) in order to
 perform the requisite NetStream voodoo?

 In other words, what can I do besides dropping a embedded video asset from
 the Library onto the Stage?

 Does the Library's embedded video object have an exposed class somewhere?


 -
 pixelTwiddler, a.k.a. Jason



 ___
 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] sound fadeOut

2005-11-07 Thread eric dolecki
I guess I'm saying that any audio fading up or down should probably not be
done linearly ever - while mathematically accurate, to the human ear it
doesn't sound right. You'll notice no change and then zm... a really
quick fade down... when what you wanted was something even if you know
what I mean.

e.dolecki

On 11/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 so then the code here would work since it's not linear.

 but i'm not sure what you mean by linear adjustments prove to sound
 highly inaccurate? in this case i don't think it matters anyway since
 it's just a small change of volume and he's probably not coding some
 online dj mixing software. or maybe he is.. :)

 andreas


 Eric E. Dolecki wrote:
  I've found that linear adjustments prove to sound highly inaccurate - or
  strange. You'll notice no difference, and then the change will be quite
  abrupt. So be careful with these kinds of things - linear is probably
  not the best way to go.
 
  e.dolecki
 
 
  On Nov 7, 2005, at 5:21 AM, [EMAIL PROTECTED] wrote:
 
  If you want to keep things simple, and the volume fade doesn't need to
  be linear, couldn't you just run a soundUpdate function and keep track
  of the volume in a variable. something like this:
 
 
  var volume = 0;
  var destVolume = 100;
 
  setInterval(soundUpdate, 100);
 
  function soundUpdate() {
  volume += (destVolume - volume) / 20;
  track.setVolume(volume);
  }
 
  then when you need the volume to change you could just do:
 
  on (rollOver) {
  destVolume = 0;
  }
 
  then maybe add another interval that sets destVolume back to 100. you
  could probably replace the volume += (destVolume .. with something
  better but at least it should work. :)
 
  Andreas
 
  MetaArt wrote:
  In my movie, I have a jingle, that is loaded by this code:
 
 code:---
 
  ---track = new Sound();
  track.loadSound(everybody.mp3, true);
  track.setVolume(0);
  vol = 0;
  fade = setInterval(fadeIn, 100);
  function fadeIn() {
  vol += 1;
  track.setVolume(vol);
  if (vol=90) {
  clearInterval(fade);
  }
 
 };--
 
  
  during playback of this jingle, is possible that happens an event (a
  rollOver action) by the user that start the playback of an other
  audio file,
  this time a talkin' human voice.
  The problem is that the jingle cover the voice, or whatever the two
  audios
  overlaps.
  Therefore, I want do something that, on rollOver, do the jingle has a
  fast
  fadeOut, starting by the volume level where it is.
  How can I obtain this?
  Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
  http://www.metatad.it
  ___
  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] sound fadeOut

2005-11-07 Thread eric dolecki
Basically yes :)

Flash has no notion of decibels - there are probably formulas out there to
try and approximate that logarithmic curve and apply it to your audio to get
a more natural response. Its a interesting topic at least ;)

e.dolecki

On 11/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 ok. are you talking about decibels being logarithmic and not linear? ie.
 decibel * 2 doesn't mean heard volume * 2.

 anyway this is getting off topic but i'm sure you're right about this
 whole thing anyway :)..


 eric dolecki wrote:
  I guess I'm saying that any audio fading up or down should probably not
 be
  done linearly ever - while mathematically accurate, to the human ear it
  doesn't sound right. You'll notice no change and then zm... a really
  quick fade down... when what you wanted was something even if you know
  what I mean.
 
  e.dolecki
 
  On 11/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  so then the code here would work since it's not linear.
 
  but i'm not sure what you mean by linear adjustments prove to sound
  highly inaccurate? in this case i don't think it matters anyway since
  it's just a small change of volume and he's probably not coding some
  online dj mixing software. or maybe he is.. :)
 
  andreas
 
 
  Eric E. Dolecki wrote:
  I've found that linear adjustments prove to sound highly inaccurate -
 or
  strange. You'll notice no difference, and then the change will be
 quite
  abrupt. So be careful with these kinds of things - linear is probably
  not the best way to go.
 
  e.dolecki
 
 
  On Nov 7, 2005, at 5:21 AM, [EMAIL PROTECTED] wrote:
 
  If you want to keep things simple, and the volume fade doesn't need
 to
  be linear, couldn't you just run a soundUpdate function and keep
 track
  of the volume in a variable. something like this:
 
 
  var volume = 0;
  var destVolume = 100;
 
  setInterval(soundUpdate, 100);
 
  function soundUpdate() {
  volume += (destVolume - volume) / 20;
  track.setVolume(volume);
  }
 
  then when you need the volume to change you could just do:
 
  on (rollOver) {
  destVolume = 0;
  }
 
  then maybe add another interval that sets destVolume back to 100. you
  could probably replace the volume += (destVolume .. with something
  better but at least it should work. :)
 
  Andreas
 
  MetaArt wrote:
  In my movie, I have a jingle, that is loaded by this code:
 
 
 code:---
  ---track = new Sound();
  track.loadSound(everybody.mp3, true);
  track.setVolume(0);
  vol = 0;
  fade = setInterval(fadeIn, 100);
  function fadeIn() {
  vol += 1;
  track.setVolume(vol);
  if (vol=90) {
  clearInterval(fade);
  }
 
 
 };--
  
  during playback of this jingle, is possible that happens an event (a
  rollOver action) by the user that start the playback of an other
  audio file,
  this time a talkin' human voice.
  The problem is that the jingle cover the voice, or whatever the two
  audios
  overlaps.
  Therefore, I want do something that, on rollOver, do the jingle has
 a
  fast
  fadeOut, starting by the volume level where it is.
  How can I obtain this?
  Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
  http://www.metatad.it
  ___
  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

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


Re: [Flashcoders] scope in classes

2005-11-07 Thread eric dolecki
sweet thanks :) Never gonna use reg. Delegate again :)

e.d.

On 11/7/05, Martin Wood [EMAIL PROTECTED] wrote:

 my favourite topic and my favourite links :

 http://osflash.org/flashcoders/as2

 at the bottom theres a link to this page

 http://www.dynamicflash.co.uk/2005/02/delegate-class-refined/

 from which you can find this implementation

 http://dynamicflash.com/classes/Delegate.as

 enjoy.

 :)

 martin

 JesterXL wrote:
  You can use Proxy; ARP has one, and a few other Proxy's have been
 written
  that support this.
 
  Anyone have the links to those handy?
 ___
 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] setMask flickering

2005-11-07 Thread eric dolecki
I'm building a component that loads in a bunch of images in sep clips inside
a master clip - and the master clip can slide left and right.

each sep. clip has a drop shadow filter set on it, and during movement, blur
applied.

When I use a setMask on the main clip, there is considerable flickering
during the animation. When I comment that block out, animation is smooth and
nice as can be.

Has anyone run into any similar issues?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT?: Stage size

2005-11-09 Thread eric dolecki
In short, no. There is a defined limit to amount of room outside the Stage
area in the IDE. This area has been enlarged for Flash 8 - I can't remember
the pixel dimension details.

The size limit is probably so that the IDE runs efficiently as possible.

ed

On 11/9/05, Andreas Rønning [EMAIL PROTECTED] wrote:

 Is there a way to make the work area infinitely big? :P By work area i
 mean the gray area surrounding the active stage.
 As recent as yesterday i had a very (very) large movieclip on stage with
 its reg point top left (placing the reg point outside of the boundaries
 of the visible work area) and removed its contents to replace, but
 inadvertently exited the clip and had to go through the library to find
 it, fill it with a gigantic mass of some sort so i could see it on stage
 again so i could delete it.

 Is there a reason for this work area size limit? The coordinate system
 doesnt stop at its boundaries, so why?

 - Andreas
 ___
 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] Logic Help

2005-11-11 Thread eric dolecki
private function proportionalScale( who:MovieClip, mcHolder:MovieClip,
nDesiredWidth:Number, nDesiredHeight:Number ):Void {
var scaleBy:Number = Math.min(nDesiredWidth / who.width, nDesiredHeight
/who.height);
mcHolder._xscale = scaleBy;
mcHolder._yscale = scaleBy;
}

Maybe something like that?

On 11/10/05, Lehr, Theodore M. [EMAIL PROTECTED] wrote:

 I have a mc that is 357x394 that I am loading various images into...
 these images are of various sizes but all are larger than the mc they
 are being loaded into... I need to scale them down proportionally so the
 whole image can be seen... how should I go about this so an image that
 is 840x680 would be scaled down so it looks right (to scale) and an
 image that is 680x840 would too
 ___
 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] shared Fonts

2005-11-11 Thread eric dolecki
I'd like to be able to make a component that uses a custom made font.

If I make a Font Symbol with linkage and export, technically any developer
who installs my component should have that font available (working in the
component), correct?

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


Re: [Flashcoders] using forward slash in inspectable properties ( / )

2005-11-11 Thread eric dolecki
Try this:

[Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05,
04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30,
2005,defaultValue=4/30/05,category=dateFormat)]

e.dolecki


On 11/11/05, Wade Arnold [EMAIL PROTECTED] wrote:

 I am trying to use the following code for a component and the forward
 slashes escape out the commas. Ideas?

 [Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05,
 04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30,
 2005,defaultValue=4/30/05,category=dateFormat)]
 var dateSelection:String;

 Thanks!
 Wade Arnold

 ___
 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] shared Fonts

2005-11-11 Thread eric dolecki
poop.


On 11/11/05, JesterXL [EMAIL PROTECTED] wrote:

 No, that's just a pointer to the font. You actually have to have the font
 on your machine for it to compile it into the SWF.

 You can, however, compile the font into a SWF, and distribute the SWF, but
 it won't work unless you have an instance of it in _level0, thus the only
 way realistically is to use something like SWFMill to exract it (if it can
 do that).

 ... or distribute the font.

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, November 11, 2005 3:43 PM
 Subject: [Flashcoders] shared Fonts


 I'd like to be able to make a component that uses a custom made font.

 If I make a Font Symbol with linkage and export, technically any developer
 who installs my component should have that font available (working in the
 component), correct?

 e.d.
 ___
 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] PODCAST and RSS feeds in flash audio player

2005-11-11 Thread eric dolecki
If that thing had an approachable interface I would probably spend more than
4 seconds on it.

e.dolecki

On 11/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 I posted this a little while ago. I was wondering it anyone had any
 insight
 into this. Here is the link and login again

 http://www.blogamp.com/blogamp_admin/index.php
 user - 123
 pass - 123

 Thanks!

 Lou

 -Original Message-

 Hi all --- I posted a question a month or so ago about right clicking to
 subscribe to a feed. I tried a few things and I have a working model done
 but would like some advice. Please check out the flash player and admin
 below


 http://www.blogamp.com/blogamp_admin/index.php


 Any suggestions to right click menu on the podcast link would be great.

 I am also looking for a solution to allow clients to record their audio
 and
 convert it to mp3 for podcasts and all done through a interface like this.



 Thanks in advance!



 Lou



 ___
 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] Re: chinese spam 网易邮箱自动回复

2005-11-11 Thread eric dolecki
I DO have Chinese installed, and I still can't read it ;)

e.dolecki

On 11/11/05, David Rorex [EMAIL PROTECTED] wrote:

 This is chinese, if you don't have chinese language installed, you
 wont be able to read it. I've gotten like 10 of these exact messages
 already, i think it's someone who screwed up their email auto
 responder config, and is now spamming the list.

 -David R

 On 11/11/05, Janis Radins [EMAIL PROTECTED] wrote:
  Does everyone received my post as bunch of '? ?
 
  2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]:
   您发给我的信件已经收到。
  
  
  
  
   
   网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。
   欢迎您来注册使用。网易126邮箱:http://www.126.com
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 

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



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


Re: [Flashcoders] poor preformance of the flash data grid

2005-11-11 Thread eric dolecki
how many rows? If you have a lot - there you go. Lots of lookups and
styling. The v2 dataGrid doesn't do paging - but I think there are
some out there that do. Google for em.

ed

On 11/9/05, Robin Burrer [EMAIL PROTECTED] wrote:

 Hi there,

 Whenever I try to format the text in a v2 datagrid component the performance
 of my flash application dramatically goes down.

 The flash application freezes for one to two seconds (depending
 On the processor speed) before the data grid is displayed.

 If I don't call the formatDataGrid method (see below) my applications runs
 smoothly.

 Any ideas?

 Cheers

 Robin


 // formatDataGrid
 private function formatDataGrid():Void
 {
 myGrid.rowHeight = 30;

 // first column
 var locationColum = myGrid.getColumnAt(0);
 locationColum.setStyle(fontWeight, bold);
 locationColum.setStyle(color, 0x00538D);
 locationColum.setStyle(fontSize, 15);
 locationColum.setStyle(fontStyle, italic);
 locationColum.width = 145;
 locationColum.embedFonts = true;
 locationColum.fontFamily  =myFont

 // second column
 var datesColum= myGrid.getColumnAt(1);
 datesColum.setStyle(color, 0x00538D);
 datesColum.width = 260;
 datesColum.embedFonts = true;
 datesColum.fontFamily  =myFont;

 // third column
 var registerColum = myGrid.getColumnAt(2);
 registerColum.setStyle(color, 0x00538D);
 registerColum.setStyle(fontStyle, italic);
 registerColum.setStyle(fontWeight, bold);
 registerColum.embedFonts = true;
 registerColum.fontFamily  =myFont;


 }
 ___
 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] blogger with flash

2005-11-13 Thread eric dolecki
why LoadVars? Just do a XML load of a proxy file which will in turn
return your XML?

http://www.ericd.net/weather_tutorial/security.html
Thats the flavor of proxy that I like to use.



On 11/13/05, JesterXL [EMAIL PROTECTED] wrote:
 If the XML file isn't gzipped, I'm not sure what that would return.

 Are you uploading that PHP file to your server and doing something like:

 lv = new LoadVars();
 lv.owner = this;
 lv.filepath = http://anniegroovie.blogspot.com/atom.xml;;
 lv.onData= function(str)
 {
 this.owner.parseTheXML(str);
 };
 lv.sendAndLoad(yourserver.com/the.php, lv, POST);

 funciton parseTheXML(str)
 {
 var xml = new XML();
 xml.parseXML(str);
 trace(xml);
 }

 - Original Message -
 From: Patrick Matte [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Sunday, November 13, 2005 11:08 PM
 Subject: Re: [Flashcoders] blogger with flash


 I tried that bit of php code but couldn't resolved anything.
 The Loadvars returns the XML=onLoad=%5Btype%20Function%5D 



 - Original Message -
 From: JesterXL [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Sunday, November 13, 2005 10:43 PM
 Subject: Re: [Flashcoders] blogger with flash


  Nope, this is part of the security sandbox since Flash 5.  You will need
  either:
  - the swf to reside on anniegroove.blogspot.com
  - a shim.swf to reside on the above domain that merely says
  System.allowDomain(*);
  - a crossdomain.xml file to reside on the above domain that allows your
  site
  - a proxy
 
  The most common solution is a proxy since it only requires very little
  code,
  and can reside on your site.  Basically, PHP/ASP/ColdFusion, whatever,
  loads
  the XML file from the other domain, and passes it to Flash.  Here's how I
  not only grab an XML file, but uncompress it for Flash:
 
  ?php
 
  $file = gzfile($HTTP_POST_VARS[filename]);
 
  echo theXML= . implode(, $file);
  ?
 
  My swf just does a LoadVars.sendandLoad to that PHP file, with a filename
  variable, and it returns the XML as a string, which I then just toss to an
  XML object.
 
  - Original Message -
  From: Patrick Matte [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Sunday, November 13, 2005 10:35 PM
  Subject: Re: [Flashcoders] blogger with flash
 
 
  No my swf is on another server! But i thought flash could read files from
  other servers.
 
  - Original Message -
  From: JesterXL [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Sunday, November 13, 2005 10:31 PM
  Subject: Re: [Flashcoders] blogger with flash
 
 
  Is your .swf on anniegroovie.blogspot.com?
 
  - Original Message -
  From: Patrick Matte [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Sunday, November 13, 2005 10:30 PM
  Subject: [Flashcoders] blogger with flash
 
 
  Hi, i have made a flash 7 blog that uses blogger's xml output. It works
  perfectly when i test locally. But when i access the file from website,
  the
  xml object never returns success... Maybe its a cross-domain problem with
  flash ?
 
  The xml comes form http://anniegroovie.blogspot.com/atom.xml
 
  Anyone knows what the problem could be ?
  ___
  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

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


Re: [Flashcoders] Detect if swf being viewed in html page

2005-11-14 Thread eric dolecki
check mc._url

On 11/14/05, Paul Steven [EMAIL PROTECTED] wrote:

 Is it possible to detect if a swf is being viewed in a html / asp page OR
 just a direct link?

 So for example I may view a file as

 http://www.mysite.com/test.html (which embeds test.swf)

 or

 http://www.mysite.com/test.swf

 I would like the swf to be able to detect if it is being viewed directly
 or
 embedded?

 Any help much appreciated

 Paul

 ___
 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] Detect if swf being viewed in html page

2005-11-14 Thread eric dolecki
Ooops - forgot you were running both in a browser :/

Martin's technique will work


On 11/14/05, Paul Steven [EMAIL PROTECTED] wrote:

 Thanks eric

 Unfortunately that gives the same value for both scenarios

 See

 http://www.mediakitchen.co.uk/test_url.html

 and

 http://www.mediakitchen.co.uk/test_url.swf

 Cheers

 Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of eric
 dolecki
 Sent: 14 November 2005 14:10
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Detect if swf being viewed in html page


 check mc._url

 On 11/14/05, Paul Steven [EMAIL PROTECTED] wrote:
 
  Is it possible to detect if a swf is being viewed in a html / asp page
 OR
  just a direct link?
 
  So for example I may view a file as
 
  http://www.mysite.com/test.html (which embeds test.swf)
 
  or
 
  http://www.mysite.com/test.swf
 
  I would like the swf to be able to detect if it is being viewed directly
  or
  embedded?
 
  Any help much appreciated
 
  Paul
 
  ___
  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] Component Name Problem

2005-11-14 Thread eric dolecki
I've been creating MXP files all morning - without any problems.

All of the sudden, when creating MXPs from MXI files, the components are
being installed with the name component.

I haven't changed anything (been using an identical version of the same MXI
(adding tiny edits for use with all the components), I''ve looked for
errors, I've restarted Flash a bunch of times, etc. I can't see why this is
happening beyond some strange Flash 8 IDE bug/Extension Manager thing.

Has anyone else experienced something like this?

A sample of my MXI XML below:

macromedia-extension
name = Display Component
version = 0.1
type = flashcomponent
author name=Eric E. Dolecki /
products
product name=Flash version=8 primary=true /
/products
description...

SO strange. I'm hoping this is temporary.

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


Re: [Flashcoders] Flash MX Pro 2004 Not Picking Up Code Changes

2005-11-15 Thread eric dolecki
Assuming by AS2 you mean you are using class(es) for your component. You
need to delete your ASO files... check the archives about it - or use
Google. ASO are snapshots of your classes to help speed up subsequent
compiles.

Mike Chambers whipped up a command or something I think to help clear those
out.

edolecki

On 11/15/05, Justin Schell [EMAIL PROTECTED] wrote:

 I am working on an FLA in Flash MX Pro 2004 in Windows XP that is using
 mostly AS1 components, but the component that I am working on is AS2.
 After I have generated the SWF using ctrl-enter once or twice, when I
 make further changes to the source code, the changes are not picked up
 when I generate the SWF again, the previous code seems to be used. I
 can restart Flash and get it to generate correctly a couple of times,
 but then changes are no longer picked up. Usually the first time that
 changes are failed to be picked up, I can test the SWF correctly in
 debug mode once or twice, but again changes stop being picked up. It
 kind of slows down the workflow when I have to restart flash every 10
 minutes...

 Has anyone had this problem before or, more importantly, have a
 solution?


 Justin Schell
 Software Engineer, Crystal Xcelsius
 ___
 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] local file path prob

2005-11-16 Thread eric dolecki
Ya I understood... I'm getting everything formatted just right now coming in
from Python. Thanks for all the feedback everyone :)

On 11/16/05, Ian Thomas [EMAIL PROTECTED] wrote:

 Sorry, Eric, I didn't explain myself very well.

 Yes, getting the coder to send you strings that are properly formatted to
 start with is going to fix your problem.

 But you could consider getting him to replace the \ character with \\
 instead of / - because that should cure your problem.

 \ is often interpreted as an escape character by many languages. So if
 it's
 in front of almost anything in a string, it'll 'mangle' the next character
 or few characters.

 For example, \n is replaced by the newline character. \t is replaced
 by
 the TAB character. And so on.

 If you actually want to include a backslash in the string, you use \\.

 So in many languages, to specify a Windows pathname you'd use
 double-slashes
 throughout. e.g. C:\\Program Files\\MyFolder\\MyApp.exe

 Hope that makes sense,
 Ian

 On 11/16/05, eric dolecki [EMAIL PROTECTED] wrote:
 
  Yup - going to get this fixed up before Flash sees it. \u screws things
  too... so getting proper / should work I hope.
 
  e.dolecki
 
 
 ___
 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] Apple using Flash for their new retailstore reservation system

2005-11-17 Thread eric dolecki
you can get to the apps from the retail pages on apple.com...

On 11/17/05, Gerry Creighton [EMAIL PROTECTED] wrote:
 Probably doesn't need to since it looks like a kiosk app for the
 Genius Bar at The Grove in the LA area.
 So it's probably built to be run on a widescreen imac and not
 delivered on the web.
 Look at the source code of the html page.

 Gerry

 On Nov 17, 2005, at 9:50 PM, Hindman, Jeff wrote:

  Silly app ... doesn't resize.
 
  --Jake
 
  -Original Message-
  From: Andy Johnston [mailto:[EMAIL PROTECTED]
  Sent: Thursday, November 17, 2005 6:47 PM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Apple using Flash for their new retailstore
  reservation system
 
 
  mmm flex
 
  Check it out!
 
  http://genius.apple.com/customer/?store=R050
 
  Any news behind the developers?
 
  -Carlos-
  ___
  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] From mac to PC - no joy

2005-11-18 Thread eric dolecki
Is it a Flash 8 file and you only have Flash 7 or something?

edolecki

On 11/18/05, Blake Kritzberg [EMAIL PROTECTED] wrote:

 Having trouble opening a .fla file created on a mac -- I keep either
 crashing or getting the message, unknown version. I understand this
 is a pretty common (but not universal?) problem. Have any ways around
 it cropped up?

 Thanks,
 Blake
 ___
 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] emoticons in a chat component

2005-11-21 Thread eric dolecki
Of all the things I tried, when resizing of the chat field was required, I
could not come up with a solution that didn't crush the Flash player. The
resizing is what did it in. I had to recompute, etc. Perhaps AS3 will allow
for something like a system, with text that can be highlighted  copied and
used, etc.

If flash were able to have a component container that could parse HTML well
within Flash, that might be another cool thing too.

edolecki


On 11/21/05, Karina Steffens [EMAIL PROTECTED] wrote:


 
  I'm also considering Joe's idea of overlaying the emoticons

 I'm getting dyslexic in my old age :-/ I meant Jobe - sorry for the
 mis-type...

 ___
 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] Q for the Pro's: How did you learn flash?

2005-11-21 Thread eric dolecki
I started early and have progressed over time. Take one aspect you'd like to
learn more about, and beat on it. Read what you can, check other developer's
sources, and most of all experiment with your own code. Overcoming your own
bugs, pitfalls, etc. will help you learn a lot more than someone just
showing you some finished working code in the long run.

And this list should help you tons too. I still run into things that confuse
me, and the knowledge on this list is outstanding!

edolecki

On 11/21/05, Kevin Aebig [EMAIL PROTECTED] wrote:

 Well I think there's a lot of guys here who started using Flash before it
 was really that complicated. I personally started with Flash 3 and just
 kept
 learning new techniques as the versions progressed...

 My suggestion to anyone is to learn the basics, than patiently progress
 up.
 I think a lot of new folks believe if they jump into more advanced
 Actionscript that they can learn it through sheer willpower and
 unfortunately they end up quitting before they even get started.

 It also helps that there are a lot of resources available to help you
 along
 the way too...

 Cheers,

 Kevin

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Lowen Fan
 Sent: November 21, 2005 9:04 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [flashcoders] Q for the Pro's: How did you learn flash?

 Hi All. I'm an advanced beginner, i know the basics, how the application
 works, a bit of actionscript... Now I was wondering how did the
 pro's/advanced users evolve from here?
 Did you use a book(s) or just a lot of tutorials and experimenting? (What
 book(s)?)

 Another big question is when to use actionscript and when not to? Are
 sites
 like: www.ricksdesign.com http://www.ricksdesign.com 
 http://www.ricksdesign.com
 www.notrics.nl http://www.notrics.nlhttp://www.notrics.nl
 www.h3omedia.co.uk http://www.h3omedia.co.uk http://www.h3omedia.co.uk
 www.clusta.com http://www.clusta.comhttp://www.clusta.comheavily based
 on actionscript?
 I'm still so confused how to achieve certain
 effects etc and apply them in a site. My goal is to create these kind of
 sites, hopefully in the future as a job.

 Can anyone give advice?

 greets,
 Lowen
 ___
 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] Xml manipulation crash player (7)

2005-11-21 Thread eric dolecki
are you seeing script timeout? how large is the XML? Could the XML be
streamlined at all? We need some more details.

edolecki

On 11/21/05, Flapflap [EMAIL PROTECTED] wrote:

 Hi there,

 We got a big trouble in a project that manipulate a lot some xml object :
 We came at point that if we do some manipulation (mostly appendChild) on
 xml object the player crash...
 It's a flash mx 2004 project.
 The thing that is very scary is that it's not crash every time with the
 same number of operation (but always on the same operations)
 and it crash faster on the ide that if we launch the swf in the
 standalone player..

 Have you some experience to share about that kind of trouble ? Some
 thing to watch more specificly ?

 Thanks...

 --
 Flapflap[at]sans-facon.net http://facon.net --
 DevBlog : http://www.kilooctet.net

 ___
 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] scrollPane mc insertion

2005-11-22 Thread eric dolecki
Forgive the lameness of this query, but I used to load up a MC with child
MCs and then set that into a scrollPane... I have since forgotten how...

anyone ready with a cut  paste?

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


[Flashcoders] ScrollPane MC thing...

2005-11-22 Thread eric dolecki
I forgot - I need to set the contentPath as a mc that has linkage, and then
just attach stuff to that.

sorry for the noise ;)

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


Re: [Flashcoders] ROTATING WITH AS

2005-11-28 Thread eric dolecki
use an Tween class easeOut of some extra degrees from the position the
clip was last at when rolled out... and there will be your
progressive slowdown...

On 11/28/05, Sebastián Sirvent [EMAIL PROTECTED] wrote:
 My problem is not how to make a tweening, but how to make it slow
 down progressively until it stops when rolling Out the MC.
 Thanks

 On Nov 28, 2005, at 8:41 PM, Merrill, Jason wrote:

  http://www.macromedia.com/devnet/flash/articles/tweening.html
  http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie
 
  Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Sebastián Sirvent
  Sent: Monday, November 28, 2005 6:25 PM
  To: Flashcoders mailing list
  Subject: [Flashcoders] ROTATING WITH AS
 
  Hi,
 
  I need to rotate a logo, onRollover of different MCs.
  I've got a list with the same logo on every item side, and when you
  point to one sentence of this list, the logo on its side have to
  start rotating, and when pointer rolls out, this logo has to stop
  progressively.
 
  Any comment will be welcome.
 
  Thanks in advance
 
  Sebastian
 
 
 
 
 
  NOTICE:
  This message is for the designated recipient only and may contain
  privileged or confidential information. If you have received it in
  error, please notify the sender immediately and delete the
  original. Any other use of this e-mail by you is prohibited.
  ___
  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] water ripple

2005-11-29 Thread eric dolecki
very nice, but at the end, there is a shift to the top right of the affected
area (when you stop moving your mouse).

edolecki

On 11/29/05, Adrian Parr [EMAIL PROTECTED] wrote:


 Here's another example...

 http://www.kneib.biz/f8files/water_with_f8.html




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Mountain
 Sent: 29 November 2005 14:09
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] water ripple

 Yeah I 'figured' it out too

 ;)

 You'll have to buffer your MC off stage then 'draw' it's bitmap data
 into the bitmap the effect is being applied too.

 M

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of eric dolecki
  Sent: 29 November 2005 14:03
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] water ripple
 
  Ok I figured out what Andre Michelle was doing, but he's
  using loadBitmap, and I am after applying the effect to a
  particular movieclip placed on Stage...
 
  On 11/29/05, Andreas Rønning [EMAIL PROTECTED] wrote:
  
   [EMAIL PROTECTED] wrote:
  
 http://andreas.rayon.no/temp/watery.html

 Totally useless. Performance is a big ish.

 - Andreas
   
   
hmmm?
   
http://www.thesundancekid.net/code/water/
   
anyway. not really what eric was looking for.
   
Andreas Rønning wrote:
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Hmm what? :P
  
   - Andreas
   ___
   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] Help -- can't revert, total mess

2005-11-29 Thread eric dolecki
Did you save it afterwards? If not, quit Flash and re-open.
Do you have an older SWF that you can decompile where your Library was okay?

edolecki

ps - look into Subversion (version control) - even if its just local stuff
that no one else will work on.

On 11/29/05, Blake Kritzberg [EMAIL PROTECTED] wrote:

 I just made an awful mistake I never really anticipated. I imported an
 AI file that imported a ton of TMP bitmap junk along with it.
 Attempting to delete the junk, I accidentally deleted the wrong bitmap
 folder, removing absolutely every bitmap from my flash project. Of
 course revert does not work in this situation. I am totally at a loss
 about what to do. Is there any way to recover my project?

 - blake
 ___
 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] flash - css tooltip

2005-11-30 Thread eric dolecki
Flash  ExternalInterface  HTML CSS Tooltip

edolecki

On 11/30/05, Janis Radins [EMAIL PROTECTED] wrote:

 youre talking about CSS tooltip using browser propertys or tooltip
 created in flash envoirment?
 2005/11/30, eric dolecki [EMAIL PROTECTED]:
  Im working on something where I would like to generate css tooltips out
 of 
  above a flash container... does anyone have a working example or code of
  some like that?
 
  edolecki
  ___
  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] flash - css tooltip

2005-11-30 Thread eric dolecki
wow - i got it working ;) if anyone is interested in seeing this let me
know...

On 11/30/05, eric dolecki [EMAIL PROTECTED] wrote:

 What I am doing so far... I have some javascript that calls up a css
 tooltip  removes them. using wmode=transparent I can ensure the DHTML
 will appear above Flash. Now I guess I'm just looking to hook the flash and
 css together using externalInterface

 as I slog thorugh this, I guess I am making progress



 On 11/30/05, Michael Stuhr [EMAIL PROTECTED] wrote:
 
  eric dolecki schrieb:
   Flash  ExternalInterface  HTML CSS Tooltip
  
  And how do you trigger a tooltip in HTML ? or do you suggest a fancy one
  ?
 
  micha
  ___
  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] iRiver U10

2005-12-02 Thread eric dolecki
Has anyone developed anything for the U10 yet?

What I am wondering about is how the default functionality is playing
audio/etc. Is the Flash OS wrapped in something with makes calls to the
default music player/video player, etc? Does the Flash OS get the list of
available tracks/videos/etc from something, through a wrapper, into the SWF?

I am looking into how to develop things other than standalone games on the
U10.

Is there a CDK coming soon for the U10? I heard rumor there is one in the
works. Or maybe its out and I don't know about it yet?

BTW - parts of the U10 are nice, but if you got at all lost on an iPod,
you'll really get lost in the UI of this device - a pretty bad UI in my
opinion.

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


Re: [Flashcoders] flash - css tooltip

2005-12-02 Thread eric dolecki
http://www.ericd.net/new_css/tooltips/

You can see what I am doing at the above destination. Works pretty well -
ExternalInterface call to the javascript which pops the tooltips with the
text sent out of Flash. The hide tooltip is another call made from Flash to
javascript as well. The example may be a little on the ugly side, but it
works :)

- edolecki


If you have a toolbox for creation of CSS tooltip you need no more
 advices. I don't know your task exactly but sometimes it's necessary to
   hitTest a page element before performing further actions.

 If you need a solution for this I have two JS functions, just let me know.

 In general you're on a right way. On the only right way actually :)

 --
 Michael Antares Klishin,

 Email: [EMAIL PROTECTED]
 Web: www.novemberain.com

 Non progredi est regredi
 ___
 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] flash - css tooltip

2005-12-02 Thread eric dolecki
http://www.ericd.net/2005/11/externalinterface-css-tooltips-oh-my.inc

strings that come from MXNA RSS are html encoded - I just sent it straight
through...


On 12/2/05, Éric Thibault [EMAIL PROTECTED] wrote:

 Very intersting.

 Can you send me off-list an example of a call from flash?  I'm curious
 about the encoding of the strings passed to the ddrivetip function
 (line breaks, special caracters,...)

 Thanks a million!

 eric dolecki wrote:

 http://www.ericd.net/new_css/tooltips/
 
 You can see what I am doing at the above destination. Works pretty well -
 ExternalInterface call to the javascript which pops the tooltips with the
 text sent out of Flash. The hide tooltip is another call made from Flash
 to
 javascript as well. The example may be a little on the ugly side, but it
 works :)
 
 - edolecki
 
 
 If you have a toolbox for creation of CSS tooltip you need no more
 
 
 advices. I don't know your task exactly but sometimes it's necessary to
   hitTest a page element before performing further actions.
 
 If you need a solution for this I have two JS functions, just let me
 know.
 
 In general you're on a right way. On the only right way actually :)
 
 --
 Michael Antares Klishin,
 
 Email: [EMAIL PROTECTED]
 Web: www.novemberain.com
 
 Non progredi est regredi
 ___
 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
 
 
 


 --
 ===

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

 ===

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

 ___
 Flashcoders 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] How to update components on stage?

2005-12-06 Thread eric dolecki
how about you complete the component before you start placing
instances and using them? That would solve your pain.

edolecki

On 12/4/05, Boon Chew [EMAIL PROTECTED] wrote:

 Michael totally spelled out the problem.  I have about
 10 instances of the component on stage, every time I
 add a new inspectable attribute to the class, I have
 to replace them all, and swapping symbols won't work
 either.  What a pain!

 - boon

 --- Michael Stuhr [EMAIL PROTECTED] wrote:

  Eric E. Dolecki schrieb:
 
  Just replace the component on the Stage with the
  component with the
  changed inspectable params.
  
  edolecki
  
  
  
  but then you'd have to reposition - resize and what
  not ... wasn't there
  an extension ... no i believe not. See the 'problem'
  is, that if you've
  got a normal clip on stage, you'd select it's
  library item through
  property panel. but with components i believe you
  can't right ?
 
  It#s not THAT big deal, but it would be nice if we
  could.
 
  micha
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 




 __
 Yahoo! DSL – Something to write home about.
 Just $16.99/mo. or less.
 dsl.yahoo.com

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

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


[Flashcoders] Import gone

2005-12-07 Thread eric dolecki
Colleague is having a problem with Flash 8 Pro... it froze up and now since
then he can't do any Import bitmaps, etc. into the IDE. JSFL commands don't
appear to do anything either.

Anyone else have any ideas? He has 2004 installed and is removing it, then
removing F8, then reinstalling F8 to hopefully get things back to normal.

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


Re: [Flashcoders] JM Events Calendar v1.2.0

2005-12-08 Thread eric dolecki
mb a lockroot issue?

edolecki

On 12/8/05, Ryan Mayer [EMAIL PROTECTED] wrote:

 Hello all,

 I've been playing around with Jeremy Jonas' JM Events Calendar and I
 absolutely love it!

 However, I've tried to place it into a separate swf (events.swf) that is
 loaded into a main movie. The calendar shows up, but all text fields are
 blank. I can select different months, as well as see the date squares
 that
 have info on them (from the xml file). But no info (numbers, months, etc)
 is
 anywhere. I've combed through the code, but I can't seem to figure out why
 they're not displaying.

 Has anyone else poked around with this and would be able to help me out?
 What am I missing?

 Thanks for your time,


 ¬
   ryan mayer, mgdc
   bluehaus communications
   bluehaus.com

   Professional member
   Graphic Designers Society of Canada (GDC)
   http://www.gdc.net

 ___
 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] Book sequence...

2005-12-12 Thread eric dolecki
my 2 cents:

1. Essential ActionScript 2.0
2. Object-Oriented Programming with ActionScript 2.0
3. ActionScript 2.0 GARAGE (never heard of it)
4. Flash Hacks (last for sure)

On 12/12/05, Carlos Gustavo Corrêa da Costa [EMAIL PROTECTED] wrote:

 Hello there, just a newbie-to-go question... I've a friend who is a
 'book-addicted', and he's going on vacation trip and did lend me all
 his Flash books! How great is that? Alright, I should buy a few, but
 I'm moneyless. (that's not the point). So, the question is, with all
 this books, where should I begin? And after?

 Here are the books:

 • ActionScript for Flash MX The Definitive Guide
 • Essential ActionScript 2.0
 • Flash Hacks
 • ActionScript 2.0 GARAGE
 • Actionscript Cookbook
 • Object-Oriented Programming with ActionScript 2.0

 Sorry about the bad english, but I just can't lose this oportunity. Thanx.

 ___
 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] Success Stories with Flash Friendly CVS Systems?

2005-12-12 Thread eric dolecki
What's your situation? How big is your team, how often are you changing
binary assets, are you working from a large class library, etc?

I use SubVersion and its super nice. Nothing is perfect when working with
binary assets which can't be merged, etc.

e.d.

On 12/12/05, Robert Sandie [EMAIL PROTECTED] wrote:

 On my fourth large flash project and have yet to come up with  a sound
 CVS system/workflow for Flash. Does anyone have any best practice
 stories regarding version control and integration into web development
 projects? Would love to hear.

 Robert Sandie
 ___
 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] onload(Success:Boolean) - what's it mean?

2005-12-15 Thread eric dolecki
Just a quick observation: your onLoad should appear in code above the actual
sendAndLoad function.

On 12/15/05, Miles Thompson [EMAIL PROTECTED] wrote:


 I'm fetching data via a PHP script, if I leave the test for success out,
 the data is there, and can be processed.
 If I test for success, the processing code never executes.

 What can I be doing wrong? Here's a code fragment, all the appropriate
 values for varSender have been assigned. (You will see that the test for
 success is commented out.)

 varSender.first_name = first_txt.text;
 varSender.last_name = last_txt.text;
 varSender.password = pass_txt.text;
 varSender.action = 'login';
 varSender.sendAndLoad(http://+ host + user_logon.php, varReceiver,
 GET);
 varReceiver.onLoad = function(success:Boolean){
 //if (success ) {
 if(!this.error  this.CkVal != ){
 subs_so.data.ckVal = this.CkVal;
 }
 if(!this.error  this.ValidLogin == true) {
 _root.ValidLogin = this.ValidLogin;
 _root.lOKtoPrint = this.lOKtoPrint;
 ... and so on ...

 If I move the varSender so that it follows varReceiver, as in all of the
 examples in the help, the varReceiver code does not seem to trigger, at
 least when I check it in the debugger.

 Does anyone have any suggestions? By the way, a similar script in Flash MX
 works flawlessly.

 Regards - Miles  (who's looking for success g)


 ___
 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] Debugger positioning onLoad / sendAndLoad

2005-12-15 Thread eric dolecki
There is no such thing as a klutz :) We are all beautiful people.

edolecki

On 12/15/05, Miles Thompson [EMAIL PROTECTED] wrote:

 Eric Dolecki is probably wondering why there's such a klutz on the list.
 Don't blame him, I was positioning my sendAndLoad() ahead of the onLoad(),
 for this reason.

 If organized this way:
 varReceiver.onLoad( success:boolean)
  and code ...
 varSender.sendAndLoad( url, varReceiver, GET)

 When I was debugging, the debugger did not go back and trace the code in
 varReceiver.onLoad as one steps through it single stepped.
 Ergo, the onLoad() code was not executing, as I did not see it executing.

 This a flaw in the Flash debugger? The only other debuggers I've used are
 for Visual FoxPro and Visual Basic.

 Similarly, because code never halted in varReceiver, the fields returned
 to
 varReceiver could not be examined. It only pointed to its onLoad function.

 Regards - Miles Thompson


 ___
 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] advanced array functions in as2

2005-12-16 Thread eric dolecki
Guy Watson:

Array.prototype.in_array=function(value){
for(var z=0;zthis.length;++z){
if(this[z] == value){
return true
}   
}
return false
}


Also found this @ layer51.com/proto:

  msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
posted: 10.22.02 9a•-, top [^]
http://www.layer51.com/proto/d.aspx?f=6# } except using a while
loop, this returns the position if found and -1 if
not.. might be little handsomer sometimes.

Array.prototype.in_array=function(value){
var l;
l = this.length;
while(l--)
{
if(this[l] == value){
return l;
}
}
return -1;
}

Of course you could rewrite the above to make them AS2. There are tons of
Array prototypes to be found there. (www.layer51.com/proto)

edolecki

On 12/16/05, GregoryN [EMAIL PROTECTED] wrote:

 Hello Flashcoders,

   Sometimes I'd like to use advanced array functions like those in,
   say, PHP: in_array (check array for having a value),
   array_unique (delete duplicates) etc.

   For now, I use my own ones. Example:

 function my_in_array(needle:String, haystack:Array):Boolean{
 if(haystack.toString().indexOf(needle) == -1){
 return true;
 }else{
 return false;
 }
 }

   Frankly, I'm not sure if this is the best/fastest way for such
   tasks: needle needs to be a string type.

   Does anyone have info or ideas on this?


 --
 Best regards,
 GregoryN
 
 http://GOusable.com
 Flash components development.
 Usability services.


 ___
 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] advanced array functions in as2

2005-12-16 Thread eric dolecki
On 12/16/05, eric dolecki [EMAIL PROTECTED] wrote:

 Guy Watson:

 Array.prototype.in_array=function(value){
   for(var z=0;zthis.length;++z){
   if(this[z] == value){
   return true
   }   
   }
   return false
 }


 Also found this @ layer51.com/proto:

   msg3 { *k-zimir* [+] http://www.layer51.com/proto/up.aspx?u=k-zimir,
 posted: 10.22.02 9a•-, top [^] http://www.layer51.com/proto/d.aspx?f=6#} 
 except using a while loop, this returns the position if found and -1 if
 not.. might be little handsomer sometimes.

 Array.prototype.in_array=function(value){
 var l;
 l = this.length;
 while(l--)
 {
 if(this[l] == value){
 return l;
 }
 }
 return -1;
 }

 Of course you could rewrite the above to make them AS2. There are tons of
 Array prototypes to be found there. (www.layer51.com/proto)

 edolecki

 On 12/16/05, GregoryN [EMAIL PROTECTED] wrote:
 
  Hello Flashcoders,
 
Sometimes I'd like to use advanced array functions like those in,
say, PHP: in_array (check array for having a value),
array_unique (delete duplicates) etc.
 
For now, I use my own ones. Example:
 
  function my_in_array(needle:String, haystack:Array):Boolean{
  if(haystack.toString().indexOf(needle) == -1){
  return true;
  }else{
  return false;
  }
  }
 
Frankly, I'm not sure if this is the best/fastest way for such
tasks: needle needs to be a string type.
 
Does anyone have info or ideas on this?
 
 
  --
  Best regards,
  GregoryN
  
  http://GOusable.com
  Flash components development.
  Usability services.
 
 
  ___
  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] Scrolling Landscape by Mouse position

2005-12-21 Thread eric dolecki
http://www.ericd.net/main20_test.html

but the base source was @ flashcoders.

edolecki

On 12/21/05, Duncan Reid [EMAIL PROTECTED] wrote:

 Maybe a little late here as your deadline was EOD yesterday but it might
 help out in the archives for later...

 It kinda sounds like your looking for a parallax scroller, if so

 there is a chapter from an FOE book here:
 http://www.friendsofed.com/books/1590592212/2212.pdf

 or an old source from flashkit:

 http://www.flashkit.com/movies/Effects/Eye_Candy/Parallax-Ashley_W-6442/index.php

 I also believe Eric Dolecki had one on his old site a while back...

 Dunc


 On 12/20/05, Kevin Aebig [EMAIL PROTECTED] wrote:
 
  Hey all,
 
 
 
  I've seen a few examples of a scenic landscape that is scrolled to
 view
  more by the mouse cursor and can't seem to find any references to them a
  la
  google. Does anyone have a clue where to find these sources or have an
  example handy?
 
 
 
  I've just gotten pinned by my boss to have this done by the end of the
  day,
  or I'd do it from scratch.
 
 
 
  Cheers,
 
 
 
  Kevin
 
  ___
  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] need :: code for this nav behavior..

2005-12-21 Thread eric dolecki
sam wan made something like that a long time ago I think...

http://www.samuelwan.com/downloads/com.samuelwan.eidt/fisheyemenu/FisheyeMenuDemo.html
http://www.samuelwan.com/downloads/com.samuelwan.eidt/fisheyemenu/fisheyemenu.zip

enjoy!

edolecki

On 12/21/05, artur [EMAIL PROTECTED] wrote:

 (im in a tight spot!)

 tenbyten.org/10x10.html

 thanks

 artur

 ___
 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] Flash stock ticker

2005-12-22 Thread eric dolecki
.cacheAsBitmap might be your best friend here :)

edolecki

On 12/22/05, Merrill, Jason [EMAIL PROTECTED] wrote:

 In absence of that, any hints of tips anyone can offer would be of
 great
 help. The way I have done some somewhat similar projects involved
 creating a
 large movie clip from the loaded data, and then calculating the width
 of
 that movie clip to use in its looping animation (using 2 instances to
 make
 it seamless).  The problem I foresee with that is that this has the
 potential of being very long, and thus might not animate smoothly.
 Does
 anyone have any general suggestions I should consider as I plan this
 project?

 Instead of making a big 'ol movie clip in a library and
 animating/tweening that, I would instead make a single movie clip which
 has a text field, and attach that to the stage, populate the stock data,
 and tween/animate with actionscript,  - you would create and destroy
 instances when they leave and exit the view area, and the data is
 dynamic for each clip.  That to me would be a better/more elegant
 approach, and if you do it right, will perform much better too.

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in error,
 please notify the sender immediately and delete the original. Any other use
 of this e-mail by you is prohibited.
 ___
 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] _targetInstanceName?

2005-12-23 Thread eric dolecki
You mean

mc._name ?

On 12/23/05, Mark Ribau [EMAIL PROTECTED] wrote:

 Hey folks,

 I'm in Flash 8 Pro, building for Flash 7 player.  I'm trying to get
 _targetInstanceName working, but I can't seem to get it to work.  Does
 anyone have a good example of how to get it working?

 --
 Mark Ribau
 Lead Windows Developer | My Tech Blog
 http://www.redbugtech.com/blogs/mark.php
 Redbug Technologies, Inc. http://www.redbugtech.com - www.redbugtech.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] aseditor discussion

2005-12-27 Thread eric dolecki
I like SubEthaEdit on Mac (its not perfect but its decent) and I love
SEPY on the PC. I might try PrimalScript - but I do love SEPY enough
to probably stick with it.

edolecki

On 12/27/05, Rich Rodecker [EMAIL PROTECTED] wrote:
 I always have issues running SEPY on os x...actually it's been a while since
 ive tried it becasue i gave up on it.  I think i remember hearing that there
 was a pretty new build out there for os x though.  Anyway, you may want to
 try TextMate..that's not too bad.



 On 12/27/05, Mark Ribau [EMAIL PROTECTED] wrote:
 
  I don't know how well (if at all) Eclipse runs on osx.  I use it on PC
  and enjoy it.
 
  Robert A. Colvin wrote:
 
  Primalscript is not too bad. But in many respects I prefer sepy.
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Bill
  Napier
  Sent: Tuesday, December 27, 2005 2:25 PM
  To: flashcoders@chattyfig.figleaf.com
  Subject: [Flashcoders] aseditor discussion
  
  Currently experimenting with SEPY v.1.5.2RC2 by Alessandro Crugnola
  [sephiroth] running on osx 10.4.3. Just wondering if anyone has tried
  and/or
  can recommend a different editor? Thanks.
  
  
  ___
  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
  
  
  
  
  
  
 
 
  --
  Mark Ribau
  Lead Windows Developer | My Tech Blog
  http://www.redbugtech.com/blogs/mark.php
  Redbug Technologies, Inc. http://www.redbugtech.com - www.redbugtech.com
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-02 Thread eric dolecki
Not quite sure what those errors are yet, but I am more concerned with Flash
barfing.

edolecki

On 1/2/06, Derek Vadneau [EMAIL PROTECTED] wrote:

 Firefox 1.0.6 also reports many syntax errors:

 Error: syntax error
 Source File:

 http://www.ericd.net/new_css/sections/aspcomments/aspcomments.asp?blogid=113621728008762265count=1
 Line: 1
 Source Code:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

 Error: syntax error
 Source File:

 http://www.ericd.net/new_css/sections/aspcomments/aspcomments.asp?blogid=113597757803253823count=1
 Line: 1
 Source Code:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

 .. etc.


 Derek Vadneau


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Adrian
 Lynch
 Sent: Monday, January 02, 2006 12:06 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by
 ?


 Not sure about the Flash, but that page is full of JS errors on IE6.

 Ade


 ___
 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] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread eric dolecki
Ok - I am working on fixing up those errors - but that still doesn't tell me
what is bombing the 8.5 player yet. Perhaps after a rev that might go away
or something.

edolecki

On 1/3/06, Michael Stuhr [EMAIL PROTECTED] wrote:

 ryanm schrieb:
  Firefox 1.0.6 also reports many syntax errors:
 
  Source Code:
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 
  This is just Firefox being particular about the html being what it
 says
  it is. You need to remove these doctype tags from the top of the page,
  because it will never be HTML 4.0 with an embed tag inside of an object
 tag.
  If you remove the doctype declaration Firefox won't call it an error
  anymore.
 

 you should better use UFO [1] or a similar solution for injecting you
 embed code.

 [1] http://www.bobbyvandersluis.com/ufo/

 micha
 ___
 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] Actionscript 2.0 Class involving XML

2006-01-03 Thread eric dolecki
Do you mean parse any dataSet of a specific structure? XPath might do
the trick - either using the built-in or using xfactorstudio's XPath.

edolecki

On 1/3/06, Al Veldhuis [EMAIL PROTECTED] wrote:
 Hey Everyone,

 I am wondering if there is anyone out there who knows Actionscript 2.0
 Classes and XML extremely well.

 I have an Open Source Actionscript 2.0 class that is used to parse an
 XML file into Flash. Currently this class is only capable of reading 1
 recordset of data from a specially formatted XML file which is causing a
 significant limitation. I need to modify the class so it can
 reference/parse multiple datasets.

 I have not posted the code or the XML here as it is kinda substancial,
 however I am looking to see if there is any expert out there who is up
 to the challenge. Please let me know and I will send the code.

 Al Veldhuis

 ___
 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] Flash does not run when wmode is transparent and div is hidden

2006-01-04 Thread eric dolecki
I'm using wmode = transparent so I can display tooltips out of Flash above
Flash. Works fine for me. But I am not doing anything about visibility with
Flash using wmode and a div. Just div above Flash.

http://www.ericd.net/new_css/(the right side)

edolecki

On 1/4/06, Mike Britton [EMAIL PROTECTED] wrote:

 I never use wmode transparent -- it's buggy and broken.

 Mike
 ___
 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] Movieclip is created at the depth of -16383!

2006-01-05 Thread eric dolecki
are you able to swap its depth to something you'd like?

edolecki

On 1/5/06, Ramon Tayag [EMAIL PROTECTED] wrote:

 I need help.. no matter what I do, my movieclip, created using
 createEmptyMovieClip, is created at -16383.

 I originally used getNextHighestDepth, then changed it to a constant,
 like 2, 3.. 40, etc, but the mc, when I trace the depth, is -16383.

 Help?

 Thanks,
 --
 Ramon Miguel M. Tayag
 ___
 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] Anyone knows good tutorials that relate to creating a dynamic text box that is updated with XML file?

2006-01-09 Thread eric dolecki
Use XML with some CSS and you should be good to go. Research on applying CSS
to text in Flash, and then research XML. As far as a tutorial, you should
google for flash xml  you'll find plenty to keep you happy. Also a book
Sas Jacobs' XML for Flash (Friends of Ed) is good.

edolecki

On 1/9/06, Jose Maria Barros [EMAIL PROTECTED] wrote:

 Hello.

 I wanted to know if there are a real good tutorial involving XML and a
 dynamic text box.
 The thing is that i wanted to do like an XML that has recipes.

 I wanted to have the titles in a different color like( ingredients:) and
 that when i insert a new recipe..the text box grows the height..to have
 more
 and more recipes.

 Thanks in advance..
 ___
 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] adding whitespace back into xml

2006-01-09 Thread eric dolecki
Could you do that with a special character in places to swap out with a
linefeeds? Something like a ^ or some such thing?

edolecki

On 1/9/06, Jobe Makar [EMAIL PROTECTED] wrote:

 Hi guys,

 I was wondering if there was an algorithm in existence that will convert
 an
 XML instance into a string while adding white space back in (for
 readability).

 Thanks!

 Jobe Makar
 http://www.electrotank.com
 http://www.electro-server.com
 phone: 919-609-0408
 mobile: 919-610-5754
 fax: 919-341-8104


 ___
 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] XML formatting

2006-01-09 Thread eric dolecki
Is there a service anywhere that can take an XML file  evaluate it for
optimized setup for parsing? Like a webservice or something else?

I am working on an XML file that is fairly complicated and I know there are
various ways I could set it up. If I make it VERY structured and deep, it
might be easier to edit and add to in the long run, but it might not parse
very efficienty, etc.

Just curious.

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


[Flashcoders] Distribution Function

2006-01-10 Thread eric dolecki
I have started to think about coding up something that does this:

- A viewport movie clip which is nothing more than a boundary rule
- zoom levels (say 0-4)
- in that viewport, depending on zoom level, a certain number of mcs can be
displayed
- zoomed in the most = 1 visible image clip
- zoomed out the most = view all image clips (or perhaps a set limit to keep
them semi-viewable)

Something almost like how iPhoto manages its images in large collections.
You can scale them all up and down and it figures out how many it can
display at that size.

Has anyone done any coding to something similar to this? I don't think its
very hard, but a lot of busy work. Wondering is anyone would like to share
theirs?

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


Re: [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
I'd say it would run very well...

edolecki


On 1/10/06, Rich Rodecker [EMAIL PROTECTED] wrote:

 i would imagine it would...thats what the emulator is for.  The mroe
 important question is will it run well?


 On 1/10/06, dls [EMAIL PROTECTED] wrote:
 
  Anyone know if Flash8 will run on the new Intel-based Macs?
 
  If you haven't heard the news, visit apple.com
  --dan
  ___
  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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
With Rosetta it would run 80-85% as fast as normal... but those machines are
2-4x faster now... so even in emulation would run snappy as doody :)

edolecki

On 1/10/06, dls [EMAIL PROTECTED] wrote:

 I know older versions of the Flash Player ran faster on Windows machines.
 I'm hoping for some of those speed gains now.

 I just hope that the Flash authoring environment runs without having to
 shell out money for an upgrade.

 --dan


 I'd say it would run very well...

 edolecki


 On 1/10/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 
  i would imagine it would...thats what the emulator is for.  The mroe
  important question is will it run well?
 
 
  On 1/10/06, dls [EMAIL PROTECTED] wrote:
  
   Anyone know if Flash8 will run on the new Intel-based Macs?
  
   If you haven't heard the news, visit apple.com
   --dan
   ___
   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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
*real* snappy :)

On 1/10/06, Danny Kodicek [EMAIL PROTECTED] wrote:

 With Rosetta it would run 80-85% as fast as normal... but those machines
 are
 2-4x faster now... so even in emulation would run snappy as doody :)

 Exactly how snappy *is* doody?

 Danny

 ___
 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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
Safari runs as a Universal Binary... but how do the plugins work with it?

edolecki

On 1/10/06, John Olson [EMAIL PROTECTED] wrote:
 There is an Apple Store right near my work here in Vegas. I just got back
 from lunch and they expect to have a new intel-based iMac within the next
 few days. Once it comes in, I'll see if I can run Flash and do some tests.

 - John


 Message: 15
 Date: Tue, 10 Jan 2006 21:14:01 +0100
 From: S ? ren Christensen [EMAIL PROTECTED]
 Subject: Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;   charset=US-ASCII


 well, lets see some head to head real-world benchmarls first ;-)
 ___
 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: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-11 Thread eric dolecki
marked as resolved - woohoo :)

On 1/11/06, Sander [EMAIL PROTECTED] wrote:

 MM is working on the Mac Intel Flash Plugin.

 https://bugzilla.mozilla.org/show_bug.cgi?id=313347
 ___
 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] Interactive SWF in a Scroll Pane

2006-01-12 Thread eric dolecki
You might need to scope things differently and build an engine in the loaded
SWF to capture events from the outside.

Also, there is a .content or .contentPath or something that serves as a
reference to the item loaded into the pane...

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

 Is there a way to allow the contents of a scroll pane component instance
 to receive mouse events? Mine doesn't seem to be doing it.

 -
 pixelTwiddler, a.k.a. Jason

 Respect yourself, and THINK about stuff.


 ___
 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] Calling Java Script window.open from wihin projector

2006-01-17 Thread eric dolecki
Why not simply call an HTML page - and in THAT page's onLoad have the page
resize and center itself? I haven't tried it but in theory it could work?

edolecki

On 1/17/06, Tamer Qarrain [EMAIL PROTECTED] wrote:

 After trying everything possible to make QTVRS work inside Flash 8, we
 finally agreed with the client that the best way to do it is to call an
 html
 page with QTVRs embedded.
 I am having difficulties trying to call a JavaScript function that will
 make
 the Html centered from the exe flash 8 projector file!
 Code below on a button for instance:
 getURL(javascript:NewWindow=window.open('AMIR.html
 ','newWin','width=450,hei

 ght=300,left=100,top=100,toolbar=No,location=No,scrollbars=No,status=No,resi
 zable=No,fullscreen=No'); NewWindow.focus(); void(0););

 I know that the above code wont work, does anyone know of any possible
 quick
 solution?

 Appreciatively

 Tamer Qarrain
 Technical Manager
 Mob: 079 5995656
 Office:06-5522826




 ___
 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] Documenting my code

2006-01-18 Thread eric dolecki
BLDoc for PC
VisDoc for OS X (rocks)

On 1/18/06, Jobe Makar [EMAIL PROTECTED] wrote:

 Hi guys,

 I've recently purchased AS2Doc to generate documentation from my
 ElectroServer class file. The software works pretty well, but it appears
 the
 Mirell (company that owns it) is now a ghost town or something. There are
 no
 responses to my support requests at all. Emails to their busdev address
 bounce.

 My question is this: does anyone know of a good place where I could find
 support on AS2Doc. Or, can anyone suggest an alternative software that
 takes
 the java-doc style comments and create documentation?

 Jobe Makar
 http://www.electrotank.com
 http://www.electro-server.com
 phone: 919-609-0408
 mobile: 919-610-5754
 fax: 919-341-8104


 ___
 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] Documenting my code

2006-01-18 Thread eric dolecki
Perhaps someone at Adobe will build a great Documenting application that
ships with Flash 9 or something.

Or perhaps Alessandro can build something that bolts onto SEPY? ;)

-edolecki

On 1/18/06, Weyert de Boer [EMAIL PROTECTED] wrote:

 Hi Jobe,

 You could consider using Doc-O-Matic it's really nice I use it for all
 my .NET, Delphi projects. It also has generic or javascript support...

 Yours,
 Weyert de Boer

 ___
 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] Slice-9 weirdness

2006-01-19 Thread eric dolecki
are you publishing to flash 8?


On 1/19/06, Troy Rollins [EMAIL PROTECTED] wrote:

 On Jan 19, 2006, at 4:49 PM, Charles Parcell wrote:

  Is there some magic voodoo mantra that I did not read about?? Is there
  something that breaks them? Are others having issues with it?

 Well, it only shows in test movie, you know that right?

 --
 Troy
 RPSystems, Ltd.
 http://www.rpsystems.net


 ___
 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] checking combinations

2006-01-25 Thread eric dolecki
Well, lets say you have 4 objects that have selected states  fired no
events on their own.

So there are many different possible combinations for the combined states of
those 4 objects. Each possible combination triggers an entirely seperate
action. Thats a lot of actions to account for.

So its all about detecting the unique combinations, and acting upon them.
Perhaps there really is no truly elegant way of doing this...


On 1/25/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 Sounds like you're trying to do something like this, but even still your
 approach seems overly complex.  Maybe a more detailed explaination of
 what you're trying to do and what combinations are would help.
 Meanwhile, if I understand you, would something like this work?

 a = false
 b = false
 c = true
 d = true
 e = true
 f = false
 g = true
 h = false
 i = false
 //etc.

 myArray = [2,3,6,12,34,54,345,45,76,34]
 vars = [a,b,c,d,e,f,g,h,i,j]
 counter = 0;
 counter_arr = [];

 function checkVars(){
 for(i=0; imyArray.length; i++){
 if(this[vars[i]]){
 counter_arr.push(counter+=myArray[i])
 trace(vars[i]+ in vars array is true.);
 trace(counter is at: +counter);
 }

 }
 }

 checkVars();


 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of eric dolecki
 Sent: Wednesday, January 25, 2006 1:03 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] checking combinations
 
 I have 4 variables I need to check the states of routinely... and
 combinations thereof.
 
 I am assuming that if I have a counter, and interogate and += them
 values, I
 can then check the value of the counter to determine the combinations.
 
 psudeo-code:
 
 var counter:Number = 0;
 if ( a ){ counter += 2; }
 if ( b ){ counter += 3; }
 if ( c ){ counter += 6; }
 if ( d ){ counter += 12;}
 
 if ( counter == 2 ){
  // only a was true
 } else if ( counter == 3 ){
  // only b was true
 }  ...
 
 Which is fine, but thats gonna be one honkin' if else statement to
 catch all
 the combinations.
 
 Is there a better way of doing this that will catch all the possible
 combinations in an elegant way?
 
 - edolecki
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in error,
 please notify the sender immediately and delete the original. Any other use
 of this e-mail by you is prohibited.
 ___
 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] checking combinations

2006-01-25 Thread eric dolecki
I think which each combination being completely unique, i have no other
option than a honkin' switch or if/else. Lots of typing but will work. I can
work on making it more readable, but thats about it methinks.

On 1/25/06, Andreas Weber [EMAIL PROTECTED] wrote:

 Seems to be an ispiring question/problem!

 Eric - if you'd go with the combo - Strings - these are the 16 possible
 combinations:

 ,a,ab,abc,abcd,abd,ac,acd,ad,b,bc,bcd,bd,c,cd,d

 (first one is an empty string if a  b  c  d are false)

 I'm not overly proud of how I found the combinations, but sometimes
 nothing
 beats brute force :-)


 arr = ['a','b','c','d'];
 numElems = arr.length;

 combos = new Array();

 c=0;
 while(c10){
 combo = '';
 for(var i=0; inumElems; i++){
 if(Math.random()  0.5){
 combo += arr[i];
 }
 }
 inArray = false;
 for(var i=0, len=combos.length; ilen; i++){
 if(combo == combos[i]){
 inArray = true;
 break
 }
 }
 if(!inArray){
 combos.push(combo);
 }

 c++;
 }
 combos.sort();
 trace(combos);
 trace(combos.length);


 --
 Andreas Weber
 motiondraw.com



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Martin
 Wood
 Sent: Wednesday, January 25, 2006 8:05 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] checking combinations


 i've got to go out now so cant give the full answer i have in my head,
 but one way of tackling it is to make each state variable's value a
 power of 2

 a = 1
 b = 2
 c = 4
 d = 8

 then you know that any combination of them has a unique value. (its
 basically a 4 bit number)

 then to handle the dispatch depending on the state combination you can
 build a function table.

 functionTable = new Array();

 // create a handler for the combination a + b
 functionTable[a + b] = Delegate.create(this,combinationAB);

 and when you check the variables just call the function directly from
 the table :

 // a,b,c,d are just passed as boolean flags here
 function handleUpdate(a:boolean,b:boolean,c:boolean,d:boolean)
 {
 // taking advantage of a true being 1 in flash
 // and ideally you would setup these numbers
 // as static class variables
 var state = a + (b * 2) + (c * 4) + (d * 8);

 // call the defined function
 functionTable[state]();
 }

 of course you could do a check first to see if the function is defined
 and do something like log a warning or whatever is appropriate for your
 situation.

 hope that makes sense.

 martin


 ___
 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] checking combinations

2006-01-25 Thread eric dolecki
dab, abd, adb, bda, dba, ... all the same combination.

On 1/25/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 Aren't there 256 possible combinations?  Or if one value can be null,
 then 625?  What about dab, cab, bac, da, ca, etc?  Or are you saying for
 the sake simplicity, cab is the same combination as abc and dab the same
 as abd?

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Andreas Weber
 Sent: Wednesday, January 25, 2006 2:21 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] checking combinations
 
 Seems to be an ispiring question/problem!
 
 Eric - if you'd go with the combo - Strings - these are the 16
 possible
 combinations:
 
  ,a,ab,abc,abcd,abd,ac,acd,ad,b,bc,bcd,bd,c,cd,d
 
 (first one is an empty string if a  b  c  d are false)
 
 I'm not overly proud of how I found the combinations, but sometimes
 nothing
 beats brute force :-)
 
 
 arr = ['a','b','c','d'];
 numElems = arr.length;
 
 combos = new Array();
 
 c=0;
 while(c10){
   combo = '';
   for(var i=0; inumElems; i++){
   if(Math.random()  0.5){
   combo += arr[i];
   }
   }
   inArray = false;
   for(var i=0, len=combos.length; ilen; i++){
   if(combo == combos[i]){
   inArray = true;
   break
   }
   }
   if(!inArray){
   combos.push(combo);
   }
 
   c++;
 }
 combos.sort();
 trace(combos);
 trace(combos.length);
 
 
 --
 Andreas Weber
 motiondraw.com
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Martin
 Wood
 Sent: Wednesday, January 25, 2006 8:05 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] checking combinations
 
 
 i've got to go out now so cant give the full answer i have in my head,
 but one way of tackling it is to make each state variable's value a
 power of 2
 
 a = 1
 b = 2
 c = 4
 d = 8
 
 then you know that any combination of them has a unique value. (its
 basically a 4 bit number)
 
 then to handle the dispatch depending on the state combination you can
 build a function table.
 
 functionTable = new Array();
 
 // create a handler for the combination a + b
 functionTable[a + b] = Delegate.create(this,combinationAB);
 
 and when you check the variables just call the function directly from
 the table :
 
 // a,b,c,d are just passed as boolean flags here
 function handleUpdate(a:boolean,b:boolean,c:boolean,d:boolean)
 {
   // taking advantage of a true being 1 in flash
   // and ideally you would setup these numbers
   // as static class variables
   var state = a + (b * 2) + (c * 4) + (d * 8);
 
   // call the defined function
   functionTable[state]();
 }
 
 of course you could do a check first to see if the function is defined
 and do something like log a warning or whatever is appropriate for
 your
 situation.
 
 hope that makes sense.
 
 martin
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in error,
 please notify the sender immediately and delete the original. Any other use
 of this e-mail by you is prohibited.
 ___
 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] Q: Best tweening engine for Flash 8 filters

2006-01-25 Thread eric dolecki
mc_tween2 is indeed very handy.

- edolecki

On 1/25/06, Gerry Creighton [EMAIL PROTECTED] wrote:

 I love these...
 http://hosted.zeh.com.br/mctween/downloads.html
 There are F8 filter tweens included.

 On Jan 25, 2006, at 12:51 PM, [EMAIL PROTECTED] wrote:

  Hi
  I was wondering what everyone is using to tween flash filters.
 
  The built in tween in Flash, or some third party tweening engine.
  Thanks in advance
  Jim Bachalo
 
  [e] jbach at bitstream.ca
  [c] 416.668.0034
  [w] www.bitstream.ca
  
  ...all improvisation is life in search of a style.
   - Bruce Mau,'LifeStyle'
  ___
  Flashcoders 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] checking combinations

2006-01-25 Thread eric dolecki
Thats interesting. A bit more involved than what I was doing but it is
indeed interesting.

On 1/25/06, Daniel Cascais [EMAIL PROTECTED] wrote:

 What about something like this:


 var results:Array = [ a, b, c, d, e, f, g, h, i,
 j, k, l, m, n, o, p ];

 function getResult( value1:Boolean, value2:Boolean, value3:Boolean,
 value4:Boolean ):Number
 {
 var resultIndex:Number = 0;

 if( value1 ) resultIndex |= 8;
 if( value2 ) resultIndex |= 4;
 if( value3 ) resultIndex |= 2;
 if( value4 ) resultIndex |= 1;

 return results[ resultIndex ];
 }

 trace( getResult( true, true, false, true) );

 /*
 Results Table

 value1  value2  value3  value4  Results
 0   0   0
 0   a
 0   0   0
 1   b
 0   0   1
 0   c
 0   0   1
 1   d
 0   1   0
 0   e
 0   1   0
 1   f
 0   1   1
 0   g
 0   1   1
 1   h
 1   0   0
 0   i
 1   0   0
 1   j
 1   0   1
 0   k
 1   0   1
 1   l
 1   1   0
 0   m
 1   1   0
 1   n
 1   1   1
 0   o
 1   1   1
 1   p
 */

 On 1/25/06, eric dolecki [EMAIL PROTECTED] wrote:
  I have 4 variables I need to check the states of routinely... and
  combinations thereof.

 --
 Daniel Cascais
 Tel: +56 (0)2  4589495
 Cel: +56 (0)9  9417355
 ___
 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] checking combinations

2006-01-25 Thread eric dolecki
I guess a switch is a little nicer to look at.

On 1/25/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 Well, if only 16 possibilities, then just use a switch statement (not an
 if-else - too hairy IMO)

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of eric dolecki
 Sent: Wednesday, January 25, 2006 2:50 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] checking combinations
 
 dab, abd, adb, bda, dba, ... all the same combination.
 
 On 1/25/06, Merrill, Jason [EMAIL PROTECTED] wrote:
 
  Aren't there 256 possible combinations?  Or if one value can be
 null,
  then 625?  What about dab, cab, bac, da, ca, etc?  Or are you saying
 for
  the sake simplicity, cab is the same combination as abc and dab the
 same
  as abd?
 
  Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com
 
 
 
 
 
 
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Andreas Weber
  Sent: Wednesday, January 25, 2006 2:21 PM
  To: Flashcoders mailing list
  Subject: RE: [Flashcoders] checking combinations
  
  Seems to be an ispiring question/problem!
  
  Eric - if you'd go with the combo - Strings - these are the 16
  possible
  combinations:
  
   ,a,ab,abc,abcd,abd,ac,acd,ad,b,bc,bcd,bd,c,cd,d
  
  (first one is an empty string if a  b  c  d are false)
  
  I'm not overly proud of how I found the combinations, but
 sometimes
  nothing
  beats brute force :-)
  
  
  arr = ['a','b','c','d'];
  numElems = arr.length;
  
  combos = new Array();
  
  c=0;
  while(c10){
combo = '';
for(var i=0; inumElems; i++){
if(Math.random()  0.5){
combo += arr[i];
}
}
inArray = false;
for(var i=0, len=combos.length; ilen; i++){
if(combo == combos[i]){
inArray = true;
break
}
}
if(!inArray){
combos.push(combo);
}
  
c++;
  }
  combos.sort();
  trace(combos);
  trace(combos.length);
  
  
  --
  Andreas Weber
  motiondraw.com
  
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
 Martin
  Wood
  Sent: Wednesday, January 25, 2006 8:05 PM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] checking combinations
  
  
  i've got to go out now so cant give the full answer i have in my
 head,
  but one way of tackling it is to make each state variable's value
 a
  power of 2
  
  a = 1
  b = 2
  c = 4
  d = 8
  
  then you know that any combination of them has a unique value.
 (its
  basically a 4 bit number)
  
  then to handle the dispatch depending on the state combination you
 can
  build a function table.
  
  functionTable = new Array();
  
  // create a handler for the combination a + b
  functionTable[a + b] = Delegate.create(this,combinationAB);
  
  and when you check the variables just call the function directly
 from
  the table :
  
  // a,b,c,d are just passed as boolean flags here
  function handleUpdate(a:boolean,b:boolean,c:boolean,d:boolean)
  {
// taking advantage of a true being 1 in flash
// and ideally you would setup these numbers
// as static class variables
var state = a + (b * 2) + (c * 4) + (d * 8);
  
// call the defined function
functionTable[state]();
  }
  
  of course you could do a check first to see if the function is
 defined
  and do something like log a warning or whatever is appropriate for
  your
  situation.
  
  hope that makes sense.
  
  martin
  
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  NOTICE:
  This message is for the designated recipient only and may contain
  privileged or confidential information. If you have received it in
 error,
  please notify the sender immediately and delete the original. Any
 other use
  of this e-mail by you is prohibited.
  ___
  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] checking combinations

2006-01-26 Thread eric dolecki
This is indeed a pretty cool thread :)

- edolecki

On 1/26/06, Ian Thomas [EMAIL PROTECTED] wrote:

 Or even shorter:
   public function handleUpdate(a:Object,b:Object,c:Object,d:Object)
   {
  var handlerName:String = 'onUpdate';
  if (a.selected){handlerName+= 'A'};
  if (b.selected){handlerName+='B'};
  // etc.

  if (this[handlerName]==undefined)
  {
trace(We haven't got a handler called:+handlerName);
return;
  }
  this[handlerName]();
   }

   public function onUpdateA()
   {
 // do stuff for A etc.
   }

   public function onUpdateAB()
   {
 // do stuff for AB etc.
   }

 Cheers,
   Ian

 On 1/26/06, Andreas Weber [EMAIL PROTECTED] wrote:
 
  Nice!
  And I was determined not to post again, but at a certain stage my mental
  block irresistibly kicked in again:
  why ingeniously bit-wise encode the combinations just to later decode
 them
  for better readabilty?
 
  Why not drop this altogether as we won't do any encoding:
  static var STATE_A:Number = 1; //  1  0
 
  Define the handlers like
  handlers = {};// or type it/ make it a class
  handlers[STATE_A] = Delegate.create(this,handleAOnly);
  // etc.
 
  And finally:
 
   public function handleUpdate(a:Object,b:Object,c:Object,d:Object)
   {
  state = 'STATE_';
  if(a.selected){ state += 'A'};
  if(b.selected){ state += 'B'};
  // etc.
 
  handlers[state]();
   }
 
  What's the benefit of encoding/decoding numbers? Please enlighten me!
 
  Cheers!
  --
  Andreas Weber
  motiondraw.com
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Fav XML editor

2006-01-26 Thread eric dolecki
I am starting to have to create more and more complex XML by hand on the
PC...

which is your favorite XML editor for authoring/editing XML files for Flash?

I have tried oXygen and am now about to try XMLSpy 2006 EE...

No one mention DW please ;)

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


Re: [Flashcoders] Creating Components Basic - RadioButton

2006-01-26 Thread eric dolecki
Make a manager class that basically allows objects to register with it, and
then have it do what you want it to do. It can dispatch events and also
enable/disable members of the group.

- edolecki

On 1/26/06, Helmut Granda [EMAIL PROTECTED] wrote:

 [ - Moved from Flashnewbie - ]



 I am creating a basic component, its just an MC that behaves like a button
 with its RollOver, RollOut behavior.



 There is one catch, when the user selects this button the button itself
 becomes disabled, but when the user selects any other button ( a copy of
 this component) the button that was selected gets enabled again.



 I have tried to get the button re-activated by getting its _name and
 _target
 but no go.



 Basically I am trying to achieve a similar behavior that the RadioButton
 component has, for example when the user selects any button from a group
 the
 other buttons from the same group become de-selected.



 Any Ideas would be appreciated.



 .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


Re: [Flashcoders] Lines of code in a Flash project

2006-01-27 Thread eric dolecki
use a calculator?

On 1/27/06, Bill Brown [EMAIL PROTECTED] wrote:
 Does anyone know a quick way of counting the lines of code in a Flash
 project?
 I just finished a large project with several dozen classes and was curious
 about my lines per hour ratio.
 ___
 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] PLEASE HELP ~ FLV SYNCH ISSUES ~ Big Deadliine!

2006-02-15 Thread eric dolecki
Create your movies from FCP (self-contained) and then use the FLV encoder
that comes with Flash 8 Pro.

-edolecki

On 2/15/06, Lord, Susan Ms. (CONTR) [EMAIL PROTECTED] wrote:

 Hi there,



 I am creating FLV's from Final Cut and have never had these problems in
 the past... I have reloaded the video and everything... and the problems
 won't go away.



 I am having problems with audio synchronization. It looks like an old
 kung fu movie.  Plus the default sizing is coming up as 850x637!  I have
 never seen such a thing!  Anyone have any knowledge or expertise that
 they can share.



 Your help is VERY appreciated!  I am Flipping!  I have never seen such a
 thing!  Mind you, I have done plenty of FLV conversions in the past...



 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


Re: [Flashcoders] MPEG-4 in FMS

2006-02-15 Thread eric dolecki
I am fairly ignorant on mpeg4 and the flash player - but i would think mpeg4
requires a fairly beefy machine for playback... and that Flash tries to
lower its lowest common denominator as much as possible.

On2 doesn't require the resources for playback that mpeg4 does. Or perhaps I
am way off on this...

-edolecki

On 2/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 As far as I'm aware, not only is there no way at present of serving out
 MPEG-4 format video feeds via FMS but the Flash player itself obviously
 won't entertain it. Interestingly, the Flash-Lite player will it seems as
 I understand it supports MP4 (MPEG4 basically). From my ongoing contact
 with the web/iptv video serving industry I have to say that it seems
 Macromedia,
 sorry, Adobe, are one of the few not going the standard MPEG-4 route. I'd
 really like to hear peoples thoughts on this (especially Macr...Adobe's)
 as I recently came across a set top box ip/tv company who wanted to make
 their entire front end in Flash (video and program interface) but decided
 against it because of the industry trend to use MPEG-4. It would seem that
 this hasn't stopped the likes of Moxi and other less well knowns. Your
 thought, suggestions and experience would be great to hear on this.

 SMc

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

2006-02-15 Thread eric dolecki
Ill give it a go with FLV exporter... thats a honkin' large video :)

-edolecki

On 15 Feb 2006 16:11:57 -, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 I used the flash 8 video encoding tool and set it for flash 7 high quality
 (700k) and the video is very pixelated, I've uploaded it here for review :

 http://bluetubecom.web123.discountasp.net/clients/soapbox/videotest.html

 the original quicktime is here :


 http://bluetubecom.web123.discountasp.net/clients/soapbox/img/PortVideo/SBS_open_for_flash-test.mov

 the flv version is really pixelated, not acceptable at all.  Someone
 suggested using sorenson squeeze instead of the flash video encoder as it
 may produce better results but I'm pretty green on flash video.

 The settings I used for that where :

 Sorenson spark codec, frame rate same as source (29.xx), keyframe
 placement automatic, quality, custom, 1000 kilobits per sec, no video
 resize, audio mp3, 128kbs stereo.

 Thanks
 Grant.



 - Original Message -
 From: Fabio Sonnati [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: 2/15/06 2:54 AM
 Subject: Re: [Flashcoders] flv video encoding for flash 7

  I think its sorenson
  let we know what you used to encode your video and related settings.
 
  Fabio Sonnati
  http://flashvideo.progettosinergia.com
 
 
  - Original Message -
  From:
  To:
  Sent: Wednesday, February 15, 2006 7:07 AM
  Subject: [Flashcoders] flv video encoding for flash 7
 
 
  I have a quicktime that I need to encode to an flv and have had very
 poor
  results (pixelation/noise) using flash 7 sorenson.  I found this site :
  
   http://www.creativedigitalgroup.com
  
   the quaility of video on there looks very good, is it my source
 material
   that is too hard to encode and produce a good quality flv ?  Or is
 that
   site really using the on2 Vp6 codec ?  Is there a way to tell in an
 flv is
   on2 or sorenson without some special tools ?
  
   Grant.
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/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] flv video encoding for flash 7

2006-02-15 Thread eric dolecki
I don't see a 2pass VBR in the Flash 8 encoder... squeeze may be a good
option.

-edolecki

On 2/15/06, eric dolecki [EMAIL PROTECTED] wrote:

 Ill give it a go with FLV exporter... thats a honkin' large video :)

 -edolecki

 On 15 Feb 2006 16:11:57 -, [EMAIL PROTECTED] [EMAIL PROTECTED] 
 wrote:
 
  I used the flash 8 video encoding tool and set it for flash 7 high
  quality (700k) and the video is very pixelated, I've uploaded it here for
  review :
 
  http://bluetubecom.web123.discountasp.net/clients/soapbox/videotest.html
 
  the original quicktime is here :
 
 
  http://bluetubecom.web123.discountasp.net/clients/soapbox/img/PortVideo/SBS_open_for_flash-test.mov
 
  the flv version is really pixelated, not acceptable at all.  Someone
  suggested using sorenson squeeze instead of the flash video encoder as it
  may produce better results but I'm pretty green on flash video.
 
  The settings I used for that where :
 
  Sorenson spark codec, frame rate same as source (29.xx), keyframe
  placement automatic, quality, custom, 1000 kilobits per sec, no video
  resize, audio mp3, 128kbs stereo.
 
  Thanks
  Grant.
 
 
 
  - Original Message -
  From: Fabio Sonnati [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: 2/15/06 2:54 AM
  Subject: Re: [Flashcoders] flv video encoding for flash 7
 
   I think its sorenson
   let we know what you used to encode your video and related settings.
  
   Fabio Sonnati
   http://flashvideo.progettosinergia.com
  
  
   - Original Message -
   From:
   To:
   Sent: Wednesday, February 15, 2006 7:07 AM
   Subject: [Flashcoders] flv video encoding for flash 7
  
  
   I have a quicktime that I need to encode to an flv and have had very
  poor
   results (pixelation/noise) using flash 7 sorenson.  I found this site
  :
   
http://www.creativedigitalgroup.com
   
the quaility of video on there looks very good, is it my source
  material
that is too hard to encode and produce a good quality flv ?  Or is
  that
site really using the on2 Vp6 codec ?  Is there a way to tell in an
  flv is
on2 or sorenson without some special tools ?
   
Grant.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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


  1   2   3   4   >