Added: 4 years ago
From: tutvid
Views: 607,415
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (732)

Sign In or Sign Up now to post a comment!
  • Ive got the same exact problem with undefined property. CAn anybody help??!!

    1120: Access of undefined property _root.

    Warning: 1058: Migration issue: The property _root is no longer supported. This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list..

  • Ive completed the tutorail to the letter up to 21:42 but im Having this problem when i try running the flash.

    scene 1, Layer 'as', Frame 1, Line 1 1120: access of undefined property _root.

    scene 1, Layer 'as', Frame 1, Line 2 1120: access of undefined property _root.

    The items keep scrolling left and donot respond to the mouse.

    Can anyone help?

  • @UKRspartan this is my scripting for it

    _root.onEnterFrame = function(){ if(_root.xmouse<50){ imgBar.prevFrame(); }

    }

  • Hi! I need the scrolling images to stop moving when the mouse is out. Thanks!

  • I have successfully created the scroll thumbnails. However, can someone advise as to how I can make make individual image to be a button so that when I roll over the image, another image will appears in above the thumbnails. Thanks

  • @raverchris68 I don't know if it's too late, since this post has been 3weeks, i hope this will help. But what you want, instead making a gradient after converting to a button like this vid did, you just place the image that you want to be changed in the Over frame. So whenever you hover on the button it will change image.

  • I tried this on CS3 and everything goes smoothly until the action script for adding in the left/right movement and stop playing. I've re-done it several times and re-watched the tutorial just as many times, but it will not work. Anyone have any clues as to why this is?

    Also, there are NO errors in my code. Aside from it just not doing anything. Hah.

  • Thank you so much - you're a wonderful teacher! I'm trying to make a simpler thumnail slideshow display. I don't want the duo direction play. I don't know yet how to pause and play my "keyframed" thums with mouse-rollovers. I only want a slide of thums, that can be paused via a mouseover, and play continues when mouseoff. I've been able to successfully link each thum to a corresponding page. I've also successfully executed your rollover "highlight" effect, very nice thank you!!

  • Comment removed

  • Does this work with Adobe Flash CS5.5? I'm trying to do this project and I've been doing it point by point but it just won't work!

  • code doesnt work in cs5

  • I'm trying to do the same with the video objects - FLVplayback... can't get this working. help!

  • i really like all of your tutorial. it helps a lot in making a flash design for our website project in school.

  • I like your voice LOL

  • Hi, Thank you very much, it was very usefull and very well explained.

    I´m starting with flash and I was wondering if it is possible to do exactly the same but with videos (swf) instead of photos. Can you help me?

    thank you again

  • if youre getting the _root. error try taking off the underscore. There is a change in ActionScript3 where _root is now just root. Let me know if this works.

  • Also instead of _xmouse its mouseX and same goes for mouseY....oh yeah you're going to need to use an event listener. Should look something like this

    var moveBar; <--THIS DEFINES YOUR VARIABLE

    root.addEventListener(Event.EN­TER_FRAME, moveIMGbarFunction);

    function moveIMGbarFunction(e:Event):vo­id {

    THIS IS WHERE YOU ADD ALL THE "IF STATEMENTS"

    }

    Hope this helps

    ps. use && instead of and

    PM if you need help with this

    btw this tutorial is awesome

  • @ricekyd2o6

    Thanks a lot for that..was looking all over the net for a way to get this working in AS3...it was under this video the whole time lol. Safe again though. Life Saver!

  • good tutorial briefly explained.............very helpful

  • Hello, can you send me the example flash to my email to see it? many thanks!

    - ahuichaqueo@digitaria.cl

  • Same I got error as well in same place

  • Im getting this error

    1120:Access of unidefined property_root. _root.onEnterFrame = function() 1120:Access of unidefined property_root. if(_root._xmouse<50){

    im using flash CS3 Proffesional

  • @Arshad467 ive got these exact problems. did you find out how to fix it?

  • Comment removed

  • _root.onEnterFrame = Function(){ if(_root._ymouse<301){ myvar=false; } if(_root._ymouse<300){ myvar=true; } if(_root._xmouse<50 and myvar==true){ imgBar.prevFrame(); imgBar.prevFrame(); imgBar.prevFrame(); } else{ imgBar.play(); } if(_root._xmouse<50){ imgBar.prevFrame(); imgBar.prevFrame(); } if(_root._xmouse<550 and myvar==true){ imgBar.prevFrame(); imgBar.prevFrame(); }else{ imgBar.play();

  • **Error** Scene=Scene 1, layer=as, frame=1:Line 1: Syntax error.  _root.onEnterFrame = Function(){

    **Error** Scene=Scene 1, layer=as, frame=1:Line 29: Unexpected '}' encountered }

    Total ActionScript Errors: 2 Reported Errors: 2

  • Helppppp please, these error comes up

  • WOOHOO! Found it! Thx man for the tutorial! :D

  • Pls Help me! i got a problem with the part at minute 14:59 where i have to create a motion tween!!!! If i test the movie nothing is scrolling, it looks the same way as the test in minute 12:30!!!

    i did every single thing as u did and don´t know what´s wrong!

    thanx!

  • evafeeva : ok, now i used classic tween instead, but still another prolem occured: instead of both bars, only 1 bar is moving while the other stands still!!! HELP!

  • @evafeeva - Exactly same problem - Im using a newer Mac version. Any ideas yet?

  • Bro it seems very time consuming, you can try some Flash Slideshow maker programs, which can also make 3D image style!, everything simpler on there!

  • Comment removed

  • i get it work on AS 3.0 but some error ocurs when i try to copy the code here

  • need istaller ?? just Copy/Paste lick below and then erase the space between the (A and the dot) .....!!

    adf .ly/2GKUx

  • Comment removed

  • hello - may I also get the AS3 translation? thank you

  • Even tho it's written for Action Script 2.0 it was really helpful!

  • hey i sent you the 3d technology video...i hope you enjoy it and like it....if you liked my video please SUBSCRIBE!!! and i promise to subscribe back to your channel :)

  • Hi I was wondering if this tutorial could be re-released with AS3?

  • Could someone tell me how to translate the codes to Actionscript 3.0???

  • has anyone managed to combine this tutorial with TutVids Photo Gallery and Thumbnails Tutorial? (ie: controllable scrolling thumbnails that act as buttons to a main image, that itself is on a loop). I got both working independently but can' t seem to conquer the two together.....ideas links etc appreciated!!

  • @mancheluke man... I get the scrollign thumbnails to work but when I attach the pics, the photos themselves move WITH the image bar...

  • actionscript (dot org) (slash) forums(slash)showthread(dot php) 3?t=181321

  • here is a link to an explained AS3 translation. THANKS TUTVID!!! your videos are amazing and are saving my life.

  • Comment removed

  • I am using Flash CS5 and at I cannot duplicate the motion tween at 15:00. Whe you say "select the whole group of frames in here", what are you selecting? When I select the same frames (32-37) and click on create motion tween I do not see the long arrow appearing on the layer. Instead I see a icon (dragging square) appear on the left of the layer name... Please, help!

  • @walterrldias

    hi mate i had the same problem, if u press 'create classic tween' instead it seems to work =]

  • @walterrldias I dont know if you fixed your problem but try to use classic tween instead of motion tween. good luck

  • does any know how to get root of xmouse with as3?

  • Took me a while but I was able to do it. I was actually using AS 3.0 so i had to change the publishing to AS 2.0.

    I did see a really cool effect where the thumb nails would float once the mouse was over it. If you can show us all how to do that I would appreciate it. Thanks again for this tutorial.

  • I Just tried this it really worked but i was wondering if you could make another vid in explaining how expand image once you click on it.

    ty =)

  • i want this for as3

  • can i do this with adobe flash cs4??????

  • @carlosrotten Yes you can. Just create a new Flash file (ActionScript 2.0), or change the profile (File -> profile settings) in the Flash tab to ActionScript 2.0.

  • Hi! Great tutorial....but is there a way to control speed possibly slower?...thanks!

  • THANKS~!! this 30 minutes video is really helpful, it is worth watching. it really helps me for my portfolio website.

  • hey man i was just wondering if you can show us how to make it.. so when we click on one of the pictures it will shows on the background.. i would be really grateful if you could do this for me.. thank you...

  • Comment removed

  • please send me code action script pleasee

  • nice

    

  • hey nice vid. I like it! but how can i regulation the speed of the scrolling thumbnails?

  • how about a vertical one? is that possible?

  • Hey Mate - fantastic video... I want to create sometime like this for my site.. But I want it to be my navigation bar... do u think its possible... and I dont suppose u have a tutorial to link the pages together.. i.e. when the user clicks on the link it opens a new page :D... nevertheless its great mate, have used alot of your videos...

  • Hey Mate - fantastic video... I want to create sometime like this for my site.. But I want it to be my navigation bar... do u think its possible... and I dont suppose u have a tutorial to link the pages together.. i.e. when the user clicks on the link it opens a new page :D... nevertheless its great mate, have used alot of your videos...

  • First I tried with AS 3.0 and it didn´t work. I started all over again with AS 2.0 and then it worked!. (When you start a new document, Adobe Flash CS3 Professional has the options "Archivo de Flash (Actionscript 3.0)" and "Archivo de Flash (Actionscript 2.0)" but I dont know how it was done on Flash 8).

    

  • This is a great video- Some things are diffrent in SWiSH, but the code and ideas were a big, BIG help. THANK YOU for taking the time to do this, I will definatly be checking out your web site

  • Thank you very much! Works Great!!

  • Thanks!! It's really good! I have a little question... how can I change the scroll's speed? I want it to be slower...

  • awesome, thanks!

  • you rock. Thank you. Please be sure to mention which AS you are using!

  • i really like this tutorial, but i have done this part and its useful, i was trying to make load photos using loadmovie rather than go and play script, but it never work.

    any idea thanx

  • @gatemesopotamia

    There's a second tutorial learning how to do it!

  • @Bealvaba

    thanks for your reply, and sorry for disturbing you, what i meant is i want to load the photos from external folder to make the swf file smaller size if you know what i mean. any idea

    regards

  • Does this applies to AS 3.0 ? what i didn't get are the numbers used to the true and false commands: 300, 301.. Please some explain to me to what exactly they refer to.

  • can u please send me the 2nd coding i cnt c it clearly on this tutorial x

  • thaank youuu thank you thank you thank you :D my hero.

  • @TantrumMill

    got all the scrolling to work but button wont work anyone get it to work completely?

  • Ahh! Been following fine until you said need to 'duplicate these frames' (bar 1&2 are selected in frame one) What shortcut did you use/ what did you duplicate?

    You've created something on frame 90 & I'm lost as to what type of frame (keyframe or..?) it was. Did you copy them to frame 90?

  • nice work

    

  • wow it helps me a lot! thnx!

  • sorry but i can't apply the script code to the frame :( which key or button do i have to press TANK YOUU! excelent video!!

  • Comment removed

  • thank you soooo much!!!!!

  • The AS2 code still works, but needs to be manual inserted and look add ymouse must be _ymouse : if(_root._ymouse>301) { myVar=false; } if(_root._ymouse<300) { myVar=true; }

  • For this undefined property _root. error . Go to Publish change Public setting Player: Flash player 8 and Scrip: Action script: 2.0.

    Hope this helps.

  • @Amishajain56

    you're a life saver dude. awesome.

  • @Amishajain56 Thank you, Thank you, Thank you! I couldn't figure this error out. I've been able to adapt everything else to CS5. You're a life saver!

  • Thumbnail

  • Comment removed

  • Vdery handy, didactic and clear. Thank you!

  • ¡ If you are getting an error using actionscript 3.0, in Flash CS5 you can change the publishing preferences from 3.0 to actionscript 2.0 and this code should work!!!

    good luck!

  • @devynbobevyn

    I do as you said, but things goes even worst. Firs i have 2 errors, now is 15. Eny idea to fix this or to create new projct in 2.0

    P.S. Sorry for my bad english

  • @mikipaunaki

    so sorry it is worse! there is a new video that explains the code for 3.0.

    i hope that helps you!

    you can also search for AS 3.0 language.

    hope you work it out!

  • @devynbobevyn

    thanks for the replay

  • Thanks a lot man! You just helped me to almost complete my sister's website!

  • Very Good!!!!

  • Please help me!! When i press cltr+entr this type of error occur 1120: Access of undefined property _root.

    Whats the problem Dude:.

  • @enigma1761 Most probably not working with Action script 2.

    Do u have Adobe Flash that has action script 2?

    Other versions have another syntax like root OR even something else...

  • I don't really like that the image bar is rolling all the time. I'd like it to be rolling only when u place the mouse over it either at the right or left side. If there any way to change that?

  • I don't really like that the imagebar is rolling all the time. I'd like it to be rolling only when u place the mouse over it either at the right or left side. If there any way to change that?

  • Comment removed

  • tanks. thats help alot

  • I have problem with Action Script code that you enter at 19:50. I'm using Adobe Flash CS4 and the code doesn't work. The error message said "Access of undefined property _root" and the other message said "The property _root is no longer supported. This property has been removed. I need HELP! Is there another code for Flash CS4?

  • Yeah, I've got the same problem as u have. I've checked my source twice and I think there is no problem with mine.

    Could anyone help us?

  • Hi there, your tutorial is awesome and so easy to do! I have added it to my portfolio web page I am creating for a new business I am to starting up as a graphic designer. I was wondering, though, if you were able to provide the script for a stop function on each thumbnail, say if the viewer wanted to click on it to view a larger image of my work. I cannot find anything to suit and I'm not that great with Flash's action scitping, yet.

    Many thanks and I hope to hear from you

    Connie

  • @Connie87100 hey connie did you get the buttons to work at all? seems my on click event wont work inside the movie clips. you have this problem?

  • @ModishDesigner Hi Modish, No, I gave up with flash and ended up doing an image gallery with a dreamweaver plug in - much easier. Sorry can't help this time - good luck! Cheers, Connie

  • is this hendry rollings?

  • Hi thanks for the brilliant tutorial! I used it to create a scrolling panarama accross my screen. however i have added buttons into the panarama image, that are suposed to link to another scene but it doesnt seem to work???? PLEASE HELP!!!

  • Hi thanks for the brilliant tutorial! I used it to create a scrolling panarama accross my screen. however i have added buttons into the panarama image, that are suposed to link to another scene but it doesnt seem to work???? PLEASE HELP!!!

    I am using the code:

    on(release){

    gotoAndPlay("Scene2",1)

    }

  • got everything to work, EXCEPT that I can't assign the thumbs to open the corresponding image. I really need to do this, otherwise I may have wasted my time doing this tutorial if I can't get the script right. Help?????? Whenever I try to assign btn1 to playpic1 the compiler tells me its undefined. I tried working from imgBarInside and it scrolls the image along with the scrollbar, total mess. I would love it if someone helped me out with this.

  • I've followed the video from start to end and everything seems to be working like it should. But now I want those scrollable thumbnail buttons to lead to somewhere when clicked. The Button will lead to a picture or a page BUT still retain the scrollable thumbnail buttons while already on the next picture or page. Can anyone please teach me how to do what I just said? I don't know the AS2 codes or the process. Please help. God Bless.

  • I have a problem with a code......

    I have a Flash 10 CS5 and use 3.0

    something is going wrong... :-/

    can you help me?

    thanks!!!

  • @swtirisd

    now i see that Video with code....

    up...

    thanks!!!

  • when i open the actions window it tells me i need to select an action, what does that mean

    someone comment me with the answer please

  • is there any way to make have the images stand still until you run your mouse to either edge?

  • thank you so much, this video was so simple compared to other tuts out there. everything works perfectly!

  • THANX DUDE, YOU SAVE MY LIFE!!!

  • i made exactly like you show and its work perfect as you say and show . The mean time i have put litter bit of modification on it .

    I put 1 Sound include on it switch off&on . and i twice the bar but not in the same position ofcourse. its amazing .

    thx bro you are great .

  • I"m finding it difficult to assign actions to the buttons. Could this be because the buttons are embedded inside 2 movie clips? I gave each individual button an instance name but when I enter any actionscript it says it doesn't recognize any of the buttons. I tried entering actionscript on both the main timeline, and inside the movieclip itself. no dice.Any ideas?

  • This was really usefull! Wish me luck on my exams, thank you tutvid <3

  • if you are doing all this in action script 3, do the following...

    as2 looks like:

    onEnterFrame = function(){ trace("Do Something");

    }

    In ActionScript 3.0, you must use an event listener format to perform a frame event. For example…

    addEventListener(Event.ENTER_F­RAME,myFunction);

    function myFunction(event:Event) { trace("Do Something");

    }

  • hiii, can you send me the code plz cause it seen not to be working when i do it.

  • Nice tutorial, Thanks.

  • Awesome tutorial once again tutvid. For those of you having problems with the code, it didn't work for me either at first, but as it turns out this code is for actionscript 2, and not 3. ( mine was AS3 ) All is not lost. I just opened a new file, made it AS2, and imported the library from the original. I palced everything where it was exactly as I had before, and it worked like a charm. Also, if like me, your image bar is vertical, simply change "xmouse" to "ymouse". Works great :)

  • Nice tut man thanks!

  • Im having a problem with my slideshow. I got upto the motion tween section but when i test the movie the thumbnails dont move. only the role overs are working.

    Could someone HELP me PLEASE ? !!!!!!!!!!!

  • @Moezy93 You probably have a higher CS then him. I have cs5 and the tween doesn't work... such a waste of time.

  • @Moezy93 Try using "Classic Tween" Function instead of motion tween, because Adobe has updated the meanings of those two, so now classic tween does the same thing that motion tween did once..

  • How work this type of AUTO SCROLL?

    watch?v=qKGXFDWTRjQ

    I make this without click in the bar.

  • OMG i love you! thanks for the tutorial

  • You are AWESOME!!! thx alot

  • This tutorial doesn't work with ActionScript3. That is why you are getting the error with _root.

  • @sendoutcardsvideo what would the script be for actionscipt 3.0?

  • @aedude622 has anyone given you the script for actionscript3.0 yet? I'm having the same problem.

  • i dont understand what is _root?

    _ root is not working on my side plz help me

  • The tut are so great but only would like to request if you can zoom in a lit more on the sequences fore more visual clearence. Do you have them in HD?

    Thanks for the Vids. You rock.

  • Hey! The tutorial is great!! Very useful, specially for my proyect at university. I'm Paula, from Argentina. I've a problem with the action script.. I can't make the image move to the other side!! I did exactly what you said in the video. I'm using Flash CS3... Does it matters?

    The notification is: "root indefined"

    CAN YOU HELP ME?

  • Hey! The tutorial is great!! Very useful, speciallyfor my proyect at university. I'm Paula, from Argentina. I've a problem with the action script.. I can't make the image move to the other side!! I did exactly what you said in the video step by step. I'm using Flash CS3... Does it matters?

    The notification is: "root indefined"

    CAN YOU HELP ME??? THAAANKS!

  • Comment removed

  • I'm having a tiny problem I have it right up untill the action script I entered it exactly correct I have checked it several times but I keep on getting this error:

    " **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on/onClipEvent handler _root.onEnterFrame = function(){ "

    Can anyone help me? Please!

  • Comment removed

  • **Error** Scene=Scene 1, layer=as, frame=1:Line 19: Syntax error. }

    Total ActionScript Errors: 2 Reported Errors: 2

    that's what I keep getting but I wrote the actionscript in perfectly?

  • Comment removed

  • Comment removed

  • Do you have a tutorial for doing this same thing, but using XML file to load the images dynamically? Thanks. BTW -- great tutorial.

  • thx u ^__^

  • I have a problem: the reverse and speeding up thing is not working at all when I roll over the sides and when I place the mouse on an image it doesn't stop neither! I'm working on CS4. I did all what you said and I wrote the code perfectly. I don't know what's wrong. Please help me I would really appreciate it

  • Comment removed

  • Also

    1120: Access of undefined property _root. I'm a newbie on Flash so I'm not quite sure what to do?

  • I got all the way to the action script part where you start writing _root.onEnterFrame...

    I put in all of the code just as you had it and checked to see if there where any errors. I didn't have any. So I tested the video and it just keeps scrolling on forever and a box pops up and says. Compiler Errors...1120: Access of undefined property _root.

  • Comment removed

  • Comment removed

  • Comment removed

  • Comment removed

  • wow that couldnt of been any easier alittle time consuming . im using cs4 and it worked perfectly thanks!!!!!!

  • how can i do this with a loader?

  • I'm creating a vertical scroll by the way, and everything has worked fine so far until the coding.

  • I'm using CS5 and AS2.0 I changed from using AS3.0 to 2.0 instead since the comments below recommended so. But I followed the coding and its still not working.

    for y axis, I replaced it with x-axis and changed the coordinates. Should I be changed the "true" and "false" parts as well?

  • any1 wanting to link the buttons try looking at this:

    youtube won't let me add a link it seems but just google this

    'flash advisor buttons not working inside movie clip'

    it shold be the top result and it is flash advisor website.i found it very helpful anyway.hope it helps

  • Very Good!!

    I have a question for you if u can.

    How can i make this same scrolling effect, but without the motion tween. I mean i have to do this with only the mouse control, so when the mouse is off it stops.

    Can you help me? :)

  • I was doing fine up until you converted the thumbnails to tween. I'm making a vertical scrolling thumbnail instead of a horizontal thumbnail. And after I converted my thumbnails to tween, I checked to see if it worked and it didn't.

  • This one is great, I work on Mac/CS4 and it worked perfectly fine.

    Wonderful work there, you're the man!

  • undefined property _root!!!!!!!!!!!!!!!!!!

  • i got all the way to adding the action script to find out this doesnt work in CS4... if you could help me out that would be much appreciated!!!

  • you had me until the up and over stait mumbo jumbo...i guess you assume we know what that means....ps I can barely make out what the screen is on here it is soooo fuzzy

    I give this tutorial a 3/10

    FAIL!!!

  • Hey, can I do the same thing with AS 2.0?

  • I have a question. Well first off I'd like to say great video thanks for uploading and sharing! My question is would there be any way to incorporate the lightbox2 web gallery with this? For example have they flash scroll bar on your website, and whenever you actually click on the scrolling image the background screen fades out and the image you click shows up like it would with lightbox2 by it's self.