[Flashcoders] interesting AS2 SharedObject bug

2011-05-05 Thread Andrew Sinning
I'm using an AS2 SharedObject along with Red5 to synchronize a group
of user in a real-time game.  I found an interesting bug.

I have an array:

  var someArray:Array = [1,2,3];

I have a dataObject that contains someArray and some other properties:

  dataObject = {
 someProperty: 1,
 someArray: someArray:Array,
 etc...
  }

Then, in my shared object I have references to both dataObject (which
contains someArray) AND someArray

  sharedObject.currentState = {
   dataObject: dataObject,
   someArray: someArray }

After making the change to sharedObject.currentState, when the
synchronized movie checks the value of

  sharedObject.currentState.someArray

its value is equal to

  sharedObject.currentState.dataObject

In conclusion, it appears that the SharedObject does not like it when
multiple references to the same object are included in a sharedObject.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] IE7 reload stageWidth bug

2010-04-08 Thread Mattheis, Erik (MIN - WSW)
I'm up against the bug discussed here: 
http://code.google.com/p/swfobject/issues/detail?id=3 - on page reload, IE7 
returns 0 for stage.stageWidth and stage.stageHeight.

As a quick fix, I hardcoded stageWidth and stageHeight, but I need a solution 
that will allow the movie to figure things out on its own as it's meant to be 
embedded by others at any size they want.

How have others dealt with this?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

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


Re: [Flashcoders] strange Text Rendering Bug : SOLVED + BUG found

2010-02-02 Thread artur

seems like the standard wmode=”gpu is BUGGY!

only for Mac 10.5 (Leopard) on either FF or Safari with Flash 10

“GPU” is full hardware accelerated composing.

turn that shit off people!

*Artur Maklyarevsky | CEO *

folio: *design2dev.com* http://www.linkedin.com/in/design2dev
voice: 646.797.3320
info : *linkedIN http://www.linkedin.com/in/design2dev*
skype: Skype Me™! callto://artur_Design2Dev


On 2/1/2010 11:28 AM, artur wrote:

apologies,

i thought the screenshot would have been evidently clear.

what you should be seeing ( behind the main nav menu )
is many textfields, with black text on a white background

but the bug is showing the text fields reversed in color, with the 
text knocked out.
this only happens on these browsers Mac 10.5 with FireFox 3.6 and 
Safari 4.0.4


thanks

*Artur Maklyarevsky | CEO *

folio: *design2dev.com* http://www.linkedin.com/in/design2dev
voice: 646.797.3320
info : *linkedIN http://www.linkedin.com/in/design2dev*
skype: Skype Me™! callto://artur_Design2Dev


On 1/29/2010 10:36 PM, jonathan howe wrote:
Yup, the page loads I don't know what I'm looking for. I see a lot of 
broken looking stuff. Try some descriptive text next time.


On Fri, Jan 29, 2010 at 4:51 PM, Nathan Mynarcik nat...@mynarcik.com 
mailto:nat...@mynarcik.com wrote:


Why what happens?

That link has nothing flash on it.


--Original Message--
From: artur
Sender: flashcoders-boun...@chattyfig.figleaf.com
mailto:flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: ar...@artur.com mailto:ar...@artur.com
ReplyTo: Flash Coders List
Subject: [Flashcoders] strange Text Rendering Bug
Sent: Jan 29, 2010 3:20 PM

http://skitch.com/menslow/n18yk/main

Mac 10.5 with FireFox 3.6 and Safari 4.0.4
flash vrsn is: 10.0.42.34

any ideas why this is happens?

thanks

- art

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com mailto:nat...@mynarcik.com
254.749.2525
www.mynarcik.com http://www.mynarcik.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
-jonathan howe

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



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


Re: [Flashcoders] strange Text Rendering Bug

2010-02-01 Thread artur

apologies,

i thought the screenshot would have been evidently clear.

what you should be seeing ( behind the main nav menu )
is many textfields, with black text on a white background

but the bug is showing the text fields reversed in color, with the text 
knocked out.
this only happens on these browsers Mac 10.5 with FireFox 3.6 and Safari 
4.0.4


thanks

*Artur Maklyarevsky | CEO *

folio: *design2dev.com* http://www.linkedin.com/in/design2dev
voice: 646.797.3320
info : *linkedIN http://www.linkedin.com/in/design2dev*
skype: Skype Me™! callto://artur_Design2Dev


On 1/29/2010 10:36 PM, jonathan howe wrote:
Yup, the page loads I don't know what I'm looking for. I see a lot of 
broken looking stuff. Try some descriptive text next time.


On Fri, Jan 29, 2010 at 4:51 PM, Nathan Mynarcik nat...@mynarcik.com 
mailto:nat...@mynarcik.com wrote:


Why what happens?

That link has nothing flash on it.


--Original Message--
From: artur
Sender: flashcoders-boun...@chattyfig.figleaf.com
mailto:flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: ar...@artur.com mailto:ar...@artur.com
ReplyTo: Flash Coders List
Subject: [Flashcoders] strange Text Rendering Bug
Sent: Jan 29, 2010 3:20 PM

http://skitch.com/menslow/n18yk/main

Mac 10.5 with FireFox 3.6 and Safari 4.0.4
flash vrsn is: 10.0.42.34

any ideas why this is happens?

thanks

- art

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com mailto:nat...@mynarcik.com
254.749.2525
www.mynarcik.com http://www.mynarcik.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
-jonathan howe

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


[Flashcoders] strange Text Rendering Bug

2010-01-29 Thread artur

http://skitch.com/menslow/n18yk/main

 Mac 10.5 with FireFox 3.6 and Safari 4.0.4
flash vrsn is: 10.0.42.34

any ideas why this is happens?

thanks

- art

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


Re: [Flashcoders] strange Text Rendering Bug

2010-01-29 Thread Nathan Mynarcik
Why what happens?

That link has nothing flash on it. 


--Original Message--
From: artur
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: ar...@artur.com
ReplyTo: Flash Coders List
Subject: [Flashcoders] strange Text Rendering Bug
Sent: Jan 29, 2010 3:20 PM

http://skitch.com/menslow/n18yk/main

  Mac 10.5 with FireFox 3.6 and Safari 4.0.4
flash vrsn is: 10.0.42.34

any ideas why this is happens?

thanks

- art

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


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] strange Text Rendering Bug

2010-01-29 Thread jonathan howe
Yup, the page loads I don't know what I'm looking for. I see a lot of broken
looking stuff. Try some descriptive text next time.

On Fri, Jan 29, 2010 at 4:51 PM, Nathan Mynarcik nat...@mynarcik.comwrote:

 Why what happens?

 That link has nothing flash on it.


 --Original Message--
 From: artur
 Sender: flashcoders-boun...@chattyfig.figleaf.com
 To: Flash Coders List
 ReplyTo: ar...@artur.com
 ReplyTo: Flash Coders List
 Subject: [Flashcoders] strange Text Rendering Bug
 Sent: Jan 29, 2010 3:20 PM

 http://skitch.com/menslow/n18yk/main

  Mac 10.5 with FireFox 3.6 and Safari 4.0.4
 flash vrsn is: 10.0.42.34

 any ideas why this is happens?

 thanks

 - art

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


 Nathan Mynarcik
 Interactive Web Developer
 nat...@mynarcik.com
 254.749.2525
 www.mynarcik.com
  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-21 Thread John McCormack
I never use Flash Prof. CS4 for coding because the Actions panel is not 
good enough, I just use it to produce graphics exported as swc's for use 
in Flex Builder.


Apart from the problems mentioned, Flex Builder 3 is great.

I have heard so many good reports of Flash Develop that I must try it 
again but I couldn't manage without the Flex Builder 3 debugger and I 
haven't yet exploited the profiler.


John


mike donnelly wrote:

CS4 panels are a bloody mess. My personal bugbear is the library and
property panels getting in each others' way. You have to click on both
before you can get the one you want to see in front of the other.

I recommend FlashDevelop for coding too. You'll *never* go back to the
actions panel.

Or get a second screen and throw all your misbehaving panels into that.

2009/9/18 Isaac Alves isaacal...@gmail.com

  

Pedro, that works, but this way I惴 forced to always have this actions
buttons on the screen (when I press F9) and that is quite boring ,
cause (at least for me) it stands in front of important stuff . I 惴
used to F9 to open /close the acitons panel.

I惻l give a try on FlashDevelop!

thanks everyone for replying,
cheers

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



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


  



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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-20 Thread mike donnelly
CS4 panels are a bloody mess. My personal bugbear is the library and
property panels getting in each others' way. You have to click on both
before you can get the one you want to see in front of the other.

I recommend FlashDevelop for coding too. You'll *never* go back to the
actions panel.

Or get a second screen and throw all your misbehaving panels into that.

2009/9/18 Isaac Alves isaacal...@gmail.com

 Pedro, that works, but this way I惴 forced to always have this actions
 buttons on the screen (when I press F9) and that is quite boring ,
 cause (at least for me) it stands in front of important stuff . I 惴
 used to F9 to open /close the acitons panel.

 I惻l give a try on FlashDevelop!

 thanks everyone for replying,
 cheers

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

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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-18 Thread John McCormack

In Flex Builder 3 the project properties panels do something similar.
On the left pane are the options and on the right are a details pane.
The details pane often has it's boxes and tabs misplaced (off screen).
By dragging the separating edge between left and right panes you can fix 
some of it.
In some case you also need to wave the mouse, like a magic wand, and the 
tabs reappear.

In other cases I can't get to the options in the boxes.

Recently I find that I get a black hole (rectangular) in the topmost 
edited file's pane.

If I scroll with the wheel mouse only part of the pane updates.
Once I switch tabs and back its okay.
This hole may have arrived when I added more memory but I can't be sure.

It all sounds like the same kind of problem.

John

CS4, Flex Builder 3, Vista x64

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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-18 Thread Isaac Alves
Pedro, that works, but this way I´m forced to always have this actions
buttons on the screen (when I press F9) and that is quite boring ,
cause (at least for me) it stands in front of important stuff . I ´m
used to F9 to open /close the acitons panel.

I´ll give a try on FlashDevelop!

thanks everyone for replying,
cheers

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


[Flashcoders] panels / workspace CS4 bug

2009-09-17 Thread Isaac Alves
why my actions panel on flash cs4 often gets its height (I don´t know
how ), higher than the screen height in a way i cannot resize it back
?

Thus, the only way out of this is reseting a default workspace, and
then I lose my saved workspace.

does it happens to you people too?
maybe I should try the flashBuilder...

thanks !!

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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-17 Thread Glen Pike
No, but I get problems with the docking panel stack order messing up 
in CS3 - if I have SWF's that run @ the screen size, the IDE gets it's 
knickers in a twist sometimes and stacks the SWF behind the panels...


Only way to fix is to delete the workspace file - because I have to keep 
doing this, I made a copy of a working file and normally restore that 
which fixes stuff.


The GUI stuff has been really flaky in the last 2 versions of Flash - I 
hate it because redrawing is so slow, before you know it your panel has 
automatically snapped into a dock somewhere totally bizarre / invisible...


Adobe Fix Some GUI (And Sockets)

Isaac Alves wrote:

why my actions panel on flash cs4 often gets its height (I don´t know
how ), higher than the screen height in a way i cannot resize it back
?

Thus, the only way out of this is reseting a default workspace, and
then I lose my saved workspace.

does it happens to you people too?
maybe I should try the flashBuilder...

thanks !!

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

  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


Re: [Flashcoders] panels / workspace CS4 bug

2009-09-17 Thread Pedro Kostelec
It often happens to me too and it's boring.  But you don't have to reset the
workspace, you just have to minimize the action panel by click on the top
darker bar, then open it by clicking the new Actions buttons and there
resize.

am i clear enough?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] panels / workspace CS4 bug

2009-09-17 Thread Merrill, Jason
 maybe I should try the flashBuilder...

Try FlashDevelop - www.flashdevelop.org.  Flashbuilder is still actually
Flexbuilder and you have to pay for it.  FlashDevelop is the best free
AS editor out there.  I don't know why anyone would spend blood, sweat
and tears in the Actions panel in Flash CS3/4 unless they were just
doing some light coding on the timeline.  Just my opinion.


Jason Merrill 

Bank of  America   Global Learning 
Learning  Performance Soluions

Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers, and outside experts in
the borader multimedia community - join the Bank of America Flash
Platform Community  (note: this is for Bank of America employees only)


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


[Flashcoders] AS3.0 QName class bug?

2009-01-11 Thread David Bellerive
The AS3.0 documentation states that when a QName instance does not have a URI 
(it only has a local name), it will match any namespace.

However, when I create a new QName instance like this

var myQName:QName = new QName(null, images);

and use that QName instance like this

var results:XMLList = myXMLInstance.elements(myQName);

my variable named results should contain an XMLList instance with every XML 
child element whose local name is images and whose namespace can be anything 
because my QName instance has a URI set to null. However, this doesn't work as 
expected. My QName instance does not match any XML element with a local name 
images that has a namespace.

Any ideas?


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


Re: [Flashcoders] AS3.0 QName class bug?

2009-01-11 Thread Steve Mathews
Here is another way of doing the same thing:

myXMLInstance..*::images;


Steve

On Sun, Jan 11, 2009 at 10:34 AM, David Bellerive david_beller...@yahoo.com
 wrote:

 The AS3.0 documentation states that when a QName instance does not have a
 URI (it only has a local name), it will match any namespace.

 However, when I create a new QName instance like this

 var myQName:QName = new QName(null, images);

 and use that QName instance like this

 var results:XMLList = myXMLInstance.elements(myQName);

 my variable named results should contain an XMLList instance with every XML
 child element whose local name is images and whose namespace can be
 anything because my QName instance has a URI set to null. However, this
 doesn't work as expected. My QName instance does not match any XML element
 with a local name images that has a namespace.

 Any ideas?



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

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


[Flashcoders] LoaderInfo extremely annoying bug!!

2008-12-15 Thread Taka Kojima
private function loadImage(imageID:String):void{
var gallery:XML = XML(_xml.gallery.(@id == currentGallery));
var image:XML = XML(gallery.image.(@imageID == imageID));

if(ima...@bordersize == undefined){ima...@bordersize = 0;}

Gallery.getInstance().imageInfo._title.text = ima...@title;
Gallery.getInstance().imageInfo._description.text =
ima...@description;

imageLoader = new Loader();
imageLoader.contentLoaderInfo.addEventListener(Event.INIT,
onImageLoad);

imageLoader.load(new URLRequest(galle...@folder + / +
ima...@src));

function onImageLoad(e:Event):void{
addEventListener(Event.ENTER_FRAME, positionImage);
}

function positionImage(e:Event):void{
//imageLoader.x = -(imageLoader.width/2);
//imageLoader.y = -(imageLoader.height/2);

mainImage.border.width = imageLoader.width;
mainImage.border.height = imageLoader.height;

var borderWidth:Number = imageLoader.width +
(Number(ima...@bordersize)*2);
var borderHeight:Number = imageLoader.height +
(Number(ima...@bordersize)*2);

//mainImage.border.width = borderWidth;
//mainImage.border.height = borderHeight;
//mainImage.border.x = -(borderWidth/2);
//mainImage.border.y = -(borderHeight/2);

var tweenX:Tween = new Tween(mainImage.border, x,
Regular.easeOut, mainImage.border.x, -(borderWidth/2), 1, true);
var tweenY:Tween = new Tween(mainImage.border, y,
Regular.easeOut, mainImage.border.y, -(borderHeight/2), 1, true);
var tweenWidth:Tween = new Tween(mainImage.border, width,
Regular.easeOut, mainImage.border.width, borderWidth, 1, true);
var tweenHeight:Tween = new Tween(mainImage.border,
height, Regular.easeOut, mainImage.border.height, borderHeight, 1, true);

//TweenLite.to(mainImage.border, 1, {x:-(borderWidth/2),
y:-(borderHeight/2), width: borderWidth, height: borderHeight,
ease:Circ.easeIn});
//mainImage.addChild(imageLoader);
}

currentImage = imageID;

}

Okay, so here is the problem...

Using the Loader class totally screws up tweening for the width and height
properties of anything... the width/height props are coming back fine from
the event, my border MC will even position itself right if i don't tween it,
but as soon as I try to tween it, it jumps to the end value right away
(doesn't matter what tween class I use, TweenLight, or even the built in
Tween class)...

If you manually set borderWidth and borderHeight before the event handler
and try to tween it that way, it works 100% okay...

I really can't figure this out, this is the weirdest friggin' bug I have
experienced in the last year.

Any pointers?

Thanks!

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


Re: [Flashcoders] Re: Another Sound Bug - transform.pan

2008-08-08 Thread Zárate
Have you reported it?

https://bugs.adobe.com/flashplayer/

I know we are not used to it, but we have to. Complaining in
Flashcoders is fine and probably it was a good method (if not the
only) to make you listened. Did a quick search and there seem to be
quite a few bugs regarding the Sound object.

Also you might not be aware of this:

http://www.make-some-noise.info/

Cheers,

Juan

On Fri, Aug 8, 2008 at 2:17 AM, H [EMAIL PROTECTED] wrote:
 Have you ever used Captivate :S

 On Thu, Aug 7, 2008 at 8:08 PM, Steven Sacks [EMAIL PROTECTED]wrote:

 Update: Unfortunately, it looks like even if you set the pan all the way in
 one direction or the other, it doesn't actually work. You can still hear the
 sound coming out of the side that it is panned away from. So, I guess this
 bug is moot since pan doesn't actually work properly in the first place.

 Jeez.  The more I use the Sound class, the more I'm unimpressed with
 Adobe's quality control.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




-- 
Juan Delgado - Zárate
http://zarate.tv
http://dandolachapa.com
http://loqueyosede.com

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


[Flashcoders] Please help! quick bug fix needed, how to change Stage reference

2008-08-07 Thread Ali Drongo
Hi everyone, sorry to flood the list with requests, I will put a bit  
back soon ;)


I have created SWF that loads another SWF into it. This loaded SWF  
contains a movie clip that behaves like a camera zooming round the  
stage. This works fine when I load the external SWF in.


My problem is that now I need to have everything in one SWF but when I  
import the external SWF into the library the camera effect stops  
working. I think this is something to do with the reference to the  
stage though I have no idea how to get around this and the project is  
already overdue.


If someone could help out with this soon I would be so grateful.

Thanks,
Ali

Here's the code for the camera:

function camControl():Void {
trace(_parent._currentframe);
parentColor.setTransform(camColor.getTransform());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
	var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa: 
100, ab:0};

parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode:String = Stage.scaleMode;
Stage.scaleMode = exactFit;
var cX:Number = Stage.width/2;
var cY:Number = Stage.height/2;
var sX:Number = Stage.width;
var sY:Number = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor:Color = new Color(this);
var parentColor:Color = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;

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


Re: [Flashcoders] Please help! quick bug fix needed, how to change Stage reference

2008-08-07 Thread Helmut Granda
If you are loosing reference to the stage you can just pass it as a
parameter to the new object you are instatiating. You can also set it as a
variable that all objects have access. Singleton could be a good idea.

On Thu, Aug 7, 2008 at 5:28 AM, Ali Drongo [EMAIL PROTECTED] wrote:

 Hi everyone, sorry to flood the list with requests, I will put a bit back
 soon ;)

 I have created SWF that loads another SWF into it. This loaded SWF contains
 a movie clip that behaves like a camera zooming round the stage. This works
 fine when I load the external SWF in.

 My problem is that now I need to have everything in one SWF but when I
 import the external SWF into the library the camera effect stops working. I
 think this is something to do with the reference to the stage though I have
 no idea how to get around this and the project is already overdue.

 If someone could help out with this soon I would be so grateful.

 Thanks,
 Ali

 Here's the code for the camera:

 function camControl():Void {
trace(_parent._currentframe);
parentColor.setTransform(camColor.getTransform());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
 }
 function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0,
 aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
 }
 // make frame invisible
 this._visible = false;
 // Capture stage parameters
 var oldMode:String = Stage.scaleMode;
 Stage.scaleMode = exactFit;
 var cX:Number = Stage.width/2;
 var cY:Number = Stage.height/2;
 var sX:Number = Stage.width;
 var sY:Number = Stage.height;
 Stage.scaleMode = oldMode;
 // create color instances for color
 // transforms (if any).
 var camColor:Color = new Color(this);
 var parentColor:Color = new Color(_parent);
 // Make the stage move so that the
 // v-cam is centered on the
 // viewport every frame
 this.onEnterFrame = camControl;
 // Make an explicit call to the camControl
 // function to make sure it also runs on the
 // first frame.
 camControl();
 // If the v-cam is ever removed (unloaded)
 // the stage, return the stage to the default
 // settings.
 this.onUnload = resetStage;

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




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


[Flashcoders] Re: Another Sound Bug - transform.pan

2008-08-07 Thread Steven Sacks
Update: Unfortunately, it looks like even if you set the pan all the way in one 
direction or the other, it doesn't actually work. You can still hear the sound 
coming out of the side that it is panned away from. So, I guess this bug is moot 
since pan doesn't actually work properly in the first place.


Jeez.  The more I use the Sound class, the more I'm unimpressed with Adobe's 
quality control.

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


Re: [Flashcoders] Re: Another Sound Bug - transform.pan

2008-08-07 Thread H
Have you ever used Captivate :S

On Thu, Aug 7, 2008 at 8:08 PM, Steven Sacks [EMAIL PROTECTED]wrote:

 Update: Unfortunately, it looks like even if you set the pan all the way in
 one direction or the other, it doesn't actually work. You can still hear the
 sound coming out of the side that it is panned away from. So, I guess this
 bug is moot since pan doesn't actually work properly in the first place.

 Jeez.  The more I use the Sound class, the more I'm unimpressed with
 Adobe's quality control.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] RE: [Papervision3D][UNSOLVABLE BUG] Inconsistent rolling over for a plane

2008-03-28 Thread Dwayne Neckles










I think it might be a bug within Papervision and nothing within me.. 
http://dnecklesportfolio.com/pv3d/materialsDemos/materialsDemo.html
and you know I also went back to the basic Materials Demo I got from the CLaSS 
in SAN FRAN...
and simple added the rollover states

and I got the same issue.. in fact here is the code
dnecklesportfolio.com/pv3d/materialsDemos/materialsDemos.zip

and sometimes when rolling over you'd notice while on the clip that the roll 
off mousepointer appears and is is inconsistent..

this problem will be considered a BUG and wont take priority ..

It's be great if someone would please confirm so I can move on..I spent weeks 
on this one small issue..


Dwayne




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 20:20:10 +
Subject: Re: [Papervision3D] Inconsistent rolling over for  a plane







gang maybe i should use Mouseevent instead of interactivescene3devent???



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Date: Fri, 28 Mar 2008 19:42:48 +
Subject: Re: [Papervision3D] [Flash_Tiger] Re: Inconsistent rolling over for
a plane







Gang,

Just when we thought we got it..
To make things SIMPLE I took out the text and have a simple red movieclip

So now I  have a papervision plane - movieclip (as its material) - movieclip 
- textfield

i use e.currenttarget instead of e.target in the onPlane Click function

but i still get the inconsistent rolling over

Frustrating cause im sure its something im doing wrong

Check out onPlaneOver and onPlaneOut do they access e.target by default..How do 
I access e.currentTarget
Is that even the issue.. I may start from scratch and go back to basics..

public function onPlaneClick(e:InteractiveScene3DEvent):void {
   
if (BUTTONS_ENABLED) {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
   

var plane:Plane =  Plane(e.currentTarget);
trace(targets name, e.displayObject3D.name );
   

} else {
trace(wait till its done..);
   
}
}
public function onPlaneOver(e:InteractiveScene3DEvent):void {

viewport.containerSprite.buttonMode = true;
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
}
public function onPlaneOut(e:InteractiveScene3DEvent):void {
trace(e.currentTarget: +e.currentTarget)
trace(e.target: +e.target)
viewport.containerSprite.buttonMode = false;
}


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [Flash_Tiger] Re: Inconsistent rolling over for a plane
Date: Mon, 24 Mar 2008 05:06:19 +







More info on this...
http://www.flepstudio.org/forum/tutorials/428-target-currenttarget-actionscript-3-0-a.html



To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Sun, 23 Mar 2008 11:12:02 -0400
Subject: [Flash_Tiger] Re: Inconsistent rolling over for a plane




















Dwayne Neckles wrote:

 Check out.. http://dnecklesportfolio.com/pv3d/index.html



 Rollover one of the main links.. you will see that the pointer changes from 
 pointer to hand and back.. It's not supposed to do that... though it could be 
 , I'm not sure its a papervision issue..



 Any suggestion why this happens..



This is one of those issues that seems to get neglected in most AS3 books and 
online references. Then it's maddeningly difficult to find what's going wrong.

You assume that if you've added an eventlistener to the button clip, in the 
handler the event target will actually be the button. However, although you 
added the MouseOver listener to the button, the event target in the handler 
actually turns out to be the text within the button.

I would handle this in one of two ways:

*** In the handler function, instead of using target, use currentTarget.

*** Set the mouseChildren property of the button to false.



Either way, your rollover should then display properly.



::. clive



Clive Sweeney

Durham NC

MetaConverse.com 



  


__._,_.___


  
  
Messages in this topic   (11)


  
Reply   (via web post)
  | 

  Start a new topic
   



Messages  
|Files  
|Photos  
|Links  
|Database  
|Polls  

|Calendar  
  



  


  Flash_Tiger Mailing List  


  




  
   

  Change settings via the Web (Yahoo! ID required) 

  Change settings via email: Switch delivery to Daily Digest | Switch 
format to Traditional 


  
Visit Your 

Re: [Flashcoders] Flash CS3 UI Bug

2007-09-07 Thread Cedric Muller
fun. this happens with Flash 8 on OSX. At least for me. I do see  
these bugs. (OS X French(10.4.10), Flash 8 english)


Moreover: I do have the *is currently loading, has not ended* and the  
*non returned query results* CRASHES since flash mx. (then MX 2004  
Pro, then Flash 8, and I know that CS3 HAS THE SAME BUG!).


How one can experience such BIG BG bugs without being discovered  
by the team ???


Software development is crap. Such happenings let me KNOW such  
important things. Don't loose humility when working with software :P


Cedric


More ...

When opening panels (any) when collapsed to icons, they open but  
fail to
show any content.  I have to close and re-open the panels in hope  
that their

content is rendered.  Very annoying when I'm tight for time.

The test movie often opens as a resized window to well below 100%
(dimensions are within my screen resolution).

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

2007-09-07 Thread Giles Taylor
Steven Sacks, it's sounds like I'll have to keep up my funky flash
workey properly rain dance, or maybe it's the weekly sacrifices ;)
I seem to remember a bunch of bugs that were very system specific (no
rhyme or reason) when flash 8 came out! Macromedia had real problems
reproducing them.

Have you tried other CS3 products to see if it affects them as well or
if it's just flash?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: 06 September 2007 18:49
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash CS3 UI Bug

Nice to know I'm not alone in experiencing this buggy behavior.

Giles Taylor, consider yourself lucky that you don't have the bug.

By the way, I have a brand spankin new clean install of Windows XP SP2 
here.  Flash was installed right after the OS was and the bug appeared 
immediately.  So, it isn't some OS artifact here.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 CS3 UI Bug

2007-09-07 Thread Cedric Muller


just don't use the IDE. Actions Panel should be disabled. It seems  
that the best is to NOT open any panel and to work with a screen  
switched off...



:(
Cedric



This is what I saw when I opened a project file this morning:
http://muzakdeezign.com/flashcoders/fcs3_ui_bug.jpg

Other UI bugs I've encountered:

- When opening Library or Project Panel (at the right) they're  
partly hiden behind the Properties and Help Panel (at the bottom) and

the only way to fix it is to restart Flash.
- When testing an application which opens a Browse File dialog  
(FileReference.browse()), the application and Browse File dialog

dissapear (behind the Flash IDE).
- Same problem Steven described when testing an application.. The  
test movie window is hidden behind certain UI panels. Once this

behavior kicks in, the only way to solve it is to restart Flash.

regards,
Muzak

- Original Message -
From: Steven Sacks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 06, 2007 7:49 PM
Subject: Re: [Flashcoders] Flash CS3 UI Bug



Nice to know I'm not alone in experiencing this buggy behavior.

Giles Taylor, consider yourself lucky that you don't have the bug.

By the way, I have a brand spankin new clean install of Windows XP  
SP2 here.  Flash was installed right after the OS was and the

bug appeared immediately.  So, it isn't some OS artifact here.



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

2007-09-06 Thread Giles Taylor
Must just be your retarded ass bullcrap install ;)
Mine works lovely.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: 05 September 2007 22:03
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash CS3 UI Bug

Lord knows I'm the last guy to complain about something on Flashcoders 
*wink* but this is ridiculous.

Why are the panels in Flash CS3 (Windows) set to always on top?  When I 
test movie in Flash, the test movie window goes BEHIND ALL PANELS?

If this is intentional, who's the genius at Adobe who came up with this 
retarded ass bullcrap?  I thought Adobe was trying to improve the UI not

break it.

FIX IT.

/rant

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

2007-09-06 Thread Paul Venton
I know what you mean.  It only happens occasionally here but when it does I
find the test movie is obscured by some, not all, of the panels.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: 05 September 2007 22:03
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash CS3 UI Bug

Lord knows I'm the last guy to complain about something on Flashcoders 
*wink* but this is ridiculous.

Why are the panels in Flash CS3 (Windows) set to always on top?  When I 
test movie in Flash, the test movie window goes BEHIND ALL PANELS?

If this is intentional, who's the genius at Adobe who came up with this 
retarded ass bullcrap?  I thought Adobe was trying to improve the UI not

break it.

FIX IT.

/rant


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

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


RE: [Flashcoders] Flash CS3 UI Bug

2007-09-06 Thread Michael Trim
Why are the panels in Flash CS3 (Windows) set to always on top?  When I

test movie in Flash, the test movie window goes BEHIND ALL PANELS?

+1 it's a very annoying 'feature'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



Re: [Flashcoders] Flash CS3 UI Bug

2007-09-06 Thread Nick Gerig
yeah i was noticing this yesterday . it also does it with the debug 
window! Why you would want an active debug window to go behind panels I 
dont know.


Michael Trim wrote:

Why are the panels in Flash CS3 (Windows) set to always on top?  When I



test movie in Flash, the test movie window goes BEHIND ALL PANELS?

+1 it's a very annoying 'feature'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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 CS3 UI Bug

2007-09-06 Thread Steven Sacks

Nice to know I'm not alone in experiencing this buggy behavior.

Giles Taylor, consider yourself lucky that you don't have the bug.

By the way, I have a brand spankin new clean install of Windows XP SP2 
here.  Flash was installed right after the OS was and the bug appeared 
immediately.  So, it isn't some OS artifact here.

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

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


Re: [Flashcoders] Flash CS3 UI Bug

2007-09-06 Thread Muzak
This is what I saw when I opened a project file this morning:
http://muzakdeezign.com/flashcoders/fcs3_ui_bug.jpg

Other UI bugs I've encountered:

- When opening Library or Project Panel (at the right) they're partly hiden 
behind the Properties and Help Panel (at the bottom) and 
the only way to fix it is to restart Flash.
- When testing an application which opens a Browse File dialog 
(FileReference.browse()), the application and Browse File dialog 
dissapear (behind the Flash IDE).
- Same problem Steven described when testing an application.. The test movie 
window is hidden behind certain UI panels. Once this 
behavior kicks in, the only way to solve it is to restart Flash.

regards,
Muzak

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 06, 2007 7:49 PM
Subject: Re: [Flashcoders] Flash CS3 UI Bug


 Nice to know I'm not alone in experiencing this buggy behavior.

 Giles Taylor, consider yourself lucky that you don't have the bug.

 By the way, I have a brand spankin new clean install of Windows XP SP2 here.  
 Flash was installed right after the OS was and the 
 bug appeared immediately.  So, it isn't some OS artifact here.


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

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


RE: [Flashcoders] Flash CS3 UI Bug

2007-09-06 Thread Paul Venton
More ...

When opening panels (any) when collapsed to icons, they open but fail to
show any content.  I have to close and re-open the panels in hope that their
content is rendered.  Very annoying when I'm tight for time.

The test movie often opens as a resized window to well below 100%
(dimensions are within my screen resolution).

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

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


Re: [Flashcoders] Flash CS3 UI Bug

2007-09-06 Thread Muzak
Yup, happens with Library and Project panel all the time.

- Original Message - 
From: Paul Venton [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 06, 2007 9:06 PM
Subject: RE: [Flashcoders] Flash CS3 UI Bug


 More ...

 When opening panels (any) when collapsed to icons, they open but fail to
 show any content.  I have to close and re-open the panels in hope that their
 content is rendered.  Very annoying when I'm tight for time.

 The test movie often opens as a resized window to well below 100%
 (dimensions are within my screen resolution).

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

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


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

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


[Flashcoders] Flash CS3 UI Bug

2007-09-05 Thread Steven Sacks
Lord knows I'm the last guy to complain about something on Flashcoders 
*wink* but this is ridiculous.


Why are the panels in Flash CS3 (Windows) set to always on top?  When I 
test movie in Flash, the test movie window goes BEHIND ALL PANELS?


If this is intentional, who's the genius at Adobe who came up with this 
retarded ass bullcrap?  I thought Adobe was trying to improve the UI not 
break it.


FIX IT.

/rant

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

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


Re: [Flashcoders] simple movie scroller Bug.

2007-05-15 Thread dr.ache

hi

i cant figure out what you mean? you load a movie with that mentioned 
code in frame one or on frame one of your main movie?

what means you want to load it in the middle frame?

dr.ache

Paul V. schrieb:

Hello, I should probably not need to ask this. But I am running a movie.  move. 
 about 300 frames.  I am looking at have it load into the middle frame and 
having a simple movie scroll.  I start with this in frame 1.


stop();
btn.onRelease = function(){
 gotoAndStop(start);   //   start label is in the middle of the  mov about 
frame 150.
 this._alpha = 0;
// I turn off the buttons vis.  I will probably load it and unload it in the final copy. Not sure on the edicate for this.  less code this way.  Less clutter the other way unloading the movie.


 frameNav();  //call the function
}

function frameNav(){

 onEnterFrame = function(){  //simple onEnterFrame

 movFrame = _xmouse; 


 //movie frame which is about 300 frames should run from _xmouse = 0  to 
_xmouse = 300
 gotoAndStop(movFrame);  //gotoAndStop Movie pans as long as you slide the 
mouse, stops where you want it to stop.
}

}

here is the problem  the mov for some reason behaves exactally as you would 
expect from reading the code. except one thing. For some annoying reason, it 
stops at frame 177 or 178.  So my code does not refer to that frame, nor do I 
have any stops, labels, mcs or any actionscript at all on that frame.  So I 
really am stumped.  Again this is something I am asking because, it seems to me 
at this point that there is an increasing chance that there is a common bug.  
Otherwise???

Let me know.

and thanks guys and gals.

Peace

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

2007-05-15 Thread Danny Kodicek
 
 
 stop();
 btn.onRelease = function(){
  gotoAndStop(start);   //   start label is in the middle of 
 the  mov about frame 150.
  this._alpha = 0;
 // I turn off the buttons vis.  I will probably load it and 
 unload it in the final copy. Not sure on the edicate for 
 this.  less code this way.  Less clutter the other way 
 unloading the movie.
 
  frameNav();  //call the function
 }
 
 function frameNav(){
 
  onEnterFrame = function(){  //simple onEnterFrame
 
  movFrame = _xmouse; 
 
  //movie frame which is about 300 frames should run from 
 _xmouse = 0  to _xmouse = 300  gotoAndStop(movFrame);  
 //gotoAndStop Movie pans as long as you slide the mouse, 
 stops where you want it to stop.
 }
 
 }
 
 here is the problem  the mov for some reason behaves 
 exactally as you would expect from reading the code. except 
 one thing. For some annoying reason, it stops at frame 177 or 
 178.  So my code does not refer to that frame, nor do I have 
 any stops, labels, mcs or any actionscript at all on that 
 frame.  So I really am stumped.  Again this is something I am 
 asking because, it seems to me at this point that there is an 
 increasing chance that there is a common bug.  Otherwise???

I think I understand what you're asking. Is this 'movie' you're scrolling
through a FLV? I wonder if you're having trouble scrubbing through it
because it doesn't have enough keyframes?

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] simple movie scroller Bug.

2007-05-15 Thread Rich Shupe
I can¹t tell just from your code what is going on, but I have two comments.

1) If you end up hiding your buttons, use _visible = false/true, not _alpha
= 0/100. Alpha vals of zero mean your elements still trap/trigger mouse
events, are still composited, etc.

2) Your behavior may be stopping at frame 17X, rather than 300, because the
_xmouse value is relative to the movie not a movie clip? Or the equation
you're using to offset the value isn't correct? Try tracing the _xmouse and
the frame number and see if they match up.

Rich




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

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


[Flashcoders] simple movie scroller Bug.

2007-05-14 Thread Paul V.
Hello, I should probably not need to ask this. But I am running a movie.  move. 
 about 300 frames.  I am looking at have it load into the middle frame and 
having a simple movie scroll.  I start with this in frame 1.


stop();
btn.onRelease = function(){
 gotoAndStop(start);   //   start label is in the middle of the  mov about 
frame 150.
 this._alpha = 0;
// I turn off the buttons vis.  I will probably load it and unload it in the 
final copy. Not sure on the edicate for this.  less code this way.  Less 
clutter the other way unloading the movie.

 frameNav();  //call the function
}

function frameNav(){

 onEnterFrame = function(){  //simple onEnterFrame

 movFrame = _xmouse; 

 //movie frame which is about 300 frames should run from _xmouse = 0  to 
_xmouse = 300
 gotoAndStop(movFrame);  //gotoAndStop Movie pans as long as you slide the 
mouse, stops where you want it to stop.
}

}

here is the problem  the mov for some reason behaves exactally as you would 
expect from reading the code. except one thing. For some annoying reason, it 
stops at frame 177 or 178.  So my code does not refer to that frame, nor do I 
have any stops, labels, mcs or any actionscript at all on that frame.  So I 
really am stumped.  Again this is something I am asking because, it seems to me 
at this point that there is an increasing chance that there is a common bug.  
Otherwise???

Let me know.

and thanks guys and gals.

Peace

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

2007-04-18 Thread Merrill, Jason
I've seen this before, but can't remember what caused it 
though (let alone what fixes it).
It sounds like a masking/font problem.

Can you reproduce it in a seperate fla?
Got a sample we can take a look at?

Thanks, I'll see if I can reproduce it in a separate .fla.  The List
component is placed on a Window component if that makes any difference.
I'm using the component's default skins and font.  I don't have a public
webserver to throw a screenshot up on for you to see, but I can send you
a screenshot offlist if you're OK with that.  

Thanks,

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


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

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


[Flashcoders] List component redraw bug

2007-04-17 Thread Merrill, Jason
Has anyone seen the v2 List component bug where sometimes items in a
list will render OUTSIDE the list?  Is there a fix or workaround?  I can
send a screenshot offlist if it's not clear, but basically my list
component show a series of data, but at the bottom, after the list is
scrolled down, some of the data remains drawn on screen and outside
(below) the list component - like text that has been cut in half
horizontally.  Anyone ever seen this or found a fix?

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


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

2007-04-17 Thread Muzak
I've seen this before, but can't remember what caused it though (let alone what 
fixes it).
It sounds like a masking/font problem.

Can you reproduce it in a seperate fla?
Got a sample we can take a look at?

regards,
Muzak

- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 17, 2007 10:33 PM
Subject: [Flashcoders] List component redraw bug


 Has anyone seen the v2 List component bug where sometimes items in a
 list will render OUTSIDE the list?  Is there a fix or workaround?  I can
 send a screenshot offlist if it's not clear, but basically my list
 component show a series of data, but at the bottom, after the list is
 scrolled down, some of the data remains drawn on screen and outside
 (below) the list component - like text that has been cut in half
 horizontally.  Anyone ever seen this or found a fix?

 Jason Merrill


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

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


[Flashcoders] IE7 flash player bug

2007-04-16 Thread Caleb E. Brown
I am experiencing a bug in IE7 with a textfield and anchor tags.  This doesn’t 
seem to be a problem with IE 6 and everything appears fine in firefox, safari, 
etc.

 

When I set the textfield’s html text to something, give it a stylesheet, and 
call “autosize,” the rollover no longer works.

 

You can see an example I’ve set up here HYPERLINK 
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/

 

Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?

 

Thanks,

Caleb


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE7 flash player bug

2007-04-16 Thread Muzak
What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
 } else {
  this.tf.text = Error loading CSS file!;
 }
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This doesnt 
seem to be a problem with IE 6 and everything appears 
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and 
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK 
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?



Thanks,

Caleb



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

2007-04-16 Thread Caleb E. Brown
it works correctly.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
 } else {
  this.tf.text = Error loading CSS file!;
 }
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This doesnt 
seem to be a problem with IE 6 and everything appears 
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and 
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK 
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?



Thanks,

Caleb



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

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE7 flash player bug

2007-04-16 Thread Caleb E. Brown
Changing it to the onLoad handler doesn't change it.

Thanks though.

-c

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
 } else {
  this.tf.text = Error loading CSS file!;
 }
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This doesnt 
seem to be a problem with IE 6 and everything appears 
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and 
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK 
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?



Thanks,

Caleb



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

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE7 flash player bug

2007-04-16 Thread Caleb E. Brown
Hi matthew, 

Thanks for helping me look into this.  I tried uninstalling and installing as 
that article suggests but to no avail.  

Can you tell me, do you see the bug here 
http://sandboxwin.blenderbox.com/flashplayerbug/ with your version of the flash 
player in IE7?

Thanks for your help.

-c

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz
Sent: Monday, April 16, 2007 2:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

i ran into an issue last week and someone pointed me in this direction:
http://blog.deconcept.com/2006/12/08/corrupt-flash-player-install-after-ie-7-upgrade/

though my symptoms weren't what was mentioned in the blog (i was having 
problems with the eolas fix), the uninstall/reinstall of the flash player 
did the trick.

hth,

matt.
- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 1:58 PM
Subject: RE: [Flashcoders] IE7 flash player bug


Changing it to the onLoad handler doesn't change it.

Thanks though.

-c

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
 } else {
  this.tf.text = Error loading CSS file!;
 }
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This 
doesnt seem to be a problem with IE 6 and everything appears
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and 
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any 
thoughts?



Thanks,

Caleb



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

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

-- 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 
4:22 PM


-- 

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 
4:22 PM

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 4:22 PM
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE7 flash player bug

2007-04-16 Thread Matthew Ganz
what i see is a result of the eolas patent. in IE7, i have to click on your 
flash movie first and then the rollOver works just fine.


implement the eolas fix and you should be fine.

i have flash player 8,0,22,0
- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 2:46 PM
Subject: RE: [Flashcoders] IE7 flash player bug


Hi matthew,

Thanks for helping me look into this.  I tried uninstalling and installing 
as that article suggests but to no avail.


Can you tell me, do you see the bug here 
http://sandboxwin.blenderbox.com/flashplayerbug/ with your version of the 
flash player in IE7?


Thanks for your help.

-c

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz

Sent: Monday, April 16, 2007 2:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

i ran into an issue last week and someone pointed me in this direction:
http://blog.deconcept.com/2006/12/08/corrupt-flash-player-install-after-ie-7-upgrade/

though my symptoms weren't what was mentioned in the blog (i was having
problems with the eolas fix), the uninstall/reinstall of the flash player
did the trick.

hth,

matt.
- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 1:58 PM
Subject: RE: [Flashcoders] IE7 flash player bug


Changing it to the onLoad handler doesn't change it.

Thanks though.

-c

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
if (loaded) {
 this.tf.styleSheet = format;
 this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
} else {
 this.tf.text = Error loading CSS file!;
}
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]

To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This
doesnt seem to be a problem with IE 6 and everything appears
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any
thoughts?



Thanks,

Caleb



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

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

--

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM


--

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 
4:22 PM



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007 
4:22 PM


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

Brought to you by Fig Leaf Software
Premier

RE: [Flashcoders] IE7 flash player bug

2007-04-16 Thread Caleb E. Brown
Actually, for me it doesn't work fine once I click on it.  The problem persists 
when clicked on (I have a site I'm working on that is embedded with js where 
I'm having the problem as well. I just didn't want that to be part of the 
equation when looking into this bug).  

It is not the eola issue, but it does seem to be specific to my computer and 
possibly Vista (I checked it out on some other computers running Vista and 
IE7), so I'm going to stop caring since I use firefox for personal browsing 
anyways.

At any rate, the problem's not fixed, but I don't need to fix it anymore.

Thanks
-c

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz
Sent: Monday, April 16, 2007 2:52 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

what i see is a result of the eolas patent. in IE7, i have to click on your 
flash movie first and then the rollOver works just fine.

implement the eolas fix and you should be fine.

i have flash player 8,0,22,0
- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 2:46 PM
Subject: RE: [Flashcoders] IE7 flash player bug


Hi matthew,

Thanks for helping me look into this.  I tried uninstalling and installing 
as that article suggests but to no avail.

Can you tell me, do you see the bug here 
http://sandboxwin.blenderbox.com/flashplayerbug/ with your version of the 
flash player in IE7?

Thanks for your help.

-c

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz
Sent: Monday, April 16, 2007 2:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

i ran into an issue last week and someone pointed me in this direction:
http://blog.deconcept.com/2006/12/08/corrupt-flash-player-install-after-ie-7-upgrade/

though my symptoms weren't what was mentioned in the blog (i was having
problems with the eolas fix), the uninstall/reinstall of the flash player
did the trick.

hth,

matt.
- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 1:58 PM
Subject: RE: [Flashcoders] IE7 flash player bug


Changing it to the onLoad handler doesn't change it.

Thanks though.

-c

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, April 16, 2007 1:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] IE7 flash player bug

What happens if you take .autoSize out of the onLoad handler?
Don't have IE7, so haven't tried it.


import mx.utils.Delegate;
import TextField.StyleSheet;

var path:String = test.css;
var tf:TextField;
var format:StyleSheet = new TextField.StyleSheet();

function formatLoadHandler(loaded:Boolean):Void {
 if (loaded) {
  this.tf.styleSheet = format;
  this.tf.htmlText = a href=\http://www.adobe.com\;adobe/a;
 } else {
  this.tf.text = Error loading CSS file!;
 }
}

this.tf.autoSize = left;
this.tf.html = true;
this.format.onLoad = Delegate.create(this, this.formatLoadHandler);
this.format.load(path);

regards,
Muzak

- Original Message - 
From: Caleb E. Brown [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Monday, April 16, 2007 6:46 PM
Subject: [Flashcoders] IE7 flash player bug


I am experiencing a bug in IE7 with a textfield and anchor tags.  This
doesnt seem to be a problem with IE 6 and everything appears
fine in firefox, safari, etc.



When I set the textfields html text to something, give it a stylesheet, and
call autosize, the rollover no longer works.



You can see an example Ive set up here HYPERLINK
http://sandboxwin.blenderbox.com/flashplayerbug/http://sandboxwin.blenderbox.com/flashplayerbug/



Has anyone seen this before?  Is it a bug?  Have you fixed this before? Any
thoughts?



Thanks,

Caleb



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

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

-- 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM


-- 

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
4:22 PM

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

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

___
Flashcoders

[Flashcoders] File-name operand bug workaround

2006-12-06 Thread Mick G

Does anyone know of a work-around to this bug:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833

I'm getting javascript errors in IE using externalInterface and SWF
file names that have a hyphen in them. Unfortunately I'm working with
a content management system that renames SWF's to files with hypens in
them.

This is not a well known bug but I've seen many threads with people
getting these JS errors in IE using externalInterface. It's caused me
grief quite a few times. Usually renaming my SWF without a hypen works
except in this case when I can't.

- Mick
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] File-name operand bug workaround

2006-12-06 Thread T. Michael Keesey

Well, one idea that comes to mind is that you could escape the
filename (using the escape() function) before sending it through
ExternalInterface, and then unescape it in JavaScript. Hyphens do not
get converted by ActionScript's escape() function, but you can force
it like so:

ExternalInterface.call(myJSFunc, escape(s).replace(-, %2D));

Then, in JavaScript:

function myJSFunc(filename) {
   filename = unescape(filename);
   // Continue
}

On 12/6/06, Mick G [EMAIL PROTECTED] wrote:

Does anyone know of a work-around to this bug:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833

I'm getting javascript errors in IE using externalInterface and SWF
file names that have a hyphen in them. Unfortunately I'm working with
a content management system that renames SWF's to files with hypens in
them.

This is not a well known bug but I've seen many threads with people
getting these JS errors in IE using externalInterface. It's caused me
grief quite a few times. Usually renaming my SWF without a hypen works
except in this case when I can't.

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

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




--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] File-name operand bug workaround

2006-12-06 Thread Mick G

This bug is actually more weird than you would think - it's not the
passing of a string with a hypen that is causing the problem - it's
simply a SWF with a hyphen calling any externalInterface call.

Try this test:

create a new Flash file - make sure you name it with a hypen in it eg.
test-1.swf
Then put this code in it...

import flash.external.*
ExternalInterface.call(alert,Hello);

Run it in IE embedded in a HTML page. You will get a javascript error.
Firefox no error.
(I think only Flash Player 9 causes this error but unsure)

Now re-publish your file without a hypen in it and run it again from
IE and it will work fine.






On 12/6/06, T. Michael Keesey [EMAIL PROTECTED] wrote:

Well, one idea that comes to mind is that you could escape the
filename (using the escape() function) before sending it through
ExternalInterface, and then unescape it in JavaScript. Hyphens do not
get converted by ActionScript's escape() function, but you can force
it like so:

ExternalInterface.call(myJSFunc, escape(s).replace(-, %2D));

Then, in JavaScript:

function myJSFunc(filename) {
filename = unescape(filename);
// Continue
}

On 12/6/06, Mick G [EMAIL PROTECTED] wrote:
 Does anyone know of a work-around to this bug:
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833

 I'm getting javascript errors in IE using externalInterface and SWF
 file names that have a hyphen in them. Unfortunately I'm working with
 a content management system that renames SWF's to files with hypens in
 them.

 This is not a well known bug but I've seen many threads with people
 getting these JS errors in IE using externalInterface. It's caused me
 grief quite a few times. Usually renaming my SWF without a hypen works
 except in this case when I can't.

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

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



--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] File-name operand bug workaround

2006-12-06 Thread T. Michael Keesey

On 12/6/06, Mick G [EMAIL PROTECTED] wrote:

This bug is actually more weird than you would think - it's not the
passing of a string with a hypen that is causing the problem - it's
simply a SWF with a hyphen calling any externalInterface call.


Whoops, I guess I should have read the TechNote first.

Seems odd to me that ExternalInterface calls would reference the
filename, not the object id Can you dynamically change the param
name=movie value=XXX/ value attribute with JavaScript, perhaps?
(Or would that reload the SWF?)
--
T. Michael Keesey
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LocalCOnnection/Standalone player bug

2006-10-25 Thread Austin Kottke
John,

   How's that flexible 24 October pre-alpha release looking? ;)

Best, Austin

-- Original Message ---
From: John Grden [EMAIL PROTECTED] 
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com 
Sent: Tue, 24 Oct 2006 23:53:51 -0400 
Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug

 ah yes they seem to be the standalones as well.  Cool, thanks muz, I'll give 
 them a go! 
 
 On 10/24/06, John Grden [EMAIL PROTECTED] wrote: 
  
  are they the local standalone players?  the web players are the ones that 
  work 
  
  On 10/24/06, Muzak [EMAIL PROTECTED]  wrote: 
   
   Have you tried using the latest fp updates? 
   http://www.adobe.com/support/flashplayer/downloads.html#fp9 
   http://www.adobe.com/support/flashplayer/downloads.html#fp8 
   
   regards, 
   Muzak 
   
   - Original Message - 
   From: John Grden [EMAIL PROTECTED] 
   To: Flashcoders mailing list  flashcoders@chattyfig.figleaf.com 
   Sent: Wednesday, October 25, 2006 3:12 AM 
   Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug 
   
   
Yeah, i'm using the Flext2 version of xray and it does do the 
   allowdomain. 
On pc, it works without issue, this is only on the mac ;) 

   
   
   ___ 
   Flashcoders@chattyfig.figleaf.com 
   To change your subscription options or search the archive: 
   http://chattyfig.figleaf.com/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  ] 
 
 -- 
 [  JPG  ] 
 ___ 
 Flashcoders@chattyfig.figleaf.com 
 To change your subscription options or search the archive: 
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 
 
 Brought to you by Fig Leaf Software 
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com 
 http://training.figleaf.com 
--- End of Original Message ---
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LocalCOnnection/Standalone player bug

2006-10-25 Thread John Grden

;)  it's looking pretty good Austin!

I extended my own deadline to be whithin this week sometime ;)

I just wanted to get it somewhat usable before handing it out.  And last
night I was able to get the properties editing installed and working at a
very base version of what I've intended.

So, could be within tomrrow or friday

Thanks for asking

On 10/25/06, Austin Kottke [EMAIL PROTECTED] wrote:


John,

How's that flexible 24 October pre-alpha release looking? ;)

Best, Austin

-- Original Message ---
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tue, 24 Oct 2006 23:53:51 -0400
Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug

 ah yes they seem to be the standalones as well. Cool, thanks muz, I'll
give
 them a go!

 On 10/24/06, John Grden [EMAIL PROTECTED] wrote:
 
  are they the local standalone players? the web players are the ones
that
  work
 
  On 10/24/06, Muzak [EMAIL PROTECTED]  wrote:
  
   Have you tried using the latest fp updates?
   http://www.adobe.com/support/flashplayer/downloads.html#fp9
   http://www.adobe.com/support/flashplayer/downloads.html#fp8
  
   regards,
   Muzak
  
   - Original Message -
   From: John Grden [EMAIL PROTECTED]
   To: Flashcoders mailing list  flashcoders@chattyfig.figleaf.com
   Sent: Wednesday, October 25, 2006 3:12 AM
   Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug
  
  
Yeah, i'm using the Flext2 version of xray and it does do the
   allowdomain.
On pc, it works without issue, this is only on the mac ;)
   
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/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 ]

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

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

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

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


[Flashcoders] LocalCOnnection/Standalone player bug

2006-10-24 Thread John Grden

I'm seeing a weird problem with local connection on a mac.  if the swf's are
using the Mozilla plugin, they can communicate, but if either of them are
using the debug or stand alone player then it no worky.

I have Xray running in SWHX, and it's able to communicate with a website
with the xray connector. However, it cannot communicate with a swf loaded in
Flash IDE or in a stand alone player.  Likewise, if I run the Xray.swf in a
standalone player, it cannot communicate via local connection with any swf.

Is this a known issue on the mac?

--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LocalCOnnection/Standalone player bug

2006-10-24 Thread Muzak
are any of those swf's fp9?

I've created my own little Flex/Zinc debugger and found that you now *have* to 
specify .allowDomain() in combination with the 
underscore name for LocalConnection to work across domains (or one running in 
browser, other on desktop)

// receiver in Flex
this.debug_conn = new LocalConnection();
this.debug_conn.allowDomain(*);
this.debug_conn.client = this;
this.debug_conn.connect(__mdmDebugger);

Not sure if this is what you're running into, but adding allowDomain() fixed my 
little [de]bugger ;-)

regards,
Muzak

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: Open Source Flash Mailing List osflash@osflash.org; Flashcoders 
mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 25, 2006 2:06 AM
Subject: [Flashcoders] LocalCOnnection/Standalone player bug


 I'm seeing a weird problem with local connection on a mac.  if the swf's are
 using the Mozilla plugin, they can communicate, but if either of them are
 using the debug or stand alone player then it no worky.

 I have Xray running in SWHX, and it's able to communicate with a website
 with the xray connector. However, it cannot communicate with a swf loaded in
 Flash IDE or in a stand alone player.  Likewise, if I run the Xray.swf in a
 standalone player, it cannot communicate via local connection with any swf.

 Is this a known issue on the mac?

 -- 
 [  JPG  ]


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

2006-10-24 Thread John Grden

Yeah, i'm using the Flext2 version of xray and it does do the allowdomain.
On pc, it works without issue, this is only on the mac ;)

On 10/24/06, Muzak [EMAIL PROTECTED] wrote:


are any of those swf's fp9?

I've created my own little Flex/Zinc debugger and found that you now
*have* to specify .allowDomain() in combination with the
underscore name for LocalConnection to work across domains (or one running
in browser, other on desktop)

// receiver in Flex
this.debug_conn = new LocalConnection();
this.debug_conn.allowDomain(*);
this.debug_conn.client = this;
this.debug_conn.connect(__mdmDebugger);

Not sure if this is what you're running into, but adding allowDomain()
fixed my little [de]bugger ;-)

regards,
Muzak

- Original Message -
From: John Grden [EMAIL PROTECTED]
To: Open Source Flash Mailing List osflash@osflash.org; Flashcoders
mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 25, 2006 2:06 AM
Subject: [Flashcoders] LocalCOnnection/Standalone player bug


 I'm seeing a weird problem with local connection on a mac.  if the swf's
are
 using the Mozilla plugin, they can communicate, but if either of them
are
 using the debug or stand alone player then it no worky.

 I have Xray running in SWHX, and it's able to communicate with a website
 with the xray connector. However, it cannot communicate with a swf
loaded in
 Flash IDE or in a stand alone player.  Likewise, if I run the Xray.swfin a
 standalone player, it cannot communicate via local connection with any
swf.

 Is this a known issue on the mac?

 --
 [  JPG  ]


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

2006-10-24 Thread Muzak
Have you tried using the latest fp updates?
http://www.adobe.com/support/flashplayer/downloads.html#fp9
http://www.adobe.com/support/flashplayer/downloads.html#fp8

regards,
Muzak

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 25, 2006 3:12 AM
Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug


 Yeah, i'm using the Flext2 version of xray and it does do the allowdomain.
 On pc, it works without issue, this is only on the mac ;)



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

2006-10-24 Thread John Grden

are they the local standalone players?  the web players are the ones that
work

On 10/24/06, Muzak [EMAIL PROTECTED] wrote:


Have you tried using the latest fp updates?
http://www.adobe.com/support/flashplayer/downloads.html#fp9
http://www.adobe.com/support/flashplayer/downloads.html#fp8

regards,
Muzak

- Original Message -
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 25, 2006 3:12 AM
Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug


 Yeah, i'm using the Flext2 version of xray and it does do the
allowdomain.
 On pc, it works without issue, this is only on the mac ;)



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

2006-10-24 Thread John Grden

ah yes they seem to be the standalones as well.  Cool, thanks muz, I'll give
them a go!

On 10/24/06, John Grden [EMAIL PROTECTED] wrote:


are they the local standalone players?  the web players are the ones that
work

On 10/24/06, Muzak [EMAIL PROTECTED]  wrote:

 Have you tried using the latest fp updates?
 http://www.adobe.com/support/flashplayer/downloads.html#fp9
 http://www.adobe.com/support/flashplayer/downloads.html#fp8

 regards,
 Muzak

 - Original Message -
 From: John Grden [EMAIL PROTECTED]
 To: Flashcoders mailing list  flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, October 25, 2006 3:12 AM
 Subject: Re: [Flashcoders] LocalCOnnection/Standalone player bug


  Yeah, i'm using the Flext2 version of xray and it does do the
 allowdomain.
  On pc, it works without issue, this is only on the mac ;)
 


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





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

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


[Flashcoders] flashplayer bitmap data bug or my coding wrong... PLEASE HELP

2006-09-07 Thread PR Durand

i've found where is exactly the problem:
http://www.adobe.com/go/7c90fec7 : a known bug saying that with flash 
playr 9, it's impossible to create a bitmapdata snapshot of an FLV 
streamed by FMS2.


it seems that the problem goes further... with images loaded from 
different domain


please take 2mn to copy/paste this code in flash... nothing ele needed
press ctrl-enter. in Flash it works.

http://www.foolarts.com/testBD3.html
here it works too because the swf and jpg domain is the same

http://test.nodule.com/makar/testBD3.html
but here it doesn't, while swf and jpg domains aren't the same... 
however the image is loaded in the moviecliploader... did I make 
something wrong or is it a player bug?


here's the source of the swf I linked, there's nothing else in the flash

import flash.display.BitmapData;

mcPicto = _root.createEmptyMovieClip(mcPicto,1);
mcPicto2 = _root.createEmptyMovieClip(mcPicto2,2);

displayPicto = function()
{
   var oBD:BitmapData = new 
BitmapData(mcPicto._width,mcPicto._height,true,0x00);

   mcPicto2._y = mcPicto._height + 10;
   mcPicto2.attachBitmap(oBD,1);
   oBD.draw(mcPicto);
}
  


var oMCL:MovieClipLoader = new MovieClipLoader();
var oL:Object = new Object();
oL.onLoadInit = mx.utils.Delegate.create(this,displayPicto);
oMCL.addListener(oL);
oMCL.loadClip(http://www.foolarts.com/crapaud.jpg,mcPicto);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] [AMFPHP] return; - feature / bug ?

2006-08-16 Thread Jeroen Beckers
Hi,

This is the situation:

Flash uses AMFPHP to call a php function 'test1()' .

In my php file, the function is defined as followed:

function test1()
{
test2();
return Hello;
}

function test2()
{
return World;
}

Now, AMFPHP returns World (when I call test1() ), but I would expect
him to return Hello (like flash would do).

Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)

Greets,
Jeroen

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

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


[Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
Hi,

This is the situation:

Flash uses AMFPHP to call a php function 'test1()' .

In my php file, the function is defined as followed:

function test1()
{
test2();
return Hello;
}

function test2()
{
return World;
}

Now, AMFPHP returns World (when I call test1() ), but I would expect
him to return Hello (like flash would do).

Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)

Greets,
Jeroen

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

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


Re: [Flashcoders] [AMFPHP] return; - feature / bug ?

2006-08-16 Thread Michael Stuhr

Jeroen Beckers schrieb:

Hi,

This is the situation:

Flash uses AMFPHP to call a php function 'test1()' .

In my php file, the function is defined as followed:

function test1()
{
test2();
return Hello;
}

function test2()
{
return World;
}

Now, AMFPHP returns World (when I call test1() ), but I would expect
him to return Hello (like flash would do).

Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)


seems like php returns mean to 'break' this. i'd suggest to put the retrurn of test2() into 
a local var.

it just doesn't make sense anyway, even if it would return just 'Hello', right ?

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Folkert Hielema

how about:

function test1()
{
return Hello .test2();
}
in you setting the returned world makes no sence since it's not printed 
or put in a variable or anything (amasing that is does not give an error 
that way.


hth,

Folkert
Jeroen Beckers wrote:

Hi,

This is the situation:

Flash uses AMFPHP to call a php function 'test1()' .

In my php file, the function is defined as followed:

function test1()
{
test2();
return Hello;
}

function test2()
{
return World;
}

Now, AMFPHP returns World (when I call test1() ), but I would expect
him to return Hello (like flash would do).

Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)

Greets,
Jeroen

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

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



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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
Hi Fokert :D

That gives back World too... I really don't understand it :S

Greets,
Jeroen

Ps: I'm Dauntless

Folkert Hielema wrote:
 how about:

 function test1()
 {
 return Hello .test2();
 }
 in you setting the returned world makes no sence since it's not
 printed or put in a variable or anything (amasing that is does not
 give an error that way.

 hth,

 Folkert
 Jeroen Beckers wrote:
 Hi,

 This is the situation:

 Flash uses AMFPHP to call a php function 'test1()' .

 In my php file, the function is defined as followed:

 function test1()
 {
 test2();
 return Hello;
 }

 function test2()
 {
 return World;
 }

 Now, AMFPHP returns World (when I call test1() ), but I would expect
 him to return Hello (like flash would do).

 Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)

 Greets,
 Jeroen

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

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


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

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Mike Britton

$this-test2();

hth,

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
Sorry, forgot that while copying...

But it doesn't work either...

Mike Britton wrote:
 $this-test2();

 hth,

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

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Mike Britton

?php

class testClass
{
function testClass() {
$this-methodTable = array(
test1 = array(
description=I return 'hello world',
access=remote,
arguments=array(),
returntype=string),

test2 = array(
description=I return 'hello',
access=remote,
arguments=array(),
returntype=string)
);
}

function test1() {
return $this-test2(). world;
}

function test2() {
return hello;
}
}

?

html
headtitle/title/head
body
?php

include('testClass.php');

$myTest = new testClass();
$message  = $myTest-test1();
echo $message;



?
/body
/html




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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
Yes, that works... So why won't my class work?

//class
?php

class Quadri
{

/*
* Constructor
*/
function Quadri()
{
include(Quadri.methodTable.php);
}
   
/**
* This function adds the score  name to the database
* @access remote
*/
   
   
function insertIntoDatabase($p_score, $p_name)
{
return test5;
}
   
   
/*
* This function checks and decrypts the given code from flash
* @access remote
*/
function addScore($p_score, $p_name)
{   
$test = $this-insertIntoDatabase(test, test);
   
return HelloWorld!;

   
   
}
   
   
}

?

//method table
?php
$this-methodTable = array(
insertIntoDatabase = array(
description = This function adds the score  name to the
database,
arguments = array(p_score, p_name),
access = remote
),
addScore = array(
description = /\n This function checks and decrypts the
given code from flash,
arguments = array(p_score, p_name),
access = remote
)
);
?





Mike Britton wrote:
 ?php

 class testClass
 {
 function testClass() {
 $this-methodTable = array(
 test1 = array(
 description=I return 'hello world',
 access=remote,
 arguments=array(),
 returntype=string),

 test2 = array(
 description=I return 'hello',
 access=remote,
 arguments=array(),
 returntype=string)
 );
 }

 function test1() {
 return $this-test2(). world;
 }

 function test2() {
 return hello;
 }
 }

 ?

 html
 headtitle/title/head
 body
 ?php

 include('testClass.php');

 $myTest = new testClass();
 $message  = $myTest-test1();
 echo $message;



 ?
 /body
 /html




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

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Mike Britton

You need to create a methodTable array in the constructor of every
class you're using with AMFPHP.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
I did that :).

Mike Britton wrote:
 You need to create a methodTable array in the constructor of every
 class you're using with AMFPHP.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Mike Britton

I always put my methodTable in the constructor, not include it.  This
could be the source of the problem.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] [AMFPHP] return; - Feature / bug ?

2006-08-16 Thread Jeroen Beckers
It's really handy if you include it. In the service browser, you can
select [mt] and 'save to XXX.methodtable.php' . Every time you edit your
class, you just press the save to method table button and it's
automaticly updated.

And uhm... The problem is solved... I kept calling the wrong function
:#. I'm really embarrassed of this... I was a little confused as to how
the service browser works... (I'm new to AMFPHP). Thanks for everyones
time! :)

Mike Britton wrote:
 I always put my methodTable in the constructor, not include it.  This
 could be the source of the problem.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] MovieClipLoader Script Timeout Bug?

2006-05-13 Thread jim
I have had this problem too, I don't know of a way in code to get rid of it,
but there are tools around that you can lengthen the script timeout of a
flash movie to whatever you want. Obviously this is a bit dangerous, but if
you are careful you can get the results you desire.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of clark slater
Sent: 12 May 2006 21:43
To: [FlashCoders]
Subject: [Flashcoders] MovieClipLoader Script Timeout Bug?

 Posted this yesterday but it looks like there was a problem with the list,
sorry if some people get it twice.

I think I may have come across a bug in the intrinisc MovieClipLoader class.
When loading a large file using an instance of this class on a slow
connection, the script timeout error is thrown if the content takes longer
than ~ 1 minute to load. Replacing the MovieClipLoader with old fashioned
loadMovie resolves the issue.

This can be demonstrated with the following code:

- Empty FLA with emptymovieclip on stage instance name container

import mx.utils.Delegate;

class ContentLoader extends Object {

private var mcl:MovieClipLoader;

public function ContentLoader () {
loadContent ();
}

private function loadContent () : Void {
mcl = new MovieClipLoader ();
mcl.onLoadProgress = Delegate.create (this, onLoadProgress);
mcl.loadClip (myFile.swf, _level0.container);
}

private function onLoadProgress (target:MovieClip, loadedBytes:Number,
totalBytes:Number) : Void {
trace (bytesLoaded:  + bytesLoaded);
}

}

Anyone else encounter this issue? Kinda freaks me out because I have used
MovieClipLoader a LOT in past projects and now I'm thinking users with very
slow connections might be encountering this issue.

Clark
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] MovieClipLoader Script Timeout Bug?

2006-05-12 Thread clark slater

Posted this yesterday but it looks like there was a problem with the list,
sorry if some people get it twice.

I think I may have come across a bug in the intrinisc MovieClipLoader class.
When loading a large file using an instance of this class on a slow
connection, the script timeout error is thrown if the content takes longer
than ~ 1 minute to load. Replacing the MovieClipLoader with old fashioned
loadMovie resolves the issue.

This can be demonstrated with the following code:

- Empty FLA with emptymovieclip on stage instance name container

import mx.utils.Delegate;

class ContentLoader extends Object {

   private var mcl:MovieClipLoader;

   public function ContentLoader () {
   loadContent ();
   }

   private function loadContent () : Void {
   mcl = new MovieClipLoader ();
   mcl.onLoadProgress = Delegate.create (this, onLoadProgress);
   mcl.loadClip (myFile.swf, _level0.container);
   }

   private function onLoadProgress (target:MovieClip, loadedBytes:Number,
totalBytes:Number) : Void {
   trace (bytesLoaded:  + bytesLoaded);
   }

}

Anyone else encounter this issue? Kinda freaks me out because I have used
MovieClipLoader a LOT in past projects and now I'm thinking users with very
slow connections might be encountering this issue.

Clark
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FP 8.5 MovieClipLoader bug?

2006-04-21 Thread David Rorex
On 4/20/06, eric dolecki [EMAIL PROTECTED] wrote:

 I am working on an application where I am loading images into a clip using
 a
 MovieClipLoader. The SWF is embedded in Python. After about 100 images are
 loaded into the same clip (over time - about 1 every 1-2 seconds), the
 images fail to load. Sometimes it happens after about the 40th image, but
 its more around the 100+ mark. The images being loaded are being sized
 down
 to fit - but the original images being loaded aren't that large (k).

 All image paths are correct too.

 I am making sure that I unload the contents of that clip before loading a
 new one - just to try to be as tidy as I can. The application doesn't seem
 to balloon in terms of memory usage - it hovers around the same amount
 throughout.

 Is this a known bug of FP 8.5? I can't find any reason why all of the
 sudden
 the images fail to load into the clip. I don't have cacheAsBitmap set to
 true on the clip either. Its a strange thing I am trying to track down and
 fix, but I now think the problem is actually player-related and not
 code-related.


Well, 8.5 still seems a bit buggy for me. I just posted another thread,
where simply loading a empty flash 8 swf with one sound into a very simple
as3 swf, causes the 8.5 player to crash. Hopefully they release another beta
version with more bugs fixed soon.

-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] FP 8.5 MovieClipLoader bug?

2006-04-20 Thread eric dolecki
I am working on an application where I am loading images into a clip using a
MovieClipLoader. The SWF is embedded in Python. After about 100 images are
loaded into the same clip (over time - about 1 every 1-2 seconds), the
images fail to load. Sometimes it happens after about the 40th image, but
its more around the 100+ mark. The images being loaded are being sized down
to fit - but the original images being loaded aren't that large (k).

All image paths are correct too.

I am making sure that I unload the contents of that clip before loading a
new one - just to try to be as tidy as I can. The application doesn't seem
to balloon in terms of memory usage - it hovers around the same amount
throughout.

Is this a known bug of FP 8.5? I can't find any reason why all of the sudden
the images fail to load into the clip. I don't have cacheAsBitmap set to
true on the clip either. Its a strange thing I am trying to track down and
fix, but I now think the problem is actually player-related and not
code-related.

Thanks for any insight...

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

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


[Flashcoders] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the FlashpluginSwitcher... 
but now my IE still play Flash movies but when I try to detect the 
presence and version of that plugin, it return 0, as no plugin was 
installed thus the UFO integration kit just tells me to install or 
upgrade my plogin I have 8.0.24 installed (right click on a Flash 
movie...)


Can someone point me in the right direction... I still need that *?% IE 
browser!


Thanks a million.

Éric
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault
After 3 installations (via adobe's site) and renaming of the ocx file 
inside the system32/macromed/flash folder... everything is back to 
normal... Even the activeX installation inside the Flash installation 
Folder was not working (unable to register ocx blabla...).


A+

Éric Thibault wrote:


I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the 
FlashpluginSwitcher... but now my IE still play Flash movies but when 
I try to detect the presence and version of that plugin, it return 0, 
as no plugin was installed thus the UFO integration kit just tells me 
to install or upgrade my plogin I have 8.0.24 installed (right 
click on a Flash movie...)


Can someone point me in the right direction... I still need that *?% 
IE browser!


Thanks a million.

Éric
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/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] IE Flash plugin bug

2006-04-06 Thread John Dowdell
I'm not sure of the question, but if it's close to What can prevent 
plugin-switchers in Microsoft's browser for Windows?, then there was a 
recent change in procedure for such utilities... source links here:

http://weblogs.macromedia.com/jd/archives/2006/03/players_v8024_v.cfm

Is this the same type of issue you're encountering...?

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


Re: [Flashcoders] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

It explains all...

Two references from adobe
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14157
and from 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=4da116d3


Running regsvr32 on a flash*.ocx file returns the following error: 
DllRegisterServer in flash.ocx failed...
The currently registered control is locked and attempts to register an 
alternate version of the player without unlocking the registered player 
will fail.


Thanks!

:-)

John Dowdell wrote:

I'm not sure of the question, but if it's close to What can prevent 
plugin-switchers in Microsoft's browser for Windows?, then there was 
a recent change in procedure for such utilities... source links here:

http://weblogs.macromedia.com/jd/archives/2006/03/players_v8024_v.cfm

Is this the same type of issue you're encountering...?

jd







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

2006-04-02 Thread Pieter Snoeck
Hey,
no one can help me here?
I have tried all the flash 8 font rendering modes and when I export to flash
player 7, everything is fine.
I really need the flashplayer 8 for this project.

thanks,
pieter

On 3/31/06, Pieter Snoeck [EMAIL PROTECTED] wrote:

 Hi,

 I have 2 textfields at the same _x position under each other. Both have
 the font embedded. Now I load the same text in both textfields. Then I
 change the the _yscale of the bottom one to -100, to create a mirror effect.

 The problem: the text is not anymore aligned.

 copy_txt.text = something;
 copyMirror_txt.text = something;
 copyMirror_txt._yscale = -100;

 Does anyone know a solution for this?
 Thanks,
 Pieter

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

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


Re: [Flashcoders] Re: TextField._yscale bug?

2006-04-02 Thread Michael Bedar

copy_txt.text = something;
copyMirror_txt.text = copy_txt.text.split().reverse().join()



On Apr 2, 2006, at 5:21 PM, Pieter Snoeck wrote:


Hey,
no one can help me here?
I have tried all the flash 8 font rendering modes and when I export  
to flash

player 7, everything is fine.
I really need the flashplayer 8 for this project.

thanks,
pieter

On 3/31/06, Pieter Snoeck [EMAIL PROTECTED] wrote:


Hi,

I have 2 textfields at the same _x position under each other. Both  
have
the font embedded. Now I load the same text in both textfields.  
Then I
change the the _yscale of the bottom one to -100, to create a  
mirror effect.


The problem: the text is not anymore aligned.

copy_txt.text = something;
copyMirror_txt.text = something;
copyMirror_txt._yscale = -100;

Does anyone know a solution for this?
Thanks,
Pieter


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

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


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

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


Re: [Flashcoders] Re: TextField._yscale bug?

2006-04-02 Thread Pieter Snoeck
Thanks Michael,
but that's not what I'm looking for,
I want a vertical mirror effect - _yscale = -100

On 4/3/06, Michael Bedar [EMAIL PROTECTED] wrote:

 copy_txt.text = something;
 copyMirror_txt.text = copy_txt.text.split().reverse().join()



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

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


[Flashcoders] Can't believe this bug hasn't been mentioned before - DateTime parsing in Web Services is BORKED

2006-03-23 Thread lists

I can't believe this hasn't been fixed yet because it appears that it should've 
been a problem from v5 or v6 and beyond.

The decoding code for DateTimes in web service PendingCalls has a bug and does 
not correctly parse valid datetimes.

The simplest way to recreate this bug is to access a web service that returns a 
dateTime in the format 2000-01-12T12:13:14Z. Crazy that this bug exists, 
because the W3C's **example** is in that format (see 
http://www.w3.org/TR/xmlschema-2/#isoformats). Notice there's no millisecond.

The bug itself exists in mx.services.PendingCall.decodeDate() where it 
*assumes* there's milliseconds. The only way to work around it is to have your 
web service put out a *string* that's in datetime format and have Flash parse 
the string (or use the datatype of 'date' instead of 'dateTime' if the time 
isn't important for your usage).

That workaround is a hassle because then you have to write parsing code - bleh.

Has anybody seen this before and do they have a better workaround than parsing 
a string representation of the date time (granted that's exactly what 
PendingCall does - just not very well)?

dave myron
principal, technical director

contentfree
⊡ 206.855.5580 phone | 206.774.2767 fax
⊠ [EMAIL PROTECTED]
⊟ 337 1st ave ne. suite 100, issaquah, wa 98027 


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

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


[Flashcoders] Simple date comparison bug?

2006-03-23 Thread lists
Don't know why I haven't come across this before, but can anyone confirm this 
for me (and maybe give an explanation)?

code
var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1 == d2 ); // false
trace( d1 = d2 ); // true
trace( d1 = d2 ); // TRUE?!
/code

Umm… If something is both = *and* = the only possibly is that it is equal. 
So… WTF?


dave myron
principal, technical director

contentfree
⊡ 206.855.5580 phone | 206.774.2767 fax
⊠ [EMAIL PROTECTED]
⊟ 337 1st ave ne. suite 100, issaquah, wa 98027 


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

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


Re: [Flashcoders] Simple date comparison bug?

2006-03-23 Thread Ryan Matsikas
var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1.toString() == d2.toString() ); // true
trace( d1 = d2 ); // Thu Jan 1 00:00:00 GMT-0700 1970

On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Don't know why I haven't come across this before, but can anyone confirm
 this for me (and maybe give an explanation)?

 code
 var d1:Date = new Date( 1970, 0 );
 var d2:Date = new Date( 1970, 0 );
 trace( d1 == d2 ); // false
 trace( d1 = d2 ); // true
 trace( d1 = d2 ); // TRUE?!
 /code

 Umm… If something is both = *and* = the only possibly is that it is
 equal. So… WTF?


 dave myron
 principal, technical director

 contentfree
 ⊡ 206.855.5580 phone | 206.774.2767 fax
 ⊠ [EMAIL PROTECTED]
 ⊟ 337 1st ave ne. suite 100, issaquah, wa 98027


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

2006-03-23 Thread Grant Cox
Well, it depends how the comparisons work. When you check equivalence 
== it is checking whether the two Date instances are the same object, 
which of course they aren't. When you check greater than or less than, 
it can only check their value, and that is the same.


So it comes down to how the Date class handles comparisons. I'm honestly 
not sure how you overwrite these in Actionscript (I guess there must be 
something in Object that you can overwrite). But checking equivalence 
with complex variables will always be checking if they are actually 
references to the same object, not if the two objects have the same 
attributes.


Oh, and Ryan, is your fourth line meant to be

trace( d1 = d2 );

or

trace( d1 == d2 );

?

Regards,
Grant Cox

Ryan Matsikas wrote:


var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1.toString() == d2.toString() ); // true
trace( d1 = d2 ); // Thu Jan 1 00:00:00 GMT-0700 1970

On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 


Don't know why I haven't come across this before, but can anyone confirm
this for me (and maybe give an explanation)?

code
var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1 == d2 ); // false
trace( d1 = d2 ); // true
trace( d1 = d2 ); // TRUE?!
/code

Umm… If something is both = *and* = the only possibly is that it is
equal. So… WTF?


dave myron
principal, technical director

contentfree
⊡ 206.855.5580 phone | 206.774.2767 fax
⊠ [EMAIL PROTECTED]
⊟ 337 1st ave ne. suite 100, issaquah, wa 98027


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



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006
   


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

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


RE: [Flashcoders] Simple date comparison bug?

2006-03-23 Thread Francis Cheng
This is due to the ECMAScript algorithm for determining equality. You'll find 
that JavaScript behaves the same way. Date objects are not primitives, so they 
will only compare as equal if both Date variables reference the same Date 
object (i.e. var d2 = d1;)

The ECMAScript algorithms for = and =, however, convert both operands to 
Number before the comparison. Date objects converted to the Number data type 
gives you the number of milliseconds since the epoch.

The upshot is that to test for equality of Date objects, either convert them to 
numbers first or use valueOf():

trace (Number(d1) == Number(d2));
trace (d1.valueOf() == d2.valueOf());

Francis

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, March 23, 2006 3:40 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Simple date comparison bug?
 
 Don't know why I haven't come across this before, but can anyone confirm
 this for me (and maybe give an explanation)?
 
 code
 var d1:Date = new Date( 1970, 0 );
 var d2:Date = new Date( 1970, 0 );
 trace( d1 == d2 ); // false
 trace( d1 = d2 ); // true
 trace( d1 = d2 ); // TRUE?!
 /code
 
 Umm… If something is both = *and* = the only possibly is that it is
 equal. So… WTF?
 
 
 dave myron
 principal, technical director
 
 contentfree
 ⊡ 206.855.5580 phone | 206.774.2767 fax
 ⊠ [EMAIL PROTECTED]
 ⊟ 337 1st ave ne. suite 100, issaquah, wa 98027
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/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] Simple date comparison bug?

2006-03-23 Thread Scott Hyndman
Good to know. Thanks Francis.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Francis Cheng
Sent:   Thu 3/23/2006 7:27 PM
To: Flashcoders mailing list
Cc: 
Subject:RE: [Flashcoders] Simple date comparison bug?

This is due to the ECMAScript algorithm for determining equality. You'll find 
that JavaScript behaves the same way. Date objects are not primitives, so they 
will only compare as equal if both Date variables reference the same Date 
object (i.e. var d2 = d1;)

The ECMAScript algorithms for = and =, however, convert both operands to 
Number before the comparison. Date objects converted to the Number data type 
gives you the number of milliseconds since the epoch.

The upshot is that to test for equality of Date objects, either convert them to 
numbers first or use valueOf():

trace (Number(d1) == Number(d2));
trace (d1.valueOf() == d2.valueOf());

Francis

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, March 23, 2006 3:40 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Simple date comparison bug?
 
 Don't know why I haven't come across this before, but can anyone confirm
 this for me (and maybe give an explanation)?
 
 code
 var d1:Date = new Date( 1970, 0 );
 var d2:Date = new Date( 1970, 0 );
 trace( d1 == d2 ); // false
 trace( d1 = d2 ); // true
 trace( d1 = d2 ); // TRUE?!
 /code
 
 Umm… If something is both = *and* = the only possibly is that it is
 equal. So… WTF?
 
 
 dave myron
 principal, technical director
 
 contentfree
 ? 206.855.5580 phone | 206.774.2767 fax
 ? [EMAIL PROTECTED]
 ? 337 1st ave ne. suite 100, issaquah, wa 98027
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



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

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

[Flashcoders] Simple date comparison bug?

2006-03-23 Thread Dave Myron
Don't know why I haven't come across this before, but can anyone confirm this 
for me (and maybe give an explanation)?

code
var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1 == d2 ); // false
trace( d1 = d2 ); // true
trace( d1 = d2 ); // TRUE?!
/code

Umm… If something is both = *and* = the only possibly is that it is equal. 
So… WTF?


dave myron
principal, technical director

contentfree
⊡ 206.855.5580 phone | 206.774.2767 fax
⊠ [EMAIL PROTECTED]
⊟ 337 1st ave ne. suite 100, issaquah, wa 98027 


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

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


[Flashcoders] Can't believe this bug hasn't been mentioned before - DateTime parsing in Web Services is BORKED

2006-03-23 Thread Dave Myron

I can't believe this hasn't been fixed yet because it appears that it should've 
been a problem from v5 or v6 and beyond.

The decoding code for DateTimes in web service PendingCalls has a bug and does 
not correctly parse valid datetimes.

The simplest way to recreate this bug is to access a web service that returns a 
dateTime in the format 2000-01-12T12:13:14Z. Crazy that this bug exists, 
because the W3C's **example** is in that format (see 
http://www.w3.org/TR/xmlschema-2/#isoformats). Notice there's no millisecond.

The bug itself exists in mx.services.PendingCall.decodeDate() where it 
*assumes* there's milliseconds. The only way to work around it is to have your 
web service put out a *string* that's in datetime format and have Flash parse 
the string (or use the datatype of 'date' instead of 'dateTime' if the time 
isn't important for your usage).

That workaround is a hassle because then you have to write parsing code - bleh.

Has anybody seen this before and do they have a better workaround than parsing 
a string representation of the date time (granted that's exactly what 
PendingCall does - just not very well)?

dave myron
principal, technical director

contentfree
⊡ 206.855.5580 phone | 206.774.2767 fax
⊠ [EMAIL PROTECTED]
⊟ 337 1st ave ne. suite 100, issaquah, wa 98027 


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

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


Re: [Flashcoders] Simple date comparison bug?

2006-03-23 Thread Johannes Nel
you are comparing objects, so you are asking in the firstone are these two
references the same no they are not. its two different objects
the you are asking is this reference smaller than equal to that refrence,
flash then goes huh wtf a refrence that you are doing = on this object, ok
lets convert it to a number yes neither is undefined so yes they are equal.
so in reality what you are tracing out there is
trace( d1 == d2 ); // false
trace( 1 = 1 ); // true
trace( 1 = 1 ); // TRUE?!

so yes exactly as i would expect.

On 3/23/06, Dave Myron [EMAIL PROTECTED] wrote:

 Don't know why I haven't come across this before, but can anyone confirm
 this for me (and maybe give an explanation)?

 code
 var d1:Date = new Date( 1970, 0 );
 var d2:Date = new Date( 1970, 0 );
 trace( d1 == d2 ); // false
 trace( d1 = d2 ); // true
 trace( d1 = d2 ); // TRUE?!
 /code

 Umm… If something is both = *and* = the only possibly is that it is
 equal. So… WTF?


 dave myron
 principal, technical director

 contentfree
 ⊡ 206.855.5580 phone | 206.774.2767 fax
 ⊠ [EMAIL PROTECTED]
 ⊟ 337 1st ave ne. suite 100, issaquah, wa 98027


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

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




--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

[Flashcoders] Flash Class Array bug - Please verify

2005-12-29 Thread Judah Frangipane
It seems like Flash is creating static members out of public arrays that 
are initialized in the class declaration. Can someone confirm this? Is 
this not legal, is it implied behavior or a bug?


// create a class called myClass
class myClass {
   // initialize the array in the declarations
   var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+myArray.length)
   }

   function addToArray() {
  myArray.push(10)
  myArray.push(20)
   }

}


// on the actions frame
import myClass

var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
var b = new myClass();

// trace outputs
myArray.length=0
myArray.length=3

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


Re: [Flashcoders] Flash Class Array bug - Please verify

2005-12-29 Thread Judah Frangipane

Hi Glenn,

Flash is still treating the array as a static member.

// treated as an instance variable
var myArray1:Array;
// treated as a static variable
var myArray2:Array = new Array();

Test this code:

// in actions frame 1
import myClass

trace(Creating instance a)
var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
trace(Creating instance b)
var b = new myClass();

// in class
class myClass {
   // treated as an instance variable
   var myArray1:Array;
   // treated as a static variable
   var myArray2:Array = new Array();
   static var myArray3:Array = new Array();
  
   function myClass() {

   trace( myArray1.length=+myArray1.length)
   trace( myArray2.length=+myArray2.length)
   trace( myArray3.length=+myArray3.length)
   }

   function addToArray() {
myArray1.push(10);
myArray2.push(10);
myArray3.push(10);
   }
}


Glenn J. Miller wrote:


Hey Judah,

Try this:

class myClass {
   // initialize the array in the declarations
   private var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+this.myArray.length)
   }

   public function addToArray() {
  this.myArray.push(10);
  this.myArray.push(20);
   }
} // end class

Run your code again, I think it'll execute the way you're expecting it to at
that point...

Peace...

--
Dok
Skyymap, Inc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Judah
Frangipane
Sent: Thursday, December 29, 2005 3:30 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash Class Array bug - Please verify

It seems like Flash is creating static members out of public arrays that 
are initialized in the class declaration. Can someone confirm this? Is 
this not legal, is it implied behavior or a bug?


// create a class called myClass
class myClass {
   // initialize the array in the declarations
   var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+myArray.length)
   }

   function addToArray() {
  myArray.push(10)
  myArray.push(20)
   }

}


// on the actions frame
import myClass

var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
var b = new myClass();

// trace outputs
myArray.length=0
myArray.length=3

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

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



 



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


Re: [Flashcoders] Flash Class Array bug - Please verify

2005-12-29 Thread Nathan Derksen
Yes, when you assign an initial value to a property, it is basically  
like a static assignment. Do the initialization in the constructor  
instead. This works for me:


class myClass
{
   // initialize the array in the declarations
   var myArray:Array;

   function myClass()
   {
  myArray = new Array()
  trace(myArray.length=+myArray.length)
   }

   function addToArray()
   {
  myArray.push(10)
   }

}

Nathan
http://www.nathanderksen.com


On Dec 29, 2005, at 12:48 PM, Judah Frangipane wrote:


Hi Glenn,

Flash is still treating the array as a static member.

// treated as an instance variable
var myArray1:Array;
// treated as a static variable
var myArray2:Array = new Array();

Test this code:

// in actions frame 1
import myClass

trace(Creating instance a)
var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
trace(Creating instance b)
var b = new myClass();

// in class
class myClass {
   // treated as an instance variable
   var myArray1:Array;
   // treated as a static variable
   var myArray2:Array = new Array();
   static var myArray3:Array = new Array();
 function myClass() {
   trace( myArray1.length=+myArray1.length)
   trace( myArray2.length=+myArray2.length)
   trace( myArray3.length=+myArray3.length)
   }

   function addToArray() {
myArray1.push(10);
myArray2.push(10);
myArray3.push(10);
   }
}


Glenn J. Miller wrote:


Hey Judah,

Try this:

class myClass {
   // initialize the array in the declarations
   private var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+this.myArray.length)
   }

   public function addToArray() {
  this.myArray.push(10);
  this.myArray.push(20);
   }
} // end class

Run your code again, I think it'll execute the way you're  
expecting it to at

that point...

Peace...
--
Dok
Skyymap, Inc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Judah
Frangipane
Sent: Thursday, December 29, 2005 3:30 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash Class Array bug - Please verify

It seems like Flash is creating static members out of public  
arrays that are initialized in the class declaration. Can someone  
confirm this? Is this not legal, is it implied behavior or a bug?


// create a class called myClass
class myClass {
   // initialize the array in the declarations
   var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+myArray.length)
   }

   function addToArray() {
  myArray.push(10)
  myArray.push(20)
   }

}


// on the actions frame
import myClass

var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
var b = new myClass();

// trace outputs
myArray.length=0
myArray.length=3

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

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






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



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


Re: [Flashcoders] Flash Class Array bug - Please verify

2005-12-29 Thread Judah Frangipane

Thanks for help guys!

JesterXL wrote:


Sorry, missed 1 of the traces:

// notice the array is on the prototype,
// thus all class instances point to it
foo.prototype_array.push(foo_d);
trace(foo.prototype_array);
trace(bar.prototype_array);

should be:

// notice the array is on the prototype,
// thus all class instances point to it
foo.prototype_array.push(foo_d);
trace(foo.prototype_array); // b, foo_d
trace(bar.prototype_array); // b, foo_d

- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 29, 2005 3:39 PM
Subject: Re: [Flashcoders] Flash Class Array bug - Please verify


Nope, they are prototype scoped arrays, not static.

AS1:
function MyClass(){}

AS2:
class MyClass{}

AS1 - static:
MyClass.my_array = [];

AS2 - static:
class MyClass
{
   static var my_array:Array = [];
}

AS1 - prototype:
MyClass.protoytpe.my_array = [];

AS2 - prototype:
Same as above, or:
class MyClass
{
   var my_array:Array = [];
}

Prototype values, even in the class intstance, point to the prototype value
when read, but as soon as an instance modifies this value, it makes it's own
copy if it's a primitive (String, Number).  If it's an Object, it still
points to the prototype reference.  Example:

// The Class
class MyClass
{
static var static_array:Array = [a];
var prototype_array:Array = [b];
var instance_array:Array;

var prototype_name:String = MyClassName;

function MyClass()
{
 instance_array = [c];
}
}

// And here, the usages:

import MyClass;

trace(MyClass.static_array); // a
trace(MyClass.prototype.prototype_array); // b
trace(MyClass.prototype.instance_array); // undefined

var foo:MyClass = new MyClass();
trace(foo.prototype_array); // b
trace(foo.instance_array); // c

var bar:MyClass = new MyClass();
trace(bar.prototype_array); // b
trace(bar.instance_array); // c

// notice the array is on the prototype,
// thus all class instances point to it
foo.prototype_array.push(foo_d);
trace(foo.prototype_array);
trace(bar.prototype_array);

// however, for primitives, instances
// will get their own copy once they
// change it

// before
trace(foo.prototype_name); // MyClassName
trace(bar.prototype_name); // MyClassName
foo.prototype_name = MegaFoo;
// after
trace(foo.prototype_name); // MegaFoo
trace(bar.prototype_name); // MyClassName



- Original Message - 
From: Judah Frangipane [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, December 29, 2005 3:30 PM
Subject: [Flashcoders] Flash Class Array bug - Please verify


It seems like Flash is creating static members out of public arrays that
are initialized in the class declaration. Can someone confirm this? Is
this not legal, is it implied behavior or a bug?

// create a class called myClass
class myClass {
   // initialize the array in the declarations
   var myArray:Array = new Array();

   function myClass {
  trace(myArray.length=+myArray.length)
   }

   function addToArray() {
  myArray.push(10)
  myArray.push(20)
   }

}


// on the actions frame
import myClass

var a = new myClass();
a.addToArray();
a.addToArray();
a.addToArray();
var b = new myClass();

// trace outputs
myArray.length=0
myArray.length=3

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

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


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



 



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


  1   2   >