[Xerte] FW: Transition setup?

Dave Burnett d_b_burnett at hotmail.com
Mon Nov 16 20:24:47 GMT 2009



Well, I asked about it in a couple Flash type places and got no response, so I went back to brute force and discovered:

If I set the default font size on the LO to the largest I'm using in the CSS, the transition works on all fonts that size and below.
??

and

This alters the speed of the transition. (I guess it thinks it is dealing with that larger size font).

Which leads me to the next question:

Can I use a variable in the icon "transition" parameter?
I've tried a bunch of variations and no go.
No way to even "eval" a variable into that spot?

Dave


Subject: RE: [Xerte] FW: Transition setup?
Date: Sat, 14 Nov 2009 21:49:43 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk










I dunno.
 
This si what the engine does:
 
   if (transition != undefined) {
    script(this+'.'+transition, engine);
   }
 
so that basically runs the script iconID.wipe(...blah...), which is here:
 
IconID.wipe:
 
ICON.prototype.wipe = function(dir, duration, easing, easeType, startPoint) {
 var direction = dir == 'in' ? Transition.IN : Transition.OUT;
 var tween = TransitionManager.start(this, {type:Wipe, direction:direction, duration:duration, easing:mx.transitions['easing'][easing][easeType], startPoint:startPoint});
 tween.mc = this;
 tween.onMotionFinished = function(){
  this.mc.broadcast('onMotionFinished');
 }
};
 
After that? I haven't a clue. 
 
I would build a very simple Flash file, recreate the situation ( a text field in a movie clip with your styled test in, and then wipe that) and find out if transitionManager fails even when it's not suppposed to, before you take it any further. Take Xerte (and everything else) out of the picture. I don't think this is a Xerte problem, as Xerte doesn't really do much other than act to pass on the transition to the transition manager - check the values of the parmeters getting sent?



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Sat 14/11/2009 15:19
To: Xerte list
Subject: RE: [Xerte] FW: Transition setup?


Forget the .fla, I found it in google code.

The AS is over my head, but as far as I can make out:

The transition AS files get imported.
The guts are in
Transition.as
TransitionManager.as

They seem to use getcontent() as one of the means of determining the area to be affected. An overlay clip is built and that is what is erased off.

So the overlay is being built to the correct size, but the erasure function is using some other value, not completing the "wipe" of the overlay.

Any Flashmeisters care to tell me how far off base I am before I start fatfingering class files?
;-)



Subject: RE: [Xerte] FW: Transition setup?
Date: Fri, 13 Nov 2009 21:23:51 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk





Interesting. I'm not a big user of styles as we tend to use the default interface.
 
In this situation, I would open up the XMLEngine.fla, look into how the transition works, put some debug statements in there and see what things look like as it runs, and see what I can figure out...



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Fri 13/11/2009 17:34
To: Xerte list
Subject: [Xerte] FW: Transition setup?



Gaa.
I found it.

Plain text works fine.
Text tagged with html tags works fine.
However, if I use a CSS style tag, the transition only covers the area where text would have been without any formatting e.g. the default text face/size.

Reproducible?

Dave 




From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: Transition setup?
Date: Fri, 13 Nov 2009 08:19:17 -0500



First crack at transitions.

Text icon, transition property added.
wipe('in', 1, 'None', 'easeNone', 2);
(the Help file example)

Transition reveals 3/4 of text block then halts.
Tried a few variations, other transitions, same result.

??

Dave



Bing brings you maps, menus, and reviews organized in one place. Try it now. 


Windows 7: Unclutter your desktop. Learn more. 


Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign up now.  		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091116/76e3aaa2/attachment.html


More information about the Xerte mailing list