PDA

View Full Version : i did this in flash...but am posting here



mdipi
November 13th, 2002, 03:26 PM
hey. i did this in flash, but i dont know where to post it cause its not a problem, just something i came up with, so i didnt really know where to put it, dig?

well here it is, have fun! :P

http://www.geocities.com/mdipi2k2/imagetest.swf

dead link. i will fix [<--edit]

lostinbeta
November 13th, 2002, 03:30 PM
Ummm, what does it do?

I tried to put a URL to a picture on the web, didn't work, tried one on my computer, didn't work either.

Tried a .txt file, didn't work.

Tried a song, didn't work.

Is it just a white screen with a textbox and a button?

mdipi
November 13th, 2002, 03:32 PM
yes i kno, it worked when i tested it in flash, it should with any luck load a .jpg. but it is not working and pissing me off. so i gotta see what is going on. i gotta feeling it has to be a pic off my server. so i gotta see.

mdipi
November 13th, 2002, 03:36 PM
http://www.geocities.com/mdipi2k2/imagetest.swf

ok use the name : suski.jpg

mdipi
November 13th, 2002, 03:37 PM
yet another dead link. i will add to HTML page.

lostinbeta
November 13th, 2002, 03:38 PM
Cool, but now I can't remove the picture or type in a new name :P

Interesting concept, but makes no sense if it doesn't serve a specific purpose though :-\



Geocities = no hotlinking, you need to copy and paste your URL into a new browser window.

If you are hot linking images, in the link you can call it .txt instead of .jpg and it will work, or so I hear.

h88
November 13th, 2002, 03:39 PM
Originally posted by lostinbeta
Cool, but now I can't remove the picture or type in a new name :P

Interesting concept, but makes no sense if it doesn't serve a specific purpose though :-\

I really dunno wut ur talking about lost, its a Dead link overhere!

lostinbeta
November 13th, 2002, 03:42 PM
Read my post again, I edited it, probably while you were replying.

h88
November 13th, 2002, 03:42 PM
hmmm, really easy though!

something like:


button.onRelease = function(){
loadMovie(myTextBox.text, 1)
}

right?

mdipi
November 13th, 2002, 03:42 PM
ok you pro coders will find this EASY beond belife, but i stink with AS so its big for me :P. the image exeads the limit of the movie but who cares.


http://www.geocities.com/mdipi2k2/imagetest.htm

lostinbeta
November 13th, 2002, 03:44 PM
LOL, I already know how to do it, and I am far from pro... far far away. :)

h88
November 13th, 2002, 03:44 PM
Originally posted by lostinbeta

Geocities = no hotlinking, you need to copy and paste your URL into a new browser window.

If you are hot linking images, in the link you can call it .txt instead of .jpg and it will work, or so I hear.


I really didnt know that one b4 LIB!

thanx!

mdipi
November 13th, 2002, 03:45 PM
kinda h88. this is the compleate code.

// Create empty movie clip and set location
_root.createEmptyMovieClip("image_mc", 0);
image_mc._x = 10;
image_mc._y = 10;
// Button event handler
load_btn.onRelease = function() {
// Load image
image_mc.loadMovie(filename_txt.text);
}



btw lost: i am one who could use AS to drag and stop and play, and that was about it, besides you know JS which is a lot alike.

lostinbeta
November 13th, 2002, 03:45 PM
No problem, I don't know of the hotlinking of images thing is true, but it has been said a few times on this forum by some people that know what they are talking about so I believe it.

h88
November 13th, 2002, 03:46 PM
Originally posted by mdipi.com
ok you pro coders will find this EASY beond belife, but i stink with AS so its big for me :P. the image exeads the limit of the movie but who cares.


http://www.geocities.com/mdipi2k2/imagetest.htm

hey, why dont you try _xscale and _yscale to scale your picture!

and second thing, assigning _x and _y of the picture is really better

h88
November 13th, 2002, 03:47 PM
Originally posted by lostinbeta
No problem, I don't know of the hotlinking of images thing is true, but it has been said a few times on this forum by some people that know what they are talking about so I believe it.

[off topic]b4 two days, u was celebrating ur 4000th post, and now u got 100 in less than 2 days[/off topic]!!!! :P

mdipi
November 13th, 2002, 03:49 PM
well my book didnt mention that, but i will try it. how do i enter it?

h88
November 13th, 2002, 04:11 PM
aaa._xscale = 50;
aaa._yscale = 55;

dont forget, on ur _root

mdipi
November 13th, 2002, 04:19 PM
the aaa needs to be there?

mdipi
November 13th, 2002, 04:36 PM
got it, thanks its a lot better.

h88
November 13th, 2002, 04:37 PM
did u update it?

mdipi
November 13th, 2002, 04:41 PM
just now.