PDA

View Full Version : Masssive Competition Futur Tutorial


xxlm
05-08-2004, 02:50 AM
Hello there.

I will give as an entry to massive competition the way to upload image in mysql database and then load it into flash. It will be done trought a little image viewer (next image, previous image).

Ok I've finish all the file, and writting (almost finish) the tut for this.
Here is the link of working sample:
http://loadimage.tutorial.webbymx.net/

Feel free to email me or add post here if you have any comments or feedbacks.

C you.


BTW lol I'm writting this post to know if there is stuff I could improve.
So feel free to ask or give idea.

farafiro
05-09-2004, 07:49 AM
okey, as this has bees started here is what I'm thinking of:
doing one big tut for some photoAlbum ideas (the famous one over the web)
here is the first file that was fired of
http://farafiro.freeservers.com/photoAlbum_01.swf

boyzdynasty
05-09-2004, 08:05 AM
what is up w/ the pix of all those dead pigs...ahhhhh
*scary*

farafiro
05-09-2004, 08:21 AM
heheheeeeeeeee
welcome to the real world

CyanBlue
05-09-2004, 12:09 PM
Image into the MySQL database as blob or something??? That's interesting... I think I've seen a couple of PHP classes that does that, but why would you want to do that??? I don't really see why you should do it that way...

Enough said... Very nice one, xxlm... I just hope that everything is done in Flash... But there is nothing wrong with the hybrid page... :)
The only thing I can think of for the tutorial is that maybe you could add the language object or array where you can specify what language you want to see and have it display the strings from the given array... AND yeah, move the PHP page to Flash... :)

In the main page, I see previous and next button and one oval preloader like shape in the middle of the page, and I am sorta lost on what I need to do from there since the buttons are not working excpet the HTML button... Abit confusing to me...

xxlm
05-09-2004, 06:50 PM
I'm using blob because I think it's pretty interesting having ALL in a database.
Hybrid page you mean, the page for the admin?
Yeah I've done it in php, I know. But yes it's a good idea making it in flash. Will see when all will be done. :)

I don't get what you mean about the language object, sorry :shame:

Else the flash doesn't work? This is what you mean? Stange it's working for me. It's flash 7. I've tried it in Opera and IE6 and it's working (using anonymous proxy to be sure loading from web and not local)
You should see in the page the preloader and then loading the image. Previous and next are to go previous and next image. (will write it previous image now héhéhé).

Thx for your comments cyanblue

CyanBlue
05-09-2004, 08:07 PM
I'm using blob because I think it's pretty interesting having ALL in a database.
Yeah... I think there's good and bad side on it... It's good that you've got everything in one database, but it might need some extra work if you need to modify the image or some other instances...
Hybrid page you mean, the page for the admin?
Yup... The HTML page... I guess that's the admin page... :)
Yeah I've done it in php, I know. But yes it's a good idea making it in flash. Will see when all will be done. [quote]
Yes... You should really do that... It's more cool gadget that way... ;)
[quote]I don't get what you mean about the language object, sorry :shame:
Um... If you select the English, it will get "Name" from the array, and if it is set to French, it will get "Nom" from the array for example...
Else the flash doesn't work? This is what you mean? Stange it's working for me. It's flash 7. I've tried it in Opera and IE6 and it's working (using anonymous proxy to be sure loading from web and not local)
Um... I'm going to check it again when I get to work tomorrow... It's still showing me the same page...
At first time, I thought it was the problem with my slow connection, but I DO see those three pictures when I get to the HTML page fairly quick, so it isn't the problem with the 56k connection... Hm... I don't know... (FP 7.0.19.0/W2K/IE6)

xxlm
05-09-2004, 09:34 PM
Thx for the report cyanblue.
For the array. It's extra stuff, and I think I will not do it here. It's not the aim of the tut. BUt I will put all in english for sure... :)

It's good that you've got everything in one database, but it might need some extra work if you need to modify the image or some other instances...Why? All is made via forms and php script. No extra work to do...
I like db cause you don't need to look for the file on the hd after making a query. Like you get the path or the name of the file or something/ then you have to deal with to get the right file on the hd.
i come with it cause I've work on several project with files saved on hd, and it was mess. (btw I didn't develop this project, just debug hé). So I think it's better this way.
You're making your query and having all the info already. This is it.
Moreover it's easy to save. Just making backup of the db and all is saved... :)

Else for the flash this is strange you don't have it working... You need v7 player. I publish it with 7.1.1 flash mx 2004 pro....
Strange...
Will test with friend here and will let you know... :)

C you and thx

CyanBlue
05-09-2004, 09:39 PM
For the array. It's extra stuff, and I think I will not do it here. It's not the aim of the tut. BUt I will put all in english for sure...
Yup... That sure is correct... :)
That idea just came up when I saw 'Nom' from the admin page... That's all... :D
Moreover it's easy to save. Just making backup of the db and all is saved...
I guess you're pretty much right about that... I was thinking in the line where I need to prepare/modify the images as well, but if that phase is over, and if everything is in the publishing area, you don't need to worry abou that... Yup.. You're right... :)
You need v7 player. I publish it with 7.1.1 flash mx 2004 pro....
Um... 7.1.1??? Whachathat??? I've got 7.0.79.0 and that's not enough for your??? You probably have some routine that bans me, right??? :D
I'll let you know what happens when I get to work tomorrow... ;)

xxlm
05-15-2004, 07:08 PM
... héhéhé...
So any luck?

And as faffy suggest ma I'll title my tut as "Loading binary data from db to flash".
Cause I'm showing a way to load binary data. Not only image.
You can eg, store pdf for a product or mp3 or anything... :)

I think it's pretty cool no?

C ya... :)

farafiro
05-16-2004, 01:59 AM
yessssssssssssssssssssss man
this would be very cool and usefull one mate

xxlm
05-16-2004, 05:39 AM
;) Thx. I hope so...
Hope too to win the studio MX 2004 Pro.
I NEED IT... héhéhé

farafiro
05-16-2004, 06:50 AM
don't try it mate
it's mine, no doubt
;)

xxlm
05-16-2004, 07:56 AM
OK friend there is two Studio Mx 2004 to win.
So there is MINE and then yours... ;) ;)
Héhé

farafiro
05-16-2004, 08:03 AM
heheheeeeeeeeeeee
agreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

McGiver
05-16-2004, 08:04 AM
and who gets the I-pod?

farafiro
05-16-2004, 08:24 AM
my first daughter
;)

boyzdynasty
05-16-2004, 09:26 AM
what about mines?

i guess i'll when a "T-Shirt" just for trying *lol

X, well...you know what I will be doing...and it's pretty simple....

hehe

McGiver
05-16-2004, 11:35 AM
hehee, nice signature boyz :D

boyzdynasty
05-16-2004, 12:36 PM
hehe... dedicated to you.
you're the man
:)

McGiver
05-16-2004, 12:47 PM
too much honor...
maybe I should write a "How to create a Worms alike footer" tutorial