[Flashcoders] Microsoft Internet Explorer update and consequences for Flash

2006-03-02 Thread Morten Barklund TBWA\\Play

Hi,

Don't know if you've seen it, but I just discovered, that Microsoft lost 
a patent dispute to Eolas yesterday[1] and Microsoft has since created a 
voluntary update for IE6 and also embedded the new behaviour in IE7.[2]


This among other things affect Flash very much, as Microsoft writes:

 Some windowed controls use Windows API functions, such as GetKeyState
 and GetCursorPos, to determine the state of the keyboard and mouse and
 then respond to the function results. For these controls only, a prompt
 appears before the control is run in Internet Explorer. To run the
 control, the user needs to click the button in the message window
 before the page loads. After loading, the control will not require
 activation. At present, the following controls have this behavior, but
 the vendors are working on new controls that would not have this
 behavior.

  * Virtools™ Web Player from Virtools SA
  * Macromedia Shockwave Player™ from Adobe Systems Inc.
  * QuickTime™ from Apple Computer, Inc.

 When loaded from external script files, these controls do not display a
 prompt.

This page[2] also addresses, how you should properly embed ActiveX in 
the future to circumvent this warning.


I do not see anything on the Adobe/Macromedia sites addressing this 
issue - but an update to the latest player will probably come soon.


Just a heads-up for you all - this will be an issue soon, as people 
start updating :)


And then again, Microsoft might win an appeal, so this won't be an issue 
after all.


[1]http://www.eweek.com/article2/0,1895,1895907,00.asp
[2]http://msdn.microsoft.com/library/?url=/workshop/author/dhtml/overview/activating_activex.asp

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Microsoft Internet Explorer update and consequences for Flash

2006-03-02 Thread Morten Barklund TBWA\\Play

Morten Barklund TBWA\Play wrote:
Don't know if you've seen it, but I just discovered, that Microsoft lost 
a patent dispute to Eolas yesterday[1] and Microsoft has since created a 
voluntary update for IE6 and also embedded the new behaviour in IE7.[2]


Sorry all, it seems to be old news (December 2005), so maybe it isn't 
an issue after all.


Can anyone confirm this?

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] oop question?

2006-03-01 Thread Morten Barklund TBWA\\Play

murder design wrote:

#include mLoader.as


import mLoader;

And when the class is actually situated in the same folder as the 
fla-file, no import is needed :)


So you can either change the include to import or delete it entirely :)

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: sorting a collection of points clockwise

2006-02-27 Thread Morten Barklund TBWA\\Play

Bart Wttewaall wrote:

Thanks,

I guess I needed a little nudge to actually get working on the method.
If anyone sees a quicker method than the code below, then please say so.


This would actually be one of the few places, where 
Array.RETURNINDEXEDARRAY could be used - just create an array of the 
angles (not objects with angle-attributes), sort using the 
Array.RETURNINDEXEDARRAY-flag, and use this returned array as the array 
for which to reorder the original array of points :)


--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Tab problem

2006-02-24 Thread Morten Barklund TBWA\\Play

CARABUS plus wrote:

How can I do to discard tab action for a full level ?


_levelX.tabChildren = false;

:)

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] When singletons go bad

2006-02-20 Thread Morten Barklund TBWA\\Play

Manuel Saint-Victor wrote:

if(_myManager==null){


Nothing is null, unless explicitly set to null.

And why do you check for the existence of the staticly set _myManager 
both in the static singleton-accessor and in the constructor - one of 
them should be enough.


--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Player bug?

2006-02-17 Thread Morten Barklund TBWA\\Play

Tuomas Glad wrote:

var test:Number = undefined;
trace(test = 0); // true


a=b is defined as !(ab) - and undefined0 is undefined.

This undefined = 0 is true - for quite annoying reasons.

:)

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] What is profile?

2006-02-08 Thread Morten Barklund TBWA\\Play

Hi all,

One for the detectives in y'all:


Background
--

I have an object, that I ought to fetch via a singleton and save as a 
local variable or member of my classes, but sometimes forget to declare. 
Thus sometimes I reference a member or a variable of a class, that 
hasn't been defined.


The compiler doesn't complain about this certain variable, which is 
quite annyoing as I thus doesn't know, that it is undefined.



Proof
-

I have very easily boiled it down to:

class Test {
function Test()  {
trace(prof is +profile);
}
}

No compiler-error. Change profile to any other (non-existing) variable 
and the compiler throws an error.


And of course, the trace is undefined - profile isn't a member, but why 
does the compiler handle this member-name in some special way? It looks 
 like some nasty hack made by some developer, who forgot to remove it :)


I do hope, that you are all able to reproduce. It have confirmed it at 
multiple computers using Win XP Pro and Flash 8.



Question


My question is as simple as: What is profile?

--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Can you extend the _y and _height setters of a movie clip?

2006-02-08 Thread Morten Barklund TBWA\\Play

David Lochhead wrote:

Hi,

I've got a movieclip that can have it's _y and _height properties
altered by various scripts. Is there a way I can extend the movieclip
class so that the setter for these properties can be extended so I can
act when the clip gets updated?

Any advice appreciated.


I've tried extending the enabled-property without luck. super.enabled 
= my_enabled doesn't really work. It would expect the same from _x and _y.


I do hope someone can give other advice, but until then, I believe it is 
undoable. :(


--
Morten Barklund - Information Architect - TBWA\Play
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders