[Flashcoders] flex simple question call function

2006-09-18 Thread Caruso Canepari
Hi, a supid question.
  I'm trying to use Flex Builder. 
How can I call this function? I can't get it working. Thanks. 

mx:Script 
![CDATA[ 
import flash.display.*; 
public function drawer():void{ 
var mySprite:Sprite = new Sprite(); 
mySprite.graphics.beginFill(0xffcc00); 
mySprite.graphics.drawCircle(30,30,30); 
var lab:TextField = new TextField(); 
lab.text = hello; 
lab.x = 300; 
lab.y = 300; 
mySprite.addChild(lab); 
addChild(mySprite); 
} 
]] 
/mx:Script 

 __
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] flex simple question call function

2006-09-18 Thread Adrian Ionut Beschea
try posting your flex question on the flexcoders list : 
http://www.flexcoders.org/index.html

- Original Message 
From: Caruso Canepari [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, September 18, 2006 10:00:52 AM
Subject: [Flashcoders] flex simple question call function

Hi, a supid question.
  I'm trying to use Flex Builder. 
How can I call this function? I can't get it working. Thanks. 

mx:Script 
![CDATA[ 
import flash.display.*; 
public function drawer():void{ 
var mySprite:Sprite = new Sprite(); 
mySprite.graphics.beginFill(0xffcc00); 
mySprite.graphics.drawCircle(30,30,30); 
var lab:TextField = new TextField(); 
lab.text = hello; 
lab.x = 300; 
lab.y = 300; 
mySprite.addChild(lab); 
addChild(mySprite); 
} 
]] 
/mx:Script 

 __
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

2006-09-18 Thread Bjorn Schultheiss
Use the onCreationComplete event

For example
mx:Application
onCreationComplete=drawer()

 


Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Ionut
Beschea
Sent: Monday, 18 September 2006 5:08 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] flex simple question call function

try posting your flex question on the flexcoders list : 
http://www.flexcoders.org/index.html

- Original Message 
From: Caruso Canepari [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, September 18, 2006 10:00:52 AM
Subject: [Flashcoders] flex simple question call function

Hi, a supid question.
  I'm trying to use Flex Builder. 
How can I call this function? I can't get it working. Thanks. 

mx:Script 
![CDATA[ 
import flash.display.*; 
public function drawer():void{ 
var mySprite:Sprite = new Sprite(); 
mySprite.graphics.beginFill(0xffcc00); 
mySprite.graphics.drawCircle(30,30,30); 
var lab:TextField = new TextField(); 
lab.text = hello; 
lab.x = 300; 
lab.y = 300; 
mySprite.addChild(lab); 
addChild(mySprite); 
} 
]]
/mx:Script 

 __
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

2006-09-18 Thread David Skoglund

I suppose you know the width/diameter of the circles?

1. First calulate the length of you line: 
ringLength=circle1Diameter+circle2Diameter etc
2. Calculate the ringRadius from ringLength (I don't remember the formula 
but it's high school math)
3. Calculate the angle that every circle should be on: 
circleXDiameter/ringLength*360
4. Place the circles by converting their angle to a vector and multiply it 
with the ringRadius (google search for angle to vector functions, possibly 
it's easier to find functions that convert radians to vectors)


I think this would create a image close to what you're after. You might want 
to tweak the 3:rd step to account for the bent diameter of the circles to 
get an exact fit.


/David Skoglund

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] masking a clip which uses the drawing api

2006-09-18 Thread Janis Radins

Masking with elements made up by drawing API works 100%, ive done it many
times.
What is it that doesnt work for you?

2006/9/15, Merrill, Jason [EMAIL PROTECTED]:


Is it not possible to mask a clip into which you draw things using
the drawing API?

I'm not totally sure about masking, but in general, I think there are
some bugs or conflicts with a movie clip drawn upon with the draw API
and other elements of the movie.  I'm not sure this is as related as you
would like, but for example, I had an issue with one of those drawn-on
movie clips which had another movie clip as a child, which had a
textfield on it.  It worked fine until the textfield was updated with
new data - then the old text still showed, and the new text was also
drawn over the top - so it looked like there were two overlapping
textfields.  If I separated the textfield from the clip being drawn on,
it worked fine.  I never could figure out the behavior, but I assumed it
had to do with the clips and children of clips drawn on by the draw API
and the way the player renders them/redraws them.  In another case,
portions of v2 components always displayed below clips which were drawn
upon - the drawn on clips were always on top.

Post again if you figure it out.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Josh Santangelo
Sent: Wednesday, September 13, 2006 6:22 PM
To: Flashcoders mailing list
Subject: [Flashcoders] masking a clip which uses the drawing api

I'm having the same problem as this fellow:

http://chattyfig.figleaf.com/pipermail/flashcoders/2003-January/
058866.html

Is it not possible to mask a clip into which you draw things using
the drawing API?

-josh
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] flex simple question call function

2006-09-18 Thread Caruso Canepari
Hi, I get this error:
The prefix mx for element mx:Application is not bound.
   
  The code is this:
   
  ?xml version=1.0 encoding=utf-8?
  mx:Application creationComplete=drawer()
  mx:Script
  ![CDATA[
  import flash.display.*;
  import flash.events.*;
  public function drawer():void{
  var mySprite:Sprite = new Sprite();
  mySprite.graphics.beginFill(0xffcc00);
  mySprite.graphics.drawCircle(30,30,30);
  var lab:TextField = new TextField();
  lab.text = hello;
  lab.x = 300;
  lab.y = 300;
  mySprite.addChild(lab);
  addChild(mySprite);
  }
  ]]
  /mx:Script
  /mx:Application
   
   
   
   
   
  


Bjorn Schultheiss [EMAIL PROTECTED] ha scritto: 
  Use the onCreationComplete event

For example
onCreationComplete=drawer()
 __
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] a question of geometry

2006-09-18 Thread Danny Kodicek
 I suppose you know the width/diameter of the circles?

 1. First calulate the length of you line:
 ringLength=circle1Diameter+circle2Diameter etc
 2. Calculate the ringRadius from ringLength (I don't remember the formula
 but it's high school math)
 3. Calculate the angle that every circle should be on:
 circleXDiameter/ringLength*360
 4. Place the circles by converting their angle to a vector and
 multiply it
 with the ringRadius (google search for angle to vector functions,
 possibly
 it's easier to find functions that convert radians to vectors)

This sounds pretty much like I would do it. I think you're going to need an
approximate solution - it'd be a nightmare to solve algebraically. Basically
if you have a set of circles with radius r(i), and want to place them on a
ring with radius R, the angle that each circle subtends at the centre of the
circle is 2*atan(r(i)/R). So you want to find R such that the sum of
atan(r(i)/R) is pi. Here's a function that ought to work (I'm arbitrarily
assuming your ring will never have a radius greater than 1024):


function getRingRadius(tArray:Array):Number {
var tMaxError = 0.1
var tMax = 1024
var tMin = 0
do {
var tCheck = (tMax + tMin) / 2
var tSum = 0
for (var i = 0; itArray.length; i++) {
tSum += Math.atan2(tArray[i]/tCheck)
}
if (tSumMath.PI) {
tMax = tCheck
} else {
tMin = tCheck
}
} while (Math.abs(tSum - Math.PI)tMaxError)
return tCheck
}

Danny

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

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


RE: [Flashcoders] Hex to HSB

2006-09-18 Thread Mike Mountain
I'm doing this in flash 9, the hex to rgb conversion is sweet and plenty fast 
enough, it's when I throw in the HSB conversion that is bogs down. It has to be 
done pixel by pixel as the type of transform depends on the input value of each 
individual pixel.
 
[We're doing tilemap adjustments for a large screen made up of LED panels (so 
small res, think 340 by 122 pxls) so we have to do both Gamma and Colour 
correction.]
 
M



From: [EMAIL PROTECTED] on behalf of David Rorex
Sent: Fri 15/09/2006 23:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Hex to HSB



No, pretty much the way hsb -- rgb works, you need to have the numbers
separate. You could probably create some awkward transform that tries really
hard not to break them up, but it would end up being a lot more complicated,
and not worth it.

Besides, going from 0xRRGGBB to 0xRR, 0xGG, 0xBB is very fast (just 3 ANDs
and 2 bitshifts).

// takes a color in the form 0xRRGGBB returns an object with the fields r,
g, and b
function hex2rgb(c:Number):Object
{
return {
   r:(c16)0xff,
   g:(c8)0xff,
   b:c0xff
  };
}

// takes an object with fields r, g, and b, returns a color in the form
0xRRGGBB
function rgb2hex(c:Object):Number
{
return (c.r16) | (c.g8) | (c.b);
}

and then here's a quick test:

var c = hex2rgb(0xabcdef);
trace(r=0x+c.r.toString(16)+ g=0x+c.g.toString(16)+
b=0x+c.b.toString(16));
trace(color=0x+rgb2hex(c).toString(16));


then, assuming your rgb2hsv and hsv2rgb functions take an object as input,
you could do:

// read in hsv from a pixel
var hsv:Object = rgb2hsv(hex2rgb(bmp.getPixel(x,y)));

// transform hsv.h, hsv.s, hsv.v, etc
hsv.h /= 2;
hsv.s = 50;
hsv.v = Math.random()*100;

// put back our transformed pixel
bmp.setPixel(x,y,rgb2hex(hsv2rgb(hsv)));

--

Now, this is all theoretical, but I don't think flash 8 is fast enough to do
this calculation on a real-time video of any decent size. flash 9 might be
able to handle it.

But if you just want to do some color transforms, i'd suggest looking at the
built in transform classes instead of trying to do it yourself
pixel-by-pixel. These should be much faster, because the transform code will
be native, instead of in actionscript. They are pretty flexible, you can do
a lot with them.

-David R


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

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

[Flashcoders] generate gif from flash

2006-09-18 Thread rishi
I want to make an animated gif from an swf at runtime. Any ideas most
welcome. Also I have ben having hard times to implement PNG encoder .
Has someone implemented it successfully. I need to make png at the
desktop and look at it as a great help .

Regards
Rishi
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] generate gif from flash

2006-09-18 Thread Arul Prasad M L

for the PNG encoder - check out Tinic Uro's blog, he had implemented one..

btw, Thats in AS3...

~Arul Prasad.



On 9/18/06, rishi [EMAIL PROTECTED] wrote:


I want to make an animated gif from an swf at runtime. Any ideas most
welcome. Also I have ben having hard times to implement PNG encoder .
Has someone implemented it successfully. I need to make png at the
desktop and look at it as a great help .

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

2006-09-18 Thread Yves Peckstadt

Hello,

I am working on a video player at the moment but the netstream object is
giving me a hard time.

I need to make use of the bytesTotal and bytesLoaded values to maintain the
buffering but bytesTotal isn't working at all for me. In IE (6.0) it always
returns -1 untill it's fully buffered and in firefox (1.5) it always returns
the same value as bytesLoaded.

My whole play and buffering code starts after triggering the onMetaData
event so that shouldn't be the problem.

Things I've tried:

- testing on a lan server with or without servicecapture or charles
throttling (just in case one of the programs was causing the problem)
- online server without throttling
- made sure the mime types are correct on the servers IIS config settings.

Have looked around the net and found people with the same problem but I
didn't find a solution.

Anyone who has encountered this problem before and can help me, I'd greatly
appreciate it.

Thanks.

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

2006-09-18 Thread John McCormack
I can email an image to anyone that wants it, or you can draw it like
this...

I think this is what you want...
Draw a point and a line vertically upwards of length R.
Draw a large letter V (inverted cone) upwards from the point.
Draw an arc, radius R to cut the V.
Where the arc cuts the vertical draw a circle, radius r, to meet the edges
of V.
The edges of V are tangents.
Draw radii to these tangents, making 90 degree angles with them.
Mark r and R on the diagram.
Now r/R = sin(A), where A is half the angle at the bottom of the V.

Let's say there are n of these small circles, so that
n*2*A = 360   (degrees)
or
n*2*A = 2*pi   (radians)

You can decide n and find A and then find r/R (the angles are usually in
radians).
You can then decide R and find r (or other way around).

Each time through the loop for =n the new angle measured from the vertical
in a clockwise direction is n*2*A.
The place to draw each circle is x=Rsin(n*2*A) and y=Rcos(n*2*A)

Without geometry, where would we be?

John

pi=2.142
A=pi/n(in radians)
r=R*sin(A)
or R=r/sin(A)





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

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


[Flashcoders] isPlaying in Actionscript 2.0

2006-09-18 Thread Matthias Dittgen

Hello,

Does anybody know a solution for the someMovieClip.isPlaying() Solution in
Actionscript 2.0 to use with MTASC?
I can't get the AS1 solution to work:

MovieClip.prototype.isPlaying = function(){
   if (this._previousframe == undefined) this._previousframe =
this._currentframe;
   if (this._previousframe == this._currentframe) var playing = false;
   else var playing = true;
   this._previousframe = this._currentframe;
   return playing;
};

MovieClip.prototype.showPlayingClips = function(){
   for( clip in this ){
   if( typeof this[clip] == movieclip ) {
   this[clip].counter = 1;
   this[clip].onEnterFrame = function () {
   trace(this.isPlaying() ++ this);
   if (this.counter  1) {
   delete this.onEnterFrame;
   }
   this.counter++;
   }
   }
   }
}

Thanks,
Matthias

_root.showPlayingClips();
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] a question of geometry

2006-09-18 Thread Danny Kodicek
 I can email an image to anyone that wants it, or you can draw it like
 this...

 I think this is what you want...
 Draw a point and a line vertically upwards of length R.
 Draw a large letter V (inverted cone) upwards from the point.
 Draw an arc, radius R to cut the V.
 Where the arc cuts the vertical draw a circle, radius r, to meet the edges
 of V.
 The edges of V are tangents.
 Draw radii to these tangents, making 90 degree angles with them.
 Mark r and R on the diagram.
 Now r/R = sin(A), where A is half the angle at the bottom of the V.

 Let's say there are n of these small circles, so that
 n*2*A = 360   (degrees)
 or
 n*2*A = 2*pi   (radians)

 You can decide n and find A and then find r/R (the angles are usually in
 radians).
 You can then decide R and find r (or other way around).

 Each time through the loop for =n the new angle measured from
 the vertical
 in a clockwise direction is n*2*A.
 The place to draw each circle is x=Rsin(n*2*A) and y=Rcos(n*2*A)

I enjoyed this one, so I came back to it and wrote a complete solution. Put
a symbol in the library with id 'circle', then run this script:

function getRingRadius(tArray:Array):Number {
var tMaxError = 0.1
var tMax = 1024
var tMin = 0
do {
var tCheck = (tMax + tMin) / 2
var tSum = 0
for (var i = 0; itArray.length; i++) {
tSum += Math.atan2(tArray[i],tCheck)
}
if (tSumMath.PI) {
tMin = tCheck
} else {
tMax = tCheck
}
} while (Math.abs(tSum - Math.PI)tMaxError)
return tCheck
}
var tRadii = new Array()
for (var i=0; i10 ; i++) {
tRadii.push(Math.random()*20+1)
}
var tRingRadius = getRingRadius(tRadii)
var tSquaredRadius = tRingRadius * tRingRadius
var tAngle = 0
for (var i=0; i10 ; i++) {
tCircle = this.attachMovie(circle, circle+i,
this.getNextHighestDepth())
tCircle._width = tCircle._height = tRadii[i]*2
tThisAngle = Math.atan2(tRadii[i], tRingRadius)
tAngle += tThisAngle
tDistance = Math.sqrt(tRadii[i]*tRadii[i] + tSquaredRadius)
tCircle._x = 200 + tDistance * Math.cos(tAngle)
tCircle._y = 200 + tDistance * Math.sin(tAngle)
tAngle += tThisAngle
}

NB: my previous script had my max and min mixed up so it didn't work. This
one is correct.

Danny

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

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


[Flashcoders] Re: isPlaying in Actionscript 2.0

2006-09-18 Thread Matthias Dittgen

here's mine: ;)

   private function stopAllMovies(instance)
   {
   instance.onEnterFrame = function ()
   {
   if (this.counter == undefined)
   {
   this.counter = 1;
   this.frameBefore = this._currentframe;
   }
   if (this.counter  1)
   {
   if (this.frameBefore != this._currentframe)
   {
   this.isStopped = true;
   this.stop();
   }
   delete this.onEnterFrame;
   }
   this.counter++;
   }

   for (var n in instance)
   {
//if (instance[n] instanceof MovieClip)
   if (typeof(instance[n]) == movieclip)
   {
   arguments.callee(instance[n]);
   }
   }
   }

   private function playAllMovies(instance)
   {
   if (instance.isStopped)
   {
   instance.isStopped = undefined;
   delete instance.isStopped;
   instance.play();
   }
   for (var n in instance)
   {
//if (instance[n] instanceof MovieClip)
   if (typeof(instance[n]) == movieclip)
   {
   arguments.callee(instance[n]);
   }
   }
   }
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Color

2006-09-18 Thread Laurent CUCHET
Hello,

I apply a color but I dont know how to suppress the tranform

Have you got an idea ?

Thank you

al_mc.onRollOver = function() {
_root.reg.text = Alsace;
var my_color1:Color = new Color(this._name);
myValue1 = 0xFFF;
my_color1.setRGB(myValue1);
};
al_mc.onRollOut = function() {
_root.reg.text = Alsace;
var my_color1:Color = new Color(this._name);
myValue1 = ;
my_color1.setRGB(myValue1);
};
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Color

2006-09-18 Thread Arul Prasad M L

al_mc.onRollOver = function() {
  _root.reg.text = Alsace;
  var my_color1:Color = new Color(this._name);
 this.defaultColor = this.getRGB();
  myValue1 = 0xFFF;
  my_color1.setRGB(myValue1);
};
al_mc.onRollOut = function() {
  _root.reg.text = Alsace;
  var my_color1:Color = new Color(this._name);
  my_color1.setRGB( this.defaultColor );
};


~Arul Prasad

On 9/18/06, Laurent CUCHET [EMAIL PROTECTED] wrote:


Hello,

I apply a color but I dont know how to suppress the tranform

Have you got an idea ?

Thank you

al_mc.onRollOver = function() {
_root.reg.text = Alsace;
var my_color1:Color = new Color(this._name);
myValue1 = 0xFFF;
my_color1.setRGB(myValue1);
};
al_mc.onRollOut = function() {
_root.reg.text = Alsace;
var my_color1:Color = new Color(this._name);
myValue1 = ;
my_color1.setRGB(myValue1);
};
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] Flash Develop and XPath

2006-09-18 Thread Ron Wheeler

You will have to give us a bit of information before anyone can comment.
What do you want to do? (Example XML not a bad idea)
What have you tried? (You might show a small piece of code)
What happened when you tried that? (Error messages? Debug output?)

Ron


Jorge Antonio Diaz Gutierrez wrote:
Hi everyone, 
 
I´m trying to use XPathAPI from Flash Develop and I Can´t do I´t.
 
Help me on it please
  



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

2006-09-18 Thread Laurent CUCHET
Hi,

There is 100 textfields ( rec1 to rec100 ) and I try to fill all of them
with a for function :

for (var i:Number = 1; i=100; i++) {
rec[i].text = i;
}

It doent work

Havee you got an idea why ?

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

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


RE: [Flashcoders] for function

2006-09-18 Thread Merrill, Jason
In your code below, you are treating rec like an array, not a string.
Try this:

for (var i:Number = 1; i=100; i++) {
this[rec+i].text = i;
}


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Laurent CUCHET
Sent: Monday, September 18, 2006 9:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders]  for function

Hi,

There is 100 textfields ( rec1 to rec100 ) and I try to fill all of
them
with a for function :

for (var i:Number = 1; i=100; i++) {
rec[i].text = i;
}

It doent work

Havee you got an idea why ?

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

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

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


Re: [Flashcoders] for function

2006-09-18 Thread Christian Pugliese

rec[i] means 'rec' array index 'i'.

try this:
_root[rec+i].text = i;




Laurent CUCHET wrote:

Hi,

There is 100 textfields ( rec1 to rec100 ) and I try to fill all of them
with a for function :

for (var i:Number = 1; i=100; i++) {
rec[i].text = i;
}

It doent work

Havee you got an idea why ?

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

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

  


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

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


RE: [Flashcoders] Flash Develop and XPath

2006-09-18 Thread Jorge Antonio Diaz Gutierrez
Ron, I'm working with FlashDevelop 2 RC3, this is the code I use:

import mx.xpath.*

class Main
{
static function main()
{
var xmlTexto:XML = new XML; 
xmlTexto.onLoad = function (success:Boolean) {
if(success){
var hola:Array = 
XPathAPI.selectNodeList(xmlTexto, title);
trace(hola)
}
else{
trace(Error)
}
}   
xmlTexto.load (Source/rss2.xml);
}
}

And I have this Error in XPathAPI class:

C:\Documents and Settings\jagutierrez\Local Settings\Application 
Data\Macromedia\Flash 8\es\Configuration\Classes/mx/xpath/XPathAPI.as:444: 
characters 8-20 : type error Local variable redefinition : currAttr


Thanks for any help

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler
Sent: Monday, September 18, 2006 8:46 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Develop and XPath

You will have to give us a bit of information before anyone can comment.
What do you want to do? (Example XML not a bad idea)
What have you tried? (You might show a small piece of code)
What happened when you tried that? (Error messages? Debug output?)

Ron


Jorge Antonio Diaz Gutierrez wrote:
 Hi everyone, 
  
 I´m trying to use XPathAPI from Flash Develop and I Can´t do I´t.
  
 Help me on it please
   
 

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

2006-09-18 Thread Laurent CUCHET
I try to use for to fill different var, but it doesnt work

for (var i:Number = 1; i=7; i++) {
 var [s+i]:Number = flashSQL.MoveNext[var8+i];
 this[rec+i].text = Number([s+i]);
}

Var make errors , do you see why ?

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

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


RE: [Flashcoders] For and Var

2006-09-18 Thread Merrill, Jason

//var [s+i]:Number = flashSQL.MoveNext[var8+i];
//Number([s+i]);

That's like black magic or something.  Several things wrong there.  You
need to learn to use some traces in your code to know where it's
breaking, but basically, the array access operator is used to evaluate
an object name in an object.  So in other words, you need to use the
proper scope

this[rec+i]

Means (on a frame script), the current timeline: rec1 instance, rec2
instance, rec3 instance, etc.

Also, name your instances starting with 0 instead of 1, will be easier
for you since arrays start at 0.

for (var i = 0; i7; i++) {
var myTempNumber:Number = //whatever  you do to get the number
 this[rec+i].text = myNumber
}

Also, s+Something will never be a number - no numbers I know of start
with s. 

Hope that helps,

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Laurent CUCHET
Sent: Monday, September 18, 2006 9:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders]  For and Var

I try to use for to fill different var, but it doesnt work

for (var i:Number = 1; i=7; i++) {
 var [s+i]:Number = flashSQL.MoveNext[var8+i];
 this[rec+i].text = Number([s+i]);
}

Var make errors , do you see why ?

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

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

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


Re: [Flashcoders] flex simple question call function

2006-09-18 Thread greg h

Missing namespace in your mx:Application tag.  Try:
mx:Application creationComplete=drawer() xmlns:mx=
http://www.adobe.com/2006/mxml; 

Name spacing the mx: prefix of the Flex components is required in every
mx:Application tag (and top level tag in all Flex components).  Flex
Builder 2 automatically includes the mx: namespacing in every MXML file it
creates.

Adrian is right that future Flex questions should be posted to the
flexcoders list.

hth,

g

On 9/18/06, Caruso Canepari [EMAIL PROTECTED] wrote:


Hi, I get this error:
The prefix mx for element mx:Application is not bound.

  The code is this:

  ?xml version=1.0 encoding=utf-8?
  mx:Application creationComplete=drawer()
  mx:Script
  ![CDATA[
  import flash.display.*;
  import flash.events.*;
  public function drawer():void{
  var mySprite:Sprite = new Sprite();
  mySprite.graphics.beginFill(0xffcc00);
  mySprite.graphics.drawCircle(30,30,30);
  var lab:TextField = new TextField();
  lab.text = hello;
  lab.x = 300;
  lab.y = 300;
  mySprite.addChild(lab);
  addChild(mySprite);
  }
  ]]
  /mx:Script
  /mx:Application








Bjorn Schultheiss [EMAIL PROTECTED] ha scritto:
  Use the onCreationComplete event

For example
onCreationComplete=drawer()
__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


[Flashcoders] rewrite flash.net.Responder source code is where??

2006-09-18 Thread Martin Weiser
Hello, in as2 i have successfully rewritten Relayresponder class, so 
that it had extra property id, by wich i coukd exactly track my calls 
and responses from amfphp,


i'd like the same for flex applications, i can extent responder and it 
works, but i would like to rewrite it and need the source, or 
description and names of all methods, return values, arguments 
etcplease help


thanks in advance

Martin


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] rewrite flash.net.Responder source code is where??

2006-09-18 Thread eka

Hello :)

in AS3 RelayResponder is native .. you can't read this class... but you
can encapsulate it with composition if you want ...

EKA+ :)


2006/9/18, Martin Weiser [EMAIL PROTECTED]:


Hello, in as2 i have successfully rewritten Relayresponder class, so
that it had extra property id, by wich i coukd exactly track my calls
and responses from amfphp,

i'd like the same for flex applications, i can extent responder and it
works, but i would like to rewrite it and need the source, or
description and names of all methods, return values, arguments
etcplease help

thanks in advance

Martin


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

2006-09-18 Thread [EMAIL PROTECTED]

please, anyone knows what's the silly error I'm not catching here?
when I assign the rollOver to the class instance (setPlayButton), I 
don't getting able to access the 'getPlayFile function' thru its 
rollOver, why?



public function create(name:String, target:MovieClip, depth:Number, 
x:Number,y:Number):VideoThumb {

   vid = VideoThumb(target.attachMovie(thumb, name, depth));
   vid._files = new Array();

   setXY(x, y);
   setPlayButton();
   return vid;
}

private function setPlayButton(){
   var mc:MovieClip = vid.toolbar.playVideoButton;
   mc.onRollOver = mc.onDragOver = function():Void{
   trace(getPlayFile(0));
}
}

public function getPlayFile(index:Number):String{
   return vid._files[index];
}


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

2006-09-18 Thread Kevin Aebig
I hear what you mean, as that has bit me in the ass a few times. I honestly
believe though that the people who learn out of passion, instead of
requirement, end up with a better understanding in the end anyhow. 

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts
Sent: Saturday, September 16, 2006 1:41 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Software Development Position

 Exactly, and I'm skeptical of anyone who requires a CompSci 
 degree for a Flash position because there isn't a single 
 college degree for Flash programming.  ;)

Comp Sci isn't about Flash programming, or Java programming, or {insert
language flavor of the week} programming. It's not even about programming.
My personal observation, however, is that people who have a comp sci
background tend to make better programmers than those who don't. The best
Flash programmers I've met, personally, have comp sci backgrounds, for what
that's worth.

Personally, I don't have that background, unfortunately, and I have
certainly felt its absence at times; there are a bunch of things I've had to
learn the hard way as a result.

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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] class function call onMouseAction

2006-09-18 Thread Merrill, Jason
This is a scope issue.  This function you wrote is in a class, but mc
doesn't know how to access methods of that class.  You could get around
it by assigning a property to mc which is an instance of the class, and
then calling the getPlayFile() method that way.  As you have it now, mc
doesn't have any reference or know about the getPlayFile() method in
your class.  In fact, mc doesn't know anything about your class. So one
way to work around this, would be to do this:

private function setPlayButton(){
var mc:MovieClip = vid.toolbar.playVideoButton;
mc.classinstance = this;
mc.onRollOver = mc.onDragOver = function():Void{
 this.classinstance.getPlayFile(0);
}
}


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, September 18, 2006 10:42 AM
To: Flashcoders mailing list
Subject: [Flashcoders] class function call onMouseAction

please, anyone knows what's the silly error I'm not catching here?
when I assign the rollOver to the class instance (setPlayButton), I
don't getting able to access the 'getPlayFile function' thru its
rollOver, why?


public function create(name:String, target:MovieClip, depth:Number,
x:Number,y:Number):VideoThumb {
vid = VideoThumb(target.attachMovie(thumb, name, depth));
vid._files = new Array();

setXY(x, y);
setPlayButton();
return vid;
}

private function setPlayButton(){
var mc:MovieClip = vid.toolbar.playVideoButton;
mc.onRollOver = mc.onDragOver = function():Void{
trace(getPlayFile(0));
 }
}

public function getPlayFile(index:Number):String{
return vid._files[index];
}


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

2006-09-18 Thread John Grden

LOLOLOLOL

Is this because their job will be
fixing someone else's 5 year old spaghetti code? Then the kicker is
that this person must be in the Detroit area or willing to relocate.

Just had to laugh, that was hilarious

On 9/15/06, hank williams [EMAIL PROTECTED] wrote:


I am all for job postings, but I gotta tell ya, sometimes they just
say silly things.

4 years developing flash.
must know AS1 and AS2
Software development person (programmed before flash I presume)
Background in other languages and systems
Familiarity with design patterns
Good understanding of basic database issues
Not a position for an artist or designer.
Must be willing to relocate to Detroit area.

Ok, first of all, most people who have been doing flash for 4+ years
are artists or designers. Almost no serious programming was even
possible in flash before AS2 so by defining 4 years you are
essentially insisting that someone *not* be someone who has a
background in other languages and systems. I'm not saying they don't
exist at all, but it is such a silly requirement because it
inappropriately limits the pool. Of course insisting that someone be
an expert in AS1 is even more silly. Is this because their job will be
fixing someone else's 5 year old spaghetti code? Then the kicker is
that this person must be in the Detroit area or willing to relocate.

So in my mind, they are looking for the tiny pool of people that
studied computer science but were also interested in animation and so
dabbled in flash before it was real programmer ready and are willing
to move to one of the most depressed metropolitan areas in the US. And
I bet they wanna pay like 70-80k. Why cant people write intelligent
job specs. Oh and by the way I am not looking for a job I just find
this annoying that neither I nor any of the excellent programmers I
know (and I know quite a few) would qualify for this job.

I really wonder where some of these job specs come from.

Hank


On 9/15/06, swfer [EMAIL PROTECTED] wrote:
 iDashboards is one of the hottest software companies within Business
 Intelligence dashboards (www.iDashboards.com). Our customers include
 NASA, US Navy, Lockheed Martin, Johnson Controls and GE. We have an
 immediate position for a Senior Flash Developer with 4+ years of
 experience.

 If being part of a leading edge and innovative software company
 excites you, we have an excellent opportunity. We are seeking an
 experienced Software Developer who has a strong background in
 Flash/ActionScript. This is not a position for a Flash
 artist/designer, but for a software development person. Must have a
 thorough understanding of ActionScript 1 and 2, and how to write
 efficient code. Should have a background in other programming
 languages and systems as well. Should be comfortable with
 multi-person development projects, and working with other people's
 code.

 Must be reasonably well-versed in object-oriented software. Needs an
 understanding of XML, and its interface to ActionScript. Should be
 familiar with SQL and have a good understanding of basic database
 issues. Familiarity with design patterns is a plus, as is an
 understanding of user interfaces.

 OPPORTUNITY
 You will be part of our world-class Software Team:
 - Develop cutting edge enhancements to the existing software
 - Work with other Flash developers and Server-side Development team

 REQUIREMENTS
 - Must have 4+ years experience in Flash/ActionScript and object
 oriented programming
 - Must have developed database driven rich-media Flash applications with
XML
 - BS degree preferred and good work references

 The compensation plan is lucrative with a competitive base salary,
 bonus and stock options. The company also offers excellent medical
 and dental coverage along with 401K.

 Please email your resume  a cover letter addressing your
 qualifications. Qualified candidates must demonstrate verifiable
 references to be considered. Email to: [EMAIL PROTECTED]

 We will consider exceptionally qualified candidates from any where
 within the US or Canada who are willing to relocate to Detroit
 region. Our office is located in Troy, MI.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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





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

RE: [Flashcoders] Software Development Position

2006-09-18 Thread Kevin Aebig
Of course, but it's quite rare. I'm not saying all non-graduates are
passionate about learning their trade either. More often than not being
passionate about what you do for a living is pretty rare...

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Monday, September 18, 2006 8:57 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Software Development Position

Are both not possible?

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 I hear what you mean, as that has bit me in the ass a few times. I
honestly
 believe though that the people who learn out of passion, instead of
 requirement, end up with a better understanding in the end anyhow.

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts
 Sent: Saturday, September 16, 2006 1:41 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Software Development Position

  Exactly, and I'm skeptical of anyone who requires a CompSci
  degree for a Flash position because there isn't a single
  college degree for Flash programming.  ;)

 Comp Sci isn't about Flash programming, or Java programming, or {insert
 language flavor of the week} programming. It's not even about programming.
 My personal observation, however, is that people who have a comp sci
 background tend to make better programmers than those who don't. The best
 Flash programmers I've met, personally, have comp sci backgrounds, for
what
 that's worth.

 Personally, I don't have that background, unfortunately, and I have
 certainly felt its absence at times; there are a bunch of things I've had
to
 learn the hard way as a result.

 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@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Software Development Position

2006-09-18 Thread hank williams

Thats interesting. I dont know many computer programmers that arent
passionate - degree or not. Of course I am not a useful statistical
sample, but obviously have had a different life experience.

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:

Of course, but it's quite rare. I'm not saying all non-graduates are
passionate about learning their trade either. More often than not being
passionate about what you do for a living is pretty rare...

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Monday, September 18, 2006 8:57 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Software Development Position

Are both not possible?

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 I hear what you mean, as that has bit me in the ass a few times. I
honestly
 believe though that the people who learn out of passion, instead of
 requirement, end up with a better understanding in the end anyhow.

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts
 Sent: Saturday, September 16, 2006 1:41 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Software Development Position

  Exactly, and I'm skeptical of anyone who requires a CompSci
  degree for a Flash position because there isn't a single
  college degree for Flash programming.  ;)

 Comp Sci isn't about Flash programming, or Java programming, or {insert
 language flavor of the week} programming. It's not even about programming.
 My personal observation, however, is that people who have a comp sci
 background tend to make better programmers than those who don't. The best
 Flash programmers I've met, personally, have comp sci backgrounds, for
what
 that's worth.

 Personally, I don't have that background, unfortunately, and I have
 certainly felt its absence at times; there are a bunch of things I've had
to
 learn the hard way as a result.

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

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


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

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

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

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


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

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


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

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


[Flashcoders] ExternalInterface error

2006-09-18 Thread Mendelsohn, Michael
Hi list...

[IE6, WinXP, FP9]
Why am I getting an error icon in the status bar when I try to do this
simple call to javascript?

Thanks,
- Michael M.


In the Flash:
/
public function loadVideo(theVid, callingLink) {
if (ExternalInterface.available) {
var rslt:String =
String(ExternalInterface.call(flashAlert, theVid));
}
}


On the webpage:
/
script language=JavaScript type=text/javascript
function flashAlert(msg){
alert(msg);
}
/script

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

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


RE: [Flashcoders] ExternalInterface error

2006-09-18 Thread Merrill, Jason
Are you testing on a web site with your browser or locally in your
browser?  Locally you will get warnings/errors due to the new security
restrictions in FP8/9.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael
Sent: Monday, September 18, 2006 11:29 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ExternalInterface error

Hi list...

[IE6, WinXP, FP9]
Why am I getting an error icon in the status bar when I try to do this
simple call to javascript?

Thanks,
- Michael M.


In the Flash:
/
public function loadVideo(theVid, callingLink) {
  if (ExternalInterface.available) {
  var rslt:String =
String(ExternalInterface.call(flashAlert, theVid));
  }
}


On the webpage:
/
script language=JavaScript type=text/javascript
function flashAlert(msg){
alert(msg);
}
/script

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

2006-09-18 Thread Kevin Aebig
Just so we're clear, I don't mean they simply enjoy their jobs. I'm talking
about the guys who constantly learn, adapt and take their work home with
them on a regular basis. The guys who eat, breathe and sleep their jobs. 

I've found that there are many guys fresh out of school who are like this
for the first 6 months to a year and than taper off. Than it's simply 9 to 5
and everything else is a waste.

If you know a lot of them, than you're living in a pretty unique place
compared to where I'm from. I'm pretty rigged into the industry here and
generally most of the guys couldn't even do that if they wanted to. They
have families or other commitments that infringe on their time.

Cheers,

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Monday, September 18, 2006 9:27 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Software Development Position

Thats interesting. I dont know many computer programmers that arent
passionate - degree or not. Of course I am not a useful statistical
sample, but obviously have had a different life experience.

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 Of course, but it's quite rare. I'm not saying all non-graduates are
 passionate about learning their trade either. More often than not being
 passionate about what you do for a living is pretty rare...

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of hank
 williams
 Sent: Monday, September 18, 2006 8:57 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Software Development Position

 Are both not possible?

 On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  I hear what you mean, as that has bit me in the ass a few times. I
 honestly
  believe though that the people who learn out of passion, instead of
  requirement, end up with a better understanding in the end anyhow.
 
  !k
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Dave
Watts
  Sent: Saturday, September 16, 2006 1:41 PM
  To: Flashcoders mailing list
  Subject: RE: [Flashcoders] Software Development Position
 
   Exactly, and I'm skeptical of anyone who requires a CompSci
   degree for a Flash position because there isn't a single
   college degree for Flash programming.  ;)
 
  Comp Sci isn't about Flash programming, or Java programming, or {insert
  language flavor of the week} programming. It's not even about
programming.
  My personal observation, however, is that people who have a comp sci
  background tend to make better programmers than those who don't. The
best
  Flash programmers I've met, personally, have comp sci backgrounds, for
 what
  that's worth.
 
  Personally, I don't have that background, unfortunately, and I have
  certainly felt its absence at times; there are a bunch of things I've
had
 to
  learn the hard way as a result.
 
  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@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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

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

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



[Flashcoders] Breeze in Acrobat 8 and renamed Adobe Acrobat Connect

2006-09-18 Thread greg h

fyi ...

The Flash/Acrobat integration begins ... sort of ...

Adobe announced Acrobat 8 this morning. The announcement includes Acrobat
Connect. Acrobat 8 Reader now includes menu options for Acrobat Connect
which is essentially a rebranded Breeze service!

Oh, and Breeze is now the Adobe Connect brand, formerly known as
Macromedia(r) Breeze(r) software.

Press release here:

Adobe Expands Acrobat Family with New Acrobat Connect Product Line
www.adobe.com/aboutadobe/pressroom/pressreleases/200609/091806AcrobatConnect.html

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

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


[Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Please take a look at the folowing website:

http://whitehorsemedia.com

If you are visiting the page for the first time, the navigation in the
Flash header does not load (I am using xml to define my navigation and
actionscript to parse it). However, when you click on a link in the
body of the page, when that page loads the navigation in the header
also loads. Once it does, you can revisit the home page and any other
page and the navigation will load everytime. It just doesn't load the
very first time.

This started happening when I switched over to swfObject to embed my
Flash movie and to detect the clients Flash player version.

Does anyone have any ideas why the navigation is not loaded at first?
More importantly, what can I do to fix it?

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

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


RE: [Flashcoders] Breeze in Acrobat 8 and renamed Adobe Acrobat Connect

2006-09-18 Thread Merrill, Jason
Finally! They've had that same Youth Voices banner ad on their site all
summer!

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of greg h
Sent: Monday, September 18, 2006 11:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Breeze in Acrobat 8 and renamed Adobe Acrobat
Connect

fyi ...

The Flash/Acrobat integration begins ... sort of ...

Adobe announced Acrobat 8 this morning. The announcement includes
Acrobat
Connect. Acrobat 8 Reader now includes menu options for Acrobat
Connect
which is essentially a rebranded Breeze service!

Oh, and Breeze is now the Adobe Connect brand, formerly known as
Macromedia(r) Breeze(r) software.

Press release here:

Adobe Expands Acrobat Family with New Acrobat Connect Product Line
www.adobe.com/aboutadobe/pressroom/pressreleases/200609/091806AcrobatC
o
nnect.html

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

2006-09-18 Thread hank williams

But it sounds like you consider having a family or other committments
mutually exclusive to passion or even continued learning. My
definition of passion did not require neglecting family though
certainly after hours work is generally an indicator of passion.

Personally, I know of several programmers that have a wife and kids
and who dedicate time to them, that I would consider passionate
programmers, though our definitons may be diverging. Personally, I
consider being a well rounded person useful in the context of
developing software for human beings. And though, right now I am
chained to my computer in a crunch to release a product, I dont
consider having a life to be a detriment to being passionate about
anything - programming included.

Hank

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:

Just so we're clear, I don't mean they simply enjoy their jobs. I'm talking
about the guys who constantly learn, adapt and take their work home with
them on a regular basis. The guys who eat, breathe and sleep their jobs.

I've found that there are many guys fresh out of school who are like this
for the first 6 months to a year and than taper off. Than it's simply 9 to 5
and everything else is a waste.

If you know a lot of them, than you're living in a pretty unique place
compared to where I'm from. I'm pretty rigged into the industry here and
generally most of the guys couldn't even do that if they wanted to. They
have families or other commitments that infringe on their time.

Cheers,

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Monday, September 18, 2006 9:27 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Software Development Position

Thats interesting. I dont know many computer programmers that arent
passionate - degree or not. Of course I am not a useful statistical
sample, but obviously have had a different life experience.

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 Of course, but it's quite rare. I'm not saying all non-graduates are
 passionate about learning their trade either. More often than not being
 passionate about what you do for a living is pretty rare...

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of hank
 williams
 Sent: Monday, September 18, 2006 8:57 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Software Development Position

 Are both not possible?

 On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  I hear what you mean, as that has bit me in the ass a few times. I
 honestly
  believe though that the people who learn out of passion, instead of
  requirement, end up with a better understanding in the end anyhow.
 
  !k
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Dave
Watts
  Sent: Saturday, September 16, 2006 1:41 PM
  To: Flashcoders mailing list
  Subject: RE: [Flashcoders] Software Development Position
 
   Exactly, and I'm skeptical of anyone who requires a CompSci
   degree for a Flash position because there isn't a single
   college degree for Flash programming.  ;)
 
  Comp Sci isn't about Flash programming, or Java programming, or {insert
  language flavor of the week} programming. It's not even about
programming.
  My personal observation, however, is that people who have a comp sci
  background tend to make better programmers than those who don't. The
best
  Flash programmers I've met, personally, have comp sci backgrounds, for
 what
  that's worth.
 
  Personally, I don't have that background, unfortunately, and I have
  certainly felt its absence at times; there are a bunch of things I've
had
 to
  learn the hard way as a result.
 
  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@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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 

Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread slangeberg

Looked fine to me!

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:


Please take a look at the folowing website:

http://whitehorsemedia.com

If you are visiting the page for the first time, the navigation in the
Flash header does not load (I am using xml to define my navigation and
actionscript to parse it). However, when you click on a link in the
body of the page, when that page loads the navigation in the header
also loads. Once it does, you can revisit the home page and any other
page and the navigation will load everytime. It just doesn't load the
very first time.

This started happening when I switched over to swfObject to embed my
Flash movie and to detect the clients Flash player version.

Does anyone have any ideas why the navigation is not loaded at first?
More importantly, what can I do to fix it?

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

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Chad Mefferd

Aaron,

I'm viewing on a Mac OSX 1.3.9 in Safari. Your Galley page is fighting 
with the underlying menu for which should be forward in the z-index but 
the menu  links are now working where as they didn't on your last site 
check.


Chad Mefferd - Director of Digital Media
Morris Printing Group

E-MAIL CONFIDENTIALITY NOTICE: The contents of this email message and 
any attachments are for the sole use of the intended recipient(s) and 
may contain confidential and or legally privileged information.   Any 
unauthorized review, use, disclosure, or distribution is prohibited.   
If you are not the intended recipient(s) of this message or if this 
message has been addressed to you in error, please notify the sender, 
delete or destroy all copies of the original message. 

On Sep 18, 2006, at 11:05 AM, Aaron Roberson wrote:


Please take a look at the folowing website:

http://whitehorsemedia.com

If you are visiting the page for the first time, the navigation in the
Flash header does not load (I am using xml to define my navigation and
actionscript to parse it). However, when you click on a link in the
body of the page, when that page loads the navigation in the header
also loads. Once it does, you can revisit the home page and any other
page and the navigation will load everytime. It just doesn't load the
very first time.

This started happening when I switched over to swfObject to embed my
Flash movie and to detect the clients Flash player version.

Does anyone have any ideas why the navigation is not loaded at first?
More importantly, what can I do to fix it?

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

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



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

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


Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Looked fine to me!

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation in the
 Flash header does not load (I am using xml to define my navigation and
 actionscript to parse it). However, when you click on a link in the
 body of the page, when that page loads the navigation in the header
 also loads. Once it does, you can revisit the home page and any other
 page and the navigation will load everytime. It just doesn't load the
 very first time.

 This started happening when I switched over to swfObject to embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at first?
 More importantly, what can I do to fix it?

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

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




--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Chad,

I have the z-index for the Flash movie set to 0 and the window mode to
transparent, which is supposed to fix the discrepancy between the
Gallery image and the Flash movie. It works in Firefox 1.5 on Windows.
I will check into it for Safari.

Thanks,
Aaron

On 9/18/06, Chad Mefferd [EMAIL PROTECTED] wrote:

Aaron,

I'm viewing on a Mac OSX 1.3.9 in Safari. Your Galley page is fighting
with the underlying menu for which should be forward in the z-index but
the menu  links are now working where as they didn't on your last site
check.

Chad Mefferd - Director of Digital Media
Morris Printing Group

E-MAIL CONFIDENTIALITY NOTICE: The contents of this email message and
any attachments are for the sole use of the intended recipient(s) and
may contain confidential and or legally privileged information. Any
unauthorized review, use, disclosure, or distribution is prohibited.
If you are not the intended recipient(s) of this message or if this
message has been addressed to you in error, please notify the sender,
delete or destroy all copies of the original message.
On Sep 18, 2006, at 11:05 AM, Aaron Roberson wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation in the
 Flash header does not load (I am using xml to define my navigation and
 actionscript to parse it). However, when you click on a link in the
 body of the page, when that page loads the navigation in the header
 also loads. Once it does, you can revisit the home page and any other
 page and the navigation will load everytime. It just doesn't load the
 very first time.

 This started happening when I switched over to swfObject to embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at first?
 More importantly, what can I do to fix it?

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

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


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

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


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

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


[Flashcoders] Embedded video in a Windows Projector

2006-09-18 Thread Jay Pozo

Anyone ever do this successfully?  The videos work fine on my Mac, when I
publish and preview in Flash, but when I publish a projector file (exe), it
looks like the controller for every embedded video disappears.  The first
frame of the embedded movie shows, so it looks like projector is seeing the
flv, but it won't play.

Thanks,
Jay
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

I just realized that the problem of the navigation not loading the
first time around happens when a user has Flash 7 and uses the express
install to update to 9. Once the update is complete and they are
redirected to the website, the navigation doesn't load.

If you have the Flash uninstaller handy and an earlier version of
Flash handy as well, please visit my page with Flash 7 or below,
accept the express install prompt, and see if the navigation loads
upon being redirected to the site.

That may be asking a bit, so thank you very, very much if you are inclined,
Aaron

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in the
  Flash header does not load (I am using xml to define my navigation and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any other
  page and the navigation will load everytime. It just doesn't load the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Site Check Please - Problem with swfObject

2006-09-18 Thread slangeberg

Yeah, as far as i can tell!:

FireFox 1.5.0.7
Flash Player 9.0.16

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:


The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in the
  Flash header does not load (I am using xml to define my navigation and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any other
  page and the navigation will load everytime. It just doesn't load the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread slangeberg

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:


The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in the
  Flash header does not load (I am using xml to define my navigation and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any other
  page and the navigation will load everytime. It just doesn't load the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Ryan Potter
Maybe it is apocalyptic radiation from the mushroom cloud in banner image at 
the top?

 

Anyway, SWFObject should not be the problem here.  If you see the flash at all 
it would seem to be working.  The only thing I can think of would be that your 
detection script is not working properly.  Are you doing it like he says to do 
it on the swf object page?  Detection on frame one and code for the nav on 
frame 2?

 

It is working fine for me.  I am on xp sp2,  IE 6.0.29, Flash player 9

-Original Message- 
From: [EMAIL PROTECTED] on behalf of Aaron Roberson 
Sent: Mon 9/18/2006 10:20 AM 
To: Flashcoders mailing list 
Cc: 
Subject: Re: [Flashcoders] Site Check Please - Problem with swfObject



The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in 
the
  Flash header does not load (I am using xml to define my navigation 
and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any 
other
  page and the navigation will load everytime. It just doesn't load 
the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at 
first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Site Check Please - Problem with swfObject

2006-09-18 Thread slangeberg

That's because you probably need to restart the browser to fully load the
new flash player.

For that reason, I don't even use the updater. I just let the alternate
content (using SWFObject) link to the flash installer at adobe's site. Not
as cool, but seems to be most reliable. I'd be happy to hear about any
better strategies out there!

Scott



On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:


I just realized that the problem of the navigation not loading the
first time around happens when a user has Flash 7 and uses the express
install to update to 9. Once the update is complete and they are
redirected to the website, the navigation doesn't load.

If you have the Flash uninstaller handy and an earlier version of
Flash handy as well, please visit my page with Flash 7 or below,
accept the express install prompt, and see if the navigation loads
upon being redirected to the site.

That may be asking a bit, so thank you very, very much if you are
inclined,
Aaron

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation in
the
   Flash header does not load (I am using xml to define my navigation
and
   actionscript to parse it). However, when you click on a link in the
   body of the page, when that page loads the navigation in the header
   also loads. Once it does, you can revisit the home page and any
other
   page and the navigation will load everytime. It just doesn't load
the
   very first time.
  
   This started happening when I switched over to swfObject to embed my
   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at
first?
   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

I just walked around the office and confirmed that on three other
computers in both IE and Firefox the navigation does not appear the
first time visiting the site. Even when clicking on the graphic
buttons in the content of the home page the navigation still doesn't
show up. The only ways to get the navigation to show up were to 1).
click on any button in the flash header (ie Home, Contact) or 2).
click on the navigation in the footer. Interesting enough, the
navigation in the footer is also being built using XML and is being
parsed with XSLT.

I'm at a loss for why this strange behavior is taking place.

Thanks guys,
Aaron

P.S.
Really, I don't think that the express install and redirection is the
problem, but once you have visited the site and got the navigation to
work, the only way to replicate the problem is to uinstall Flash,
install Flash 7, express install 9, and revisit the site.

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

I just realized that the problem of the navigation not loading the
first time around happens when a user has Flash 7 and uses the express
install to update to 9. Once the update is complete and they are
redirected to the website, the navigation doesn't load.

If you have the Flash uninstaller handy and an earlier version of
Flash handy as well, please visit my page with Flash 7 or below,
accept the express install prompt, and see if the navigation loads
upon being redirected to the site.

That may be asking a bit, so thank you very, very much if you are inclined,
Aaron

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation in the
   Flash header does not load (I am using xml to define my navigation and
   actionscript to parse it). However, when you click on a link in the
   body of the page, when that page loads the navigation in the header
   also loads. Once it does, you can revisit the home page and any other
   page and the navigation will load everytime. It just doesn't load the
   very first time.
  
   This started happening when I switched over to swfObject to embed my
   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at first?
   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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] Software Development Position

2006-09-18 Thread Kevin Aebig
Not even close. I think you don't quite get what I mean and for some reason
seem to think that not being passionate about programming is negative.

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hank
williams
Sent: Monday, September 18, 2006 10:12 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Software Development Position

But it sounds like you consider having a family or other committments
mutually exclusive to passion or even continued learning. My
definition of passion did not require neglecting family though
certainly after hours work is generally an indicator of passion.

Personally, I know of several programmers that have a wife and kids
and who dedicate time to them, that I would consider passionate
programmers, though our definitons may be diverging. Personally, I
consider being a well rounded person useful in the context of
developing software for human beings. And though, right now I am
chained to my computer in a crunch to release a product, I dont
consider having a life to be a detriment to being passionate about
anything - programming included.

Hank

On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
 Just so we're clear, I don't mean they simply enjoy their jobs. I'm
talking
 about the guys who constantly learn, adapt and take their work home with
 them on a regular basis. The guys who eat, breathe and sleep their jobs.

 I've found that there are many guys fresh out of school who are like this
 for the first 6 months to a year and than taper off. Than it's simply 9 to
5
 and everything else is a waste.

 If you know a lot of them, than you're living in a pretty unique place
 compared to where I'm from. I'm pretty rigged into the industry here and
 generally most of the guys couldn't even do that if they wanted to. They
 have families or other commitments that infringe on their time.

 Cheers,

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of hank
 williams
 Sent: Monday, September 18, 2006 9:27 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Software Development Position

 Thats interesting. I dont know many computer programmers that arent
 passionate - degree or not. Of course I am not a useful statistical
 sample, but obviously have had a different life experience.

 On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
  Of course, but it's quite rare. I'm not saying all non-graduates are
  passionate about learning their trade either. More often than not being
  passionate about what you do for a living is pretty rare...
 
  !k
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of hank
  williams
  Sent: Monday, September 18, 2006 8:57 AM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Software Development Position
 
  Are both not possible?
 
  On 9/18/06, Kevin Aebig [EMAIL PROTECTED] wrote:
   I hear what you mean, as that has bit me in the ass a few times. I
  honestly
   believe though that the people who learn out of passion, instead of
   requirement, end up with a better understanding in the end anyhow.
  
   !k
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Dave
 Watts
   Sent: Saturday, September 16, 2006 1:41 PM
   To: Flashcoders mailing list
   Subject: RE: [Flashcoders] Software Development Position
  
Exactly, and I'm skeptical of anyone who requires a CompSci
degree for a Flash position because there isn't a single
college degree for Flash programming.  ;)
  
   Comp Sci isn't about Flash programming, or Java programming, or
{insert
   language flavor of the week} programming. It's not even about
 programming.
   My personal observation, however, is that people who have a comp sci
   background tend to make better programmers than those who don't. The
 best
   Flash programmers I've met, personally, have comp sci backgrounds, for
  what
   that's worth.
  
   Personally, I don't have that background, unfortunately, and I have
   certainly felt its absence at times; there are a bunch of things I've
 had
  to
   learn the hard way as a result.
  
   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@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/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 

RE: [Flashcoders] ExternalInterface error

2006-09-18 Thread Mendelsohn, Michael
Locally, in the browser, I suppose I should say.  It's all sitting on an
http server.  As long as that seems normal, I'm fine with it, thanks.

- MM



 Are you testing on a web site with your browser or locally in your
browser?  Locally you will get warnings/errors due to the new security
restrictions in FP8/9.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions

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

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


Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Danton and Slangeberg,

You didn't have to click elsewhere on the website (namely the Home or
Contact links in the header or the navigation in the footer) in order
to get the navigation beside the horse to display? That is odd,
because on more than one computer in our office the navigation does
not load the prior to clicking elsewhere on the website.

I am going to go check it on our Mac workstation in IE 5, Firefox and Safari.

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation in the
   Flash header does not load (I am using xml to define my navigation and
   actionscript to parse it). However, when you click on a link in the
   body of the page, when that page loads the navigation in the header
   also loads. Once it does, you can revisit the home page and any other
   page and the navigation will load everytime. It just doesn't load the
   very first time.
  
   This started happening when I switched over to swfObject to embed my
   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at first?
   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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




--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

That's because you probably need to restart the browser to fully load the
new flash player.

For that reason, I don't even use the updater. I just let the alternate
content (using SWFObject) link to the flash installer at adobe's site. Not
as cool, but seems to be most reliable. I'd be happy to hear about any
better strategies out there!

Scott



Scott,

That was my first impression, but that theory didn't hold true after
visiting the site on several computers with Flash 8+ and the
navigation didn't load.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Software Development Position

2006-09-18 Thread Martin Wood

Kevin Aebig wrote:

Just so we're clear, I don't mean they simply enjoy their jobs. I'm talking
about the guys who constantly learn, adapt and take their work home with
them on a regular basis. The guys who eat, breathe and sleep their jobs. 


I've found that there are many guys fresh out of school who are like this
for the first 6 months to a year and than taper off. Than it's simply 9 to 5
and everything else is a waste.


Sounds like burnout.


If you know a lot of them, than you're living in a pretty unique place
compared to where I'm from. I'm pretty rigged into the industry here and
generally most of the guys couldn't even do that if they wanted to. They
have families or other commitments that infringe on their time.


I think you meant to say 'their' (this group includes me) priorities change and 
coding all day every day just isnt as important or exciting as something like 
seeing the first smile on their childs face.


anyway..its all getting a bit OT now.

lets stick to what this list is about. :)


martin.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Danton Chin

Works for me using IE 6.0.2800.1106 and in Netscape versions 7.2 and 8.1.

Regards,
Danton

Aaron Roberson wrote:

Please take a look at the folowing website:

http://whitehorsemedia.com

If you are visiting the page for the first time, the navigation in the
Flash header does not load (I am using xml to define my navigation and
actionscript to parse it). However, when you click on a link in the
body of the page, when that page loads the navigation in the header
also loads. Once it does, you can revisit the home page and any other
page and the navigation will load everytime. It just doesn't load the
very first time.

This started happening when I switched over to swfObject to embed my
Flash movie and to detect the clients Flash player version.

Does anyone have any ideas why the navigation is not loaded at first?
More importantly, what can I do to fix it?

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

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



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

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


RE: [Flashcoders] specifying type of an array contents?

2006-09-18 Thread Mike Keesey
One technique I often use is to create the array as a private member of
a class and guard it against including invalid classes. For example:

import mypackage.Item;
class mypackage.ItemList extends Object {
public function ItemList() {
super();
_items = new Array();
}
public function get itemCount():Number {
return _items.length;
}
public function addItem(item:Item):Void {
if (!(item instanceof Item)) {
throw new Error(Invalid item:  + item);
}
_items.push(item);
}
public function getItem(index:Number):Item {
var item:Item = Item(_items[index]);
return (item == undefined) ? null : item;
}
public function removeItem(item:Item):Void {
for (var i:Number = _items.length; i  0; --i) {
if (_items[i - 1] == item) {
_items.splice(i - 1, 1);
}
}
}
public function removeItemAt(index:Number):Void {
_items.splice(index, 1);
}
public function toString():String {
return [type ItemList(items= + _items.join(, ) + )]
;
}
private var _items;
}

It is cumbersome to do this for all types, but it's handy for many
occasions. (I do really miss C++ templates, though)
―
Mike Keesey
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of dc
 Sent: Saturday, September 16, 2006 7:36 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] specifying type of an array contents?
 
 is there a way to tell flash what types an array contains?
 
 eg given this:
 
 var btnClipArray:Array;
 
 --- later:
 
 for (var btn in btnClipArray) {
btn.removeMovieClip();
 }
 
 flash defaults to thiking the array contains only strings, so the
 movieclip methods throw a compile error. of course, i can cast or
 otherwise hack, but it would be nice not to...
 
 var btnClipArray:Array:MovieClip;  ?
 
 /dc
 ---
   David DC Collier
 mailto:[EMAIL PROTECTED]
   +81 (0)80 6521 9559
   skype: callto://d3ntaku
 ---
   Pikkle 株式会社
   http://www.pikkle.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] specifying type of an array contents?

2006-09-18 Thread Steven Sacks | BLITZ
You are using the wrong syntax, that's all.

for (var btn in btnClipArray) {
btnClipArray[btn].removeMovieClip();
}

btn is simply referring to the index in the array, not the object in
that array's position.  If you traced btn you'd get a number counting
down from the length - 1 of the array to zero (10 9 8 7 6, etc.) because
for in iterates backwards through an array.

For that loop, though, I'd use the fastest loop in Flash:

var i = btnClipArray.length;
while (--i -(-1)) {
btnClipArray[i].removeMovieClip();
}


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The radiation levels for the atomic bomb are within specs for
apocalyptic terror - that must not be the problem.

I didn't have the detection on frame one and the code for the nav on
frame two but I changed it so that I have the detection on frame one
and the code for the nav on frame 6 but it still is not working.

Go figure?

-Aaron

On 9/18/06, Ryan Potter [EMAIL PROTECTED] wrote:

Maybe it is apocalyptic radiation from the mushroom cloud in banner image at 
the top?



Anyway, SWFObject should not be the problem here.  If you see the flash at all 
it would seem to be working.  The only thing I can think of would be that your 
detection script is not working properly.  Are you doing it like he says to do 
it on the swf object page?  Detection on frame one and code for the nav on 
frame 2?



It is working fine for me.  I am on xp sp2,  IE 6.0.29, Flash player 9

-Original Message-
From: [EMAIL PROTECTED] on behalf of Aaron Roberson
Sent: Mon 9/18/2006 10:20 AM
To: Flashcoders mailing list
Cc:
Subject: Re: [Flashcoders] Site Check Please - Problem with swfObject



The navigation to the right of the horse and below the company name
and tagline loaded on first try?

What browswer are you using?

-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Looked fine to me!

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  Please take a look at the folowing website:
 
  http://whitehorsemedia.com
 
  If you are visiting the page for the first time, the navigation in 
the
  Flash header does not load (I am using xml to define my navigation 
and
  actionscript to parse it). However, when you click on a link in the
  body of the page, when that page loads the navigation in the header
  also loads. Once it does, you can revisit the home page and any 
other
  page and the navigation will load everytime. It just doesn't load 
the
  very first time.
 
  This started happening when I switched over to swfObject to embed my
  Flash movie and to detect the clients Flash player version.
 
  Does anyone have any ideas why the navigation is not loaded at 
first?
  More importantly, what can I do to fix it?
 
  Thanks in advance,
  Aaron
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] a question of geometry

2006-09-18 Thread Andreas R

Danny Kodicek wrote:

I can email an image to anyone that wants it, or you can draw it like
this...

I think this is what you want...
Draw a point and a line vertically upwards of length R.
Draw a large letter V (inverted cone) upwards from the point.
Draw an arc, radius R to cut the V.
Where the arc cuts the vertical draw a circle, radius r, to meet the edges
of V.
The edges of V are tangents.
Draw radii to these tangents, making 90 degree angles with them.
Mark r and R on the diagram.
Now r/R = sin(A), where A is half the angle at the bottom of the V.

Let's say there are n of these small circles, so that
n*2*A = 360   (degrees)
or
n*2*A = 2*pi   (radians)

You can decide n and find A and then find r/R (the angles are usually in
radians).
You can then decide R and find r (or other way around).

Each time through the loop for =n the new angle measured from
the vertical
in a clockwise direction is n*2*A.
The place to draw each circle is x=Rsin(n*2*A) and y=Rcos(n*2*A)



I enjoyed this one, so I came back to it and wrote a complete solution. Put
a symbol in the library with id 'circle', then run this script:

function getRingRadius(tArray:Array):Number {
var tMaxError = 0.1
var tMax = 1024
var tMin = 0
do {
var tCheck = (tMax + tMin) / 2
var tSum = 0
for (var i = 0; itArray.length; i++) {
tSum += Math.atan2(tArray[i],tCheck)
}
if (tSumMath.PI) {
tMin = tCheck
} else {
tMax = tCheck
}
} while (Math.abs(tSum - Math.PI)tMaxError)
return tCheck
}
var tRadii = new Array()
for (var i=0; i10 ; i++) {
tRadii.push(Math.random()*20+1)
}
var tRingRadius = getRingRadius(tRadii)
var tSquaredRadius = tRingRadius * tRingRadius
var tAngle = 0
for (var i=0; i10 ; i++) {
tCircle = this.attachMovie(circle, circle+i,
this.getNextHighestDepth())
tCircle._width = tCircle._height = tRadii[i]*2
tThisAngle = Math.atan2(tRadii[i], tRingRadius)
tAngle += tThisAngle
tDistance = Math.sqrt(tRadii[i]*tRadii[i] + tSquaredRadius)
tCircle._x = 200 + tDistance * Math.cos(tAngle)
tCircle._y = 200 + tDistance * Math.sin(tAngle)
tAngle += tThisAngle
}

NB: my previous script had my max and min mixed up so it didn't work. This
one is correct.

Danny

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

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

You guys are gods :)
Thanks so much! My problem was solved completely by slight modifications 
to Danny's script. What i'd do without this list i don't know.


- Andreas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Danton Chin

Aaron,

Your website loaded up quickly when I visited it the first time. The 
navigation appeared without having to click anywhere else. Now, however, 
after exiting both browsers it took your website several minutes to load 
your home page and I don't get any navigation in both browsers. These 
are the results that I get when I visit http://www.whitehorsemedia.com/. 
When I visit http://whitehorsemedia.com/ I get the navigation. Results 
based upon a handful of visits with some really slow dowload times.


Regards,
Danton

Aaron Roberson wrote:

Danton and Slangeberg,

You didn't have to click elsewhere on the website (namely the Home or
Contact links in the header or the navigation in the footer) in order
to get the navigation beside the horse to display? That is odd,
because on more than one computer in our office the navigation does
not load the prior to clicking elsewhere on the website.

I am going to go check it on our Mac workstation in IE 5, Firefox and 
Safari.


-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the navigation 
in the
   Flash header does not load (I am using xml to define my 
navigation and
   actionscript to parse it). However, when you click on a link in 
the
   body of the page, when that page loads the navigation in the 
header
   also loads. Once it does, you can revisit the home page and any 
other
   page and the navigation will load everytime. It just doesn't 
load the

   very first time.
  
   This started happening when I switched over to swfObject to 
embed my

   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at 
first?

   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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




--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Site Check Please - Problem with swfObject

2006-09-18 Thread Éric Thibault

Same thing for me!

Danton Chin a écrit :

Aaron,

Your website loaded up quickly when I visited it the first time. The 
navigation appeared without having to click anywhere else. Now, 
however, after exiting both browsers it took your website several 
minutes to load your home page and I don't get any navigation in both 
browsers. These are the results that I get when I visit 
http://www.whitehorsemedia.com/. When I visit 
http://whitehorsemedia.com/ I get the navigation. Results based upon a 
handful of visits with some really slow dowload times.


Regards,
Danton

Aaron Roberson wrote:

Danton and Slangeberg,

You didn't have to click elsewhere on the website (namely the Home or
Contact links in the header or the navigation in the footer) in order
to get the navigation beside the horse to display? That is odd,
because on more than one computer in our office the navigation does
not load the prior to clicking elsewhere on the website.

I am going to go check it on our Mac workstation in IE 5, Firefox and 
Safari.


-Aaron

On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:

Works fine in IE 6, as well

Scott

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 The navigation to the right of the horse and below the company name
 and tagline loaded on first try?

 What browswer are you using?

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Looked fine to me!
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   Please take a look at the folowing website:
  
   http://whitehorsemedia.com
  
   If you are visiting the page for the first time, the 
navigation in the
   Flash header does not load (I am using xml to define my 
navigation and
   actionscript to parse it). However, when you click on a link 
in the
   body of the page, when that page loads the navigation in the 
header
   also loads. Once it does, you can revisit the home page and 
any other
   page and the navigation will load everytime. It just doesn't 
load the

   very first time.
  
   This started happening when I switched over to swfObject to 
embed my

   Flash movie and to detect the clients Flash player version.
  
   Does anyone have any ideas why the navigation is not loaded at 
first?

   More importantly, what can I do to fix it?
  
   Thanks in advance,
   Aaron
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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




--

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

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


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

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



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

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




--
===

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

===

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

___

Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

Danton,

Thank you so much! You narrowed it down alright. The navigation
doesn't appear when visiting www.whitehorsemedia.com while it does
appear when visiting whitehorsemedia.com (without the preceding www).

Now I have to discover why it would work with one and not the other...

-Aaron

On 9/18/06, Danton Chin [EMAIL PROTECTED] wrote:

Aaron,

Your website loaded up quickly when I visited it the first time. The
navigation appeared without having to click anywhere else. Now, however,
after exiting both browsers it took your website several minutes to load
your home page and I don't get any navigation in both browsers. These
are the results that I get when I visit http://www.whitehorsemedia.com/.
When I visit http://whitehorsemedia.com/ I get the navigation. Results
based upon a handful of visits with some really slow dowload times.

Regards,
Danton

Aaron Roberson wrote:
 Danton and Slangeberg,

 You didn't have to click elsewhere on the website (namely the Home or
 Contact links in the header or the navigation in the footer) in order
 to get the navigation beside the horse to display? That is odd,
 because on more than one computer in our office the navigation does
 not load the prior to clicking elsewhere on the website.

 I am going to go check it on our Mac workstation in IE 5, Firefox and
 Safari.

 -Aaron

 On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
 Works fine in IE 6, as well

 Scott

 On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
 
  The navigation to the right of the horse and below the company name
  and tagline loaded on first try?
 
  What browswer are you using?
 
  -Aaron
 
  On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
   Looked fine to me!
  
   Scott
  
   On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
   
Please take a look at the folowing website:
   
http://whitehorsemedia.com
   
If you are visiting the page for the first time, the navigation
 in the
Flash header does not load (I am using xml to define my
 navigation and
actionscript to parse it). However, when you click on a link in
 the
body of the page, when that page loads the navigation in the
 header
also loads. Once it does, you can revisit the home page and any
 other
page and the navigation will load everytime. It just doesn't
 load the
very first time.
   
This started happening when I switched over to swfObject to
 embed my
Flash movie and to detect the clients Flash player version.
   
Does anyone have any ideas why the navigation is not loaded at
 first?
More importantly, what can I do to fix it?
   
Thanks in advance,
Aaron
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
  
  
  
   --
  
   : : ) Scott
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/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
 



 --

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

Re: [Flashcoders] For and Var

2006-09-18 Thread JOR
I think Laurent was trying to cast the value of a variable with a 
dynamic name to a number and not the dynamic name s+i to a number 
which can be done like this:


// assuming flashSQL.MoveNext[var8+i] can be cast to a number
// you can do it like this
this[s+i] = Number( flashSQL.MoveNext[var8+i] );

However, the text property of a textfield takes a string value, not a 
number value so casting to a number is inappropriate for the .text 
assignment.


Hope this helps,
James

James O'Reilly
www.jamesor.com


Merrill, Jason wrote:

//var [s+i]:Number = flashSQL.MoveNext[var8+i];
//Number([s+i]);

That's like black magic or something.  Several things wrong there.  You
need to learn to use some traces in your code to know where it's
breaking, but basically, the array access operator is used to evaluate
an object name in an object.  So in other words, you need to use the
proper scope

this[rec+i]

Means (on a frame script), the current timeline: rec1 instance, rec2
instance, rec3 instance, etc.

Also, name your instances starting with 0 instead of 1, will be easier
for you since arrays start at 0.

for (var i = 0; i7; i++) {
var myTempNumber:Number = //whatever  you do to get the number
 this[rec+i].text = myNumber
}

Also, s+Something will never be a number - no numbers I know of start
with s. 


Hope that helps,

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 


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

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


[Flashcoders] PocketPC and local SO

2006-09-18 Thread Andreas R
Does anyone know if the windows mobile flash player (6) supports local 
shared objects?


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

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


Re: [Flashcoders] Site Check Please - Problem with swfObject

2006-09-18 Thread Aaron Roberson

The problem is with loading the xml so I am going to open a new thread
with an appropriate heading.

Thanks everybody!
Aaron

P.S. The reason everyone was able to see the navigation was because I
included a link to http://whitehorsemedia.com which loaded it
correctly while I was visiting www.whitehorsemedia.com which was not.

On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

Danton,

Thank you so much! You narrowed it down alright. The navigation
doesn't appear when visiting www.whitehorsemedia.com while it does
appear when visiting whitehorsemedia.com (without the preceding www).

Now I have to discover why it would work with one and not the other...

-Aaron

On 9/18/06, Danton Chin [EMAIL PROTECTED] wrote:
 Aaron,

 Your website loaded up quickly when I visited it the first time. The
 navigation appeared without having to click anywhere else. Now, however,
 after exiting both browsers it took your website several minutes to load
 your home page and I don't get any navigation in both browsers. These
 are the results that I get when I visit http://www.whitehorsemedia.com/.
 When I visit http://whitehorsemedia.com/ I get the navigation. Results
 based upon a handful of visits with some really slow dowload times.

 Regards,
 Danton

 Aaron Roberson wrote:
  Danton and Slangeberg,
 
  You didn't have to click elsewhere on the website (namely the Home or
  Contact links in the header or the navigation in the footer) in order
  to get the navigation beside the horse to display? That is odd,
  because on more than one computer in our office the navigation does
  not load the prior to clicking elsewhere on the website.
 
  I am going to go check it on our Mac workstation in IE 5, Firefox and
  Safari.
 
  -Aaron
 
  On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
  Works fine in IE 6, as well
 
  Scott
 
  On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:
  
   The navigation to the right of the horse and below the company name
   and tagline loaded on first try?
  
   What browswer are you using?
  
   -Aaron
  
   On 9/18/06, slangeberg [EMAIL PROTECTED] wrote:
Looked fine to me!
   
Scott
   
On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Please take a look at the folowing website:

 http://whitehorsemedia.com

 If you are visiting the page for the first time, the navigation
  in the
 Flash header does not load (I am using xml to define my
  navigation and
 actionscript to parse it). However, when you click on a link in
  the
 body of the page, when that page loads the navigation in the
  header
 also loads. Once it does, you can revisit the home page and any
  other
 page and the navigation will load everytime. It just doesn't
  load the
 very first time.

 This started happening when I switched over to swfObject to
  embed my
 Flash movie and to detect the clients Flash player version.

 Does anyone have any ideas why the navigation is not loaded at
  first?
 More importantly, what can I do to fix it?

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

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

   
   
   
--
   
: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

I have a menu constructed from XML and I am parsing it in Flash to
create my site navigation. However, I am having a problem loading the
xml so that it is parsed and displayed on my website when accessed
directly (as in http://whitehorsemedia.com) and when accessed using
www.whitehorsemedia.com (using the preceding www).

Here is the code I am using to load my xml:
menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/menu.xml;);

If you go to http://www.whitehorsemedia.com the navigation displays
fine. But if you go to http:whitehorsemedia.com the navigation does
not display at all.

If I change the code to:
menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

I get the opposite effect.

How can I get the navigation to display at both addresses?

Thanks in advance,
Aaron Roberson
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help Loading and Displaying XML

2006-09-18 Thread Serge Jespers

Hi Aaron,

Put a crossdomain.xml in the root of the server and it will all work  
out...

The file should look like this:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/ 
dtds/cross-domain-policy.dtd

cross-domain-policy
   allow-access-from domain=whitehorsemedia.com /
   allow-access-from domain=www.whitehorsemedia.com /
/cross-domain-policy


Serge


I have a menu constructed from XML and I am parsing it in Flash to
create my site navigation. However, I am having a problem loading the
xml so that it is parsed and displayed on my website when accessed
directly (as in http://whitehorsemedia.com) and when accessed using
www.whitehorsemedia.com (using the preceding www).

Here is the code I am using to load my xml:
menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/ 
menu.xml);


If you go to http://www.whitehorsemedia.com the navigation displays
fine. But if you go to http:whitehorsemedia.com the navigation does
not display at all.

If I change the code to:
menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

I get the opposite effect.

How can I get the navigation to display at both addresses?

Thanks in advance,
Aaron Roberson
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Help Loading and Displaying XML

2006-09-18 Thread l u c h y x

Why don't use relative paths ?.


On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:


Hi Aaron,

Put a crossdomain.xml in the root of the server and it will all work
out...
The file should look like this:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
dtds/cross-domain-policy.dtd
cross-domain-policy
allow-access-from domain=whitehorsemedia.com /
allow-access-from domain=www.whitehorsemedia.com /
/cross-domain-policy


Serge

 I have a menu constructed from XML and I am parsing it in Flash to
 create my site navigation. However, I am having a problem loading the
 xml so that it is parsed and displayed on my website when accessed
 directly (as in http://whitehorsemedia.com) and when accessed using
 www.whitehorsemedia.com (using the preceding www).

 Here is the code I am using to load my xml:
 menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
 menu.xml);

 If you go to http://www.whitehorsemedia.com the navigation displays
 fine. But if you go to http:whitehorsemedia.com the navigation does
 not display at all.

 If I change the code to:
 menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

 I get the opposite effect.

 How can I get the navigation to display at both addresses?

 Thanks in advance,
 Aaron Roberson
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help Loading and Displaying XML

2006-09-18 Thread Claus Wahlers

Aaron Roberson wrote:


I have a menu constructed from XML and I am parsing it in Flash to
create my site navigation. However, I am having a problem loading the
xml so that it is parsed and displayed on my website when accessed
directly (as in http://whitehorsemedia.com) and when accessed using
www.whitehorsemedia.com (using the preceding www).


If you're using Apache, create a .htaccess file in your doc root like 
the one below, and from Flash only load assets from whitehorsemedia.com 
(without the www).


RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.whitehorsemedia\.com$ [NC]
RewriteRule ^(.*)$ http://whitehorsemedia.com/$1 [R=301,L]

Alternatively, google for crossdomain.xml, or strictly use relative paths.

Cheers,
Claus.

--
claus wahlers
côdeazur brasil
http://codeazur.com.br
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Calling Actionscript from PHP

2006-09-18 Thread Andrew Lechner

Hello,

I'm a PHP/Perl developer who's not terribly familiar with Flash or
Actionscript.  A Flash developer friend of mine suggested I try asking a
question here.

I find myself in a position where I need to call an Actionscript function
from PHP.  This PHP page is not viewed by the user, it's just called via
AJAX from another page.  The server is running FreeBSD with PHP 4.  Is there
any way to accomplish this?

I would rather avoid having this function called on the client-side due to
security concerns.

If the above is impossible or financially prohibitive (via FMS), is there a
good Actionscript to PHP converter anyone can recommend?

Thank you very much for your time,
Andrew
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

Serge,

Thank you for your help. I copied and pasted that code into a new
document named crossdomain.xml and uploaded it to the root of my
server and now it works!

Here is a page on Adobe.com about crossdomain.xml:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

This is the only legitimate fix for me since my movie is on more than
one page across several directories. Relative paths would not have
worked.

Thanks all,
Aaron

On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:

Hi Aaron,

Put a crossdomain.xml in the root of the server and it will all work
out...
The file should look like this:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
dtds/cross-domain-policy.dtd
cross-domain-policy
allow-access-from domain=whitehorsemedia.com /
allow-access-from domain=www.whitehorsemedia.com /
/cross-domain-policy


Serge

 I have a menu constructed from XML and I am parsing it in Flash to
 create my site navigation. However, I am having a problem loading the
 xml so that it is parsed and displayed on my website when accessed
 directly (as in http://whitehorsemedia.com) and when accessed using
 www.whitehorsemedia.com (using the preceding www).

 Here is the code I am using to load my xml:
 menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
 menu.xml);

 If you go to http://www.whitehorsemedia.com the navigation displays
 fine. But if you go to http:whitehorsemedia.com the navigation does
 not display at all.

 If I change the code to:
 menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);

 I get the opposite effect.

 How can I get the navigation to display at both addresses?

 Thanks in advance,
 Aaron Roberson
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Help Loading and Displaying XML

2006-09-18 Thread l u c h y x

Your movie should receive or load a URLparameter such as:
mymenu.swf?xml_config_path=?php echo $_SERVER['host']./menudp.xml;?
And you don't need to hard-code the uri in the SWF anymore.


On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:


Serge,

Thank you for your help. I copied and pasted that code into a new
document named crossdomain.xml and uploaded it to the root of my
server and now it works!

Here is a page on Adobe.com about crossdomain.xml:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

This is the only legitimate fix for me since my movie is on more than
one page across several directories. Relative paths would not have
worked.

Thanks all,
Aaron

On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:
 Hi Aaron,

 Put a crossdomain.xml in the root of the server and it will all work
 out...
 The file should look like this:

 ?xml version=1.0?
 !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
 dtds/cross-domain-policy.dtd
 cross-domain-policy
 allow-access-from domain=whitehorsemedia.com /
 allow-access-from domain=www.whitehorsemedia.com /
 /cross-domain-policy


 Serge

  I have a menu constructed from XML and I am parsing it in Flash to
  create my site navigation. However, I am having a problem loading the
  xml so that it is parsed and displayed on my website when accessed
  directly (as in http://whitehorsemedia.com) and when accessed using
  www.whitehorsemedia.com (using the preceding www).
 
  Here is the code I am using to load my xml:
  menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
  menu.xml);
 
  If you go to http://www.whitehorsemedia.com the navigation displays
  fine. But if you go to http:whitehorsemedia.com the navigation does
  not display at all.
 
  If I change the code to:
  menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);
 
  I get the opposite effect.
 
  How can I get the navigation to display at both addresses?
 
  Thanks in advance,
  Aaron Roberson
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/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





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Help Loading and Displaying XML

2006-09-18 Thread Aaron Roberson

Luchyx,

Thanks for the suggestion, I am going to pass in the url using flash
vars as you have suggested.

-Aaron

On 9/18/06, l u c h y x [EMAIL PROTECTED] wrote:

Your movie should receive or load a URLparameter such as:
mymenu.swf?xml_config_path=?php echo $_SERVER['host']./menudp.xml;?
And you don't need to hard-code the uri in the SWF anymore.


On 9/18/06, Aaron Roberson [EMAIL PROTECTED] wrote:

 Serge,

 Thank you for your help. I copied and pasted that code into a new
 document named crossdomain.xml and uploaded it to the root of my
 server and now it works!

 Here is a page on Adobe.com about crossdomain.xml:
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

 This is the only legitimate fix for me since my movie is on more than
 one page across several directories. Relative paths would not have
 worked.

 Thanks all,
 Aaron

 On 9/18/06, Serge Jespers [EMAIL PROTECTED] wrote:
  Hi Aaron,
 
  Put a crossdomain.xml in the root of the server and it will all work
  out...
  The file should look like this:
 
  ?xml version=1.0?
  !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/
  dtds/cross-domain-policy.dtd
  cross-domain-policy
  allow-access-from domain=whitehorsemedia.com /
  allow-access-from domain=www.whitehorsemedia.com /
  /cross-domain-policy
 
 
  Serge
 
   I have a menu constructed from XML and I am parsing it in Flash to
   create my site navigation. However, I am having a problem loading the
   xml so that it is parsed and displayed on my website when accessed
   directly (as in http://whitehorsemedia.com) and when accessed using
   www.whitehorsemedia.com (using the preceding www).
  
   Here is the code I am using to load my xml:
   menu_xml.load(http://www.whitehorsemedia.com/inc/navigation/
   menu.xml);
  
   If you go to http://www.whitehorsemedia.com the navigation displays
   fine. But if you go to http:whitehorsemedia.com the navigation does
   not display at all.
  
   If I change the code to:
   menu_xml.load(http://whitehorsemedia.com/inc/navigation/menu.xml;);
  
   I get the opposite effect.
  
   How can I get the navigation to display at both addresses?
  
   Thanks in advance,
   Aaron Roberson
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/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




--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


[Flashcoders] Using transform matrix

2006-09-18 Thread Jiri Heitlager
I need to build an application for a client to scale and rotate an 
image. I am thinking of using a tranfomation matrix, but am not so 
familiar with it. I read the article of Senocular:

http://www.senocular.com/flash/tutorials/transformmatrix/
i did some tests.
The app itself places four handlers on each corner of the image. 
Pressing the handlers and dragging them scales the image. My idea is to 
scale and replace the image when a handler is drag. I ran into trouble 
when trying to read the width of the image from the matrix.

My question, is it possible to calculate the width based on the matrix grid?

Thank you
Jiri


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

2006-09-18 Thread Mark Lapasa
You can have your Flash Client connect to a PHP Socket. When events happen
on the server-side, notify the socket which the Flash client will listen for
new data from the backend. The ActionScript XMLSocket handler will need to
fire the client-side method. Whoever is doing the ActionScript side of
things need not handle just XML, it can also handle URL-encoded strings.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Lechner
Sent: Monday, September 18, 2006 3:39 PM
To: Flashcoders
Subject: [Flashcoders] Calling Actionscript from PHP


Hello,

I'm a PHP/Perl developer who's not terribly familiar with Flash or
Actionscript.  A Flash developer friend of mine suggested I try asking a
question here.

I find myself in a position where I need to call an Actionscript function
from PHP.  This PHP page is not viewed by the user, it's just called via
AJAX from another page.  The server is running FreeBSD with PHP 4.  Is there
any way to accomplish this?

I would rather avoid having this function called on the client-side due to
security concerns.

If the above is impossible or financially prohibitive (via FMS), is there a
good Actionscript to PHP converter anyone can recommend?

Thank you very much for your time,
Andrew
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] search text file for keyword and add button

2006-09-18 Thread Kurt Dommermuth

Hi All,

First, I apologize if this was covered already.  If so, please point me in 
the right direction.


I need to search through dynamic text for a keyword, create a highlight or 
button of some sort over it that links to a glossary.


I don't see a problem finding the keyword, but I do see a problem getting 
it's coordinates.


Has anyone done this already?  it just seems like one of those things that 
is probably already packaged up.


if not, anyone have experience finding the x and y value for a letter in 
dynamic text?


thank you very much in advance,
Kurt

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

2006-09-18 Thread Jordan Snyder

Anything executed within Flash is client-side.  If you're talking about
avoiding calling a Flash function via JavaScript, then there are ways to do
so, but yes, you would need something that is constantly connected to the
Flash client, such as FMS or an XMLSocket server.  That is the only way that
I know of to achieve server push, which is what you apparently want.
Something you might consider is having Flash hit a PHP url every n seconds
and check for an updated variable that would be set when the AJAX call hits
the server.  If the variable has changed, PHP can notify Flash and Flash can
update itself accordingly.

HTH


On 9/18/06, Andrew Lechner [EMAIL PROTECTED] wrote:


Hello,

I'm a PHP/Perl developer who's not terribly familiar with Flash or
Actionscript.  A Flash developer friend of mine suggested I try asking a
question here.

I find myself in a position where I need to call an Actionscript function
from PHP.  This PHP page is not viewed by the user, it's just called via
AJAX from another page.  The server is running FreeBSD with PHP 4.  Is
there
any way to accomplish this?

I would rather avoid having this function called on the client-side due to
security concerns.

If the above is impossible or financially prohibitive (via FMS), is there
a
good Actionscript to PHP converter anyone can recommend?

Thank you very much for your time,
Andrew
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--
Jordan Snyder
Applications Developer
Image Action LLC
http://www.imageaction.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] Find item in array

2006-09-18 Thread Mendelsohn, Michael
Hi list...

Is there an easy/quick way to find out if an item is in an array?  For
instance:
Var a:Array = [a,b,c,d];
Var y:Number = a[b];
//y would be the position in the array of b or undefined if it's not
in the array/

I'm looking for the equivalent of Director's getOne() function.

Thanks,
- Michael M.

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

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


RE: [Flashcoders] My First oop AS 2.0 project, any tips or comments?

2006-09-18 Thread Mark Lapasa
It's good, it's not at bad. You got something going there. You got pretty
much the syntax and structure. Moock's book is a great introduction to get
started with OO in Flash. One suggestion to make is that your setX() and
setY() methods are suitable candidate for using setter/getter methods.




-mL
knowledge.lapasa.net

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dave
Geurts
Sent: Saturday, September 16, 2006 4:49 PM
To: Flashcoders mailing list
Subject: [Flashcoders] My First oop AS 2.0 project, any tips or
comments?




  Ok Im taking the plunge, I just got Colin Mooks Book Essential
ActionScript 2.0  Started reading it last night as my first exposure to OOP.
I have coded something very simple that display 3 buttons in a menu for a
game. If anybody has time to look over my organization and code that would
be Awesome. I would like to correct bad habits before they are formed!!!

  THANK you to anyone that has time to check this out!!!


   source code: http://www.davegeurts.com/MiniGame.zip


  -Dave Geurts


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

2006-09-18 Thread Rich Rodecker

I think we can probably help you o ut better if we had a better idea of what
you were trying to accomplish.  As prviously stated, actionscript is always
going to execute inside, when you are dealing with the flash player.
Sockets can be one way of dealing with the issue, but it may be
overkill...for instance, do you need to fire this function just once as the
page initially loads, or at any random time?



On 9/18/06, Jordan Snyder [EMAIL PROTECTED] wrote:


Anything executed within Flash is client-side.  If you're talking about
avoiding calling a Flash function via JavaScript, then there are ways to
do
so, but yes, you would need something that is constantly connected to the
Flash client, such as FMS or an XMLSocket server.  That is the only way
that
I know of to achieve server push, which is what you apparently want.
Something you might consider is having Flash hit a PHP url every n seconds
and check for an updated variable that would be set when the AJAX call
hits
the server.  If the variable has changed, PHP can notify Flash and Flash
can
update itself accordingly.

HTH


On 9/18/06, Andrew Lechner [EMAIL PROTECTED] wrote:

 Hello,

 I'm a PHP/Perl developer who's not terribly familiar with Flash or
 Actionscript.  A Flash developer friend of mine suggested I try asking a
 question here.

 I find myself in a position where I need to call an Actionscript
function
 from PHP.  This PHP page is not viewed by the user, it's just called via
 AJAX from another page.  The server is running FreeBSD with PHP 4.  Is
 there
 any way to accomplish this?

 I would rather avoid having this function called on the client-side due
to
 security concerns.

 If the above is impossible or financially prohibitive (via FMS), is
there
 a
 good Actionscript to PHP converter anyone can recommend?

 Thank you very much for your time,
 Andrew
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
Jordan Snyder
Applications Developer
Image Action LLC
http://www.imageaction.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] search text file for keyword and add button

2006-09-18 Thread Kurt Dommermuth

I'll reply to my own message.

I'm finding some threads in the archive that discuss this.

Hopefully there'll be something definitive there.

sorry to rehash this.  thank you!

Kurt

At 04:23 PM 9/18/2006, you wrote:


Hi All,

First, I apologize if this was covered already.  If so, please point me in 
the right direction.


I need to search through dynamic text for a keyword, create a highlight or 
button of some sort over it that links to a glossary.


I don't see a problem finding the keyword, but I do see a problem getting 
it's coordinates.


Has anyone done this already?  it just seems like one of those things that 
is probably already packaged up.


if not, anyone have experience finding the x and y value for a letter in 
dynamic text?


thank you very much in advance,
Kurt

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

2006-09-18 Thread Merrill, Jason
Is there an easy/quick way to find out if an item is in an array?  

No built in methods I know of.  But quick and easy, is just to loop.
Something like:

public function findStringItem(theArray:Array,
identifier:String):Number{
var i:Number = theArray.length
while (--i -(-1)) {
if(theArray[i] == identifier){
return i;
}   
}
}



Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael
Sent: Monday, September 18, 2006 4:39 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Find item in array

Hi list...

Is there an easy/quick way to find out if an item is in an array?  For
instance:
Var a:Array = [a,b,c,d];
Var y:Number = a[b];
//y would be the position in the array of b or undefined if it's not
in the array/

I'm looking for the equivalent of Director's getOne() function.

Thanks,
- Michael M.

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

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

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


Re: [Flashcoders] Flash Player 9 textfield problem

2006-09-18 Thread John Dowdell

Telmo Dias wrote:
Never mind this post. It's a known issue when using the 
wmode=transparent, which is described here:


http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/ 


Browsers vary. With WMODE, we're piping the Player's rendering in to the 
browser. They don't all do stuff the same.


For any WMODE, ExternalInterface, network request, the identity of the 
browser in the problem statement is the key factor. These symptoms vary 
by browser, not Player.


It's also why, in the initial post, the first question in reply is 
frequently Does this happen with some-or-all SWF, in some-or-all 
browsers, on some-or-all machines and so on... fast way of identifying 
any special content differences, such as asking the browser to include 
plugin content in its own rendering pipeline.


jd





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

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


[Flashcoders] Embed fonts problem

2006-09-18 Thread Leonardo Sá

Hello all,

I have set up a regular dynamic text field in flash. However, when I try to
embed a font on it (which is Arial) it just wont show up. It shows no text
at all where it supposed to be. When i use no embedded fonts, the text shows
up fine, but anti-alias does not work. Any ideas?

best regards,

--
Leonardo Sá
EMBRATI - Soluções on-line
Rua Conde d'Eu 118 - Boa Vista
(81) 8822 7374
(81) 3221 2494
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] htmlText javascript link being ignored in Safari

2006-09-18 Thread Marlon Harrison

I have a dynamic text field where I create an html link based on a
couple of pieces of data.

Here's an example of the code for the link:

var aTag:String = p class = 'landing'a
href=\javascript:openVidPlayer('/vidplayer.html?video=+sel.v_id+category=+sel.cat+');\
target = '_parent'+sel.ttl+/a/p;

My problem is that the popup works fine in Windows IE, Mac/Win Firefox
just fine. It won't work in Safari. It shows as link, but when you
click, nothing happens. Can anyone think of a reason why this wouldn't
work?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] flv playback component question...

2006-09-18 Thread badi malik
hi,
I've noticed that the cuePoints array is often null even when the component is 
already on stage and i fill in the parameters in the properties box...does 
anyone know the real location of the cue points?...when i try to call 
findNearestCuePoint i get error msgs...the metadata contains the navigation cue 
points alright, but the actionscript cue points aren't where they're supposed 
to be...i know they exist because the app responds to them just fine...
 
note: i'm not using fms...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Embed fonts problem

2006-09-18 Thread Craig Taylor

Leonardo
Type some text into the text field anything like 'text field' and it 
will then show.

Cheers-Craig

Leonardo Sá wrote:

Hello all,

I have set up a regular dynamic text field in flash. However, when I 
try to
embed a font on it (which is Arial) it just wont show up. It shows no 
text
at all where it supposed to be. When i use no embedded fonts, the text 
shows

up fine, but anti-alias does not work. Any ideas?

best regards,



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

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


RE: [Flashcoders] htmlText javascript link being ignored in Safari

2006-09-18 Thread Mike Keesey
I can think of a reason:

SAFARI SUCKS!!!

Sorry, I can't be more helpful; just had to get that out there. ;)

Okay, I'll try to be a little helpful--have you tried putting an alert()
call in your JS function to see if Safari's calling it at all? Or,
better yet, try calling the function from an HTML link (a href=#
onclick=openVidPlayer...). This may help narrow down where the failure
is occuring.
―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Marlon Harrison
 Sent: Monday, September 18, 2006 2:36 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] htmlText javascript link being ignored in
Safari
 
 I have a dynamic text field where I create an html link based on a
 couple of pieces of data.
 
 Here's an example of the code for the link:
 
 var aTag:String = p class = 'landing'a

href=\javascript:openVidPlayer('/vidplayer.html?video=+sel.v_id+cate
go
 ry=+sel.cat+');\
 target = '_parent'+sel.ttl+/a/p;
 
 My problem is that the popup works fine in Windows IE, Mac/Win Firefox
 just fine. It won't work in Safari. It shows as link, but when you
 click, nothing happens. Can anyone think of a reason why this wouldn't
 work?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Embed fonts problem

2006-09-18 Thread Aaron Roberson

Did you choose export to first frame in the linkage property? Right
click on the embeded font in the library and choose linkage to set
this.

HTH,
Aaron

On 9/18/06, Leonardo Sá [EMAIL PROTECTED] wrote:

Hello all,

I have set up a regular dynamic text field in flash. However, when I try to
embed a font on it (which is Arial) it just wont show up. It shows no text
at all where it supposed to be. When i use no embedded fonts, the text shows
up fine, but anti-alias does not work. Any ideas?

best regards,

--
Leonardo Sá
EMBRATI - Soluções on-line
Rua Conde d'Eu 118 - Boa Vista
(81) 8822 7374
(81) 3221 2494
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] Embed fonts problem

2006-09-18 Thread Leonardo Sá

Actually im setting it via actionscript like:

instancename.text = something;

something will show up just fine if i dont use any embedded fonts. It wont
otherwise.

Thanks for the reply!



On 9/18/06, Craig Taylor [EMAIL PROTECTED] wrote:


Leonardo
Type some text into the text field anything like 'text field' and it
will then show.
Cheers-Craig

Leonardo Sá wrote:
 Hello all,

 I have set up a regular dynamic text field in flash. However, when I
 try to
 embed a font on it (which is Arial) it just wont show up. It shows no
 text
 at all where it supposed to be. When i use no embedded fonts, the text
 shows
 up fine, but anti-alias does not work. Any ideas?

 best regards,


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

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





--
Leonardo Sá
EMBRATI - Soluções on-line
Rua Conde d'Eu 118 - Boa Vista
(81) 8822 7374
(81) 3221 2494
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] htmlText javascript link being ignored in Safari

2006-09-18 Thread Iv
Hello Marlon,

- use allowDomain=always in html.

MH I have a dynamic text field where I create an html link based on a
MH couple of pieces of data.

MH Here's an example of the code for the link:

MH var aTag:String = p class = 'landing'a
MH 
href=\javascript:openVidPlayer('/vidplayer.html?video=+sel.v_id+category=+sel.cat+');\
target = '_parent'+sel.ttl+/a/p;

MH My problem is that the popup works fine in Windows IE, Mac/Win Firefox
MH just fine. It won't work in Safari. It shows as link, but when you
MH click, nothing happens. Can anyone think of a reason why this wouldn't
MH work?
MH ___
MH Flashcoders@chattyfig.figleaf.com
MH To change your subscription options or search the archive:
MH http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

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

2006-09-18 Thread slangeberg

Yeah, you may want to try an indexed(?, sorry tired!) array:

var a:Array = new Array();
a[b]  = 1;
.
.
a[d] = 4;

then,

var y:Number = a[b];

will result in y == 1;

Scott

On 9/18/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Hi list...

Is there an easy/quick way to find out if an item is in an array?  For
instance:
Var a:Array = [a,b,c,d];
Var y:Number = a[b];
//y would be the position in the array of b or undefined if it's not
in the array/

I'm looking for the equivalent of Director's getOne() function.

Thanks,
- Michael M.

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

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





--

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

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


[Flashcoders] more flv playback component questions...

2006-09-18 Thread badi malik
hi again,
 
does anyone know how to make the playback component respond to minutes...it 
appears as though it only like seconds but doesn't like something like 64 
seconds...
 
thanks
 
b
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Kongregate

2006-09-18 Thread Jim Greer

Hi all -

I want to announce my soon-to-launch Flash game startup to this list - I'm
looking for game developers and players. The site takes games uploaded by
indie developers and puts them into a rich community framework with
persistent rewards, metagames, collectible items, chat, etc. Game developers
make up to 50% of the revenue we get from rich media ads and
microtransactions.

Basically we're building a community around web games. When I say
community, I don't just mean chat and profiles. It's more like turning
individual web games into something that have some of the addictive
qualities of an MMO. For those of you who play World of Warcraft - what
keeps you playing after you get a little bored with the quest that you're
working on? I think it's things like this:

- you are about to level up
- you are about to earn some rare item
- your friend is coming online in a minute and you said you'd quest with
them

Basically it boils down to: you've got goals that go beyond a single play
session, and you're online so everyone you play with can see/admire your
progress. We have analogues for all of those rewards.

So what we're creating is a game portal with:

- chat
- profiles
- challenges and collectible items
- microtransactions for premium features
- leagues
- loyalty points for rating games, suggesting features, etc
- rich media ads

As I said, we're making money off rich media ads and splitting that. We're
also opening up the microtransaction API so developers can charge for
premium content in their own games (extra levels, gameplay modes, etc) --
we'll take a much smaller cut of that revenue.

We're launching a private alpha version in a couple of weeks - if you're
interested in participating you can email me. Preference will be given to
those who have games to upload! Initially, our usage will be low so the
revenue share won't be significant - to make up for that we'll be having
cash prizes for Game of the Week and Game of the Month.

Also, we're hiring developers to help us make our own games, as well as
extend the API feature set. The first game we're making is a collectible
card game, played online - you win the cards by completing challenges in
user-uploaded games.


Jim Greer
[EMAIL PROTECTED]
Company: http://kongregate.com
Blog: http://jimonwebgames.com

home: 159 Dolores #4, SF CA 94103
work: 430 Fillmore Suite A, SF CA 94117
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: Re: [Flashcoders] htmlText javascript link being ignored in Safari

2006-09-18 Thread Marlon Harrison

Do you mean allowScriptAccess? I tried allowScriptAccess and that
didn't work.  I've never heard of allowDomain

On 9/18/06, Iv [EMAIL PROTECTED] wrote:

Hello Marlon,

- use allowDomain=always in html.

MH I have a dynamic text field where I create an html link based on a
MH couple of pieces of data.

MH Here's an example of the code for the link:

MH var aTag:String = p class = 'landing'a
MH 
href=\javascript:openVidPlayer('/vidplayer.html?video=+sel.v_id+category=+sel.cat+');\
target = '_parent'+sel.ttl+/a/p;

MH My problem is that the popup works fine in Windows IE, Mac/Win Firefox
MH just fine. It won't work in Safari. It shows as link, but when you
MH click, nothing happens. Can anyone think of a reason why this wouldn't
MH work?
MH ___
MH Flashcoders@chattyfig.figleaf.com
MH To change your subscription options or search the archive:
MH http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



--
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

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

2006-09-18 Thread JOR


Merrill, Jason wrote:

 while (--i -(-1)) {



Jason, very interesting way of counting through the array.  I haven't 
see this approach before.  Are there any benefits to using (--i -(-i)) 
in the expression over something like the following?:


while (i--) {

It seems like your loop would need to do two calculations each trip. 
One for decrementing i and the second for adding 1 to it to keep the 
number above zero so it returns true.  If you decrement i after the 
condition using i-- instead of before the condition with --i you won't 
need add 1 to it.  Just an idea.


However, as far as I know you're right looping through the array in AS 
2.0 is the only way to find the index of an item.  You might also want 
to use === instead of == to do strict comparing so 12 doesn't equal 
12.  Depends on what you need tho.


One thing I might add to your function is the ability to return -1 
instead of undefined when an item isn't found which is more consistent 
with the String.indexOf method.


Thankfully, in AS 3.0 there is a method to find the index and as fate 
would have it it's called indexOf().  It returns either the index if 
found or -1 if not found.  You would use it like:


var idx:Number = a.indexOf(d);

Cheers,
-- James


James O'Reilly
www.jamesor.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] Find item in array

2006-09-18 Thread Steven Sacks | BLITZ
It's the fastest because:

Pre-decrementation (--i) is faster than post-decrementation (i--)
And substraction (- (-1) is faster than addition (+ 1).

They are faster because it's less code that gets produced when you
compile.
http://flasm.sourceforge.net/#optimization

For most cases, it's a matter of milliseconds or even less, which isn't
that big a deal, but I use it anyway because it's a good habit to have
and it makes my code logic work with that in mind always so when it does
make a difference in seconds, it's already there.


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

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


[Flashcoders] ::dk:: getColumnNames not returning all column names

2006-09-18 Thread dnk

Hi there.

I have a remoting app in which i use PHP/amfphp to get data into my app.

Now in my PHP I have the following SQL query performed to create a join 
on 2 tables...


SELECT dkcms_photo.*, dkcms_profiles.uFname FROM dkcms_photo LEFT JOIN 
dkcms_profiles ON dkcms_profiles.uId = dkcms_photo.phUsername ORDER BY 
phMod DESC


Now when I test the query (by running at the mysql command line), all 
the data is returned as expected.


I then test the php in the amfphp service browser and again - same thing 
all data is returned as expected.


Now - in flash

When I try to access the one column name returned by the join - I get 
undefined. So I then used the getColumnNames function (and trace the 
results) to see what is actually being listed in flash Well as 
expected, none of the columns from the second table are actually making 
it into flash.


Does anyone have any ideas?

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