Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-08-2004, 02:50 AM   #1
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default Masssive Competition Futur Tutorial

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.

[edit]
BTW lol I'm writting this post to know if there is stuff I could improve.
So feel free to ask or give idea.
[/edit]
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...

Last edited by xxlm; 05-08-2004 at 02:55 AM.
xxlm is offline   Reply With Quote
Old 05-09-2004, 07:49 AM   #2
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

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
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 05-09-2004, 08:05 AM   #3
boyzdynasty
Senior Member
 
boyzdynasty's Avatar
 
Join Date: Aug 2002
Location: Philly
Posts: 2,583
Default

what is up w/ the pix of all those dead pigs...ahhhhh
*scary*
__________________
I need a new signature!
boyzdynasty is offline   Reply With Quote
Old 05-09-2004, 08:21 AM   #4
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

heheheeeeeeeee
welcome to the real world
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 05-09-2004, 12:09 PM   #5
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

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...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 05-09-2004, 06:50 PM   #6
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

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
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Old 05-09-2004, 08:07 PM   #7
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Quote:
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...
Quote:
Hybrid page you mean, the page for the admin?
Yup... The HTML page... I guess that's the admin page...
[quote]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...
Quote:
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)
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 05-09-2004, 09:34 PM   #8
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

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...

Quote:
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
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Old 05-09-2004, 09:39 PM   #9
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Quote:
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...
Quote:
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...
Quote:
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???
I'll let you know what happens when I get to work tomorrow...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 05-15-2004, 07:08 PM   #10
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

... 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...
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:14 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.