Re: [Flashcoders] Insert breakpoints and run debugger withoutFlashCS3?

2008-06-16 Thread Vlado Krempl

This is getting slightly anoying isn't it!


Vlado Krempl
Sydney, Australia

On 16/06/2008, at 6:49 PM, EDELSTAR wrote:

Данный почтовый ящик не обрабатывает  
подгрузки, заявки и прочие сообщения.  
Вам нужно написать на адрес,  
присвоенный Вашему СПО.

___
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] Detection Kit and Express install for flash player 9?

2008-04-10 Thread Vlado Krempl
Hello everyone!
{If this posting has been done before I apologise}

Regarding the Adobe Flash® Player Detection Kit and express Install.

Is it actually possible to create a webpage that will detect which player 
version the viewer has and offer a express install without having to leave
the webpage and not have to restart there computer. (For flash player 9!!)

It seems there are a hell of alot of people out there still with flash player 8 
or below!!

Thankyou for any replies.

Cheers,

vlado krempl
sydney, australia

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


Re: [Flashcoders] Detection Kit and Express install for flash player9?

2008-04-10 Thread Vlado Krempl

Thanks for your reply Kenneth.

Just one question, when you design a flash webpage, do you us a HTML 
alternate page aswell?


Cheers,

v
- Original Message - 
From: Kenneth Kawamoto [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 10, 2008 10:09 PM
Subject: Re: [Flashcoders] Detection Kit and Express install for flash 
player9?



The last time I checked, the Express Install did not work on my Mac at all.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Vlado Krempl wrote:

Hello everyone!
{If this posting has been done before I apologise}

Regarding the Adobe Flash® Player Detection Kit and express Install.

Is it actually possible to create a webpage that will detect which player 
version the viewer has and offer a express install without having to 
leave

the webpage and not have to restart there computer. (For flash player 9!!)

It seems there are a hell of alot of people out there still with flash 
player 8 or below!!


Thankyou for any replies.

Cheers,

vlado krempl
sydney, australia

___
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] Detection Kit and Express install for flash player9?

2008-04-10 Thread Vlado Krempl

I agree, this situation is on top of my wishlist.
Thanks again.

- Original Message - 
From: Kenneth Kawamoto [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 11, 2008 8:33 AM
Subject: Re: [Flashcoders] Detection Kit and Express install for flash 
player9?




do you us a HTML alternate page aswell?


Sometimes yes, sometimes no. It all depends on the nature of the site
and requirements of the client.

If it's an AS3 site with no HTML alternatives, since I personally cannot
trust Express Install, I would show a link to the FP download page so
that the user can update the player manually if the player version is 
9. But there are reports SWFObject fails to detect the player version
correctly on IE7 updated from IE6. Therefore I may will have to use
Adobe detection script instead for the version detection.

There ought to be more elegant solution though. I hope someone can chime
in for this issue.


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Vlado Krempl wrote:

Thanks for your reply Kenneth.

Just one question, when you design a flash webpage, do you us a HTML 
alternate page aswell?


Cheers,

v
- Original Message - From: Kenneth Kawamoto 
[EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, April 10, 2008 10:09 PM
Subject: Re: [Flashcoders] Detection Kit and Express install for flash 
player9?



The last time I checked, the Express Install did not work on my Mac at 
all.


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Vlado Krempl wrote:

Hello everyone!
{If this posting has been done before I apologise}

Regarding the Adobe Flash® Player Detection Kit and express Install.

Is it actually possible to create a webpage that will detect which player 
version the viewer has and offer a express install without having to 
leave
the webpage and not have to restart there computer. (For flash player 
9!!)


It seems there are a hell of alot of people out there still with flash 
player 8 or below!!


Thankyou for any replies.

Cheers,

vlado krempl
sydney, australia

___
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] books for flash programming

2008-04-03 Thread Vlado Krempl

Kerry Thompson wrote:


I have to agree with Cory. I've been programming since 1981, and, to stay
employed, I have needed to learn Basic, COBOL, Fortran, Assembler, RPG,
Pascal, C, C++, HTML, JavaScript, VBScript, XSLT, Lingo, ActionScript (3
versions), and probably some others that I can't recall at the moment. (For
the record, my all-time favorite is ActionScript 3.)


Hi Kerry,

I'm a designer who is getting more and more interested in programming and 
not just actionscript 3.
From your list above, and in your opinion, which are the must learn 

programs to learn?
I have been doing alot of reading on PHP, HTML, Javascript and Actionscript 
3.


Any advice would be appreciated.

Cheers,

Vlado Krempl
Sydney, Australia

- Original Message - 
From: Kerry Thompson [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Friday, April 04, 2008 7:14 AM
Subject: RE: [Flashcoders] books for flash programming



Cory Petosky wrote:


In the end, though, the advantage to learning multiple languages is
that you'll be better at what you do. No question. It's been common
knowledge among programmers since the 1970s.


I have to agree with Cory. I've been programming since 1981, and, to stay
employed, I have needed to learn Basic, COBOL, Fortran, Assembler, RPG,
Pascal, C, C++, HTML, JavaScript, VBScript, XSLT, Lingo, ActionScript (3
versions), and probably some others that I can't recall at the moment. 
(For

the record, my all-time favorite is ActionScript 3.)

I'm not saying that to boast, but to point out how quickly the industry
changes, and how adaptable you need to be. The ability to learn new
languages, and apply the algorithms you know to the new syntax, is 
crucial.

You young whippersnappers may not realize it, but ActionScript 3 will be
obsolete so quickly you won't know what happened. Flash itself may be
obsolete--it's already being replaced by Flex for a lot of code-heavy 
apps.

Look what happened to Director and Shockwave, once the king of the RIA.

When I started programming, only a few academics and military types knew
what a network was, nobody had e-mail, and even the term hyperlink was a
dreamer's concept. Nobody knows what computer science will look like in 10
years, much less 25. How many people here know how to program a quantum
computer where the unit of information is the Quark, which is not binary,
but may have 28 different states?

Programming languages are much like human languages. Learning a second
language makes it much easier to learn a third, then a fourth, and so on.
Plus, knowing another language helps you understand your primary language
better. I speak from experience (so to speak), as I learned Chinese as an
adult. It was a revelation, as was learning Assembler.

Don't get complacent with your AS3 or AS2 knowledge. You'll get stuck in a
rut, and your understanding of computers will be limited. Ask any 
programmer
who has done significant assembly-language programming. There's nothing 
like

getting close to the machine, on the bit level, to help you understand
what's happening in your ActionScript code, and how to optimize and 
organize

it.

Cordially,

Kerry Thompson


___
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] Re: How to take screenshot of sites , as seen on snap.com

2008-04-01 Thread Vlado Krempl

Hi there,

Another great tool to take snaps of your websites is to use snagit.

http://www.snagit.com

Hope that helps,

vlado krempl
sydney, australia


- Original Message - 
From: Digg Yeah [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 01, 2008 5:01 PM
Subject: Re: [Flashcoders] Re: How to take screenshot of sites ,as seen on 
snap.com




Thank you guys.
Thuy Nguyen, can you just give a little bit more detail on how this is
possible using just js and css?
Ain Tohvri, i tried browsershots. But what they do is to fire the browser,
and take screenshots using Python. Is there anyway to take snaps without
physically launching the browser?

Thanks!
Roger.

On Mon, Mar 31, 2008 at 6:22 PM, Thuy Nguyen [EMAIL PROTECTED]
wrote:


JavaScript and CSS

---
Thuy Nguyen
Web Developer
Angus Productions Inc.




On Mar 30, 2008, at 11:03 AM, flashcoders-
[EMAIL PROTECTED] wrote:

 Send Flashcoders mailing list submissions to
   flashcoders@chattyfig.figleaf.com

 To subscribe or unsubscribe via the World Wide Web, visit
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Flashcoders digest...


 Today's Topics:

1. How to take screenshot of sites , as seen on snap.com (Digg
 Yeah)


 --

 Message: 1
 Date: Sun, 30 Mar 2008 19:29:56 +0530
 From: Digg Yeah [EMAIL PROTECTED]
 Subject: [Flashcoders] How to take screenshot of sites , as seen on
   snap.com
 To: flashcoders@chattyfig.figleaf.com
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 Not sure if this is the right place to ask this, but can anybody
 share a
 pointer to how snap.com capture sceenshot of  sites?
 Any help would be much appreciated.

 Thank you for your time.


 --

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


 End of Flashcoders Digest, Vol 6, Issue 48
 **

___
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] Mailto function opens another browser?

2008-02-26 Thread Vlado Krempl

Great that works.

Thanks.
v
- Original Message - 
From: Glen Pike [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 26, 2008 9:21 PM
Subject: Re: [Flashcoders] Mailto function opens another browser?


Try putting your email address in quotes.  I also use _blank for the 
second parameter to navigateToURL


Glen

Vlado Krempl wrote:

Hello everyone,

Trying to add a mailto function to a button, but everytime I click the 
button, internet explorer opens up another browser window aswell as my 
Outlook express.  I thought using the _self option would help, but it 
doesn't.


Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado
Please consider the environment before printing this e-mail. The contents 
of this message should be treated as COMMERCIAL IN CONFIDENCE unless 
otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is addressed.
If you have received this email in error please notify the sender. If you 
are not the named addressee you should not disseminate, distribute or 
copy this e-mail. ___

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





--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
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] Button addEventListener is cancelled out by my Timer function.

2008-02-25 Thread Vlado Krempl
Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button 
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the addEventlistener 
again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
 stop();
 var t:Timer = new Timer (howLong, 1);
 t.addEventListener(
 TimerEvent.TIMER, 
 function(evt:TimerEvent):void {
 play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
 gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Button addEventListener is cancelled out by myTimerfunction.

2008-02-25 Thread Vlado Krempl

Thanks Bob!
Appreciate your time.
Have a great day.

v
- Original Message - 
From: Robert Leisle [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 26, 2008 4:40 AM
Subject: RE: [Flashcoders] Button addEventListener is cancelled out by 
myTimerfunction.




Hi Vlado,

It looks like your button is probably on the timeline rather than make
instantiated with code. Make sure your button exists before you do the
addEventListener() on frame 25. Also, do you maybe have a key frame in the
button layer at frame 65? If so, each key frame creates a new instance of
the button and any properties of the new instance will have the default
values until you reset them. To avoid the problem you described, just 
remove

the key frames and give your button a continuous, uninterrupted layer for
the whole length of the time line that you need it.

hth

Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlado 
Krempl

Sent: Monday, February 25, 2008 5:13 AM
To: Flash Coders List
Subject: [Flashcoders] Button addEventListener is cancelled out by my
Timerfunction.

Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the
addEventlistener again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
stop();
var t:Timer = new Timer (howLong, 1);
t.addEventListener(
TimerEvent.TIMER,
function(evt:TimerEvent):void {
play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado
Please consider the environment before printing this e-mail.
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is

addressed.
If you have received this email in error please notify the sender. If you
are not the named addressee you should not disseminate, distribute or copy
this e-mail.
___
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] Mailto function opens another browser?

2008-02-25 Thread Vlado Krempl
Hello everyone,

Trying to add a mailto function to a button, but everytime I click the button, 
internet explorer opens up another browser window aswell as my Outlook express. 
 I thought using the _self option would help, but it doesn't.

Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado 

Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Pausing the main timeline.

2008-02-12 Thread Vlado Krempl
Hello everyone,

When I try to pause the main timeline with this code (below), I get a 1084: 
Syntax error: expecting rightparen before rightbrace.};
function pauseTimeline(howlong:Number):void {
 stop();
 var t:Timer = new Timer (howLong,1);
 t.addEventListener(
TimerEvent.TIMER,
function(evt:TimerEvent):void {
play();
}
};
t.start();
};

Any ideas??





Vlado Krempl 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail. 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Vlado Krempl
It's funny how the most obvious mistakes can cause such havoc in 
actionscript.

Thanks guys,

v
- Original Message - 
From: Glen Pike [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 12, 2008 11:33 PM
Subject: Re: [Flashcoders] Pausing the main timeline.



function pauseTimeline(howlong:Number):void {
stop();
var t:Timer = new Timer (howLong,1);
t.addEventListener(
   TimerEvent.TIMER, function(evt:TimerEvent):void {play();}
   )
t.start();
}



Vlado Krempl wrote:

Hello everyone,

When I try to pause the main timeline with this code (below), I get a 
1084: Syntax error: expecting rightparen before rightbrace.};

function pauseTimeline(howlong:Number):void {
 stop();
 var t:Timer = new Timer (howLong,1);
 t.addEventListener(
TimerEvent.TIMER,
function(evt:TimerEvent):void {
play();
}
};
t.start();
};

Any ideas??





Vlado Krempl Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN 
CONFIDENCE unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is addressed.
If you have received this email in error please notify the sender. If you 
are not the named addressee you should not disseminate, distribute or 
copy this e-mail. ___

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





--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk
___
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] How did they do it?? A particular flash site.

2008-02-08 Thread Vlado Krempl

Hi Dave,

Is possible to integrate Maya with flash??


- Original Message - 
From: Dave Mennenoh [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Saturday, February 09, 2008 12:06 AM
Subject: Re: [Flashcoders] How did they do it?? A particular flash site.



I remember someone saying that the developper told him that:

*Scenes were rendered using Maya*

That was me. I emailed them and asked. Yeah it's very well done, no doubt.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
___
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] How did they do it?? A particular flash site.

2008-02-07 Thread Vlado Krempl
Hello everyone,

There is a great flash site that I absolutely love, and just wanted your 
opinion on how they layed it out.

The site is :
 http://checklandkindleysides.com

They use a background gradient image, so is the flash movie in transparent 
mode?? 
Or perhaps they have used another program for 3D, for example I read somewhere 
that Swift 3D is great for this kind of work.
They also use CSS on the nav text, have they integrated html with flash??

Cheers,

Vlado  
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Any problems with the list?

2008-02-06 Thread Vlado Krempl
Hi Guys,

Haven't recieved any emails all day. (from Flash Coders List)
Anything wrong with the email list?? Anyone else experiencing problems?


Vlado Krempl 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail. 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Vlado Krempl

Thanks for the reply,

Cheers,

from
Sydney,
Australia.
- Original Message - 
From: Pedro Kostelec [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, February 03, 2008 10:29 PM
Subject: Re: [Flashcoders] Resizing a background image only.And keeping 
aspectratio.




Perhaps sth like this would work:
original_picture_width=550;
original_picture_height=400;

picture_mc.width=stage.stageWidth;
picture_mc.height=(stage.stageWidth /
original_picture_width)*original_picture_height;

I am not sure it is completely as3, becasue i just started learning it, so
you perhaps should mdify it a bit.
WIth this i think you should keep the aspect ratio


On Feb 3, 2008 4:12 AM, Vlado Krempl [EMAIL PROTECTED] wrote:


Hello everyone,


Question:  (Using actionscript 3)

How to scale just the background image (photograph) fullscreen in the
browser but still keep it's aspect ratio.
All the solutions on the internet seem to still be in Actionscript 2. 
I'm

using the code below -

 
-

stage.addEventListener(Event.RESIZE, onStageResize);

 function onStageResize(event:Event):void {

picture_mc = 

 }

--

I've tried stage.stagewidth and scaleX = stage.width; but they all 
distort

the image when resized.

Anyone have a clue?

Thanks.



Vlado

Please consider the environment before printing this e-mail.
The contents of this message should be treated as COMMERCIAL IN 
CONFIDENCE

unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it
is addressed.
If you have received this email in error please notify the sender. If you
are not the named addressee you should not disseminate, distribute or 
copy

this e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
Pedro D.K.
___
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] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Vlado Krempl

Thanks for the reply, will give it a go.
Cheers,
from
Sydney, Australia.
- Original Message - 
From: Kenneth Kawamoto [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, February 03, 2008 11:03 PM
Subject: Re: [Flashcoders] Resizing a background image only.And keeping 
aspectratio.




It could be cleaner, but here we go:

private function onStageResize(e:Event):void {
  var picRatio:Number = picture_mc.width/picture_mc.height;
  var stageRatio:Number = stage.stageWidth/stage.stageHeight;
  if(picRatio  stageRatio){
 picture_mc.width = stage.stageWidth;
 picture_mc.height = picture_mc.width/picRatio;
  } else {
 picture_mc.height = stage.stageHeight;
 picture_mc.width = picture_mc.height*picRatio;
  }
}

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Vlado Krempl wrote:

Hello everyone,


Question:  (Using actionscript 3)
How to scale just the background image (photograph) fullscreen in the 
browser but still keep it's aspect ratio.
All the solutions on the internet seem to still be in Actionscript 2. 
I'm using the code below -

 
-

stage.addEventListener(Event.RESIZE, onStageResize);
 function onStageResize(event:Event):void {

picture_mc =  }
--

I've tried stage.stagewidth and scaleX = stage.width; but they all 
distort the image when resized.


Anyone have a clue?

Thanks.



Vlado



___
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] Resizing a background image only.And keeping aspectratio.

2008-02-03 Thread Vlado Krempl

Kenneth,

Works fantastic. Thanks.
One problem though, in the browser ( IE ) the image shows up small and only 
resizes when you adjust the browser.
Is it possible to have the image in the browser and have the image touching 
the sides at all times.

Here is a great example site.

http://www.zinkmag.com

Cheers,

vlado


- Original Message - 
From: Kenneth Kawamoto [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, February 03, 2008 11:03 PM
Subject: Re: [Flashcoders] Resizing a background image only.And keeping 
aspectratio.




It could be cleaner, but here we go:

private function onStageResize(e:Event):void {
  var picRatio:Number = picture_mc.width/picture_mc.height;
  var stageRatio:Number = stage.stageWidth/stage.stageHeight;
  if(picRatio  stageRatio){
 picture_mc.width = stage.stageWidth;
 picture_mc.height = picture_mc.width/picRatio;
  } else {
 picture_mc.height = stage.stageHeight;
 picture_mc.width = picture_mc.height*picRatio;
  }
}

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Vlado Krempl wrote:

Hello everyone,


Question:  (Using actionscript 3)
How to scale just the background image (photograph) fullscreen in the 
browser but still keep it's aspect ratio.
All the solutions on the internet seem to still be in Actionscript 2. 
I'm using the code below -

 
-

stage.addEventListener(Event.RESIZE, onStageResize);
 function onStageResize(event:Event):void {

picture_mc =  }
--

I've tried stage.stagewidth and scaleX = stage.width; but they all 
distort the image when resized.


Anyone have a clue?

Thanks.



Vlado



___
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] Properly embedding flash with html.

2008-02-03 Thread Vlado Krempl
Hello everyone,

Question:
When embedding a flash movie in HTML - 
Is everyone using the Publish settings that flash CS3 comes with  
AC_RunActiveContent.js etc or 
is the SWF OBject still the preferred way?

Cheers,

Vlado Krempl 
M 0433 781740 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Resizing a background image only.And keeping aspect ratio.

2008-02-02 Thread Vlado Krempl
Hello everyone,


Question:  (Using actionscript 3) 

How to scale just the background image (photograph) fullscreen in the browser 
but still keep it's aspect ratio.
All the solutions on the internet seem to still be in Actionscript 2.  I'm 
using the code below -
 
-

stage.addEventListener(Event.RESIZE, onStageResize);
 
 function onStageResize(event:Event):void {

picture_mc =  
 
 }
--

I've tried stage.stagewidth and scaleX = stage.width; but they all distort the 
image when resized.

Anyone have a clue?

Thanks.



Vlado
 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail. 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders