and the question that follows is from there would I need to develop alternate swfs for each detected resolution or is there an easy way for it to automatically resize ?
and the question that follows is from there would I need to develop alternate swfs for each detected resolution or is there an easy way for it to automatically resize ?
Depends on how you want to implement it. For a full screen idea, if Using Flash 8 (or even Flash 9) check out this tutorial
If full screen isn't what you are after, let me know.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
By resolution, do you mean the size of the stage? Flash can definetely detect that. And by using listeners on the stage's size, you can realign objects relatively.
So, for example, if you want a particular movieclip to remain centered on the stage even after the user resizes, you could do that.
Here is a tutorial on it from gotoAndLearn(). It's in AS2 but the same logic applies to AS3. There are just some syntactic changes (dropping the underscore before property names, for example).
Hello
My question is along the same lines. I have designed the following :
www.greenpatch.co.uk/testing. It is a liquid layout. As you can see, I have three swf and I would like them to resize relatively according to the browser size. If you could give me some advice on how to achieve this, I would really appreciate it.
Thank you very much in advance.
PS I tried the above link but its a 404
here is the link medyman was trying to link to
[Jasme Library (Javascript Motion Effects)] My Site
/\/\@§†ê® §©®¡þ† /\/\@|{ê®
There are 10 kinds of people in the world, those that understand binary and those that don't.
The correct URL for the link above is http://gotoandlearn.com/play?id=31.
That's only a technique for full-browser flash however.
For what you're looking to do, just defining the height/width by percentages should do the trick. Otherwise, you'll have to do it via JS.
http://flashsourcecode.com/
heres an example of this in as3 yo can view a demo and download the source files.
Bookmarks