[Flashcoders] Shifting points 90 degrees

2007-04-24 Thread Adrian Lynch
Hey all,

I'm using the tutorial on building a carousel from gotoandlearn.com as the
basis of one that has a few more things it can do.

I'm having trouble with the placement of items on the circle at the
beginning.

The angle is derived with:

t.angle = i * ((Math.PI * 2) / numOfItems);

The x and y coords are derived with:

t._x = Math.cos(t.angle) * radiusX + centerX;
t._y = Math.sin(t.angle) * radiusY + centerY;

This starts the placement of the items on the circle starting at 3
o'clock(east), whereas I would like them to start at 6 o'clock(south).

How would I go about adding 90 degrees to the initial placement?

Cheers.

Adrian

___
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] Shifting points 90 degrees

2007-04-24 Thread Adrian Lynch
Through playng about, I've come up with changing:

t.angle = i * ((Math.PI * 2) / numOfItems);

to:

t.angle = (i * ((Math.PI * 2) / numOfItems)) + (Math.PI * .5);

Adding 90 degrees to all items.

Seems to work :O)

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 24 April 2007 11:22
To: Flashcoders
Subject: [Flashcoders] Shifting points 90 degrees


Hey all,

I'm using the tutorial on building a carousel from gotoandlearn.com as the
basis of one that has a few more things it can do.

I'm having trouble with the placement of items on the circle at the
beginning.

The angle is derived with:

t.angle = i * ((Math.PI * 2) / numOfItems);

The x and y coords are derived with:

t._x = Math.cos(t.angle) * radiusX + centerX;
t._y = Math.sin(t.angle) * radiusY + centerY;

This starts the placement of the items on the circle starting at 3
o'clock(east), whereas I would like them to start at 6 o'clock(south).

How would I go about adding 90 degrees to the initial placement?

Cheers.

Adrian

___
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 8 Trial

2007-04-17 Thread Adrian Lynch
Maybe it's just me, but I can't find any Flash trials on adobe.com. Are any
available?

Does anyone have a trial copy of Flash 8 I could get hold of if not?

Cheers all.

Adrian Lynch

___
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] gotoandlearn.com down

2007-04-17 Thread Adrian Lynch
I can't get to gotoandlearn.com, anyone else having the same problem?

I'm after the carousel tutorial, does anyone have the files to hand?

Ta.

Adrian Lynch
___
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 8 Trial

2007-04-17 Thread Adrian Lynch
Cheers John.

Julien, you're a star! Downloading as I type :O)

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Julien
Vignali
Sent: 17 April 2007 19:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash 8 Trial


Hey, got the same problem recently...
I've found a direct link that still works :
https://www.adobe.com/cfusion/tdrc/index.cfm?product=flashpro

2007/4/17, John Dowdell [EMAIL PROTECTED]:
 Adrian Lynch wrote:
  Maybe it's just me, but I can't find any Flash trials on adobe.com.
  Are any available?

 My apologies... it looks like many of the older trial versions were
removed from the main listing when the CS3 announcements arrived, but new
trials of individual tools won't be on the site for a few weeks yet. I've
escalated this internally, but have not yet received staff reply.

 Last week I heard that you can still access some of the older Macromedia
Studio trials by going through the link for FreeHand MX, but I have not
confirmed today that this path is still available. Worth a shot...?

 jd/adobe



 ___
 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



--
Julien Vignali
___
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] import own class (use SOME_CONST instead ofMyUtils.SOME_CONST)

2007-04-04 Thread Adrian Lynch
Short of someone giving you a better answer, I'd say no. Unless you write
something that took a class and put all it's static members in the current
scope.

Best to wait till someone else answers this though, I'm just guessing :)

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alexander
Farber
Sent: 04 April 2007 08:41
To: Flashcoders mailing list
Subject: [Flashcoders] import own class (use SOME_CONST instead
ofMyUtils.SOME_CONST)


Hi,

I'd like to move few constants and functions my project is using
into a separate class, called Util. How could I please make them
importable, i.e. so that I could write just

   import Util;
   trace(SOME_CONSTANT);

instead of always prepending Util. in front of the variables:

   trace(Util.SOME_CONSTANT)

I can't find it in the Flash help... Thank you

Also I wonder if I can run some function on the import statement
or do I have to always call Util.init_my_static_vars() manually?

Regards
Alex

--
http://preferans.de

___
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 ...

2007-04-04 Thread Adrian Lynch
You email lost it's formatting at my end. Try sending again.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen
Ford
Sent: 04 April 2007 07:27
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] MovieClipLoader ...


Can anyone see why the callback events on the oLoadListener object in the
following class aren't firing:import mx.data.binding.ObjectDumper;import
mx.events.EventDispatcher;import mx.utils.Delegate;class TowerVideoPlayer
extends MovieClip {
//--
--//PROPERTIES
//--
-- // String values of class name and class versionpublic var
sClassName:String;public var sVersion:String;// Class variables
for EventDispatcherprivate var dispatchEvent:Functionpublic var
addEventListener:Function;public var removeEventListener:Function;
// Sound object for the videoprivate var sndVideo:Sound;// Value
of the video's sound objectprivate var bSound:Boolean;// Data
for loading of SWFsprivate var xmlVideo:XML;// Holder clip for
the loaded SWFprivate var mcHolder:MovieClip;// MovieClipLoader
for the SWFprivate var mclLoader:MovieClipLoader;// Load
listener for SWFsprivate var oLoadListener:Object;
//--
--//CONSTRUCTOR
//--
-- public function TowerVideoPlayer(){setup();}
//--
--//FUNCTIONS
//--
-- private function setup():Void{
trace(TowerVideoPlayer.setup());sClassName =
TowerVideoPlayer;sVersion = 0.0.1;bSound = true;
oLoadListener = new Object();mcHolder =
createEmptyMovieClip(mcHolder, this.getNextHighestDepth());
mclLoader = new MovieClipLoader();// Initialise event
dispatcherEventDispatcher.initialize(this);
oLoadListener.onLoadComplete = function(mcTarget:MovieClip,
httpStatus:Number):Void{trace(
loadListener.onLoadComplete());}
oLoadListener.onLoadInit = function(mcTarget:MovieClip):Void
{trace( loadListener.onLoadInit());}
mclLoader.addListener(oLoadListener);
mclLoader.loadClip(http://www.w3.org/Icons/w3c_main.png;, mcHolder);
trace(ObjectDumper.toString(this));}}___

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] eolas fix for IE7

2007-04-03 Thread Adrian Lynch
I'm using it and it works. Got any code to have a look at. Maybe you're
using it differently.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matthew
Ganz
Sent: 03 April 2007 17:20
To: Flashcoders mailing list
Subject: [Flashcoders] eolas fix for IE7


hi.

i've tried implementing the eolas fix using the flashobject.js method and
swfobject.js method and they both work for IE6 but not for IE7. is there a
different fix needed for IE7?

thanks. -- matt.

___
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] SWF Only Loads Once

2007-03-30 Thread Adrian Lynch
I second that, only I tend to pass it in via FlashVars so I can leave it to
cache if I want to.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven
Sacks | BLITZ
Sent: 30 March 2007 01:33
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] SWF Only Loads Once


XML almost always caches.  Use a noCache param.


var path:String = some.xml;
var d:Date = new Date();
var p:String = (path.indexOf(?)  -1) ? noCache= : ?noCache=;
var noCache:String = (_root._url.indexOf(http://;)  -1) ? p +
d.getTime() : ;
var xmlPath:String = path + noCache;
myXML.load(xmlPath);

___
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] Image resizer that maintains ratio

2007-03-26 Thread Adrian Lynch
Any examples out there?

I've got as far as resizing a user supplied image and am about to work on
the ratio remaining fixed. Just thought I'd throw this out there as I think
it may be tricky.

Ta.

Adrian

___
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] FW: Image resizer that maintains ratio

2007-03-26 Thread Adrian Lynch

Should have pointed out, the resizing will happen by the user dragging
anchor points on the corners of the images.

Ta.

-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 26 March 2007 13:08
To: Flashcoders
Subject: Image resizer that maintains ratio


Any examples out there?

I've got as far as resizing a user supplied image and am about to work on
the ratio remaining fixed. Just thought I'd throw this out there as I think
it may be tricky.

Ta.

Adrian

___
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] Image resizer that maintains ratio

2007-03-26 Thread Adrian Lynch
Yup, sorry for being vague.

It's the maintaining of the ratio while the user resizes that I'm after.

A user uploads an image, I load this image into a container and force it to
fit into a maximum and minimum width and height. Within this container the
user can resize the image without expanding out of the container and all the
time maintaining the original ratio.

The resizing will be done by dragging an anchor point like this:

http://www.adrianlynch.co.uk/temp/resizer.gif

I have it working but it allows the image to be resized anyway the user
chooses. I also need to make the anchor stick to the bottom right hand
corner of the image.

I think I will work this out eventually but I wanted to see if there was
anything out there already that I could glean some ideas from.

Thanks.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
Kodicek
Sent: 26 March 2007 14:03
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Image resizer that maintains ratio


  Any examples out there?

 I've got as far as resizing a user supplied image and am
 about to work on the ratio remaining fixed. Just thought I'd
 throw this out there as I think it may be tricky.

How are they resizing? Which bit is tricky? Maintaining an aspect ratio
isn't too hard - you're just losing a degree of freedom from the user input.


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] Image resizer that maintains ratio

2007-03-26 Thread Adrian Lynch
Ah nice one Jack. That's just what I was looking for.

Will let you know how I get on.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jack
Doyle
Sent: 26 March 2007 15:59
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Image resizer that maintains ratio


This might be overkill, but feel free to use the TransformManager and/or
TransformItem class(es) available at
http://www.greensock.com/ActionScript/TransformManager. You can just set the
constrainScale_boolean property to true.

Jack Doyle


-Original Message-
Date: Mon, 26 Mar 2007 13:08:09 +0100
From: Adrian Lynch [EMAIL PROTECTED]
Subject: [Flashcoders] Image resizer that maintains ratio
To: Flashcoders flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]

Any examples out there?

I've got as far as resizing a user supplied image and am about to work on
the ratio remaining fixed. Just thought I'd throw this out there as I think
it may be tricky.

Ta.

Adrian

___
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] Site Check - Seems Fine

2007-03-16 Thread Adrian Lynch
Not my site but after seeing how long this takes to load, if it loads, I'd go 
for the loading images when needed approach. Or better yet, load them from a 
que and make it so you can push items to the front of the que when they are 
requested.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul V.
Sent: 14 March 2007 20:51
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Site Check - Seems Fine


Anton,
Loading site.  It at 15% and still going...I can wait till it loads
complete.  ...18%.   I am on line speed here. But I will wait.  But
certainly past 1 or 2 % uploaded.I am working on a photo / art work site
as well.  I have a question for you, are you loading in the galleries or
images in separate  swf's? with loadMovie.  I haven't decided which way to
do that.  Because like yours my site loads slowly, and it isn't near fully
weighed with images yet.  I would love to get an answer.
25%...60%...alright now I want to wait around to see the photos , I am
sure it loads fine.

Paul
Vdst.
- Original Message - 
From: Anton Kindblad [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 10:42 AM
Subject: Re: [Flashcoders] Site Check


 On 3/14/07, Adrian Lynch [EMAIL PROTECTED] wrote:
 
  Could I get some of you to check this site:
 
  http://www.simon-mills.co.uk/test/
 
  Some people are saying that it gets stuck at 1% or 2%. Can anyone
confirm
  this?
 
 

 Works perfectly fine for me atleast... :)

 /Anton

___
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] Site Check

2007-03-16 Thread Adrian Lynch
Math.round() should do it.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gustavo
Duenas
Sent: 16 March 2007 13:01
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Site Check


finally I got it...but it is exactly as the one you have in the simon- 
mills.co.uk  but anyway, isn't take too long to load? I guess so.
I'd recommended to use external swf files, and is a nice site, neat,  
clear and the message stands clear.

Regards

Gustavo


P.s: how do you did the loader to load in the text part exactly the  
percentage % because when I do the math totalBitesLoaded *  
totalFramesLoaded/100 it doesn't return the percentage in two digits,
instead is returning numbers and decimals, like 84,44% ... Do you  
know how can I have a neat and clear percentage loaded?
___
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] Site Check

2007-03-14 Thread Adrian Lynch
Could I get some of you to check this site:

http://www.simon-mills.co.uk/test/

Some people are saying that it gets stuck at 1% or 2%. Can anyone confirm
this?

Cheers.

Adrian Lynch

___
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] Site Check

2007-03-14 Thread Adrian Lynch
Thank for that people.

It's not my site, just about to help a friend fix the problem. I spotted the
email too. I have no idea why but I agree, it's a little odd.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Andrews
Sent: 14 March 2007 16:17
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Site Check


Good for me. Nice work.

On the site itself I found it odd to have a dedicated domain, yet the
contact email was virgin.net.

Paul

- Original Message -
From: Adrian Lynch [EMAIL PROTECTED]
To: Flashcoders flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 3:37 PM
Subject: [Flashcoders] Site Check


 Could I get some of you to check this site:

 http://www.simon-mills.co.uk/test/

 Some people are saying that it gets stuck at 1% or 2%. Can anyone confirm
 this?

 Cheers.

 Adrian Lynch

 ___
 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] Text as you type

2007-03-08 Thread Adrian Lynch
I need to mimic the Flash IDE static text tool.

Not the placement of where the text field will go but the way the box
expands when you type, to a limit, and the way it expands down when you hit
return. The user will also be able to change font and font size just to add
to the complexity.

Does anyone have any examples of this in action?

Adrian Lynch
http://www.halestorm.co.uk/
http://www.adrianlynch.co.uk/
___
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] Small text in components

2007-02-23 Thread Adrian Lynch
Can anyone suggest a reason for this:

http://www.adrianlynch.co.uk/temp/smalltext.jpg

The text is super tiny in all teh components. As far as I know, all I did
was drag the components onto the stage. I used the resize tool on the
buttons and text area but not the drop downs.

A stumped Adrian.

___
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] Italic text being chopped

2006-11-14 Thread Adrian Lynch
My ps, qs, gs, ys and js are having their tails chopped off when made italic
in a static text field. I've played about with the line spacing and
indenting but to no avail.

I thought it would be a simple fix but nothing I'm doing is working. Any
ideas?

Thanks

Adrian

___
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] Italic text being chopped

2006-11-14 Thread Adrian Lynch
Cheers T.

It's verdana, 11, bitmap text (no anti-alias).

I'm stuck with this due to brand guidelines.

Any other ideas?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
Burton
Sent: 14 November 2006 11:31
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Italic text being chopped


What font are you using? I've had a similar issue with ascenders in the past
rather than descenders but turned out to be a dodgy font.

T

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 14 November 2006 10:49
To: Flashcoders
Subject: [Flashcoders] Italic text being chopped

My ps, qs, gs, ys and js are having their tails chopped off when made italic
in a static text field. I've played about with the line spacing and
indenting but to no avail.

I thought it would be a simple fix but nothing I'm doing is working. Any
ideas?

Thanks

Adrian

___
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] Italic text being chopped

2006-11-14 Thread Adrian Lynch
This is just a static text field. I changed it to dynamic and had a play
about with it's text format but no joy just yet.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
Burton
Sent: 14 November 2006 11:57
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Italic text being chopped


If it's Verdana then I doubt it's the font - my problem was with Channel 4's
custom font (you'd think they'd have spent some money getting someone to
create it correctly).

If it's only descenders getting cropped then have you tried outlining your
text boxes to see if there's anything going on there? - how are you setting
the style on the textfield - TextFormat or Styles?

T

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 14 November 2006 11:45
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Italic text being chopped

Cheers T.

It's verdana, 11, bitmap text (no anti-alias).

I'm stuck with this due to brand guidelines.

Any other ideas?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
Burton
Sent: 14 November 2006 11:31
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Italic text being chopped


What font are you using? I've had a similar issue with ascenders in the past
rather than descenders but turned out to be a dodgy font.

T

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: 14 November 2006 10:49
To: Flashcoders
Subject: [Flashcoders] Italic text being chopped

My ps, qs, gs, ys and js are having their tails chopped off when made italic
in a static text field. I've played about with the line spacing and
indenting but to no avail.

I thought it would be a simple fix but nothing I'm doing is working. Any
ideas?

Thanks

Adrian

___
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

___
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] Italic text being chopped

2006-11-14 Thread Adrian Lynch
Thanks, tried that, still no joy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian
Thomas
Sent: 14 November 2006 13:31
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Italic text being chopped


Probably irrelevant - the only time I've had that happen was just
something really silly - the text field was too short for the font
size. :-)

Ian

On 11/14/06, Adrian Lynch [EMAIL PROTECTED] wrote:
 This is just a static text field. I changed it to dynamic and had a play
 about with it's text format but no joy just yet.

 Adrian
___
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] Chopping an FLV

2006-11-07 Thread Adrian Lynch
Thanks Meinte. I had a look at FLVKnife which uses FLVTool. Not sure why
FLVTool on it's own wouldn't work, maybe installing FLVKnife installed some
dependencies.

Thanks all.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Meinte
van't Kruis
Sent: 07 November 2006 13:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Chopping an FLV


that's odd, it works for me. I did install the on2 vp6 codec tho, perhaps
the video you're trying to cut is encoded with that codec, which would
explain the audio working but video not working.

for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be
distributed by on2, but not anymore, not sure if its legal or not.


Meinte

On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 Thanks for that. I'm having a play about with it.

 I can't get it to work with the following:

 C:\flvtool2_1.0.5_rc6flvtool2 -C -i 1 -o 2 Test.flv
 Test1_2.flv

 It produces the new shortened FLV but it only has sound, no video.

 Any ideas?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Meinte
 van't Kruis
 Sent: 06 November 2006 13:34
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Chopping an FLV


 i'm using flvtool to auto-cut movies for me, its beta, but it works.

 Meinte

 On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:
 
  Hey all,
 
  I am trying to extract a small section of a larger flv file and was
  wondering the best way to do it. I thought that importing to a movie,
  expanding the timeline and cutting the frames out would work but alas
 no.
 
  Any pointers or ideas.
 
  Cheers.
 
  Adrian
 
  ___
  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

___
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] Chopping an FLV

2006-11-06 Thread Adrian Lynch
Hey all,

I am trying to extract a small section of a larger flv file and was
wondering the best way to do it. I thought that importing to a movie,
expanding the timeline and cutting the frames out would work but alas no.

Any pointers or ideas.

Cheers.

Adrian

___
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] Chopping an FLV

2006-11-06 Thread Adrian Lynch
Thanks for that. I'm having a play about with it.

I can't get it to work with the following:

C:\flvtool2_1.0.5_rc6flvtool2 -C -i 1 -o 2 Test.flv
Test1_2.flv

It produces the new shortened FLV but it only has sound, no video.

Any ideas?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Meinte
van't Kruis
Sent: 06 November 2006 13:34
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Chopping an FLV


i'm using flvtool to auto-cut movies for me, its beta, but it works.

Meinte

On 11/6/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 Hey all,

 I am trying to extract a small section of a larger flv file and was
 wondering the best way to do it. I thought that importing to a movie,
 expanding the timeline and cutting the frames out would work but alas no.

 Any pointers or ideas.

 Cheers.

 Adrian

 ___
 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] jigsaw puzzle piece algorithm

2006-07-05 Thread Adrian Lynch
This was done a while back, but having it uniform doesn't work too well:

http://www.halestorm.co.uk/jigsaw/

The innie-outie bit's are done randomly and it looks ok, but I was hoping to
find something that would  cut it more like a regular jigsaw.

Let us know if you find anything.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Hall
Sent: 06 July 2006 04:09
To: Flashcoders mailing list
Subject: Re: [Flashcoders] jigsaw puzzle piece algorithm


The optimal way is probably to use copyPixels() for each puzzle piece,
setting the alphaBitmapData argument to an image that contains just
the puzzle piece shape. That will effectively mask out the shape of
the piece, but will perform a lot better than using a vector mask, as
it will have modified the image, rather than apply the mask each time
the screen area gets redrawn.

Jigsaw puzzle pieces are likely quite small as vector graphics, so you
might want to keep them as vector assets and then create the
alphaBitmapData objects at runtime, as you need them.

If you really want to generate the shape pieces dynamically, you could
divide the image into rectangles (or randomly varying quadrilaterals,
to keep it interesting), then have a selection of nobbly bits you
could randomly choose to add or remove from each side of the pieces.
Having someone draw these by hand seems like less hassle though -
unless you need to create a lot of puzzles...

Peter


On 7/6/06, Guntur N. Sarwohadi [EMAIL PROTECTED] wrote:
 I'm working on a puzzle game in flash, much similar to jigsaw puzzles you
 see in gameHouse or such casual game publisher. I'm having a hard time
 trying to cut an image to make it as puzzle pieces in AS2. Currently I'm
 doing it the hard way, cloning bitmapData image, and masking portions of
the
 image. Can you cut parts on an image using bitmapData methods? And does
 anyone know how to create the infamous jigsaw pattern to it as well?

 Many thanks,
 Guntur N. Sarwohadi

___
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] OT: 5 minute job?

2006-07-02 Thread Adrian Lynch
Sorry if this has been passed around already.

http://www.onlinehry.sk/play.aspx?id=1702

Ade
___
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] word docs-to-xml file

2006-05-17 Thread Adrian Lynch
Save the Word doc as HTML and see if it's easier to parse it. I had to do
something similar but I gave up as the HTML was a right royal mess.

Let us know how you get on.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marlon
Harrison
Sent: 17 May 2006 16:53
To: Flashcoders mailing list
Subject: [Flashcoders] word docs-to-xml file


I made an xml file for a swf that i'm working on and i'm looking for a
quick way to get the data out of the docs into the xml file.
basically, there's 50 docs that have data that map to some nodes in my
file.  is there a text editor or some macro i can use to automate this
process?  im runnning mac os x (10.4) tiger

___
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] Scrollpane Movement

2006-05-16 Thread Adrian Lynch
I'm knocking up a quick scrollpane(needs to be small filesize) and I'm
having a '20 minutes till home time moment'...

To work out the amount to move the content I have it as:

ratio = contentHeight - trackHeight;

theContent._y += pixelsMoved * ratio;

Where track is the slot the scroll bar moves up and down in and content is
the MC I'm putting in the scroll pane.

What haven't I thought of or what am I doing wrong.

Right now the content shoots off screen. I'm still debugging but I thought
I'd put this out there incase someone has the equation needed to hand.

Thanks.

Adrian Lynch

___
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] Scrollpane Movement

2006-05-16 Thread Adrian Lynch
ratio = contentHeight - trackHeight;

should have been:

ratio = contentHeight / trackHeight;

Thanks for reading :O)

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 16 May 2006 17:43
To: Flashcoders
Subject: [Flashcoders] Scrollpane Movement


I'm knocking up a quick scrollpane(needs to be small filesize) and I'm
having a '20 minutes till home time moment'...

To work out the amount to move the content I have it as:

ratio = contentHeight - trackHeight;

theContent._y += pixelsMoved * ratio;

Where track is the slot the scroll bar moves up and down in and content is
the MC I'm putting in the scroll pane.

What haven't I thought of or what am I doing wrong.

Right now the content shoots off screen. I'm still debugging but I thought
I'd put this out there incase someone has the equation needed to hand.

Thanks.

Adrian Lynch
___
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] Scrollpane Movement

2006-05-16 Thread Adrian Lynch
Nope, that was it, cheers.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim
Robson
Sent: 16 May 2006 17:48
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Scrollpane Movement


Don't you want...

ratio = contentHeight/trackHeight

Or am I missing something too?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: Tuesday, May 16, 2006 12:43 PM
To: Flashcoders
Subject: [Flashcoders] Scrollpane Movement

I'm knocking up a quick scrollpane(needs to be small filesize) and I'm
having a '20 minutes till home time moment'...

To work out the amount to move the content I have it as:

ratio = contentHeight - trackHeight;

theContent._y += pixelsMoved * ratio;

Where track is the slot the scroll bar moves up and down in and content is
the MC I'm putting in the scroll pane.

What haven't I thought of or what am I doing wrong.

Right now the content shoots off screen. I'm still debugging but I thought
I'd put this out there incase someone has the equation needed to hand.

Thanks.

Adrian Lynch

___
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] XML attributes with - in the name

2006-05-13 Thread Adrian Lynch
Yes, that's the way I've been getting at attributes. No problems so far.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rifled
Cloaca
Sent: 12 May 2006 20:09
To: Flashcoders mailing list
Subject: [Flashcoders] XML attributes with - in the name


All,

I'm reading a SMIL file, and it has regions with - in an attribute
name (z-index).

Obviously, if I refer to the attrib explicitly, like
XMLnode.attributes.z-index, it'll read that as a minus.  Should I use
XMLNode.attributes[z-index]?  Is this kosher?

Thanks!
-g
___
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] v1 components in Flash 2004

2006-05-11 Thread Adrian Lynch
Can anyone point me to info about using v1 components in Flash 2004? I want
something smaller than the v2 scroll pane. It increases the swf by 500%!

Will using the MX version be a better move?

Thanks.

Adrian Lynch
http://www.halestorm.co.uk/

___
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] v1 components in Flash 2004

2006-05-11 Thread Adrian Lynch
I might have to go down that path.

I've swippedthe v1 SP from a file(copied from the library) and added it to
another movie but it dones't seem to be working.

I get a white box with the bars missing and no loaded content.

Any ideas?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan
Hovey
Sent: 11 May 2006 11:27
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] v1 components in Flash 2004


Hey there,

Ghostwire Studios has some excellent v1 components. The scroll pane is part
of Set 1.

http://www.ghostwire.com/

Cheers,

Ryan Hovey

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: Thursday, May 11, 2006 7:13 AM
To: Flashcoders
Subject: [Flashcoders] v1 components in Flash 2004

Can anyone point me to info about using v1 components in Flash 2004? I want
something smaller than the v2 scroll pane. It increases the swf by 500%!

Will using the MX version be a better move?

Thanks.

Adrian Lynch
http://www.halestorm.co.uk/

___
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] v1 components in Flash 2004

2006-05-11 Thread Adrian Lynch
I can't seem to download this extension on Adobe's site:

http://www.adobe.com/cfusion/exchange/index.cfm?extid=1009423view=sn111#loc
=en_usextid=1009423view=sn111viewName=Flash%20Extensionavm=1

The download bottom doesn't do anything. Anyone else seeing this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 11 May 2006 12:18
To: Flashcoders mailing list
Subject: RE: [Flashcoders] v1 components in Flash 2004


I might have to go down that path.

I've swippedthe v1 SP from a file(copied from the library) and added it to
another movie but it dones't seem to be working.

I get a white box with the bars missing and no loaded content.

Any ideas?

Adrian

___
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] quick xml question

2006-05-08 Thread Adrian Lynch
... you could email it to me along with a cheque for ?1000 and I will hand
stitch it into a piece of felt, take a picture of it and email you a jpeg!

Oh come on, don't tell me you're not tempted! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: 08 May 2006 21:44
To: Flashcoders mailing list
Subject: RE: [Flashcoders] quick xml question


You could also use .Net or ColdFusion or

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] MC Tween

2006-04-28 Thread Adrian Lynch
I'm using MC Tween on some navigation blocks. Three blocks on top of each
other, they start out equal in side, when you click on one, it opens up and
the others close up.

This involves tweening the clip's height and y coord. It works great for
basic MCs(see the good link below), but when I change it so that the height
change is applied to a nested MC it goes all screwy.

Does anyone know of a problem with using this library in relation to nested
MCs.

The library: http://hosted.zeh.com.br/mctween/index.html

My files

Working version with no nested MCs:
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block_1.swf
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block_1.fla


Broken version with nested MCs:
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block.swf
http://www.adrianlynch.co.uk/temp/mc_tween/nav_block.fla

Even a quick look at the code to see if I've made a typo would be great.

This is in 2004 Pro and I'm using the latest MC Tween, 2.28.29.

Thanks all.

Adrian Lynch

___
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] MC Tween

2006-04-28 Thread Adrian Lynch
Thank you thank you thank you...

... and once more thank you.

I understand how it works, I just had a warped view of the code I was
writing.

Thanks for the great explanation. Very much appreciated.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Zeh
Fernando
Sent: 28 April 2006 11:51
To: Flashcoders mailing list
Subject: Re: [Flashcoders] MC Tween


 I'm using MC Tween on some navigation blocks. Three blocks on top of each
 other, they start out equal in side, when you click on one, it opens up
 and
 the others close up.
 This involves tweening the clip's height and y coord. It works great for
 basic MCs(see the good link below), but when I change it so that the
 height
 change is applied to a nested MC it goes all screwy.
 Does anyone know of a problem with using this library in relation to
 nested
 MCs.

There's no problem with the library in relation to nested MCs. The problem
with your code on nested MCs is that instead of applying the code to the
nested MCs all the time - like you did with the 'un-nested' version - you're
applying it sometimes to the MC itself, and sometimes to the nested MCs.
Like increasing the _height of the parent MC but then decreasing the height
of the parent MC.

Think about it this way: forget about mc tween for a while. Instead of
applying _y and _height tweens, directly apply values to the properties, as
in

 navBlock3._y = 200;

Will it work? In your second case, the nested FLA, it won't, no matter what
extension you use, because there are reference problems. So before thinking
of fixing problems on the animation, see if your movieclip references are
correct. The tween() function works just like assigning values to the
properties - so if the references themselves are wrong, there's no way it's
gonna work.

Anyways, this is your 'nested' code:

navBlock1.onPress = function() {
 if ( this.state == 1 || this.state == 2 ) {
  this.tween(_height, STATE_HEIGHTS[3], TWEEN_TIME);
  this.state = 3;
  trace(closing  + 2 +  and  + 3);
  navBlock2.navBlockBG.tween(_height, STATE_HEIGHTS[1], 2);
navBlock2.state = 1;
  navBlock3.navBlockBG.tween(_height, STATE_HEIGHTS[1], 2);
navBlock3.state = 1;
  navBlock2.tween(_y, 150, TWEEN_TIME);
  navBlock3.tween(_y, 200, TWEEN_TIME);
 }
};

Notice you're changing the _height of the movieclip being expanded itself,
but when resetting the other two movieclips, you're changing the height of
the inner movie. This won't work; you have to use the inner movie or the
outer movie for both.

So instead, it should be this:

navBlock1.onPress = function() {
 if ( this.state == 1 || this.state == 2 ) {
  this.navBlockBG.tween(_height, STATE_HEIGHTS[3], TWEEN_TIME);
  this.state = 3;
  trace(closing  + 2 +  and  + 3);
  navBlock2.navBlockBG.tween(_height, STATE_HEIGHTS[1], 2);
navBlock2.state = 1;
  navBlock3.navBlockBG.tween(_height, STATE_HEIGHTS[1], 2);
navBlock3.state = 1;
  navBlock2.tween(_y, 150, TWEEN_TIME);
  navBlock3.tween(_y, 200, TWEEN_TIME);
 }
};

Also, the other functions (navBlock2.onPress and navBlock3.onPress) have old
references, from the un-nested file, so you should properly make it tween
the navBlockBG movies instead - properly tweening the _height of your nested
navBlockBG instead of just the parent movieclip. In the end, just around one
sixth of the code of your second FLA is made for tweening the nested MCs, so
it's not gonna work until you go all the way.

Again, you can't mix expect to change the _height of a movieclip and expect
to change it back by resizing its parent or its child - it won't work
properly. If you want to reset the movieclip back, it should reset its own
_height.


- Zeh

___
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] onPress in nested MC

2006-04-28 Thread Adrian Lynch
I know about event hidden, but I've never seen this before...

I have an MC(btn), with a nested MC(innerBtn). On pressing btn, I want to
remove it's onPress so I can get at the inner button's onPress.

Is this possible? I tried onRelease instead but then yields the same
results.

btn.onPress = function() {
// Remove this onPress so we can get at the inner buttons onPress
this.onRelease = null;
};

button.innerBtn.onPress = function() {
trace(this);
};

The onPress is removed in that it doesn't fire after the first press, but
the finger pointer doesn't disappear when I hover anywhere over btn.

Any ideas. I thought I had events sussed!

Adrian Lynch

___
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] onPress in nested MC

2006-04-28 Thread Adrian Lynch
Found the answer.

delete this.onPress;

Not sure why setting it to null or undefined didn't work though?!

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 28 April 2006 15:40
To: Flashcoders
Subject: [Flashcoders] onPress in nested MC


I know about event hidden, but I've never seen this before...

I have an MC(btn), with a nested MC(innerBtn). On pressing btn, I want to
remove it's onPress so I can get at the inner button's onPress.

Is this possible? I tried onRelease instead but then yields the same
results.

btn.onPress = function() {
// Remove this onPress so we can get at the inner buttons onPress
this.onRelease = null;
};

button.innerBtn.onPress = function() {
trace(this);
};

The onPress is removed in that it doesn't fire after the first press, but
the finger pointer doesn't disappear when I hover anywhere over btn.

Any ideas. I thought I had events sussed!

Adrian Lynch

___
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 to jpg

2006-04-13 Thread Adrian Lynch
Take a look in the publish settings.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Juan
Anzaldo
Sent: 13 April 2006 23:00
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash to jpg


I need to export a vector image from flash to a jpg or
gif format, is it possible?
___
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] dumb xml question

2006-04-10 Thread Adrian Lynch
children[0]?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 10 April 2006 14:31
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dumb xml question


Hi,

 

How can i get the innertext of an xml node of type 1 (without doing toString 
and stripping the xml tags) in flash mx (not 2004)?

nodeValue doesn’t work on type 1 apparently… returns null…

 

TIA,

Chris.

___
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] Assigning actions to dynamic movieclips

2006-04-07 Thread Adrian Lynch
No! :OD

But what you could do is write a test case and work from that. It will
probably be a pathing issue. Trace the objects you are trying to assign
actions to.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sajid
Saiyed
Sent: 07 April 2006 11:55
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Assigning actions to dynamic movieclips


Hi,
Trying to figure this out.

I want to create dynamic movieclips within a for loop and assign
actions to each created movieclip.

When I try to do it this way, it does not seem to work:

if (screen_Name == Tab) {
_root.depth++;
var Tab_Int_MC = mainMC.createEmptyMovieClip(TabMenu_Int, 
_root.depth);
for (var i = 0; i3; i++) {
_root.depth++;
Tab_Int_MC.attachMovie(GR_BG_TAB_icon_unselect_theme1,
GR_BG_TAB_icon_unselect_theme1_+i, _root.depth);
this[Tab+i] = 
Tab_Int_MC[GR_BG_TAB_icon_unselect_theme1_+i];
this[Tab+i]._x = 35*i;
this[Tab+i]._y = 19;
_root.depth++;
Tab_Int_MC.attachMovie(GR_BG_TAB_icon_select_Theme1,
GR_BG_TAB_icon_select_Theme1_+i, _root.depth);
this[TT_hlt+i] = 
Tab_Int_MC[GR_BG_TAB_icon_select_Theme1_+i];
this[TT_hlt+i]._x = 35*i;
this[TT_hlt+i]._y = 19;
this[TT_hlt+i]._visible = false;
this[Tab+i].onRollOver = function() {
this[TT_hlt+i]._visible = true;
drawOutline(this[Tab+i], TL);
};
this[Tab+i].onRollOut = function() {
this[TT_hlt+i]._visible = false;
removeOutline(this[Tab+i]._parent.Highlight);
};
this[Tab+i].onRelease = function() {
DisplayData(this[Tab+i], xPos, yPos, width, 
height, left);
};
}

So I tried it this way also and it didnt work:

if (screen_Name == Tab) {
_root.depth++;
var Tab_Int_MC = mainMC.createEmptyMovieClip(TabMenu_Int, 
_root.depth);
for (var i = 0; i3; i++) {
_root.depth++;
Tab_Int_MC.attachMovie(GR_BG_TAB_icon_unselect_theme1,
GR_BG_TAB_icon_unselect_theme1_+i, _root.depth);
TT = this[Tab+i];
TT = Tab_Int_MC[GR_BG_TAB_icon_unselect_theme1_+i];
TT._x = 35*i;
TT._y = 19;
_root.depth++;
Tab_Int_MC.attachMovie(GR_BG_TAB_icon_select_Theme1,
GR_BG_TAB_icon_select_Theme1_+i, _root.depth);
TT_hlt = this[TT_hlt+i];
TT_hlt = Tab_Int_MC[GR_BG_TAB_icon_select_Theme1_+i];
TT_hlt._x = 35*i;
TT_hlt._y = 19;
TT_hlt._visible = false;
TT.onRollOver = function() {
TT_hlt._visible = true;
drawOutline(TT, TL);
};
TT.onRollOut = function() {
TT_hlt._visible = false;
removeOutline(TT._parent.Highlight);
};
TT.onRelease = function() {
DisplayData(TT, xPos, yPos, width, height, 
left);
};
}

Can someone help me debug this?

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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
And... when you drill down to the details of the post, the panel it very
wide. Could it extend down rather than across?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 10:47
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is more...  it is opened in same window. I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev [EMAIL PROTECTED] wrote:
  
   Hey List,
   Just wanted to get feedbacks on a small application I did using the last
   version of Flex Builder 2.0
   It's a posts feeder, using MXNA WebSevices, and will keep user updated
   only
   on new posts arrival.
   You will need the last version of the player (beta 2)
   you can see it here: http://www.flashoo.co.il/matti/webServices.swf
   thnx for your time.
  
   Flashmattic
  
  
   ___
   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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
Now it's not working for me. It hangs and then I get a button with no label
and a tooltip with no tip. Not sure what's wrong, it worked the first time.

After clearing my cache it now works. :O)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 10:47
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is more...  it is opened in same window. I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev [EMAIL PROTECTED] wrote:
  
   Hey List,
   Just wanted to get feedbacks on a small application I did using the last
   version of Flex Builder 2.0
   It's a posts feeder, using MXNA WebSevices, and will keep user updated
   only
   on new posts arrival.
   You will need the last version of the player (beta 2)
   you can see it here: http://www.flashoo.co.il/matti/webServices.swf
   thnx for your time.
  
   Flashmattic
  
  
   ___
   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
  



  --
  --

---
  Franto

  http://blog.franto.com
  http://www.flashcoders.sk
  ___
  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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
It's ok now. The Grant Skinner, Stolen Code one was extending off to the
right by quite a way. Now it's ok :O)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 12:51
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


From what I know - it extends down. nothing is extending across...
or maybe I didn't get what you meant?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 11:47
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  And... when you drill down to the details of the post, the panel it very
  wide. Could it extend down rather than across?

  Adrian

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 10:47
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  Yep... working on that as well on some other features.
  thnx :)
-Original Message-
From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
  mailing list
Sent: Thursday, April 06, 2006 09:44
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
Importance: Low


Hey,

it looks nice, i was starting play with Flex2 yesterday, and it's really
great.
I want make such application as you did :) hehe, im late

it's nice, till now i got one comment:
when i read article and there is more...  it is opened in same window.
I
preffer new window, because then i have to start our app again
and it takes same time to load feed list

Best regards,
Franto

On 4/6/06, matti bar zeev [EMAIL PROTECTED] wrote:

 Hey List,
 Just wanted to get feedbacks on a small application I did using the
last
 version of Flex Builder 2.0
 It's a posts feeder, using MXNA WebSevices, and will keep user updated
 only
 on new posts arrival.
 You will need the last version of the player (beta 2)
 you can see it here: http://www.flashoo.co.il/matti/webServices.swf
 thnx for your time.

 Flashmattic


 ___
 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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
When I clicked on the row in the datagrid, the next thing to load with the
extended info was extended off screen to the right rather than being a fixed
width. It works now though.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 13:00
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


The Grant Skinner, Stolen Code one was extending off to the
right by quite a way ?
what do you mean?=

___
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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
Because that's the one I clicked on! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 13:34
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


ok.
just wondering how Grant Skinner is related to that?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 12:23
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  When I clicked on the row in the datagrid, the next thing to load with the
  extended info was extended off screen to the right rather than being a
fixed
  width. It works now though.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 13:00
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  The Grant Skinner, Stolen Code one was extending off to the
  right by quite a way ?
  what do you mean?=

  ___
  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] relative path issue

2006-04-06 Thread Adrian Lynch
You can create your own variable based on:

System.capabilities.playerType

It will be External when in the IDE. Other values include ActiveX,
PlugIn and one other which I can't remember.

So something like:

if (System.capabilities.playerType == External) {
path = ../;
} else {
path = ../../../../../../../;
}

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of elr
Sent: 06 April 2006 15:28
To: Flashcoders mailing list
Subject: Re: [Flashcoders] relative path issue


yes, Manuel,  ./dirB/./dirB/child.xml works but it prevents any
relocation of files without code update. :(
Can't we imagine a kind of  environment variable returning swf's
path? A kind of ?


Eric


At 2006-04-06   10:08, you wrote:
did you try the path ./dirB/child.xml?


On 4/6/06, elr [EMAIL PROTECTED] wrote:
 
 
  Hi all,
 
  As many before me, I can't get rid of a Error opening URL file:
  message...
  I set up a small swf that locally access to an xml file ( these two
  files are in the same dirB)
 
  Now using a loadMovie command,I try to load this small swf module
  into a main one that is located in a parent dirA
  //dirA/main.swf
  //dirA/dirB/child.swf
  //dirA/dirB/child.xml
 
 
  I don't want any absolute path into child.swf  neither to relocate
  child.xml into dirA.
  Is there a clean (easy?) way to make child module recover access to its
  xml ?
 
  Thank you !
 
  Eric
 
  ___
  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: [Bulk] [Flashcoders] ScrollPane Track Problem

2006-03-23 Thread Adrian Lynch
Could it be that the first click is setting focus on the SP, the second is
actually received?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of varfoo
Sent: 03 March 2006 16:19
To: Flashcoders mailing list
Subject: [Bulk] [Flashcoders] ScrollPane Track Problem


Any help with this would be greatly appreciated.
- Original Message -
From: varfoo [EMAIL PROTECTED]
To: Flashcoders Mailing List flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 02, 2006 4:28 PM
Subject: [Bulk] [Flashcoders] ScrollPane Track Problem


Has anyone encountered this problem with the scrollPane?  The first time I
click the track, nothing happens.  When I click the track again, the
scrollPane positions itself in the location of the first click.  Need help
quick.  Any insight greatly appreciated.

-vf

___
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] While and Var

2006-03-21 Thread Adrian Lynch
You're reference to the new text field is off, try storing the reference
like this:

dtd = _root.createTextField(dtd, dt, 0, spa1, 100, 15);

So the working code is:

var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
trace(dt);
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
dtd = _root.createTextField(dtd, dt, 0, spa1, 100, 15);
dtd.text=spa1;
dtd.border=true;
dtd.selectable=false;
dt++;
}

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Laurent
CUCHET
Sent: 21 March 2006 11:29
To: Flashcoders mailing list
Subject: [Flashcoders]  While and Var


Good morning,

1) I  create dynamic textfield with while option
I try to create dynamic border and content without success

Have you got a tips to done it

Thank you

/
var dtd;
var spa;
var spa1;
var dt = 0;
while (dt=99) {
dtd = var+dt;
spa = dt*5;
spa1 = (dt*15)+45;
_root.createTextField(dtd, dt, 0, spa1, 100, 15);
dtd.text=spa1;
dtd.border=true;
dtd.selectable=false;
dt++;
}



___
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] LOADVARS not working IE

2006-03-21 Thread Adrian Lynch
Got any code to see?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Johnny
Zen
Sent: 21 March 2006 12:28
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] LOADVARS not working IE


HI all

My flash using Loadvars within a secure webpage works in FIREFOX but not in
IE.

I've tried to find the reasons why, and have got lost in headers, web
server configs, dummy variables and IE settings.

Can someone please explain, if possible, a simple answer (so I can
understand) the reason or reasons why there is a problem with flash
using Loadvars in IE on a secure webpage(if it makes a diference)


Many thanks



Johnny

___
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] flash8 and cgi

2006-03-18 Thread Adrian Lynch
How are you trynig to use sendAndLoad? What does your CGI script do/look like?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 18 March 2006 07:43
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash8 and cgi


Hi,
anyone know how to connect a flash movie to a cgi script?
I tried to use sendAndLoad but when i check with the onLoad function it 
gives me an unsuccess...

Thanks,Riccardo
___
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] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Adrian Lynch
But where the baddies at?

All that fire power and no one to use it on! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Mountain
Sent: 17 March 2006 11:42
To: Flashcoders mailing list
Subject: [Flashcoders] OT: Great bit of Director work, FPS with
bots,network play etc.


http://www.rasterwerks.com/game/phosphor/beta1.htm

I had to share this.

Cheers

M
___
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 Exists - a better way?

2006-03-17 Thread Adrian Lynch
I think because if the file exists, you will have to wait till the file has
loaded completely before you know about it.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andreas
Rønning
Sent: 17 March 2006 15:04
To: Flashcoders mailing list
Subject: Re: [Flashcoders] File Exists - a better way?


It stands to reason that if onLoad fires with success==false no file was
loaded anyway, so i don't see why you'd need a separate handler for
wether success is false NOW or success is false a little later.

onLoad(success){
if(success){
//handle file load
}else{
//handle error
}
}

I don't see the downside to this approach. Then again, i'm tired and
angry, so i might miss something.

- A

Yotam Laufer wrote:
 If onload fires immediately with success==false then you know that there's
 no file, so why don't you wait for a reasonable interval and then if it's
 not fired than assume the file exists. not the best of solutions but
should
 work.

 Yotam

___
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] automatic object re-arrange via drag/drop

2006-02-28 Thread Adrian Lynch
If you find out any more about this I'd love to hear about it too.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jayson K
Hanes
Sent: 28 February 2006 10:41
To: Flashcoders mailing list
Subject: [Flashcoders] automatic object re-arrange via drag/drop


Hey guys.. I remember seeing wayy back a sample swf that was done in
someones lab that allowed objects to be dragged around and dropped, to
then have all objects be re-arranged automatically such that none
overlapped... (I looked on bit-101, flashkit, etc)..

Anyone recall the location of such an example?

I think the idea was that the dropped object became the center of
gravity for the other objects to flow around... I can see it in my
head.. lol

One of those not wanting to waste time Re-inventing the wheel
situations...

Thanks,

-Jayson
___
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] outlook need to be oppened from Flash

2006-02-27 Thread Adrian Lynch
If you mean from a Flash movie in the browser, then you don't really have a
choice as to what email client is used for mailto links. If you just mean
you want any email client to open, Outlook, Outlook Express, Thunderbird
etc. then two ways.

1. From HTML text in a text field a
href=mailto:[EMAIL PROTECTED] Bestest SubjectEmail/a

2. From anywhere in the movie
getURL(mailto:[EMAIL PROTECTED] Bestest Subject);

Test, rinse, repeat.

Time for breakfast...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bharat
Group
Sent: 27 February 2006 09:43
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] outlook need to be oppened from Flash


Hi , I want to open the oulook express from my flash presentation. I ve one
email link and I want on clicking on that link it should open the outlook
express with same email add. in  To  field.

IBM

___
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] mailto is not working

2006-02-27 Thread Adrian Lynch
Can you show us what you have so far?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bharat
Group
Sent: 27 February 2006 10:53
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] mailto is not working



Guys,

mailto:

is not working in flash movie although it's email publish is working with
it. In movie it does nothing.

IBM

Subject: [Flash] outlook need to be opened from Flash

Hi , I want to open the outlook express from my flash presentation. I ve one
email link and I want on clicking on that link it should open the outlook
express with same email add. in  To  field.

IBM

___
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] mailto is not working

2006-02-27 Thread Adrian Lynch
Are you using this:

link.onRelease = function(){
getURL(mailto:[EMAIL PROTECTED]);
}; [EMAIL PROTECTED]);};

The extra bit was added by the posters email client(server?). It should be:

link.onRelease = function(){
getURL(mailto:[EMAIL PROTECTED]);
};

And that should be in a frame and not on a clip.

Try:

link.onRelease = function(){
// getURL(mailto:[EMAIL PROTECTED]);
trace(It's firing);
};

What happens?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bharat
Group
Sent: 27 February 2006 11:41
To: Flashcoders mailing list
Subject: Re: [Flashcoders] mailto is not working


No, click event is not firing, it does nothing on clicking. and it fails in
both


- Original Message -
From: Nick Weekes [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Monday, February 27, 2006 5:02 PM
Subject: RE: [Flashcoders] mailto is not working


 Is the click event firing?  Have you traced the code in this event?  Maybe
 you have instance naming issues.

 Does it fail in both 'Preview in browser' and 'test movie'?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bharat
 Group
 Sent: 27 February 2006 11:28
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] mailto is not working

 It's a standalone presentation in flash, in contact us page , it need to
 open a default mail client with email add. in  to field. I ve attach the
 code on the button , but after running it, it shows nothing, I mean when I
 click the link it does not open any thing. I tried following actions

 link.onRelease = function(){
 getURL(mailto:[EMAIL PROTECTED]);
 }; [EMAIL PROTECTED]);};

 or you can create a text box  ,select some text in it..and in the
 getURL box in the property inspector write

 : mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]);};


 But none is working.

 IBM



 - Original Message -
 From: Danny Kodicek [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Monday, February 27, 2006 4:48 PM
 Subject: Re: [Flashcoders] mailto is not working


 Is this in a browser or a standalone? What exactly did you do? 'Not
 working' isn't very helpful.

 Danny

 - Original Message -
 From: Bharat Group [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Monday, February 27, 2006 10:53 AM
 Subject: [Flashcoders] mailto is not working



 Guys,

 mailto:

 is not working in flash movie although it's email publish is working with
 it. In movie it does nothing.

 IBM

 Subject: [Flash] outlook need to be opened from Flash

 Hi , I want to open the outlook express from my flash presentation. I ve
 one
 email link and I want on clicking on that link it should open the outlook
 express with same email add. in  To  field.

 IBM
 ___
 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


___
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] Navigating between labels? Scripting help:

2006-02-26 Thread Adrian Lynch
goCheckBackward would be the opposite of goCheckForward:

goCheckForward = function() {
if ( index = max ) { index = 0; }
gotoAndPlay(frames[index]);
trace(frames[index]);
index++;
}

goCheckBackward = function() {
if ( index  1 ) { index = max; }
gotoAndPlay(frames[index]);
trace(frames[index]);
index--;
}

Untested, but looks ok to me.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Hulse
Sent: 26 February 2006 12:55
To: Flashcoders mailing list
Subject: [Flashcoders] Navigating between labels? Scripting help:


Hey all...

I need some help with the below code... I am trying to set-up a dynamic 
way to jump from label to label on the main timeline of my animation...

Well, here is what I got so far... Still working on it, and it prob is 
not optimal, but maybe you all will have some suggestions:


/* Initialize index: */
var index = 1;
/* Declare var frames as an array: */
var frames:Array = new Array();
/* Pop array with scene labels: */
var frames = [scene1, scene2, scene3];
/* Get length of array: */
var max = frames.length;
/* Attach function to forward button: */
_root.forward.onRelease = function() { goCheckForward(); }
/* Attach function to backward button: */
_root.backward.onRelease = function() { goCheckBackward(); }

goCheckForward = function() {
/* If index is = array length, zero-out var index: */
if(index = max) { index = 0; }
gotoAndPlay(frames[index]);
trace(frames[index]);
index++; /* add one to var index */
}

/* Still working on this function... buggy atm. Suggestions? */
goCheckBackward = function() {
index--;
gotoAndPlay(frames[index]);
trace(frames[index]);
}


Any help, suggestions, thoughts, tips would be greatly appreciated.

Many thanks in advance,
Cheers,
Micky
___
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] Opening SWF in Flash via command line

2006-02-24 Thread Adrian Lynch
That you're not usually lucky?

:OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jim Tann
Sent: 24 February 2006 10:52
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Opening SWF in Flash via command line


Do you know, I've never pressed the I'm feeling lucky button, does
that say something about me?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Rorex
Sent: 24 February 2006 01:26
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Opening SWF in Flash via command line

http://weblogs.macromedia.com/mesh/archives/2003/11/flashcommand_fl.cfm

hey, what do you know, googling for mike chambers flashcommand and
pressing i'm feeling lucky finds it.

-David R

On 2/23/06, John Grden [EMAIL PROTECTED] wrote:
 where Can I get that nifty gem?

 On 2/23/06, jim [EMAIL PROTECTED] wrote:
 
  Can you do it with flashcommand, that mike chambers command line
tool?
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of John
  Grden
  Sent: 23 February 2006 21:32
  To: Flashcoders mailing list
  Subject: [Flashcoders] Opening SWF in Flash via command line
 
  D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf
 
  I get this error:
  Error opening URL file:///d|/test.swftest.swf
 
  and it opens up the IDE player with the title test.swftest.swf
 
  does anyone know the proper way to open a swf in the flash IDE via
  command
  line?
 
  --
  John Grden - Blitz
  ___
  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
 



 --
 John Grden - Blitz
 ___
 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] OT: Object-Oriented ActionScript For Flash 8 thebook

2006-02-22 Thread Adrian Lynch
amazon.co.uk has it for ?25.84. Typical!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: 22 February 2006 15:26
To: Flashcoders mailing list
Subject: RE: [Flashcoders] OT: Object-Oriented ActionScript For Flash 8
thebook


Based on your review, and my sort of same experience with EAS2 (which I
also love) I think I'm going to go get that one since the full power of
design patterns hasn't grabbed me yet.  Do you know if any national
chains like Barnes and Noble or Borders carries it or do I need to get
it from Amazon.com - I see they have it listed for $26.69 - not a bad
price for a computer book.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.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] OT: Please ignore, testing new id.

2006-02-22 Thread Adrian Lynch
Exactly! Gis your autograph?! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Cedric
Muller
Sent: 13 December 2005 10:37
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Please ignore, testing new id.


how could we ignore
@adobe.com ??
:-))
Cedric

 Testing..
___
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] Loading Swf files in site (protecting bandwith fromother sites)

2006-02-20 Thread Adrian Lynch
I've only heard of this in regards to images, but it's termed hotlinking.
There's bound to be a bunch of solutions to it.

http://www.google.co.uk/search?hl=enq=prevent+hotlinkingbtnG=Google+Search
meta=

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dennis -
I Sioux
Sent: 20 February 2006 10:21
To: Flashcoders mailing list
Subject: [Flashcoders] Loading Swf files in site (protecting bandwith
fromother sites)


We are trying to protect our swf-files from loading by others (protecting
our bandwidth).

Searching the net, no solution could be found for this. We want our users
flashfiles to be loaded from our site,
but rejected when called from other sites to secure our bandwidth.

NOTE: The flashfiles are submitted content, so we can't change them.

Does anyone have a suggestion on how to do this correctly?


-
On a more technical note (for those that wish to know what we tried) :

- We tried PHP to parse the files, using an swf header. This works in most
cases, but appearantly some swf files do not work
correctly (it looks fine at first, but things go bad when using the swf).
Even though the parsed file is both in Header
as in content equal (to the bit, checked that in filesize and in code) the
code behaves differently than the
original swf.(for instance when a key is pressed a characters animation will
play but won't be moved around).

- Now we'r trying to secure a webdirectory (with ModRewrite), to not load
swf files when not refered to by our site, but object and embed
tags do not pass on a referer in the header, thus blocking all requests or
simple not blocking any.


Many Thanks

Dennis

___
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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread Adrian Lynch
You could pass it in twice, clickTag=somethingclickTAG=something

Not pretty though.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
Giotta
Sent: 16 February 2006 15:28
To: Flashcoders mailing list
Subject: Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF


FlashVars is what we're using to set the clickthrough URL, however,
the ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an
injection script to just insert a line to correct any variable name
misspellings.
___
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] Ensuring commercial is played before the video whilekeeping .FLV external

2006-02-13 Thread Adrian Lynch
Maybe not the best solution, but if they get the file name from the
flashVars, then pass it in another way, LoadVars, XML, Remoting...

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jamay Liu
Sent: 13 February 2006 16:15
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Ensuring commercial is played before the video
whilekeeping .FLV external


Hi all,

One of the services of my website will be providing flash videos to
distributors. We have developed a player swf that takes in an introductory
swf (mostly likely an ad/commercial) and the .flv video file as FlashVars
parameters.

Is there a way to provide access to these files to clients and ensure that
the ad/commercial is played? Specifically, the problem we are running into
is that the client could develop their own flash player and just play our
.flv file.

Can we somehow hide the flv file name, while still using external playback?
Is there a way to get around the problem without combining the commercial
and video into one file? (If not, anyone know of an easy way to combine
files dynamically?)

Any feedback/suggestions would be greatly appreciated!

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] Ensuring commercial is played before thevideo while keeping .FLV external

2006-02-13 Thread Adrian Lynch
Way off topic, yes, but way out of line too.

From the info given you have no idea of the business or what they are trying
to achieve. Your assumption is arrogant.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Miles
Thompson
Sent: 13 February 2006 16:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Ensuring commercial is played before thevideo
while keeping .FLV external




Way off topic in my response -- why do you want to that?
Just to piss off your potential customers? You have the right to waste
their valuable time?

What arrogance.

Splash screens are bad enough, this is WORSE!!!

Miles

At 12:14 PM 2/13/2006, you wrote:

Hi all,

One of the services of my website will be providing flash videos to
distributors. We have developed a player swf that takes in an
introductory
swf (mostly likely an ad/commercial) and the .flv video file as FlashVars
parameters.

Is there a way to provide access to these files to clients and ensure that
the ad/commercial is played? Specifically, the problem we are running into
is that the client could develop their own flash player and just play our
.flv file.

Can we somehow hide the flv file name, while still using external playback?
Is there a way to get around the problem without combining the commercial
and video into one file? (If not, anyone know of an easy way to combine
files dynamically?)

Any feedback/suggestions would be greatly appreciated!

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


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/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

___
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] Rotating a mc around a custom pivotpoint

2006-02-13 Thread Adrian Lynch
It was on Flashcoders or Flashnewbie a few days ago.

http://www.darronschall.com/weblog/archives/54.cfm

Is that the link you were after?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bart
Wttewaall
Sent: 13 February 2006 17:31
To: Flashcoders mailing list
Subject: [Flashcoders] Rotating a mc around a custom pivotpoint


Hi list,

I'm looking for a piece of math to rotate a mc around a pivotpoint,
other then its original. I've seen the math before in a demo, on some
blog perhaps, but can't seem to find it again. I made some attempts to
write it myself, but my math is as rusty as a german submarine.

Much obliged,
Bart
___
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] using AS to set the height and width of a new browserwindow

2006-02-13 Thread Adrian Lynch
Try using javascript:

http://www.devguru.com/Technologies/ecmascript/quickref/win_open.html

getURL(javascript:window.open('html/myHTMLpg.htm', 'myNewWindow',
'width=400,height=600'), _blank);

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dwayne
Neckles
Sent: 13 February 2006 21:27
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] using AS to set the height and width of a new
browserwindow




myButton.onPress = function () {
getURL(html/myHTMLpg.htm, _blank);
}

along with a event handler just attached to the button instance directly:

on (release) {
getURL(html/myHTMLpg.htm, _blank);
}


do you know of a way using actionscript (setting properties) where you can
specify the height
and width of the new browser window along with the positioning on the
screen. i have not been
able to find any reference for this.

in my html site i just use a javascript function to open a new window where
i can set the size,
position and scrolling properties which is then called by the ahref to open
up in this specific
sized and positioned window.

i tried messing with html but i did it wrong.

___
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] Stage.width not working in IE

2006-02-11 Thread Adrian Lynch
Not sure about the differences across broswers, but can we see some code. It
might be something else you're doing?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of GregoryN
Sent: 11 February 2006 13:30
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Stage.width not working in IE


Hello flashcoders,

  I'm trying to handle window resizing in browser using custom
  onResize() function.

  Strange, but it works in IE (v6) only once. Mean Stage.width and
  Stage.height are defined properly on initial load of the page. But
  if you reload it, they become zeros! Why?

  In Firefox, Mozilla, Opera it works OK.

  Can anyone help?


--
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.


___
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] Is this site legit to buy the software???

2006-02-09 Thread Adrian Lynch
Second hand maybe?

They do mention there's no tech support: Registration for technical 
support/upgrades not available due to the reduced cost.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Parcell
Sent: 09 February 2006 17:52
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Is this site legit to buy the software???


I am willing to bet that they are selling cracked copies or copies what are
using cracked serials.  How on earth could they get the software so cheap
that they could sell for that price? If it was legal then everyone would be
selling that low.

If it is too good to be true then it is!

Charles P.



On 2/9/06, Jason Je [EMAIL PROTECTED] wrote:


 Does anybody know if this site is legit or is it one of those warez
 site???

 http://www.tekdealers.com/?pg=product_detailsref=956846552productID=374

 Thank you...

 CyanBlue
 This message (including any attachments) is a confidential and privileged
 communication of
 AWS Convergence Technologies, Inc. and intended only for the addressee.
 Any unauthorized use,
 distribution or copying of this message (or any attachment) is prohibited.
 If you are not the
 addressee or a person authorized to receive messages for the addressee,
 you have received this
 message in error. In that case, please delete this message and call us at
 301-250-4000 so that we
 can correct our records in order to avoid this mistake in the future.
 Thank you.
 ___
 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] ActionScript equivalent of embed/object BASE tag

2006-02-02 Thread Adrian Lynch
You could do it manually. Create a variable and prepend(not a word!) it to
all your loadMovie(), load() etc. calls.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jan
Schluenzen
Sent: 02 February 2006 10:23
To: Flashcoders mailing list
Subject: [Flashcoders] ActionScript equivalent of embed/object BASE tag


Hi-

does anyone know of an ActionScript equivalent of accomplishing the effect
of the BASE tag (part of the embed and object tags in HTML)?
The problem is, I have a flash application that loads XMLs and SWFs relative
to the application's base SWF index.swf.
Now I need to load my index.swf into another container, a stand-alone
projector. I don't want to fix all paths within my application so that they
are relative to the new container (which is outside my actual application
folder). Is there some way to set the basepath through actionscript?

To clarify, here's the structure of my app:

+ root
  index.swf
  some.swf
  other.swf
  + content/
foo.xml
bar.xml

Now with the new container, it will look like this:

+ root
  container.exe (Stand-alone Flash projector)
  + data
index.swf
some.swf
other.swf
+ content/
  foo.xml
  bar.xml


Since all paths for loading files are now relative to the
container.exeinstead of
index.swf, everything's broken..
Is there an easy fix?

Jan
___
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] Naming conventions for AS2.0 ...

2006-02-02 Thread Adrian Lynch
As others have said, consistency is more important, but that's not to say
that there are no good or bad naming conventions.

Five years ago I had stupidly small names, then stupidly long names, now
they're somewhere in the middle and mostly sensible and readable :O)

Also, if you're working on a project with others, be consistent with each
other. If it's a fresh project, have a chat about what to use. If you're
coming on board you might be more inclined to follow what's already there.

Have a play about, see what you prefer. Just try not to change midway
through a project!

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen
Ford
Sent: 02 February 2006 01:53
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Naming conventions for AS2.0 ...



Does anyone have an opinion, or a preferred method, in regards to
naming conventions for AS2.0 objects ?

For example, Macromedia recommends:

clip_mc (movie clip)
comm_lc (local connection)
names_array (array)
beep_sound (sound)
field_txt (text field)
etc, etc, etc

but what if I wanted to use an generic object or a boolean datatype:

listener_???:Object = new Object();
answer_???:Boolean = false;

These are just two datatypes Macromedia doesn't list in terms of
suffixes (search for 'About using suffixes to trigger code hints' in the
official Flash help documentation built into Flash).

So another technique I have seen is prefixing variables, like:

mcClip (movie clip)
lcComm (local connection)
aNames (array)
etc, etc, etc

Someone must have a foolproof way to do this, there must be
a technique that covers all possibilities for naming variables ???

Thanks,
Stephen.

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


RE: [Flashcoders] targeting duplicateMovieClip

2006-02-02 Thread Adrian Lynch
Did you find the problem?

duplicateMovieClip() returns a reference to the newly duped clip, you can
store this as you wish.

myDupe =
dupeMePleaseSomebodyDupeME.duplicateMovieClip(youCanAlsoUseThisNameHereButI
TendNotTo, someDepth);

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dominic
Fee
Sent: 08 December 2005 15:26
To: 'Flashcoders mailing list'
Subject: [Flashcoders] targeting duplicateMovieClip


Hi guys im having trouble targeting duplicated movie clips

I am using the following code to produce them:





mycount = 30;

dom = 40;



//function to create multiple movieclips from single movie clip

function createFlyingMC() {

if (mycountdom) {


_root.flying_mc.duplicateMovieClip(flying_mc+mycount,_root.getNextHighestD
epth());

randomX = 500*Math.random();

randomY = 500*Math.random();

eval(flying_mc+mycount)._x = randomX;

eval(flying_mc+mycount)._y = randomY;

mycount++;

} else {

clearInterval(ID);

for (var i = 0; i1000; i++) {


//removeMovieClip(eval(flying_mc+i));

}

}

}

//function to periodically call another function

ID = setInterval(createFlyingMC, 50);



flying_mc.setupDrag();







now what I want to do is control the 10 flying_mc ive created

I thought it would be as simple as using flying_mc2.setupDrag(); or
flying_mc3.setupDrag(); but this seems not to be the case



Any help would be much appreciated



Thanks dudes

Dom





___
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] understanding the for loop

2006-02-01 Thread Adrian Lynch
You're not incrementing imagesToGrab anywhere.

for (...) {
.
imagesToGrab++;
}

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Corban
Baxter
Sent: 01 February 2006 21:29
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] understanding the for loop


Ok guys I am working with this for loop to help me grab random images. My
problem is it seems like the for loop won't reset and random var each time
it runs. Below is my code...

[code]
for(i=0; i=imagesToGrab; i++){
randomSet = random(totalSetsNLayout) + 1;
img = random(imagesToGrab)+1;
img = layout + layoutNum + _set + randomSet + _img + i;
imgArray.push(img);
}
[/code]

imgArray = [
layout5_set1_img0,
layout5_set1_img1,
layout5_set1_img2,
layout5_set1_img3,
layout5_set1_img4,
layout5_set1_img5,
layout5_set1_img6,
layout5_set1_img7,
layout5_set1_img8,
layout5_set1_img9,
layout5_set1_img10,
layout5_set1_img11]

as you can see my problem is that it doesn't change my set randomly at all?
Any ideas why this happens?

Corban Baxter  |  rich media designer  |  www.funimation.com


___
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] understanding the for loop

2006-02-01 Thread Adrian Lynch
What ARE you on about? :OD

Adrian Lynch   |   Stuff   |   adrianlynch.co.uk

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: 01 February 2006 22:12
To: Flashcoders mailing list
Subject: RE: [Flashcoders] understanding the for loop


By the way, with that e-mail signature line of yours, I feel like I am
talking to my alter-self from a parallel universe.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com



Jason so its bad to use this old way of random huh?

Corban Baxter  |  rich media designer  |
www.funimation.com




NOTICE:
This message is for the designated recipient only and may contain privileged
or confidential information. If you have received it in error, please notify
the sender immediately and delete the original. Any other use of this e-mail
by you is prohibited.
___
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] targetting a mc from a list

2006-01-30 Thread Adrian Lynch
Try:

parent_mc[listWhatever[0]];

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kent
Humphrey
Sent: 30 January 2006 13:25
To: Flashcoders mailing list
Subject: [Flashcoders] targetting a mc from a list


I have a list:
(code is example only)

listWhatever = [mc1, mc2];

This list is cycled through to generate some mcs inside parent_mc.
I now want to target one of those mcs again. Lets say I want to  
target the first one in my list. I thought I could use eval() to  
generate the statement, like so:

eval(parent_mc.+listWhatever[0]);

But trace() that returns undefined. How do I do it?

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


RE: [Flashcoders] targetting a mc from a list

2006-01-30 Thread Adrian Lynch
Are you sure you're creating the nested MC as you think you are?

What do you get if you do:

trace(parent_mc.mc1);

???

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kent
Humphrey
Sent: 30 January 2006 13:54
To: Flashcoders mailing list
Subject: Re: [Flashcoders] targetting a mc from a list


Thanks, but that doesn't work either. It looks like it should, but  
I'm still getting undefined.

On 30 Jan 2006, at 13:31, Adrian Lynch wrote:

 Try:

 parent_mc[listWhatever[0]];

 Ade

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Kent
 Humphrey
 Sent: 30 January 2006 13:25
 To: Flashcoders mailing list
 Subject: [Flashcoders] targetting a mc from a list


 I have a list:
 (code is example only)

 listWhatever = [mc1, mc2];

 This list is cycled through to generate some mcs inside parent_mc.
 I now want to target one of those mcs again. Lets say I want to
 target the first one in my list. I thought I could use eval() to
 generate the statement, like so:

 eval(parent_mc.+listWhatever[0]);

 But trace() that returns undefined. How do I do it?

 Thanks.
 ___
 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] targetting a mc from a list - solved

2006-01-30 Thread Adrian Lynch
Ah, so you had a [mc 1, mc 2] type thing going on?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kent
Humphrey
Sent: 30 January 2006 15:02
To: Flashcoders mailing list
Subject: Re: [Flashcoders] targetting a mc from a list - solved


ok, found the problem, my actual list has strings with spaces in  
them, which is what is making it not work.
So I guess I'll fill them with _ and then replace them with
when I need the string with spaces.

Thanks for the help guys.


On 30 Jan 2006, at 14:00, Adrian Lynch wrote:

 Are you sure you're creating the nested MC as you think you are?

 What do you get if you do:

 trace(parent_mc.mc1);

 ???

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


RE: [Flashcoders] Fuzzy preloader

2006-01-29 Thread Adrian Lynch
Place the loader off stage, if the movie is still loading, you move the load
on stage and the use sees it's still not there yet.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marco
Sent: 19 September 2005 17:56
To: Flashcoders mailing list
Subject: [Flashcoders] Fuzzy preloader


My flash movie is made of

- First frame: test a condition and eventually go to Clip A
- Clip A, then stop (a play button is shown)
- Clip B, then go to Clip A

When Clip A should be skipped, I would like it to be loaded while
Clip B is played, and eventually show a loading progress if it's
still loading when Clip B has already ended.

What's the most versatile solution in your opinion?

Thanks,
Marco

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


RE: [Flashcoders] getting the html page

2006-01-29 Thread Adrian Lynch
There might be an in-built way to do this, but if not, and you have access
to the html pages, pass in the page name using flashVars.

Or see if running some JavaScript will work:

window.location will return what's in the URL bar. So:

a = theReturnedURL.split(/);
trace(a[a.length - 1]);

should get you the file name.

Have a play, see what happens.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerry
Creighton
Sent: 31 October 2005 19:09
To: Flashcoders mailing list
Subject: [Flashcoders] getting the html page


Has anyone used code to detect what HTML page the SWF is embedded in?
Is this possible?
i.e

  if(page == about.html){
//set certain corp logo
  }

Thanks,

Gerry



...
http://www.thespikeranch.com
Certified Macromedia Flash MX Designer


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


RE: [Flashcoders] Deleting a KeyListener

2006-01-29 Thread Adrian Lynch
removeListener()?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stephen
Hueners
Sent: 29 January 2006 13:09
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Deleting a KeyListener


I'm setting up a listener for the Enter key in a login portion of my movie
and need to delete  it after it runs so that if the user hits ENTER later in
the original function is not called. I _thought this was the correct way to
do this but testing proves me wrong:

var keyForm = new Object();
keyForm.onKeyDown = function(){
if (Key.getCode() == Key.ENTER){
_level0.loadLoginVars(login, ID.text, Pass.text);
this.gotoAndStop(checking);
delete keyForm;
};
}
Key.addListener(keyForm);


Many Thankx
--steve...

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


RE: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Adrian Lynch
Nooo, don't start thinking functions are slow. They're just slower
than inline code. Functions are the first step in making more reusable code,
use liberally! :O)

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of dls
Sent: 28 January 2006 22:20
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How to call functions in sequence


That's a drag!
Well, I'll use them sparingly -- they helped alot in this project.
Thanks Again!
--dan


The more of them you use, the slower the performance.

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


RE: [Flashcoders] using variable in new color target

2006-01-27 Thread Adrian Lynch
Should this:

_root.tempRegionCopy.currentShortName

not be this:

_root.currentShortName

or visa versa?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of dls
Sent: 27 January 2006 09:14
To: Flash Coders
Subject: [Flashcoders] using variable in new color target


Trying to get the following to work, sure my logic is a mess, but I 
would appreciate any help.
Have an early deadline today...


_root.listItem1.onRollOver = function(){

_root.currentShortName = nameOfMovieClip;

myColor = new Color (_root.tempRegionCopy.currentShortName);

myColor.setRGB(0xff9966);

}


-dan

___
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] Problems with Flash Plugin Switcher 2.1.0

2006-01-25 Thread Adrian Lynch
Thanks all. I'll give it a blast.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JesterXL
Sent: 25 January 2006 01:22
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Problems with Flash Plugin Switcher 2.1.0


Having the same problem with 8 for IE.  Magically disappears even though the
8.0.22.0 folder for it is clearly there.

- Original Message -
From: David Rorex [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, January 24, 2006 8:05 PM
Subject: Re: [Flashcoders] Problems with Flash Plugin Switcher 2.1.0


I had trouble with it remembering my 8.5 plugin (it could uninstall it
fine, but next time i startes flash plugin switcher, 8.5 wasn't in the
dropdown list).

otherwise no problems.

-David r

On 1/22/06, Nathan Derksen [EMAIL PROTECTED] wrote:
 Yup, works great. I wish there was a version for the Mac as well.

 Nathan
 http://www.nathanderksen.com


 On Jan 22, 2006, at 4:35 PM, Johannes Nel wrote:

  not an insatller just an executable and it works like a charm.
 
  On 1/22/06, Adrian Lynch [EMAIL PROTECTED] wrote:
 
  I'm just about to install Flash Plugin Switcher 2.1.0 and wondered
  if this
  has caused any problems for anyone.
 
  I'm coming to the end of a project and I don't fancy trying to fix
  player
  issues when I should be working :O)
 
  Oh and does it work as nicely as it sounds?
 
  Thanks.
 
  Adrian

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


RE: [Flashcoders] Network Tools in Flash

2006-01-25 Thread Adrian Lynch
I'd forget Flash for the minute and look at regular tools that give you the
info you're after. Once you have that, you'll need to look at ways to get at
the data. I would look at command line tools, I'd write some ColdFusion to
use these and then write the output of using these tools to XML for Flash to
read.

A bit rough around the edges but I'd say it's more than doable.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Don
Rinderknecht
Sent: 25 January 2006 11:12
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Network Tools in Flash


My latest project is to build a network monitor tool to provide data
like ping or traceroute.
One thing I'd like to do is monitor webservers/sites to keep track of
uptime.

I've done some searching but haven't found much yet on how to get started.

Any advice?

Thanks,
Don.
___
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: SV: [Flashcoders] Microsoft Sparkle

2006-01-25 Thread Adrian Lynch
Forgetting your argument for a second, these two lines are something I can't
stand to hear:

web developers MUST conform to

i will never play a game in a browser because that's not what a browser is
for

As a developer I can do what I like(within reason). As for browsers, they
can do whatever you want them to do(again within reason).

I'm always weary of people who are at either end of the scale on any
particular thought. When I hear words like 'MUST', it puts me right off
listening.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andreas
Rønning
Sent: 25 January 2006 11:46
To: Flashcoders mailing list
Subject: Re: SV: [Flashcoders] Microsoft Sparkle


Sparkle doesn't supply decent 3d. xaml 3d is little more than vrml 2006.
It's not even a step in the right direction, it's just an excuse to use
directx online, and frankly, putting directx online is a shit idea that
dilutes the web. Complete and utter cross platform compatibility is a
simple absolute that web developers MUST conform to. MS have a history
of introducing products that weaken the integrity of the web, and i'm in
no way a fan of any sort.

The average consumer dictates what technology makes money. This is
another truth. It wasnt until recently that Flash became even remotely
accepted by the average consumer, and we are only now beginning to reap
the true benefits of that acceptance. Sparkle is another hurdle, more
noise in the ether. Consumers don't need it, developers don't need it.
The only party requiring Sparkle-type-content is the kind of bloated
site Flash has been criticized the most for since its inception, and in
that regard Sparkle, to me, looks like Flash 4 with polygons and an even
more limited user base.

The internet reads like a book. This is why it works with smartphones,
this is why it works with Nokia series 40 phones, this is why it works
with tablets, laptops, desktop computers, and why puretext browsers like
lynx are an actual viability. This flat book structure isn't a brick of
the establishment to be broken down and destroyed, it isn't a hampering
factor, it is a unifying factor.

As for games? We have decent 3d online NOW with Shockwave 3d. I've seen
a working Unreal tournament in Shockwave with a great framerate and
decent AI. It just hasn't taken off, and it probably won't anytime soon.
Why? Because it's an aberration. It's an abnormality that confuses and
destabilizes.

As a gamer, i will never play a game in a browser because that's not
what a browser is for. For that i'll hook up my gamecube or pick up my
PSP. Putting a technological shove into online 3d is like designing a
car that can double as a screwdriver.

As much as i dig what MS did with the xbox, Sparkle and the whole 3d
kajoozle is just another way for them to integrate the web tighter with
their whole crazy Live idea, and it's an ugly thing that messes up for
developers and users alike.

And i'm not a mac user btw :P

- Andreas

Nick Weekes wrote:
 David,

 I tend to agree with what your saying.  Although Im definitely in the RIA
 camp, it seems ridiculous to criticise the development of a technology
such
 as this simply because of what the 'average consumer' wants.

 How about using the games industry to make my point?  If this technology
is
 successful (either for Adobe or MS), then browser based DirectX online
 gaming isnt too far away.  No 5Gb installs, just point to a URL and away
you
 go.

 Dismissing the idea of decent 3D is wy too short sighted.

 Cheers,

 Nick



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of David
 Skoglund
 Sent: 25 January 2006 10:26
 To: 'Flashcoders mailing list'
 Subject: SV: SV: [Flashcoders] Microsoft Sparkle

 OK, you maybe YOU don't care much for it, but a RIA-platform needs to be
 flexible as possible and give the developers as much freedom as possible.
 Content rules, but why restrict content to 2d? I'm not talking about wacky
 3d interfaces where they are clearly not needed, but games, simulations,
 product presentations etc.

 As I see it Macromedia has always been making good tools for creating
 interactive experiences but are now trying hard with Flex 2 to compete in
 the corporate applications. Microsoft comes from the opposite side. They
 already have most of the corporate developers, and are now trying to get
the
 designers attention. And looking at the feature lists they seem to beat
 Macromedia on their own turf... I hope that Macromedia/Adobe can compete.

 Shockwave 3d has a very steep learning curve and it's just in the last
 couple of years that people have really learned to create really nice
games
 with it. Look for example att my own first try on creating a shockwave
 3d-game: www.monsterland.se/snowwarfare
 I wouldn't have been able to create this without the tutorials and helpful
 communities that's been built up during the years. In my view Macromedia
had
 a good state of the art product, but threw 

RE: [Flashcoders] Flash Remoting

2006-01-23 Thread Adrian Lynch
Not sure if this still applied, but you might need to download the class
files and put them in your class path else the import will fail.

If I'm wrong about this, could someone give a brief explanation/history of
the remoting classes?

Thanks.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JP
Sent: 23 January 2006 05:15
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash Remoting




 If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

___
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] getting the name of an object

2006-01-23 Thread Adrian Lynch
fooObj._name

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sascha
Balkau
Sent: 23 January 2006 13:03
To: flashcoders
Subject: [Flashcoders] getting the name of an object


hi,

this might be obvious but how do I get the name of an object? If I got an
object named fooObj how can I get Flash to for example trace out the name of
the object, so that it traces fooObj? I know this works with movieclips
but how about objects or arrays?

Sascha

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


[Flashcoders] Duplicating MC with Loader inside

2006-01-22 Thread Adrian Lynch
I knew of an initialisation problem with nested Loaders from another project
I did. Back then I didn't look too much in to it but this time I want to see
if I can find a solution.

Here's what I have and what I'm doing/trying to do:

- I have an MC on stage, inside this is a Loader component.

- I duplicate this MC, and hence the Loader inside it.

- I then set the properties' of the duped MC's Loader, contentPath and
scaleContent, and then call it's load() method.

If I do the above in sequence, the duped MC's Loader isn't initialised by
the time I try to set it's properties'.

If I delay using the duped MC's Loader, and instead fire an event that does
it, a button click for example, the Loader works fine.

I can think of two solutions, but I'm not too sure about them.

1. Set an interval to give the Loader time to get ready and then set the
properties.

2. Do the duping, check using an onEnterFrame to see if the nested Loaders
properties' exist and then set them.

The problem with 1 is, how long is long enough?

The problem with 2 is, will I get away with checking one property or will I
have to check them all? For example, I can check to see that contentPath is
difined, but what if load() isn't?

Does anyone have any thoughts on this?

I suppose another question is, how can you tell if a component if fully
initialised and ready to use?

Thanks.

Adrian



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


RE: [Flashcoders] Duplicating MC with Loader inside

2006-01-22 Thread Adrian Lynch
Would UIObject.doLater() be of any use?

From the docs:
Method; calls a user-defined function only after the component has finished
setting all of its properties from the Property inspector or Component
inspector. All version 2 components that inherit from UIObject have the
doLater() method.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:04
To: Flashcoders
Subject: [Flashcoders] Duplicating MC with Loader inside


I knew of an initialisation problem with nested Loaders from another project
I did. Back then I didn't look too much in to it but this time I want to see
if I can find a solution.

Here's what I have and what I'm doing/trying to do:

- I have an MC on stage, inside this is a Loader component.

- I duplicate this MC, and hence the Loader inside it.

- I then set the properties' of the duped MC's Loader, contentPath and
scaleContent, and then call it's load() method.

If I do the above in sequence, the duped MC's Loader isn't initialised by
the time I try to set it's properties'.

If I delay using the duped MC's Loader, and instead fire an event that does
it, a button click for example, the Loader works fine.

I can think of two solutions, but I'm not too sure about them.

1. Set an interval to give the Loader time to get ready and then set the
properties.

2. Do the duping, check using an onEnterFrame to see if the nested Loaders
properties' exist and then set them.

The problem with 1 is, how long is long enough?

The problem with 2 is, will I get away with checking one property or will I
have to check them all? For example, I can check to see that contentPath is
difined, but what if load() isn't?

Does anyone have any thoughts on this?

I suppose another question is, how can you tell if a component if fully
initialised and ready to use?

Thanks.

Adrian

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


RE: [Flashcoders] Duplicating MC with Loader inside

2006-01-22 Thread Adrian Lynch
Well, doLater wouldn't be defined either, so I can't use that.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:09
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Duplicating MC with Loader inside


Would UIObject.doLater() be of any use?

From the docs:
Method; calls a user-defined function only after the component has finished
setting all of its properties from the Property inspector or Component
inspector. All version 2 components that inherit from UIObject have the
doLater() method.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:04
To: Flashcoders
Subject: [Flashcoders] Duplicating MC with Loader inside


I knew of an initialisation problem with nested Loaders from another project
I did. Back then I didn't look too much in to it but this time I want to see
if I can find a solution.

Here's what I have and what I'm doing/trying to do:

- I have an MC on stage, inside this is a Loader component.

- I duplicate this MC, and hence the Loader inside it.

- I then set the properties' of the duped MC's Loader, contentPath and
scaleContent, and then call it's load() method.

If I do the above in sequence, the duped MC's Loader isn't initialised by
the time I try to set it's properties'.

If I delay using the duped MC's Loader, and instead fire an event that does
it, a button click for example, the Loader works fine.

I can think of two solutions, but I'm not too sure about them.

1. Set an interval to give the Loader time to get ready and then set the
properties.

2. Do the duping, check using an onEnterFrame to see if the nested Loaders
properties' exist and then set them.

The problem with 1 is, how long is long enough?

The problem with 2 is, will I get away with checking one property or will I
have to check them all? For example, I can check to see that contentPath is
difined, but what if load() isn't?

Does anyone have any thoughts on this?

I suppose another question is, how can you tell if a component if fully
initialised and ready to use?

Thanks.

Adrian

___
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] Duplicating MC with Loader inside

2006-01-22 Thread Adrian Lynch
Maybe doLater is the property I wait to be defined?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:09
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Duplicating MC with Loader inside


Would UIObject.doLater() be of any use?

From the docs:
Method; calls a user-defined function only after the component has finished
setting all of its properties from the Property inspector or Component
inspector. All version 2 components that inherit from UIObject have the
doLater() method.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:04
To: Flashcoders
Subject: [Flashcoders] Duplicating MC with Loader inside


I knew of an initialisation problem with nested Loaders from another project
I did. Back then I didn't look too much in to it but this time I want to see
if I can find a solution.

Here's what I have and what I'm doing/trying to do:

- I have an MC on stage, inside this is a Loader component.

- I duplicate this MC, and hence the Loader inside it.

- I then set the properties' of the duped MC's Loader, contentPath and
scaleContent, and then call it's load() method.

If I do the above in sequence, the duped MC's Loader isn't initialised by
the time I try to set it's properties'.

If I delay using the duped MC's Loader, and instead fire an event that does
it, a button click for example, the Loader works fine.

I can think of two solutions, but I'm not too sure about them.

1. Set an interval to give the Loader time to get ready and then set the
properties.

2. Do the duping, check using an onEnterFrame to see if the nested Loaders
properties' exist and then set them.

The problem with 1 is, how long is long enough?

The problem with 2 is, will I get away with checking one property or will I
have to check them all? For example, I can check to see that contentPath is
difined, but what if load() isn't?

Does anyone have any thoughts on this?

I suppose another question is, how can you tell if a component if fully
initialised and ready to use?

Thanks.

Adrian

___
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] Duplicating MC with Loader inside

2006-01-22 Thread Adrian Lynch
Well, this is what I've come up with:

// Show the MC with Loader that we will duplicate below
loaderContainer.loaderToDupe.contentPath = dupe_loader.jpg;
loaderContainer.loaderToDupe.scaleContent = false;
loaderContainer.loaderToDupe.load();

loaderContainer.duplicateMovieClip(newLoaderContainer, 10);

// Defined a function in the yet to be initialised nested Loader
newLoaderContainer.loaderToDupe.whatToDo = function() {
trace(whatDoTo called);
this._x += 50;
this._y += 50;
this.contentPath = dupe_loader.jpg;
this.scaleContent = false;
this.load();
};

// Use the container's oEF to wait for the existence of the loader's doLater
newLoaderContainer.onEnterFrame = function() {

if ( this.loaderToDupe.doLater != undefined ) {

trace(doLater() is there);
this.loaderToDupe.doLater(this.loaderToDupe, whatToDo);
this.onEnterFrame = undefined;

} else {
trace(doLater() isn't there yet, so wait);
}

};

It assumes an MC, loaderContainer, with a Loader inside, loaderToDupe and an
image to load, dupe_loader.jpg.

If anyone has any thoughts on this I'd still like to hear them.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:26
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Duplicating MC with Loader inside


Maybe doLater is the property I wait to be defined?

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:09
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Duplicating MC with Loader inside


Would UIObject.doLater() be of any use?

From the docs:
Method; calls a user-defined function only after the component has finished
setting all of its properties from the Property inspector or Component
inspector. All version 2 components that inherit from UIObject have the
doLater() method.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian
Lynch
Sent: 22 January 2006 13:04
To: Flashcoders
Subject: [Flashcoders] Duplicating MC with Loader inside


I knew of an initialisation problem with nested Loaders from another project
I did. Back then I didn't look too much in to it but this time I want to see
if I can find a solution.

Here's what I have and what I'm doing/trying to do:

- I have an MC on stage, inside this is a Loader component.

- I duplicate this MC, and hence the Loader inside it.

- I then set the properties' of the duped MC's Loader, contentPath and
scaleContent, and then call it's load() method.

If I do the above in sequence, the duped MC's Loader isn't initialised by
the time I try to set it's properties'.

If I delay using the duped MC's Loader, and instead fire an event that does
it, a button click for example, the Loader works fine.

I can think of two solutions, but I'm not too sure about them.

1. Set an interval to give the Loader time to get ready and then set the
properties.

2. Do the duping, check using an onEnterFrame to see if the nested Loaders
properties' exist and then set them.

The problem with 1 is, how long is long enough?

The problem with 2 is, will I get away with checking one property or will I
have to check them all? For example, I can check to see that contentPath is
difined, but what if load() isn't?

Does anyone have any thoughts on this?

I suppose another question is, how can you tell if a component if fully
initialised and ready to use?

Thanks.

Adrian

___
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] Problems with Flash Plugin Switcher 2.1.0

2006-01-22 Thread Adrian Lynch
I'm just about to install Flash Plugin Switcher 2.1.0 and wondered if this
has caused any problems for anyone.

I'm coming to the end of a project and I don't fancy trying to fix player
issues when I should be working :O)

Oh and does it work as nicely as it sounds?

Thanks.

Adrian

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


RE: [Flashcoders] Converting amp; in a URL?

2006-01-20 Thread Adrian Lynch
Are you outputting these URLs or using them in getURL()?

That should work in getURL(). But if you're outputting them, one way to
convert them is to use HTML text fields.

Or, if you can't change the text fields, try this:

str = Sometext with an amp; in.;

function convert(str, from, to) {
return str.split(from).join(to);
}

trace(convert(str, amp;, ));

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sascha
Balkau
Sent: 20 January 2006 14:10
To: flashcoders
Subject: [Flashcoders] Converting amp; in a URL?


Hi list,

does ActionScript have any facilities to convert special characters like
amp; into just ? I have one Flash movie that reads URLs from an RDF file
where all URLs are written with amp; inside the adress. My client would
like these special chars to be converted to ''. Does Flash has anything to
do that automatically (haven't found anything so far) or do I have to write
my own convert method?

Thanks for help,
Sascha

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


RE: [Flashcoders] grid based progressive image loading ( I don't knowwhat to call it ) in flash?

2006-01-20 Thread Adrian Lynch
I can't see the example you're talking about, but it sounds like
http://www.zoomify.com/

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of elibol
Sent: 20 January 2006 15:22
To: Flashcoders mailing list
Subject: [Flashcoders] grid based progressive image loading ( I don't
knowwhat to call it ) in flash?


Hi,

http://www.moma.org/

The images load by grid slices, they're zoomable, and they focus when
they're zoomed. What tool do I need to accomplish this?

cheers,

H
___
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] Stolen content

2006-01-19 Thread Adrian Lynch
I disagree. One link on it's own, such as http://www.google.com might not
be, but a list of lots of search engines certainly is.

Now please end this thread :OD

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alias
Sent: 19 January 2006 14:42
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Stolen content


Links are not content.

Please end this thread.

Alias

On 1/19/06, franto [EMAIL PROTECTED] wrote:
 sure, you right, it was not my examples,
 it's content of my blog, link which i collected from many sites,
 digging, storing, writing then to the post, 1 update of post when I
 add 1 link last 30 mins, because there were many sites linking to that
 post

 I dont tell examples is mine...  my Collected examples are not same as
 Collected my examples :)

 Hopefully you know what I mean

 Franto

 On 1/19/06, erixtekila [EMAIL PROTECTED] wrote:
 
  Le 19 janv. 06, à 11:50, franto a écrit :
 
   I just want to know, that there are such practics, i know you know :)
   but i hate it
   so just want to let you know thieves :)
  
   http://www.franto.com/blog2/stolen-content-collected-links-to-
   maelstrom-examples
 
 
  Well, franto, did you really said : my content ?
  It's sad, i've found my content on other sites. Do not know about
  other content, but it seems that my Collected links to Maelstrom
  examples
 
  I thought it was examples of the new features developped by others.
  Could you clarify a bit ?
 
  Thanks.
  ---
  erixtekila
  http://blog.v-i-a.net/
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


 --
 --

---
 Franto

 http://blog.franto.com
 http://www.flashcoders.sk
 ___
 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] populating Text Fields in nested Array

2006-01-19 Thread Adrian Lynch
I didn't know that. Thanks for the heads up.

If that is the case, use the string reference to fill the array up

c.createTextField(sctnNmTxt+sctnNmTxt_d, sctnNmTxt_d, sctnNmTxt_x,
sctnNmTxt_y, sctnNmTxt_w, sctnNmTxt_h);

sctnNm_array[1] = c[sctnNmTxt+sctnNmTxt_d];

I think.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lanny
McNie
Sent: 19 January 2006 22:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] populating Text Fields in nested Array


Unless your using Flash8, createTextField doesn't return a reference.  You
might be dealing with a bunch of undefined elements in your array


On 1/19/06, cristian [EMAIL PROTECTED] wrote:

 Hey - Im having trying to populating empty Text Fields with an array
 of strings: Any help would be appreciated.
 Thanks in advance
 xtian

 This is my code that although has no syntax errors doesn't show
 anything in the swf created

 //create a container called c
 c = c.createEmptyMovieClip(c, 1);
 /*
 */
 //within c create an array holding mcs that in turn hold empty
 textfields
 var sctnNm_array:Array = new Array();
 //
 sctnNm_array[0] = c.createEmptyMovieClip(sctnNm+sctnNm_d,
 sctnNm_d); //-***depth 0
 sctnNm_array[1] = c.createTextField(sctnNmTxt+sctnNmTxt_d,
 sctnNmTxt_d, sctnNmTxt_x, sctnNmTxt_y, sctnNmTxt_w,
 sctnNmTxt_h); //-***depth 1
 /*
 */
 /*
 //create a function to add text to the empty textfields
 */
 var sctnTxt_array :Array = new Array(news, philosophy,about
 us,excursions,rentals,locations,gallery,links,contact);
 /*
 */
 function addTextNames (){
 sctnNm_array[1].text = sctnTxt_array;
 }
 //check
 function showFields() {
 trace(sctnNm_array);
 }

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


  1   2   >