Re: [Flashcoders] Excel Exponentiation (caret) Notation

2007-07-10 Thread Daniel Cascais

Thanks Gregg!

On 7/9/07, g. wygonik <[EMAIL PROTECTED]> wrote:

hey daniel

i think that means that you have three arrays of the B1:B7 Math.pow()
series, with each array being a different value in the curly-bracketed list.

That is:

B1:B7^{1,2,3} becomes

var myArray1 = [ Math.pow(B1,1),...,Math.pow(B7,1)];
var myArray2 = [Math.pow(B1,2),...,Math.pow(B7,2)];
var myArray3 = [Math.pow(B1,3),...,Math.pow(B7,3)];

B1:B7^{5,10} becomes

var myArray1 = [Math.pow(B1,5),...,Math.pow (B7,5)];
var myArray2 = [Math.pow(B1,10),...,Math.pow(B7,10)];

and so on

hth
g.





On 7/1/07, Daniel Cascais <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Hi, I've stumbled upon this function call in Excel:
> =LINEST(A1:A7,B1:B7^{1,2,3})
>
> And I'm having issues with this last bit:
> "B1:B7^{1,2,3}"
>
>
> Let's say B1:B7 is an array from 1 to 7 considering this Excel notation:
> "B1:B7"
>
> It would look like this in ActionScript:
>
> var n1:Number = 1;
> var n2:Number = 2;
> var n3:Number = 3;
> var n4:Number = 4;
> var n5:Number = 5;
> var n6:Number = 6;
> var n7:Number = 7;
>
> var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];
>
>
> Now, if I change this, considering the following Excel notation:
> "B1:B7^2"
>
> It would look like this ActionScript:
>
> var n1:Number = Math.pow(1, 2);
> var n2:Number = Math.pow(2, 2);
> var n3:Number = Math.pow(3, 2);
> var n4:Number = Math.pow(4, 2);
> var n5:Number = Math.pow(5, 2);
> var n6:Number = Math.pow(6, 2);
> var n7:Number = Math.pow(7, 2);
>
> var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];
>
>
> But what on earth happens to the array with this Excel notation???
> "B1:B7^{1,2,3}"
>
> --Daniel
>

--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.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] Excel Exponentiation (caret) Notation

2007-07-01 Thread Daniel Cascais

Hi,

Hi, I've stumbled upon this function call in Excel:
=LINEST(A1:A7,B1:B7^{1,2,3})

And I'm having issues with this last bit:
"B1:B7^{1,2,3}"


Let's say B1:B7 is an array from 1 to 7 considering this Excel notation:
"B1:B7"

It would look like this in ActionScript:

var n1:Number = 1;
var n2:Number = 2;
var n3:Number = 3;
var n4:Number = 4;
var n5:Number = 5;
var n6:Number = 6;
var n7:Number = 7;

var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];


Now, if I change this, considering the following Excel notation:
"B1:B7^2"

It would look like this ActionScript:

var n1:Number = Math.pow(1, 2);
var n2:Number = Math.pow(2, 2);
var n3:Number = Math.pow(3, 2);
var n4:Number = Math.pow(4, 2);
var n5:Number = Math.pow(5, 2);
var n6:Number = Math.pow(6, 2);
var n7:Number = Math.pow(7, 2);

var myArray:Array = [n1, n2, n3, n4, n5, n6, n7];


But what on earth happens to the array with this Excel notation???
"B1:B7^{1,2,3}"

--Daniel
___
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] BitmapData manipulation. Mirror effect.

2006-07-10 Thread Daniel Cascais

What I need to do is to make a mirror image of the
BitmapData and leave is as one single BitmabData.


Hi Claudia,

I did something similar in AS3, but I'm quite sure you can use it for
your needs too.

In your case, it would look something like this:

//---
var mirrorMatrix : Matrix = new Matrix( -1, 0, 0, 1, 50, 0 );
var imageMirror : BitmapData = new BitmapData( 50, 100 );
imageMirror.draw( image, mirrorMatrix );
image.copyPixels( imageMirror, new Rectangle( 0, 0, 50, 100 ), new
Point( 50, 0 ) );

owner.addChild( new Bitmap( image ) );
//---

Daniel Cascais
___
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] Accepting 1 parameter with 2 possible types in a method?

2006-06-15 Thread Daniel Cascais

you could try this:

private function myMethod( i:Object ):Void

On 6/15/06, Adrian Park <[EMAIL PROTECTED]> wrote:

Hi List,

What's the neatest way of accepting a single parameter with 2 possible types
into a method and then working out what type of parameter has been passed?

e.g. in pseudo code

private function myMethod( i:Number/String ):Void {

   if ( i is a String ) {
  // do this
   } else if ( i is a Number ) {
  // do this
   }
}

I can think of several alternatives :
- passing a generic object which contains the property and then using typeof
on that property
- calling 2 different methods but, in this case, it just makes sense to be
one since it's doing the same thing with either parameter (retrieving a bit
of data from an Array which may be identified using a numerical id or a
String ID)
- limiting my method to accepting a String only and then defining a second
method that returns the correspoding String identifier given a numerical
identifier

All of the ways I can think of seem dirty. Is there a nice clean way or is
it wrong to expect the method to accept one parameter of different types?

Thanks in advance,
Adrian P.
___
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




--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
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 coders content degrading

2006-06-12 Thread Daniel Cascais

Some FlashCoders might be moving over to FlexCoders, where they can
talk about ActionScript 3...

On 6/12/06, Mike Mountain <[EMAIL PROTECTED]> wrote:

Dunno if its me skilling up (which I doubt) but it would seem a lot of
the posts flash coders are getting now would be better suited in:

Flashnewbie: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

We seem to be getting a lot of basic questions and the list seems to
have lost some of its bleeding edge status.

Anyone else sense this change in the force?

It would seem a lot of the big guns have moved on - so the question is
where is the next list up? Has everyone moved over to:

OSFlash: http://osflash.org/mailman/listinfo/osflash_osflash.org

What's the traffic/quality ratio there like?

___
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] Flex list

2006-05-23 Thread Daniel Cascais

Flexcoders
www.flexcoders.org

On 5/23/06, John Grden <[EMAIL PROTECTED]> wrote:

what's the main list people are using for Flex discussion?

Thanks for the help,

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


Re: [Flashcoders] Falling leafs

2006-04-03 Thread Daniel Cascais
I've seen a lot of apps like this, very popular in christmas time
(with falling snow) I'm sure Robert Penner has an example somewhere.
You can also try Ultrashock.com.

On 4/3/06, Eskil Janson <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have a customer who wants falling leafs or herbs (small jpg:s )  to
> fall in the foreground of a larger picture. Anyone who has done this,
> and fells like sharing a few lines?
>
> I don't really need advice on how to solve the problems involved, think
> I could figure something out, but i feel lazy, and not in the mood of
> reinventing the weel...
>
> thanks
>
> /Eskil
___
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] Architecture opinion...

2006-03-28 Thread Daniel Cascais
I think you could use something like the example I had posted some
time ago. It uses the technique Scott is mentioning.


___
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] SWF Mouse drag out

2006-02-28 Thread Daniel Cascais
Hi,

I've been testing how to get the x and y position of the Mouse when
outside the Stage when the SWF is embedded in an HTML, which obviously
is not easy. For now I am interested in getting the Mouse coordinates
when the mouse has been pressed inside the Stage (onMouseDown) and the
dragged out. When you do this and drag the Mouse outside the SWF
bounds you keep on getting the Mouse coordinates, which is excellent.
This works great in Firefox, but has some issues in Internet Explorer
(haven't tested in other browsers).

Now, in IE if you drag the Mouse UP and out of the SWF you will start
getting the desired results, but if you don't do it first you won't
get the coordinates when you have dragged the Mouse out of the Stage
bounds (LHS, RHS and bottom). Also, sometimes (if you play around a
lot) this will happen if you drag the mouse DOWN and out of the SWF.

After you have actually managed to get the corresponding behavior in
IE and then you let the Mouse go, the saga begins again.

Can anyone confirm this behavior in IE?
Can anyone explain this behavior in IE?
Can anyone solve this behavior in IE?


Here's some sample code you can try out:

createTextField ("output1", 1, 100, 22, 200, 22).text = "Not testing
mouse x and y position";
createTextField ("output2", 2, 100, 44, 200, 22).text = "0 x 0";
createTextField ("output3", 3, 100, 66, 200, 22).text = "Mouse is
outside the SWF bounds: false";

function onMouseDown()
{
   output1.text = "Testing mouse x and y position";
}

function onMouseUp()
{
   output1.text = "Not testing mouse x and y position";
}

function onMouseMove()
{
   output2.text = _xmouse + " x " + _ymouse;
   output3.text = "Mouse is outside the SWF bounds: " + ( _xmouse < 0
|| _xmouse > Stage.width || _ymouse < 0 || _ymouse > Stage.height );
}
___
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] Load centered images in movie clip - Heeelp!

2006-02-15 Thread Daniel Cascais
Try using a MovieClipLoader and then wait for the onLoadInit event,
after that you can set the x and y based on the width and height.

Daniel
___
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] Any one can explain about Flash media server

2006-02-04 Thread Daniel Cascais
You can have a look at these samples here, they might be inspiring for
your application.

http://www.macromedia.com/devnet/flashmediaserver/sample_apps.html

You should also have a look at the tutorials and info in macromedia's
site which are pretty good.

Daniel

On 2/4/06, hidayath q <[EMAIL PROTECTED]> wrote:
> Hi guyz,
>
> I want to know about the Flash media server and how to create and small
> application using it.
>
> S.Hidayath
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do you code your Flash applications?

2006-02-04 Thread Daniel Cascais
> getNextHighestDepth()+10*152/36%23*Math.random()*362;

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


Re: [Flashcoders] How do you code your Flash applications?

2006-02-03 Thread Daniel Cascais
I completely agree with what Ryan says, but if you still want to use
getNextHighestDepth(), as Nathan commented, you could do something
like this and get a similar result:

...getNextHighestDepth() + 10;

Daniel

On 2/3/06, ryanm <[EMAIL PROTECTED]> wrote:
> > No, but what Ryan describes is exactly what getNextHighestDepth() is  for.
> >
> Not at all. If you have a content container at 1, a navigation container
> at 2 (so that drop downs lay on top of the content), and a footer container
> at 3, and you need to add another content container (for rotating ads or
> something), you want it to be next to the other content in depth so that
> it's under the navigation. I avoid getNextHighestDepth like the plague, it
> is an evil monkey living in your closet that wants to kill you. Or at least
> be a major pain in the ass while you try to figure out why you can't control
> the z-position of your elements. I don't even use it in loops when I'm
> generating a bunch of movie clips, like rows in a select box or something, I
> use the iterator for the loop, that way their depth and their index in the
> array is always the same. The only time I've ever used getNextHighestDepth
> was in one-off projects where I didn't know or care where the elements ended
> up because they were created and forgotten. Anything that might have to be
> referenced or moved later should probably have its depth set explicitly.
>
> ryanm
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV not showing, please help

2006-01-26 Thread Daniel Cascais
It might be that you are using the ON2 codec to create the FLVs.

In F8 (pro?) you can use both Sorenson and ON2 to make FLVs. If you
use Sorenson you'll be able to view the FLV in both FP7 and FP8 but if
you use ON2 you'll only see the video in FP8.

The audio will be heard on both players, as it is MP3 and both players
support it.

> Can somebody please take a look at my code. The flv doesnt show, but the
 > audio I do hear.



--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] checking combinations

2006-01-26 Thread Daniel Cascais
Thanks Andreas,

There might be some other advantages to my example:

The order of the results in the array (a, b, c…) can easily be
modified without having to get into the logic. And, you could also
increase/decrease the amount of affecting variables (value1, value2,
etc.) without spending too much time redoing the conditionals.

Using a table as in my example might also be very helpful to know the
results depending on the values of the different variables, which
might be easier to understand than a long switch conditional.


On 1/26/06, Andreas Weber <[EMAIL PROTECTED]> wrote:
> Ok, ok I'm clearly outnumbered here - waving white flag :-)
>
> And the approach Daniel demonstraded (similar to what Martin outlined) is
> indeed very elegant and succint.
>
> When the actions to take (depending on which combination 'is the case') are
> rather complex, requiring several lines of code, imo the immediately
> readable 'string-based' switch still has its merits in terms of
> readability/managability, but I won't insist - up to Eric to pick the one
> that best matches the needs of his project.
>
> Cheers!
> --
> Andreas Weber
> motiondraw.com

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] checking combinations

2006-01-25 Thread Daniel Cascais
The return type should really be String in this case

function getResult( value1:Boolean, value2:Boolean, value3:Boolean,
value4:Boolean ):String

On 1/25/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> Thats interesting. A bit more involved than what I was doing but it is
> indeed interesting.

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] checking combinations

2006-01-25 Thread Daniel Cascais
What about something like this:


var results:Array = [ "a", "b", "c", "d", "e", "f", "g", "h", "i",
"j", "k", "l", "m", "n", "o", "p" ];

function getResult( value1:Boolean, value2:Boolean, value3:Boolean,
value4:Boolean ):Number
{
var resultIndex:Number = 0;

if( value1 ) resultIndex |= 8;
if( value2 ) resultIndex |= 4;
if( value3 ) resultIndex |= 2;
if( value4 ) resultIndex |= 1;

return results[ resultIndex ];
}

trace( getResult( true, true, false, true) );

/*
Results Table

value1  value2  value3  value4  Results
0   0   0   0   
a
0   0   0   1   
b
0   0   1   0   
c
0   0   1   1   
d
0   1   0   0   
e
0   1   0   1   
f
0   1   1   0   
g
0   1   1   1   
h
1   0   0   0   
i
1   0   0   1   
j
1   0   1   0   
k
1   0   1   1   
l
1   1   0   0   
m
1   1   0   1   
n
1   1   1   0   
o
1   1   1   1   
    p
*/

On 1/25/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> I have 4 variables I need to check the states of routinely... and
> combinations thereof.

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Daniel Cascais
Me to :|
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] alpha -= 10 = wtf

2005-12-15 Thread Daniel Cascais
> >>Thanks, Macromedia!
>
> What is a Macromedia?

http://en.wikipedia.org/wiki/Macromedia
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] motion detection

2005-12-07 Thread Daniel Cascais
Yep, that did the trick. Thanks.

On 12/7/05, Rob Dackson <[EMAIL PROTECTED]> wrote:
> It seems to be a Quicktime Movie, so maybe you have a
> problem with your QT installation?
>
> Direct link to the movie, if it works better:
> http://www.playdocam.com/flash8/playdocam-flash8.mov
>
> /RobD
>
> 2005/12/7, Daniel Cascais <[EMAIL PROTECTED]>:
> >
> > What does it do, apart from crashing IE and FF when you open it?
> >
> > > http://www.playdocam.com/flash8/fire.html
> >
> > --
> > Daniel Cascais
> > Tel: +56 (0)2  4589495
> > Cel: +56 (0)9  9417355
> > ___
> > 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
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] motion detection

2005-12-07 Thread Daniel Cascais
What does it do, apart from crashing IE and FF when you open it?

> http://www.playdocam.com/flash8/fire.html

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] zoomable Flash maps

2005-11-29 Thread Daniel Cascais
Hi Hans,

I've seen this map application being mentioned a few times:

http://www.zoomify.com/


On 11/29/05, Van De Velde Hans <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I need to make a geographical map viewer module in Flash with a dynamic
> number of hierarchical zoomable depth levels
> and with a number of hotspots per level (i.e. the stores of the client in a
> certain country, region or city).
>
> And I need to foresee an administration module that allows to drag and drop
> hotspots on the maps
> and store these hotspots to a database.
>
> >> Please send me links to examples of Flash maps, howtos or anything that
> can help <<
>
>
> Thanks,
> Hans.

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Daniel Cascais
The most reliable way to have the recipient actually view the
Christmas card (only if he/she wants to) is to have a link to it.

I had to do it like so last Christmas, and I believe most companies
that use flash for their email greeting cards do it this way.

Daniel

On 11/24/05, Danny Kodicek <[EMAIL PROTECTED]> wrote:
> A friend of mine is trying to send a Flash christmas card in an email and is
> finding that everyone's Outlook is blocking it for security reasons. I know
> this is generally considered a no-no anyway, but his company want to do it
> and it's for internal emails anyway, so can anyone recommend a reliable way
> to embed a swf in a mail? If it needs to be included as an attachment,
> that's fine, but reading it off the server would be better, obviously.
>
> Best
> Danny
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Blitting, Double-Buffering, and Other Bitmap Methodologies

2005-11-23 Thread Daniel Cascais
Hi Jesse,

I've seen some pretty good samples in André Michelle's blog
(http://blog.andre-michelle.com/), and I even think some of his bitmap
rendering source can be found here:
http://session.andre-michelle.com/fl8.session.2005.zip

I know I'm not really answering your question, but it might be good
for some inspiration.

Note: I think the samples are done for FP8.

Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread Daniel Cascais
Maybe you could let the user choose a continent firts, and then give
him the country options.

On 11/18/05, Toon Van de Putte <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I'm building a shop site in Flash, where the user has to select their
> country from a list on the order form.
> I personally would like to avoid one big long dropdown, i hate those in HTML
> forms. Since it's Flash, I think I can do something much more user-friendly,
> these are my options so far:
>
> - a small menu where the user first selects a letter of the alphabet and
> then selects his/her country.
> - same sort of menu, but with the most likely countries at the top, in this
> case EU countries.
>
> Have any of you done anything like this before, and have any tips to share?
>
> thanks,
>
> --
> Toon Van de Putte
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] weird scaling issue in internet explorer and 1900 x 1200 resolution

2005-11-15 Thread Daniel Cascais
I tested it at a resolution of 1440x900 on both IE and FF. The output
I got was 1000x600.

On 15 Nov 2005 20:31:50 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm getting to the end of a project and have been testing inside eclipse and 
> in firefox, I come to test in internet exploder (windows) and its scaling my 
> move no matter what I set it to in the object tag.
>
> I've done a test swf that is 1000 x 600 px and if I view in in firefox it 
> looks great if in explorer its not scaled but the stage is bigger than its 
> supposed to be, I added a button to get the stage height and width and the 
> scale mode and in firefox it displays:
>
> width= 1000height 600 scale noScale
>
> in IE it displays
>
> width= 1250height 750 scale noScale
>
>
> http://www.bluetube.com/temp/flash-embed-test/EMC.html
>
> I've tried this on other machines and it appears to work how it should and 
> the only thing I can put it down to is I run a dell 9300 with a 17" display 
> that runs 1900 x 1200 pixels, could this be an issue the flash player in 
> internet explorer is not addressing ?
>
>
> Grant
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Open all Branches of a Tree Component

2005-10-27 Thread Daniel Cascais
Hi Martin,

I've used something like this (can't remeber exactly):



public function setTreeIsOpen(open:Boolean):Void
{
   for(var i:Number = 0; i < tree.length; i++)
   {
  tree.setIsOpen(tree.getTreeNodeAt(i), open, false);
   }
}



Hope it helps.

--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders