A Flash Developer Resource Site

Page 1 of 4 1234 LastLast
Results 1 to 20 of 67

Thread: links, a newbe question

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    26

    links, a newbe question

    i'd like to make a new homepage for me...
    my problem is that i haven't created a flash page before.

    http://home.arcor.de/nastja1989/Untitled3.swf
    http://home.arcor.de/nastja1989/Untitled3.fun

    this is my result...
    i'd like to have my page in the following way:
    when i push the button on the right side, there will appear the sedcardinformation, or my gallery...

    how can i do that?

  2. #2
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    so in button actions add Action Script:

    Code:
    on (release) {
    page.gotoAndStop('nameOfKeyFrameInPageMovieClip');
    }
    so first line - is easy. second line makes that MC page goes to specified kay rame and stops.
    In each frame with text in page MC add action 'stop move' (press F8 to open actions dialog).

    change text as you wish. Hope that will help.

    P.S. next time attach archive with all graphics :] and i like your page. Its simply and elegant. I like pages like yours :]
    Attached Files Attached Files
    Last edited by ant_Z; 08-19-2006 at 08:24 AM. Reason: Ive forgot to attach file :)

  3. #3
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    thank you very much!!!!!!

  4. #4
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    you welcome. pleasure was all mine :]

  5. #5
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    how can i make for example in contact, an contactframe or smth. else
    in portfolio some photos and in sedcard some text...?

    becouse in your version is text in contact, portfolio, sedcard...

  6. #6
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    just edit this like a normal movie.
    you can add photos using Contentpane or Slideshow for example. if you want to add thumbnails, just make them, insert into MC, convert to button, add action get URL on _blank with target http://www.mroofka-z.yoyo.pl/2.jpg for example - this will open large image in new window.

  7. #7
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    home.arcor.de/nastja1989/hp.rar

    its all pictures and so..

    what is MS???

    i am so stuped for it...

    can you help me?

    there is one photo, can you make it in portfolio?
    and some text in sedcard..

    when i write some text in sedcard, smth like:

    size: 36
    171 cm

    it doesn't work!


    thanks

  8. #8
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    MC is a shortcut from Movie Clip (eg. Media Clip).

    It works, but youre trying to make black text on black background.

    Ive added some effects to your file - just to show you. Feel free to delete them Try CTRL + A -> this will select all objects, even these not visible. To change color use "flood fill" button (it looks like a bucket) :]
    Attached Files Attached Files

  9. #9
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    thanks)

    but i can't open this .fun file because:

    warning:file you are loading was created by a .....

    and

    expected $nvp$ ShapeWV


    what version of KM do you have?

  10. #10
    Junior Member
    Join Date
    Aug 2006
    Posts
    26

  11. #11
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    Hi 3tables.

    Two problems I see,

    1. You are using buttons that use

    on (release) {
    page.gotoAndStop('PORTFOLIO');
    }

    I changed them to:

    on (release) {
    page.gotoAndStop("PORTFOLIO");
    }


    2. The buttons are sending the page clip to frame names that do not exist. Instead of stopping the page clip on frame 1 I added a frame so you can stop it on frame 2 (notice the error reminder that pops up if you put a stop command on frame one when you do it. Although you can...sometimes flashplayer ignores frame 1 stops so that is why it is recommended to not do it. Always start on frame 2 if possible). Then I named the succeeding frames to match your button actions:

    http://actionscript.hobby-site.com/examples/3tbles.html


    Hope this helps!

  12. #12
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    Forgot number 3.

    3. You had no stop commands on the frames inside the "page" clip. Although you tell the clip to stop with gotoAndStop, you should still hard code a stop for each frame in the actual clip.

  13. #13
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    hmm....i try it to do! thank you very much!
    can you give me a .fun folder?
    i'll see what i have done wrong...
    sorry for my english!

  14. #14

  15. #15
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    hmm..thanks

    i've understood who to do it

    but i dont understand why it doesnt work!

    when i go to contact, and than to impressum ithis button doesn't work!

    home.arcor.de/nastja1989/new-1.rar

  16. #16
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    You're getting the hang of....here is the problem in this one.

    You have the impressium button sending the _root.page.imp clip to the frame named "IMPRESSUM"



    but you forgot to name that frame in the imp clip. To name a frame you can do it a few ways...I do it this way.....highlight that frame in the top (the very top where it shows the frame numbers...10...20...etc) of the timeline of the imp clip and right click....then choose "rename":



    Then type in the name you want (in this case IMPRESSUM):



    Hit OK...back your way of the clip nest to the main timeline and test

    http://actionscript.hobby-site.com/e...s/3tbles2.html

  17. #17
    Junior Member
    Join Date
    Aug 2006
    Posts
    26
    thank you very much its very cind of you!

  18. #18
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    No sweat! In earlier versions of Koolmoves we had trouble targeting frame numbers but Bob has since fixed that (correct me if I'm wrong Bob) so you can just target the number and not have to waste time naming frames if you don't want.....

    on(press){
    _root.page.imp.gotoAndStop(3);
    }

    Frame names have their uses so both ways have merit but the numbered value is quicker since you don't have to name anything

  19. #19
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    Quote Originally Posted by Chris_Seahorn
    the numbered value is quicker since you don't have to name anything
    quicker? huh.. add a frame somewhere in the middle and tell me it quicker! when i get KM i didnt know about naming frames and i always used numbers... and i wont ever use them again...

  20. #20
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    Lets say I want to stagger step down a ten frame clip with an individual pic in each like I do in one of my opensource files. For instance stop on a frame based on a rank number....an integer that is read in at runtime. You think I want to name 9 frames and then have a hellacious "for" loop?....lol

    Numbered frames and named frames BOTH exist for a reason dude. You code how you like...I'll do the same
    Last edited by Chris_Seahorn; 08-21-2006 at 05:49 PM.

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