Ok here's a puzzle for you guys.
http://www11.brinkster.com/mikecarlisle/Puzzle.html
How does the butterfly escape the flash boundaries? Bare in mind that there is nothing other than one flash embed in the page.
Any ideas?
Mike :)
Printable View
Ok here's a puzzle for you guys.
http://www11.brinkster.com/mikecarlisle/Puzzle.html
How does the butterfly escape the flash boundaries? Bare in mind that there is nothing other than one flash embed in the page.
Any ideas?
Mike :)
I'd say something to do with layers.
Let's hear the solution.
"WIDTH=300 HEIGHT=100" in the embed code but only "WIDTH=300 HEIGHT=40" in the object code
maybe..... ?
opps...fixed that.
I ain't telling you the solution that's no fun, challenge is to recreate it. I'm going to make it my footer as well just to confuse you.
Mike
something to do with loading an external swf...?
two to be exact....
this would help too :D
javascript:
var bx=0;
var by=0;
var o=function
moveit(x,y)
{if(x!=null)
bx=x;
if(y!=null)
by=y;
var obj=document.getElementById('sub');
var cury=parseInt(obj.style.top);
var curx=parseInt(obj.style.left);
var ydif=((by-cury)/10);
var xdif=((bx-curx)/10);
var my=cury+ydif;
obj.style.top=my;
var mx=curx+xdif;obj.style.top=my;
obj.style.left=mx;
if (!(ydif > -1 && ydif < 1))
{setTimeout('moveit();',500);}
else if ((ydif > -1 && ydif < 1) && by==0)
{obj.style.top=0;obj.style.left=0}}
[Edited by aversion on 04-30-2002 at 05:42 PM]
looks like some javascript thing...
if u press CTRl+A u can see the bounding box for the butterflies other movie
yea it looks like JavaScript
can you make it so that the butterfly moves without needing the mouse to move over it?
That'd be cool to have happen.
The butterfly and the flash are seperate. Just zoom in...the butterfly never gets larger. Plus the telltale clicks indicate something screwy. I'm not sure how he would hide javascript in an html page.
jeez people... i already went over this :)
it loads two swfs, one called sub one called layers. The layers.swf contains the javascript i printed out above which moves the sub.swf on a layer.
i think that's how it works, but that's the javascript he uses, and very neat it is too.
:)
I just wasn't smart enough to understand I guess! :( :)Quote:
Originally posted by aversion
jeez people... i already went over this :)
it loads two swfs, one called sub one called layers. The layers.swf contains the javascript i printed out above which moves the sub.swf on a layer.
i think that's how it works, but that's the javascript he uses, and very neat it is too.
:)
pssst, me neither, i found this stuff out through the depths of my temp internet files directory but i would still like a fuller explanation of how it works.Quote:
Originally posted by clifgriffin
I just wasn't smart enough to understand I guess! :( :)
hmmm... i thought this thread was to do with http://www.flashchallenge.com ...
pfft.. not even close to a challenge. The butterfly is obviously a javascript or DHTML script with an animated gif. the supposed bondaries of the swf file is just the flash movie. If the butterfly was a vector tweening mc then I would be impressed.
Just a DHTML Layer...
Nothing special...
that's what i thought at first, but as i think xup878 said if you select it you can see that the dimensions of that butterfly are the same as the swf that's embedded. It looks interesting!Quote:
Originally posted by Asclepeos
pfft.. not even close to a challenge. The butterfly is obviously a javascript or DHTML script with an animated gif. the supposed bondaries of the swf file is just the flash movie. If the butterfly was a vector tweening mc then I would be impressed.
hehe, when I first saw it, I thought it was made in that new "mplayer" proggie for flash, that allows u to make flash without browserwindows, but then I remembered it could only xport .exe files. heh. :D
Well you seem to have worked out it involves layers, but if it's so easy why don't you try and recreate it?
You might find it's a little harder than you think. That was the challenge!
Mike
I hear ya. It's kind of retarded for them to say, "Oh that's easy!" after it has already been figured out.Quote:
Originally posted by beelineuk
Well you seem to have worked out it involves layers, but if it's so easy why don't you try and recreate it?
You might find it's a little harder than you think. That was the challenge!
Mike
Finally managed it!!
If anyone says this is easy...I will string them up. If anyone else can do this I will be very impressed :)
Mike The Footer King