dcsimg
A Flash Developer Resource Site

Page 3 of 12 FirstFirst 1234567 ... LastLast
Results 41 to 60 of 225

Thread: [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [

  1. #41
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    I'm not sure what you mean. Please post your code.

  2. #42
    _.·`¯°ReLiPMoCeD°¯`·._
    Join Date
    Sep 2002
    Location
    Amsterdam
    Posts
    91
    I thought you said, that you would take a break?????

    you deserve it!

    but while you're still on it:
    I like the text option. Great.
    and about the 'moving around option' when zooming in; wouldn't it be easier to drag the picture around instead of using arrow's? (like in acrobat reader)


    and 'fitchic77''
    your question seems more in place in the 'Newbees Help' or as a new post in 'Flash MX'

    RookY

  3. #43
    Senior Member
    Join Date
    Jul 2001
    Posts
    198
    I'll retract my last post.

    I would like to know, how to incorporate a multiple tween in this great piece of code?


  4. #44
    Member
    Join Date
    Jun 2002
    Posts
    42
    Hey guys.

    I've got the component to use my own arrays by inserting these two lines into the photoGallery.prototype.onLoad function:

    photoGallery.prototype.onLoad = function() {

    //forceset arrays
    this.dirInfoArray = _root.imagearray;
    this.dirInfoImageArray = _root.imagearray;


    the _root.imagearray that I'm using is made up of a mixture of images both in the same folder as the .fla, and a bunch of http://www.blah.com/blah.jpg locations.

    I've found something very interesting. Clicking on the thumbnails for the local files works fine. For every second thumbnail clicked that holds a http:// location, the image fails to load.

    Anyone have any idea on how to fix this??

  5. #45
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    Dominum, Hey i got your email and i am now back in the UK, unfortunetly the day i arrived brought the crappiest weather they have had for the past one and a half months. Well at least they can't blame me for brining the weather over this time.

    As far as i know flash has an in built system designed so you can't steal other peoples work. I think that it will not load the other jpegs using the http:// location because it will not allow you to load stuff from other domains other than the one it is situated in. If i am mistaken someone please correct me.

    Also about adding

    //forceset arrays
    this.dirInfoArray = _root.imagearray;
    this.dirInfoImageArray = _root.imagearray;
    you can ( i think, i haven't tried ) change the components dirInfoArray and dirInfoImageArray by just refering to them as _root.comonentName.dirInfoArray or _root.componentName.dirInfoImageArray from the _root timeline.

    Would it be usefull to have a reset loop that when pulled from the _root would also unload all the loaded thumbnails and loaded images from the component, then pull in new directory data from the root or txt file or php or whatever and load the new thumbs to crreate a fresh gallery?
    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  6. #46
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    I'm sorry to say that the example for the prototype no longer exists but the example for the component that has been developed in this thread does exist
    http://photogallery.buggedcom.co.uk
    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  7. #47
    Product Designer keyone.it's Avatar
    Join Date
    Aug 2001
    Location
    Rome, Italy.
    Posts
    1,625
    Hey, you didn't think about a couple things:

    1) resizing images lowers the final quality of the site, even though it makes it far more flexyble..
    2) loading too many thumbnails at a time can make it too slow for low-bandwidth connections...
    3) how on earth did you manage to write soooo much code for such simple stuff?

    Give a look at this, it has an embedded search engine in flash (which is not too fast, but it works perfectly).

    Try typing "chicks","guys","day","night","clubs","portrait"or "ascanio" in the search dialogue (on the bottom of the interface) to view a selection of photos from the gallery (115 in total now).
    You will see 24 thumbnails at a time (I created a "static" thumb-page because of the fixed number of thumbs).

    http://patmos.key-one.it/

    I can make the source available if anybody is interested.

    Cheers.
    Altruism does not exist. Sustainability must be made profitable.

  8. #48
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    thanks for your comments

    Resizing the jpegs makes any size of photo fit into the box, and to be honest i don't think that it does degredate the quality of the site I think that squashing a large rez image into a smalller size gives the image a certain quality about it. If you don't want the image to be resized to the box simply turn the option off and resize the image in photoshop. Bear in mind that the resizing is also good for the end customer, if they are unaware that uploading a new file into the directory should have specific dimensions this solves the problem.

    Yes i am aware that too many thumbnails do slow down some connections and this is a problem i will be dealing with eventually.

    The code length is somewhat of a mistery to me aswell, it just kept on creeping up. I would love to have a look at your source. But again the code is scripted so the final parametres can be changed in an instant by the flash authorer, involving lots of if and elses.

    Thanks for the input, your search engine does work well, and i would love to be able to see the code.
    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  9. #49
    Product Designer keyone.it's Avatar
    Join Date
    Aug 2001
    Location
    Rome, Italy.
    Posts
    1,625
    Here is the current source file, it has a bunch of crap scripts for the buttons and to give some "life", or motion, to the thing, but if you cut it all out, the heart of the search engine and viewer is about 150 lines, all in the first keyframe of the main scene.

    http://digitaldesignkingdom.com/extr...ew/picview.fla
    http://digitaldesignkingdom.com/extr...view/index.txt

    (I used a text file for the index, as I don't have asp support for the domain that I used to put the project (about 25Mb of files), and I couldn't retrieve images from another domain, as half of them won't be downloaded, still don't know why, as there shouldn't be any security restriction for remote .jpg files....)

    Anyway, I hope it's all clear, I didn't put any comments in this project, as it wasn't born as a complicated interface, it became more advanced while I was refining it.

    There is one big bug, amongst the others: if you click two or more times a button to change image, without giving the time to load, you will see the background, as the system works with two swapping target mc's...but you can correct it easily by locking the buttons once the download has started.

    Another note on the image download: the images are downloaded by integrated scripts, between the preloader movieclip and the _root. This is because I had to quickly find a way to retrieve both the events of download start (and not file request), and download completion.

    ...another note on the graphics....I'm sorry to say that the graphic interface is absolutely stolen from a japanese site of a software house....I didn't have the time to do a real communication project...

    Cheers!
    Altruism does not exist. Sustainability must be made profitable.

  10. #50
    Product Designer keyone.it's Avatar
    Join Date
    Aug 2001
    Location
    Rome, Italy.
    Posts
    1,625
    ...a couple hints on the search engine inner workings (actually you can see the source of an alpha of my work at http://www.key-one.it/, but the server is down at the moment..):

    ### the _root loads the variables into a loadVars object.
    ### the _root creates a 1D array that contains the full index of images, then sorts it and searches for the related variables (I know it's a s__t system, but I had no time to do something better)...it currently takes about 1 to 5 seconds to make this operation.
    ### while sorting, the _root creates a 2D array which contains the full index of images, including all image properties: "url","keywords","author","alternative".

    WHEN YOU SEARCH

    ### the root computes a boolean search to verify that each keyword is a match. IF the number of matches is good, it returns the item.
    ### returning the items, the _root creates a "second level index", which is the full list of the matches, including all the properties of the images.
    ### in the end, the _root creates a "third level index", which is the index of the thumbnails currently viewed, so a selection from the "second level index" on a 24 base.
    ### the "third level index" is generic, and is used to identify the currently viewed picture, the requested picture ecc...

    The pictures are loaded on the available target (of two), which swap depths each time, so that the new image (which is the one that fades), is above the old one.


    I think this is all I can remember of that stuff, the rest is up to you..
    Altruism does not exist. Sustainability must be made profitable.

  11. #51
    _.·`¯°ReLiPMoCeD°¯`·._
    Join Date
    Sep 2002
    Location
    Amsterdam
    Posts
    91
    Originally posted by buggedcom
    As far as i know flash has an in built system designed so you can't steal other peoples work. I think that it will not load the other jpegs using the http:// location because it will not allow you to load stuff from other domains other than the one it is situated in. If i am mistaken someone please correct me.
    I think that if you use the component
    you can load from other domains
    just simply change images/im_
    to: http://www.adomain.com/~user/images/im_

    but of course the files need to have the right names (im_#)
    so you can use it probably only with folders you created and organised.

    RookY

  12. #52
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454

    new update

    detailed description
    http://forum.buggedcom.co.uk/viewtopic.php?t=2
    http://downloads.buggedcom.co.uk/photogallery.zip

    a new adition to the family
    http://forum.buggedcom.co.uk/viewtopic.php?t=3
    http://randomphoto.buggedcom.co.uk
    http://downloads.buggedcom.co.uk/randomphoto.zip

    Ok i'll have to try that. Thanks for the search engin notes also. I will experiement. Once question though, how do you assign the key words.... through an array?
    Last edited by buggedcom; 10-18-2002 at 08:01 AM.
    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  13. #53
    Product Designer keyone.it's Avatar
    Join Date
    Aug 2001
    Location
    Rome, Italy.
    Posts
    1,625
    If I understood your question, you want to know how to create an array from the keyword input text..:
    you retrieve the variable from the input text and you split the string by the character you want (in my case it's SPACE: " ").

    Give a look at the string (object) properties in the actionscript dictionary (under the "help" menu in flash).

    Hope this helps!
    Altruism does not exist. Sustainability must be made profitable.

  14. #54
    _.·`¯°ReLiPMoCeD°¯`·._
    Join Date
    Sep 2002
    Location
    Amsterdam
    Posts
    91
    Hello BUGGEDCOM

    because you have to register at your forum, I will post it here

    I cannot seem to open http://randomphoto.buggedcom.co.uk/
    dunno why.. just isn't opening

    Some feedback:
    Why don't you make a DOWNLOAD page
    now if going to: http://download.buggedcom.co.uk/
    I get a message: NOT ALLOWED

    why don't you have a DOWNLOAD page?
    with all the different versions!
    so that people that still want the zoom function can download version 8, while others can download version 9 or 11
    and so that people know what version is the latest (if they have older ones)

    maybe you can even have a link there so you can see it working
    create different pages for each version
    you can use the same pics all the time

    hope you enjoyed your holiday and are coming back even stronger
    RookY

  15. #55
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    I am develeping such a download page, it's gonna take a few days to put it together but it's going to happen sooner or later. I checked the randomPhoto link and it does work, is anybody else having any problems viewing the randomphoto example?
    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  16. #56
    _.·`¯°ReLiPMoCeD°¯`·._
    Join Date
    Sep 2002
    Location
    Amsterdam
    Posts
    91
    well

    I am looking forward to the Download page

    ang about the 'randomphoto':
    My IE is crashing big time...
    can't view flashfiles anymore and a lot more ****

    have to re-install XP

  17. #57
    Senior Member
    Join Date
    Jul 2001
    Posts
    198
    I can't get to any download links..

    Was wondering how to modify the code to do vertical placements of thumbnails with 3 columns and 10 rows not within the scrollpane. Can't seem to find how to adjust how many images are placed via columns/rows.

    Thanks,
    fitchic77

  18. #58
    Senior Member
    Join Date
    Jun 2001
    Location
    in the back room of a dark pub
    Posts
    454
    rooky what the....? Random photo crashed you computer?...I'm having a look at the code but the majority of it has been cut from the gallery component. I took a look at it on a pc running 98 and it works fine. I can't quite understand what has gone on ... all the script is set to at the moment is to random choose between two php files that read from seperate folders. Then it randomly chooses a file from the selected directory. I'm real sorry about the trouble you've been having, is anybody else having troubles wioth randomphoto? If anyone has a test machine running XP would you be kind enough to test it. Maybe it's the random loop becoming stuck...?

    Sorry once again.

    Downloads
    I moved the downloads when i was trying to set up a download centre. Needless to say the centre doesn't work because i'm hosted on lycos with a crappy version of php4u. Anyway I have now moved the downloads back and the latest versions of slideshow, photogallery and randomphoto are at

    http://downloads.buggedcom.co.uk/photogallery.zip
    http://downloads.buggedcom.co.uk/randomphoto.zip
    http://downloads.buggedcom.co.uk/slideshow.zip

    ~bugged

    imageWeaver gallery
    microsite direct download

    "Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac."

  19. #59
    Senior Member
    Join Date
    Jul 2001
    Posts
    198
    I have Windows XP. I will test this evening...

    Hey BUGGEDCOM...

    How can I have modified photogallery version 6i to not display the thumbnails in the scrollpane but on the screen. IT works very nicely. THANKS. Now I just need to figure out where to code X number of rows and X number of columns.

    Can you help me out?

    Thanks,
    fitchic77

  20. #60
    _.·`¯°ReLiPMoCeD°¯`·._
    Join Date
    Sep 2002
    Location
    Amsterdam
    Posts
    91
    Originally posted by buggedcom
    rooky what the....? Random photo crashed you computer?...
    sorry bugged.. I think you misunderstood me

    I said: My Internet Explorer is crashing big time
    this has nothing to do with your randomphoto
    just that IE won't play ANY flash files.
    other crashes:
    cannot view code
    cannot download ANYTHING
    cannot download pics
    cannot read pdf (actually that is also sort of download)
    etc

    but this is ONLY if I access the internet
    NOT if I look at html files locally
    strange isn't

    I heard this is a known problem in XP version... sucks bigtime though

    but thnx for the trouble
    And about your Download site:
    why not make a simple html site
    with the downloads? lycos will allow that!

    greetz
    RookY

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center