Hi everyone,
It is a bit outdated topic of AS2.0. I just wonder if somebody can
explain me why onLoad and (inderectly) onData produces different
CDATA node values. I lost a lot of time trying to figure this out,
searching the Web did not help much...
Let's consider an XML file source:
I am learning ObjC for about a month. The purpose is porting and
existing AS2 application to iphone/ipad. Having very poor C experence
I can say, that knowing C is not something essential to familiarize
and then working fore real with apple frameworks.
Before I started XCode for good, I bought
All display objects have registration points (their internal 0,0
coordinates). Also bitmaps.
By default a loaded image (png) has its registration point in the
top-left corner. If you like to get rid of the improperly set
registration point then you may place the loaded image into a parent
PM) beno - wrote:
On Tue, Feb 9, 2010 at 8:24 AM, Greg Ligierko gre...@l-d5.com wrote:
All display objects have registration points (their internal 0,0
coordinates). Also bitmaps.
By default a loaded image (png) has its registration point in the
top-left corner. If you like to get rid
Thanks.
g
Tuesday, February 09, 2010 (3:36:30 PM) Henrik Andersson wrote:
Allow me to explain why it is bad. It is due to the object only being
created once. Not once per instance of the class, but once total. This
is clearly going to cause issues for any class that is used more than once.
I tested this:
package {
public class MyClass {
private static var instNum:Number = 0;
public var someObj:Object = new Object();
public function MyClass() {
someObj.name = Sun + MyClass.instNum++;
}
}
}
and tracing later gives:
var mc1:MyClass =
If the code must be really called for each mouse move, then I have no
solutions . However if it is not crucial to execute all code for each
event, then perhaps you could add an incremental flag and execute code
for some of the events only, eg:
events_count = 0
MOUSE MOVE
So, what about iPhone and CS5 ? Isn't going to be the same path with
iPad and just matter of time ?
g
Friday, January 29, 2010 (2:53:24 PM) artur wrote:
i have an agency client who i get a lot of flash work from.
however they are not technically saavy and they're
EASILY swayed when they
Another resource about teewning and Flash animation basics:
http://animation.about.com/od/flashbasicstweening/Flash_Basics_Tweening.htm
g
Tuesday, January 26, 2010 (3:04:21 PM) - beno wrote:
On Tue, Jan 26, 2010 at 9:17 AM, Geografiek geograf...@geografiek.nlwrote:
Hi Beno,
This might help:
I do not have the feeling how user interacts with the buttons. I am
just guessing that each button will be clicked many times in one
sequence and after reaching the desired state (a,b,c,...c,d,a,B) user
will move the cursor to a next button (or close the window).
If this is the scenario, then
://pro-thoughts.blogspot.com/2006/03/onbeforeunload-event.html
g
Monday, January 18, 2010 (6:29:08 PM) Paul Andrews wrote:
Greg Ligierko wrote:
I do not have the feeling how user interacts with the buttons. I am
just guessing that each button will be clicked many times in one
sequence and after
I agree with Glenn... it depends on size, particular example and is
often a speculation before the project starts running. If this is
going to be a micro-engine, why not add a set of modes and use one
depending on site. However this would mean a lot of work and testing.
Perhaps a more elastic
...Or if you like to perform a recursion (particular case of nesting).
I do not belive there is a good way to re-declare a variable inside
the scope of one function.
(?) You could comment out vars, copy/paste them with active code and
uncomment when needed; it is more a text editor issue:
//var
This resource probably appeared on the list some time ago.
It is a good start point if you like to recombine a JSFL:
http://dynamicflash.com/jsfl/#Library
I can see oyFashDoc.jsfl file builds XML tracing results to the
output screen, which is finally saved as an XML file. You should
probably just
Alexander,
I don't know if your question is still up-to-date. I do not have much
experience in AS3 external content loading, but this should be similar
to AS2.0
You can load any images without any security grants from any domain
you like. The restriction is added to objects that are related
It's hard to say...
A few questions:
- do you see all contents when you remove fading completely, i.e. when
you set 100% alpha at the beginning ?
- did you try starting fade with alpha 50% ?
- what kind of event do you use for fading, enter frame or a
timer/interval ?
- are images loaded into
I grown up with PC, Windows and in work I am completely happy with
FlashDevelop + CS3. For some time I am also a happy MacBook user, but
it is hard for me to swap with AS2/AS3 coding to Mac. So far I could
not establish a comfortable work environment on Mac.
I read about two options:
- adapting
wrote:
FDT is pretty much your best choice.
On 12/14/2009 3:53 AM, Greg Ligierko wrote:
I grown up with PC, Windows and in work I am completely happy with
FlashDevelop + CS3. For some time I am also a happy MacBook user, but
it is hard for me to swap with AS2/AS3 coding to Mac. So far I could
Thanks a lot. FDT looks impressive. I am testing the trial and seems to
be very powerful. Auto creation of props and methods is cool. What is
also important, very easy to install and set up.
g
Monday, December 14, 2009 (3:14:28 PM) Steven Sacks wrote:
If you want to see an example of FDT in
Well... Code without braces may look a bit confusing, but that depends
on what somebody is used to and just what you like. An example when I
often bypass braces is setting default values for AS2 function
arguments:
function funName(arg1:Number, arg2:Object):Object
{
if(isNaN(arg1)) arg1 = 0;
If you haven't seen this already:
http://code.google.com/p/fueljsfl/
There is a set of interesting JSFL scripts for various purposes. Also
manipulation of bitmap items. But I cannot bet there is the exact case.
g
Wednesday, December 09, 2009 (12:48:52 AM) napisano:
Thanks guys.
I found a
PM) Paul Andrews:
Greg Ligierko wrote:
Well... Code without braces may look a bit confusing, but that depends
on what somebody is used to and just what you like. An example when I
often bypass braces is setting default values for AS2 function
arguments:
function funName(arg1:Number, arg2
Using just a set of functions is not oop. It's rather procedural
programming. However it works, it is difficult to reuse or make
something really large scale or cooperate with other programmers
basing on procedural code. You can write procedural-AS3, but there is
not point of doing that. And you
What kind of method do you use in findValue() to compare the
movieclips ? If you are using _name then it might be to short string:
var mc = createEmptyMovieClip(aaa,0);
trace(mc: +mc);
trace(mc: +mc._name);
trace(mc: +String(mc));
outputs:
mc: _level0.aaa
mc: aaa
mc: _level0.aaa
Maybe you
I don't think, because braces are not required when the there is only
one statement ended with semicolor:
//code
if(something) doSomething(); // semicolon ends the scope here...
//code
... the second brace was ending the myLeftHand() method.
I think that that the problem with this line was
of braces for later :)
Greg
Tuesday, December 08, 2009 (11:36:17 PM):
Greg,
I see your point.
I am more familiar with AS2, so oops.
I will be migrating soon. I promise.
Karl
On Dec 8, 2009, at 3:50 PM, Greg Ligierko wrote:
I don't think, because braces are not required when the there is only
Beno, Jason mentions trace. This one is really essential.
You can use trace inside any part for code, it is inside methods or
directly in frame code. Add these trace lines to your code and start
playing with them:
public function Main():void
{
trace(Who I am ? I must be: + this);
Few words defending enterframe...
AS1 required manual initialization of broadcaster objects while
Movieclip events where simple: on(release), on(enterframe)...
AS2 provides EventDispatcher class. Using it may be considered as
somehow more advanced technique.
But AS2 still allows using such
embed, so the issue is probably only PC IE/FF
related (assuming it is not my PC and only my PC).
g
Monday, November 23, 2009 (8:59:58 PM) Greg Ligierko wrote:
Thanks,
Yes I am aware of the swfObject.
We are working on an Flash application that can be embedded from
external hosts, by any
I have no answer to the problem, but maybe recreating the shuffled
array manually could help. I mean creating a new array and filling its
items with a for loop + one extra item.
This is not directly related but I experienced onece wrong sorting
when using sortOn() method. I do not trust
I am not much into this topic, but ...
you do not have to drag Library instance to the stage to get into its
timeline. If you mark the item (e.g. mcHand) in the library and press
right mouse button, there is Edit (the same if you doubleclick the
item).
As soon as you are in the edit mode of the
wrote:
Greg Ligierko wrote:
I am not much into this topic, but ...
you do not have to drag Library instance to the stage to get into its
timeline. If you mark the item (e.g. mcHand) in the library and press
right mouse button, there is Edit (the same if you doubleclick the
item).
As soon
Exactly. Asking a question requires first formulating the problem.
I fight code or related problem very often, like it was a strong bad
guy that deserves a punch. Asking myself or the list simply why, why,
why... or I can't... may explain my frustration and bad feelings,
but not the problem
I have a strange issue with a http variable in embed tag and I would
appreciate much if you test two links with short HTML code.
I prepared two ultra-thin HTMLs.
http://www.l-d5.com/sn/embed8.htm
its source code is:
objectembed src=nodemapid=//object
http://www.l-d5.com/sn/embed9.htm
its source
--Original Message--
From: Greg Ligierko
Sender: flashcoders-boun...@chattyfig.figleaf.com
To: Flash Coders List
ReplyTo: Flashcoders
ReplyTo: Flash Coders List
Subject: [Flashcoders] A variable nodemapid= makes embed gone (IE and FF)
Sent: Nov 23, 2009 1:29 PM
I have a strange issue
Continuing... I tested my two links with Mac version of FF. Both work
fine - no stripping embed, so the issue is probably only PC IE/FF
related (assuming it is not my PC and only my PC).
g
Monday, November 23, 2009 (8:59:58 PM) Greg Ligierko wrote:
Thanks,
Yes I am aware of the swfObject
I noticed a difference in how Flash CS3 and simple HTML page parses
b and i tags.
For example:
var test2 = A B C D B E F G I H I J K /B L M N O /I P Q R S T;
txt.htmlText = test2;
Flash produces: A B C D - regular font
E F G - bold
H I J K - bold+italic
is not correct HTML, right?
On Tue, Nov 17, 2009 at 10:03 AM, Greg Ligierko gre...@l-d5.com
wrote:
I noticed a difference in how Flash CS3 and simple HTML page parses
b and i tags.
For example:
var test2 = A B C D B E F G I H I J K /B L M N O /I P Q R
S T;
txt.htmlText = test2;
Flash
I wonder if Flash local connection in iPhone's environment could be
faked similarly like in this example (using Win32 API):
http://osflash.org/localconnection
Allowing bidirectional messages between Flash and a native iPhone
application could be (a tricky and still limited) overcome to the
Hi,
Two days ago I wrote (email 16.Sep [Flashcoders] allowDomain with wildcard
in the middle swf) about using System.security.allowDomain(*) inside
a file loaded into a base swf. The loaded swf, the one with wildcard
would serve as a container for further external files, potentially
incoming from
40 matches
Mail list logo