RE: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Paul Venton
Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut }
);
coltw.setAssignment(theclip.transform, colorTransform);


I've not tested it since I use TweenLite/Max - it should at least give you
some idea.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:
 Oh yeah, TweenLite is really easy and a realy great class.
 TweenMax too. They definately have tween for color. And MUCH more.
 Worth its weight in gold.
 
 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com
 
 On Apr 8, 2009, at 7:27 PM, Muzak wrote:
 
 but is there really nobody out there who knows how to do it ?

 I'm sure Mr. Google knows.

http://www.google.com/search?hl=enq=tween+colortransformmeta=aq=1oq=twee
n+color 


 And I'm pretty sure AnimationPackage has some color stuff.
 http://www.alex-uhlmann.de/flash/animationpackage/

 - Original Message - From: Jiri jiriheitla...@googlemail.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Wednesday, April 08, 2009 8:11 PM
 Subject: Re: [Flashcoders] ColorTransform GTween


 Thanx Ashum...,but is there really nobody out there who knows how to 
 do it ?
 Jiri
 Ashim D'Silva wrote:
 Never used GTween before, but Grant is joining forces with Jack Doyle
 of TweenLite, and that library is incredibly easy to use. If the
 possibility exists, you might want to switch libraries, and soon, you
 should get the best of both worlds.
 2009/4/9 Jiri jiriheitla...@googlemail.com:
 I am experimenting with GTween from Grant Skinner. I cant seem to 
 figure out
 how to do a color transform. Does somebody know how to do that?
 Here is what i have:

 import fl.motion.easing.*;
 import com.gskinner.motion.*

 var colorInfo:ColorTransform = clip.transform.colorTransform;

 trace(colorInfo);

 var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
 myTween.setAssignment(clip.transform,colorTransform);

 //resulting in flickering of color of the clip.

 Jiri

 ___
 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] Tween AS3 issue with Firefox

2009-03-26 Thread Paul Venton
Can't see a tween either, however the site looks a pretty desolate after a
page refresh!  Might want to check the SWFs loadInfo (bytesLoaded against
bytesTotal).


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Zeh Fernando
Sent: 26 March 2009 16:26
To: Flash Coders List
Subject: Re: [Flashcoders] Tween AS3 issue with Firefox

That's my guess too, but in that case it would have made sense for him to
give us the password to see whatever he wanted us to see.

My curiosity was caught, but it's difficult to help when someone is asking
for help on something so vague.



On Wed, Mar 25, 2009 at 10:15 PM, Muzak p.ginnebe...@telenet.be wrote:

 My guess is whatever he's talking about is beyond the login?

 - Original Message - From: Zeh Fernando z...@zehfernando.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 Sent: Thursday, March 26, 2009 12:01 AM
 Subject: Re: [Flashcoders] Tween AS3 issue with Firefox


  What animation? It works the same in both FF and IE here and there's no
 Tween whatsoever.

 Zeh

 On Wed, Mar 25, 2009 at 3:23 PM, Reina Lyn Ben rly...@gmail.com wrote:

  has anyone had the same problem. I have a website up..
 http://kozonline.com/epk the animation is created in AS3, when I use
 firefox, the animation/transition freezes, I've found solutions online
 like
 creating a variable and store the tween there instead of being dependent
 on
 the garbage Collector feature that tween have. When I test the site on
 IE,
 it animates fine and finishes the tween..

 --


 ___
 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] A very simply question of XML toString()

2009-03-19 Thread Paul Venton
There's a great tutorial at
http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg1.htm

Pretty easy to follow and I found it useful for getting my head around E4X.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ACE Flash
Sent: 19 March 2009 17:11
To: Flash Coders List
Subject: [Flashcoders] A very simply question of XML toString()

Hey there,

I was trying to parse the XML to get all value of title and store them
into array at once. Do I have to use loop to push them into an Array or
there is a shortcut for doing this?

I'd like to get something like this...

var arr:Array = new Array();

// to trace arr
arr[0] = Dictionary 1
arr[1] = Dictionary 2

Thank you



   1. var myXML:XML =
   2.   order
   3.   book
   4.   titleDictionary 1/title
   5.   /book
   6.   book
   7.   titleDictionary 2/title
   8.   /book
   9.   /order;
   10. trace( myXML.book.title.toString() )
___
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] Can Flash read a pdf's metadata?

2008-07-31 Thread Paul Venton
Just a thought ... couldn't you use the URLStream class to parse the file as
it's being downloaded and once you have the metadata, close the connection?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: 31 July 2008 21:35
To: Flash Coders List
Subject: Re: [Flashcoders] Can Flash read a pdf's metadata?

Hi Michael,
   The PDF specification is here:

http://www.adobe.com/devnet/pdf/pdf_reference.html

AS3 is perfectly capable of reading it and pulling it apart via the
ByteArray class, although you'd have to write the code to do that.

However, you would need to load the entire PDF into the AS3 app to do so.

If this is a web client application, I'd recommend doing the parsing
serverside - there are a number of libraries for various server-side
languages for reading PDF data.

Then it doesn't matter if you're using AS2 or AS3.

HTH,
   Ian

On Thu, Jul 31, 2008 at 7:56 PM, Mendelsohn, Michael
[EMAIL PROTECTED] wrote:
 Hi list...

 Might there be any way for AS2 to read a pdf's metadata?  AS3?

 Thanks,
 - Michael M.

 ___
 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] Document viewer

2008-06-26 Thread Paul Venton
I take it they're not worried about the user taking screen grabs and email
those off?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart
Campbell
Sent: 26 June 2008 13:23
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Document viewer

Hi,

I have a project where I need the client to be able to view documents in the
browser (PDF, Word, RTF and Excel). However, the requirement is that the
person viewing the document can never save the file and can never get their
hands on it in order to email it to someone etc.

It seems to me that a Flash viewer would be well suited to this kind of
control. However I am not quite sure how to go about it. Is there a Flash
implementation of a viewer that supports these file formats? Would I need to
pre-process the files and put them into swf format?

Has anybody had to do anything similar?

Many thanks in advance

Stu
___
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] Text Editor Undo/Redo Stack

2007-09-13 Thread Paul Venton
Apparently that works in IE 5 and 6.  IE 7 and Firefox throws an alert
requesting permission for clipboard access; who'd what a website accessing
the clipboard without permission?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Marsden
Sent: 12 September 2007 11:46
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Text Editor Undo/Redo Stack

skillz, thanks :)



Muzak wrote:
 Use javascript:

 //HTML
 script language=javascript

  function getClipBoardText() {
   var t = window.clipboardData.getData(TEXT);
   return t;
  }

 /script

   

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

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


RE: [Flashcoders] AS3 ROLL_OVER or MOUSE_OVER ? Which one, and why ?

2007-09-08 Thread Paul Venton
From the docs:

The purpose of the rollOver event is to simplify the coding of rollout 
behaviors for display object containers with children. When the mouse leaves 
the area of a display object or the area of any of its children to go to an 
object that is not one of its children, the display object dispatches the 
rollOver event. This is different behavior than that of the mouseOver event, 
which is dispatched each time the mouse enters the area of any child object of 
the display object container, even if the mouse was already over another child 
object of the display object container.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey
Sent: 08 September 2007 19:22
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] AS3 ROLL_OVER or MOUSE_OVER ? Which one, and why ?

On 9/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  In the AS3 class MouseEvent, what is the use for ROLL_OVER and ROLL_OUT?
 
  They seem to be the same as MOUSE_OVER and MOUSE_OUT...

 ROLL_OVER and ROLL_OUT = mouse button down

Wouldn't that be DRAG_OVER and DRAG_OUT?

 MOUSE_OVER and MOUSE_OUT = no mouse button down

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

2007-09-07 Thread Paul Venton
You could use:

var urlNoCache:String = (System.capabilities.playerType == External ? ?
+ getTimer(): );
  
Appending urlNoCache to your url will only add a string when played in an
external player or test movie.  Testing in anything else creates an empty
string.  Substitute getTimer with whatever random generator you choose.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: 07 September 2007 17:46
To: Flash Coders
Subject: [Flashcoders] caching loaded swfs and jpegs

I have 2 questions about the caching of loaded files:

I'm building a wrapper movie around the Loader and ProgressBar classes.  
During testing from within Flash, once I've loaded a file it remains 
cached by the Flash Player.  This makes it hard to test the loader.  
I've had to add a random number after the file name 
(?+String(Math.random()) in order to get a fresh download each time.  
Isn't there a better way to clear the cache?

Because I'm using AS2, I can't dynamically change the parent of a media 
clip when I need it, but I'd like to preload any anticipated media into 
a buffer clip before they actually get displayed in the UI.  So, if I 
load something into a buffer clip and then later load the same address 
into the UI clip, will the cached data be good to go?  There's probably 
a better way to do this.  I'm open to suggestions.

Thanks!

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

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

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

2007-09-07 Thread Paul Venton
target_mc.closer_mc.onRelease = Delegate.create(this, getPopHolder);



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee Marshall
Sent: 07 September 2007 18:24
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Function call from a function

Still not working... I think it is a scoping issue.

Here's my code (Excuse the bloat, I am very much learning!)



import flash.filters.DropShadowFilter;
import mx.utils.Delegate;
class PopupIll {
//Initialise variables
public static var t:MovieClip;
public static var ref:MovieClip;
public static var popHolder:MovieClip;
public var newX:Number;
public var newY:Number;
public var movieName:String;

//Constructor function
public function loadMC(movieName:String, newX:Number,
newY:Number, ref:MovieClip) {
//The is used if there is a hyperlink call
if (newX == undefined) {
var params = new Array();
params = movieName.split(|, 4);
movieName = params[0];
newX = parseInt(params[1]);
newY = parseInt(params[2]);
}
// 
// Creates an empty MC which holds the popup and
blocker.
popHolder = ref.createEmptyMovieClip(popHolder_mc,
ref.getNextHighestDepth());
// Creates a child movie clip inside of popHolder.
This is the movie clip the loadclip will replace.
var popChild:MovieClip =
popHolder.createEmptyMovieClip(popChild_mc,
popHolder.getNextHighestDepth());
//Creates a listener for the load of the external SWF
var swfListen:Object = new Object();//Create listener
object
var swfMCLoader:MovieClipLoader = new
MovieClipLoader();//Create MovieClipLoader
//Get errors
swfListen.onLoadError = function(target_mc:MovieClip,
errorCode:String, status:Number) {
trace(Error loading image: +errorCode);
};
swfListen.onLoadStart =
function(target_mc:MovieClip):Void  {
//trace(onLoadStart:  + target_mc);
};
swfListen.onLoadProgress = function(target_mc:MovieClip,
numBytesLoaded:Number, numBytesTotal:Number):Void  {
var numPercentLoaded:Number =
numBytesLoaded/numBytesTotal*100;
//trace(onLoadProgress:  + target_mc +  is 
+ numPercentLoaded + % loaded);
//
};
//Routine when SWF is loaded
swfListen.onLoadInit =
function(target_mc:MovieClip):Void  {
//Loads the blocker MC which contains the
invisible button
var a:MovieClip =
popHolder.attachMovie(blocker, blocker_mc,
popHolder.getNextHighestDepth());
a.swapDepths(target_mc);//Swaps the depth odf
the loaded image and blocker
a.inv_btn.useHandCursor = false;//Hides cursor
for the invisible button
a.stop();
a._x = 0;
a._y = 0;
//Dropshadow parameters
var distance:Number = 5;
var angleInDegrees:Number = 45;
var color:Number = 0x00;
var alpha:Number = 0.8;
var blurX:Number = 10;
var blurY:Number = 10;
var strength:Number = 1;
var quality:Number = 3;
var inner:Boolean = false;
var knockout:Boolean = false;
var hideObject:Boolean = false;
//Position MC
target_mc._x =
Stage.width/2+newX-target_mc._width/2;
target_mc._y =
Stage.height/2+newY-target_mc._height/2;
//Add dropsahow effect
var filter:DropShadowFilter = new
DropShadowFilter(distance, angleInDegrees, color, alpha, blurX, blurY,
strength, quality, inner, knockout, hideObject);
var filterArray:Array = new Array();
filterArray.push(filter);
target_mc.filters = filterArray; 
target_mc.closer_mc.onRelease = function() {
Delegate.create(this, getPopHolder);
//popHolder.removeMovieClip();
};
//Removes the loader listener
swfMCLoader.removeListener(swfListen);

};
swfMCLoader.addListener(swfListen);//Adds a listener to
the loading process

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 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] JumpShip Framework, version for AS3 and major update to AS2 version

2007-09-05 Thread Paul Venton
You might find google useful ;-)

http://osflash.org/projects/jumpship


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Sent: 04 September 2007 11:36
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] JumpShip Framework, version for AS3 and major
update to AS2 version

Link???



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

2007-08-31 Thread Paul Venton
Have a gander at the Date object ... it's all there.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corban
Baxter
Sent: 31 August 2007 19:22
To: Flashcoders mailing list
Subject: [Flashcoders] coding a world clock

Just wanted to know where I could get the data to code world clocks in
flash. Since flash works off the system clock am I able to get the time zone
or do I need to use a web service that is available to make this happen?

-- 
Corban Baxter
http://www.projectx4.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] copy bitmap problem in Firefox and Safari

2007-08-25 Thread Paul Venton
Checked with the following:

Internet Explorer 7 with Flash Player 9.0.47.0 no problems encountered.
Internet Explorer 6 with Flash Player 9.0.47.0 no problems encountered.
Firefox 2 with Flash Player 9.0.60.184 images do not load unless cached.
Safari 3 with Flash Player 9.0.60.184 images do not load unless cached.
Opera 9 with Flash Player 9.0.60.184 images do not load unless cached.


Internet Explorer is shows your progress bars for image loading, the others
do not.

I'd say the problem lies with your loading routines.

Hope that helps ...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of natalia
Vikhtinskaya
Sent: 25 August 2007 16:06
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] copy bitmap problem in Firefox and Safari

yes he said that downloaded latest version for Flash player. Did
anybody check it with Safari? I checked it in Firefox and everything
is well at my computer.


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

2007-08-25 Thread Paul Venton
That works fine across all browsers I mentioned previously :-)

If you clear the browser's cache you'd be able to test it yourself.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of natalia
Vikhtinskaya
Sent: 25 August 2007 17:17
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] copy bitmap problem in Firefox and Safari

here I added
if ((tLoaded / tBytes = 1)  (tempHolder._height0) ) {
as you suggest
Does that help? I can not check sorry.

http://www.fancybytes.com/test/index_ver3.html



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

2007-08-24 Thread Paul Venton
According to the documentation, the alpha property accepts a value between 0
and 1, and strength a value between 0 and 255.

So is the documentation wrong?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: 24 August 2007 17:58
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED

The same goes for alpha.
I see you have 75 as alpha value, should be 7.5.

regards,
Muzak

- Original Message - 
From: Alan MacDougall [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, August 24, 2007 6:19 PM
Subject: Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED


 Alan MacDougall wrote:
 After I create a clip with attachMovieClip, I attempt to write a
DropShadowFilter to it using the following code:

 var shadow:DropShadowFilter = new DropShadowFilter(
5,// distance
45,// angle
0x66,// color
75,// alpha
10,// blurX
10,// blurY
100// strength
);
 myClip.filters = new Array(shadow);

 Myth: the strength property of DropShadowFilter takes a value from 0 to
100.

 Fact: It's actually 0.0 to 1.0. I was trying to apply a 10,000% strength
drop shadow.

 MYTH BUSTED.


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

2007-08-22 Thread Paul Venton
Because you're special :-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dr.ache
Sent: 22 August 2007 16:25
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] what is that

but why do i receive that mail? i had written more than one message 
before that confirmation mail.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q:Flash Player update and Impact on 3D in Flash

2007-08-21 Thread Paul Venton
In the context of video acceleration since the hardware, of not available then 
software, will be decoding and displaying the video.  There's no mention of 
hardware being used to accelerate non video playback.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric e. dolecki
Sent: 21 August 2007 15:49
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Q:Flash Player update and Impact on 3D in Flash

The updated support will allow Flash Player to take advantage of hardware
acceleration provided in computer video cards




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

2007-06-12 Thread Paul Venton
I had thought of posting something similar but in all seriousness this
really is pretty basic stuff.

Please read some of the Flash documentation, specifically regarding XML -
it's all there for the taking.  Either that or maybe the FlashNewbies list
... no offence intended.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
Sent: 12 June 2007 17:41
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Cycle through XML nodes

currentImage++



On 6/12/07, José Maria Barros [EMAIL PROTECTED] wrote:

 Hi, all..I hope anyone can help me here..

 I have two buttons: a next and a previous button.

 I need to cycle through the XML nodes with that..

 Like a photo menu that i press next and the next photo and text loads..

 Can anyone give me hints about it?

 THanks in advance



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2: capturing a href=link/a events?

2007-05-16 Thread Paul Venton
asfunction :-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: 16 May 2007 12:13
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS2: capturing a href=link/a events?

Hello again, a more difficult question maybe...

Is there any way for me to capture a user click on an href tag inside of 
a CSS formatted html text field?

Here is what I do:
- CDATA formatted text in an XML file.
- load it and associate a CSS file to a generated text field at run time.
- resulting a tags have links assigned to them.
- user 'clicks' them - event capture??

In other words: what I need to do is to hear the event so I can dispatch 
an event to my Controller class [who then sends info to the stats class, 
and opens a browser window with predetermined formatting].

At the moment I can't see a way for this event to be heard by my 
controller. Maybe this is simple? maybe its impossible, or complex... 
any ideas? Javascript maybe?

Thanks for your help!

seb.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2: capturing a href=link/a events?

2007-05-16 Thread Paul Venton
Make sure you aren't putting spaces in your function call ... ie 
asfunction:myFunc,p1,p2

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian
Sent: 16 May 2007 15:17
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] AS2: capturing a href=link/a events?

BTW: I've noticed the second parameter doesn't pass, only the first.
I'm using flash 8, AS2.

I think this is a known issue... but I could be wrong. I'm using a split 
function to extract more parameters...

Thought I'd share!

wk,

seb.

eka wrote:
 Hello :)
 
 in actionscript (1 or 2) you can use the notation :
 
 a href=asfunction:myMethod,param1,param2Link/a
 
 In your code... in the parent of your textfield (the parent movieclip), you
 can creates the method myMethod 
 
 example :
 
 var format:TextFormat = new TextFormat(arial, 12) ;
 format.bold = true ;
 
 var target:MovieClip = this.createEmptyMovieClip(mc, 1) ;
 target._x = 25 ;
 target._y = 25 ;
 target.myMethod = function( arg1, arg2 )
 {
trace( callback :  + arg1 +  :  + arg2) ;
 }
 
 var field:TextField  = target.createTextField( field, 1, 0 , 0, 200, 
 20) ;
 field.autoSize = true ;
 field.border = true ;
 field.setNewTextFormat( format ) ;
 field.html = true ;
 field.htmlText = 'a href=asfunction:myMethod,param1,param2Link/a' ;
 
 You can use TextField.StyleSheet to apply a css style in your fields 
 etc
 
 Read the actionscript reference with the words TextField and asfunction :)
 
 EKA+ :)
 
 2007/5/16, sebastian [EMAIL PROTECTED]:

 Hello again, a more difficult question maybe...

 Is there any way for me to capture a user click on an href tag inside of
 a CSS formatted html text field?

 Here is what I do:
 - CDATA formatted text in an XML file.
 - load it and associate a CSS file to a generated text field at run time.
 - resulting a tags have links assigned to them.
 - user 'clicks' them - event capture??

 In other words: what I need to do is to hear the event so I can dispatch
 an event to my Controller class [who then sends info to the stats class,
 and opens a browser window with predetermined formatting].

 At the moment I can't see a way for this event to be heard by my
 controller. Maybe this is simple? maybe its impossible, or complex...
 any ideas? Javascript maybe?

 Thanks for your help!

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

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

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

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


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

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


RE: [Flashcoders] Make your own multiuser flash apps

2007-02-15 Thread Paul Venton
Looks good - had a quick test with a dead cat but ran out of time ... plan
on making a proper visit soon :-)


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

2006-10-12 Thread Paul Venton
Says who?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: 12 October 2006 21:20
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Moving to AS2, array always undefined

There's more than one way to skin a cat is another common expression, 
but it does not mean we all go around doing it :)



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

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


RE: [Flashcoders] Right-MouseClick

2006-09-22 Thread Paul Venton
I works with Firefox 1.5.0.7 but not when testing with IE7RC1.  The latter
still shows a minimal menu along with the custom one.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John VanHorn
Sent: 22 September 2006 18:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Right-MouseClick

http://www.flashextensions.com/index.php?page=labs

im not exactly sure how he does it, but robert taylor has a custom right
click menu component.

On 9/22/06, Michael Bedar [EMAIL PROTECTED] wrote:

 Is there a reliable way to detect a r-mouse click, and at the same
 time suppress the context menu? I could swear that there was a simple
 way to do it, but I amy be having a DIrector flashback..no pun intended.

 Thanks,
 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




-- 
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JOB: BLITZ Agency

2006-08-18 Thread Paul Venton
Just checked out the website and thought I'd report an issue I'm having.

I'm using IE6SP2 with Flash Player 9.0.16.0.  I have to manually refresh the
page after clicking any of the main menu items; they all stall after
reporting 100% loading.

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

2006-08-18 Thread Paul Venton
I know PHP uses it and TorqueScript use $ and % to differentiate between
global ($) and local (%) variables but it has no special meaning in Flash.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 18 August 2006 19:27
To: Flashcoders mailing list
Subject: [Flashcoders] vars with $

Hi,
Can anyone tell me what special meaning vars with $ have...
thanks

b


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

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


RE: [Flashcoders] JOB: BLITZ Agency

2006-08-18 Thread Paul Venton
Maybe that's why they're after a new developer ;-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elena Blanco
Sent: 18 August 2006 19:48
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] JOB: BLITZ Agency

Same thing here with firefox 1.0.7 on win2k + flash player 9.

All is stuck at 100%

Elena


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

2006-08-11 Thread Paul Venton
Crazy talk my arse!  ;-)

I've used XML with HTML and CSS to drive several commercial products I've
developed.  So long as all tags are correctly terminated it makes sense to
use XML; where do you think XHTML came from?

XML is, by nature, a portable document that can be used and interpreted by
other programs.  You only use CDATA as a last resort as it can be a real
pain to process in some other languages.  Flash Player doesn't even
recognise CDATA nodes as a type; only element and text nodes.

With XML, you know the structure of the document you're working with as it
is defined at some point.  If I know that all data inside my content element
is XHTML then I only need to fetch its contents or rather its child nodes.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Stearns
Sent: 10 August 2006 17:31
To: Flashcoders mailing list
Subject: Re: [Flashcoders] HTML in XML

this advice is all crazy talk.

the proper way to do it is to use CDATA tags.



On Aug 9, 2006, at 12:04 PM, Ryan Potter wrote:

 Another way that works pretty well is to do a join on the child nodes.

 So your trace would look like this:

 trace(newsNode.childNodes[i].childNodes.join());

 As long as your html is xml compliant (br/ instead of br) it will
 work just fine.


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

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


RE: [Flashcoders] Class Silent

2006-08-05 Thread Paul Venton
Well for starters, your fadeObj method defines a parameter which has the
same name as your public variable.

Also, it appears that your onEnterFrame contains a reference to mc that
doesn't exist in its scope; perhaps using a Delegate helper would solve
that, or simply change it to this since the method belongs to your mc
anyway.

Although this could just be a typo, where you're instantiating your class,
you're missing a ( after the class name.

Hope that helps get you back on track - good luck!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CK
Sent: 05 August 2006 23:58
To: Flashcoders mailing list
Subject: [Flashcoders] Class Silent

Hi,

The following class I've coded fails to fade the MC on stage. Could  
someone explain why the code fails?
//Class
class FadeAlpha extends MovieClip {
private var alpha:Number = this._alpha;
private var visible:Boolean = this._visible;
public var alphaRate:Number;
public var mc:MovieClip;
//constructor left enpty, can use later.
public function FadeAlpha() {
fadeObj();
}
function fadeObj(mc:MovieClip, alphaRate:Number) {
mc.onEnterFrame = function() {
mc.alpha -= alphaRate;
if (mc.alpha=0) {
mc._visible = false;
delete mc.onEnterFrame;
}
};
}
}

 From AS Timeline:
import FadeAlpha;
var fadeAlpha:FadeAlpha = new FadeAlpha);
img01_mc.fadeAlpha(this, 5);
On Stage:
img1_mc



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

2006-08-01 Thread Paul Venton
Hello

 

I'm building a Flash 8 application that parses XML files containing HTML and
a separate CSS file to build its various layouts using homebrew components.
So far I'm having a wail of time as almost everything has been working as
expected.

 

One of this project's requirements is that pop-up windows can contain
graphics and/or text so for simplicity I've used a text field to dynamically
load in whatever is relevant to that pop-up.  Some of those graphics are
embedded SWF files; they have their own control for printing and that's
where my problem begins.

 

The printable SWF libraries contain linkage ids for the print target clip
along with links a shared print button clip. The print button, when
clicked, creates the page layout with headers and footers and attaches the
print target, scaling and rotating as needed to fit properly on a piece of
paper.  It all works fine when the SWF is not embedded in a text field,
however when embedded, the printed page is clipped to the boundaries of the
text field that the SWF is in.

 

I've tried creating the page using a container elsewhere (i.e. at various
_parent's up to get above the text field object) but if I do that then
nothing shows at all; yet I know the print page is being created as I have
access to all of the objects in it.

 

I am aware that the text field object has problems, such as showing inline
images, and have tried things like adding a few dozen line breaks in the
HTML but to no avail.

 

The only bit of luck I have had is to set the parent or the embedded SWF
(the text field) mask to null.  The complete page prints out perfectly.
However, I cannot reapply the text field's mask as I don't know what it's
called.  Unfortunately there is no getMask() method.

 

So, does anyone know a workaround or know what the name of the object the
text field uses to mask its contents?

 

Please help as I'm rapidly running out of hair to pull!  I've searched the
archives and haven't been able to spot anything related to this.  (I have
local copy of every Flash Coder email going back to early 2002 so that
should be early enough!)

 

Thanks in advance

 

Paul

 

 

Information in this message is confidential and may be legally privileged.
It is intended solely for the person to whom it is addressed. If you are not
the intended recipient, please notify the sender, and please delete the
message from your system immediately. The contents of an attachment to this
message may contain software viruses which could damage your computer
system. Whilst every reasonable precaution to minimise this risk has been
taken, we cannot accept liability for any damage which you sustain as a
result of software viruses. You should carry out your own virus checks
before opening any attachment.

 

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

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