I'm trying to create a menu for a website that has a slider that moves indicate what page the user has selected AFTER being clicked.
I compiled the code and got everything to work in theory (user tweener animations), but when clicked the animation will sometimes lag, stall, or not start at all. This is extremely confusing to me because I programmed the stopping points to be a definite value - so I'm not sure why the movie clip can't make it there.
Even on my personal website (crhain.com), the alpha animations don't always complete. I'm not worried about that at this time, but it has me thinking that maybe I'm doing something wrong.
Below is the website to look at what I'm talking about, and attached are the files I'm working with. My only thought is that I'm asking flash to do too much, but that worries me because I still need to ask it to do more.[url]...
I made a test where I download a file using URLLoader - something like this:
[Code]....
in the middle of the downloading process I physically disconnect the internet connection. the download stalls - but after aproximately 30 seconds downloadSuccessful is invoked, although only half of the data was downloaded. how can I make sure that the data to be downloaded is complete and correct?
I am loading in binary files with the url class which can be quite large 10mb + and it works fine on my server but another server I am testing on it can sometimes not work. Sometimes it will not load the file and other times it will only load about 20% and it throw a complete event??? Then of course other times it works fine. This server is https maybe that has something to do this it?
anywhoo i have minimal actionscript training tho i know a bit... im trying to make an Item system were i make an object like a key or a helmet... and if i collide with it it disapears. and i get the item, then somewhere put _root.playerMC.standing.gotoAndPlay ("item"); .. maybe in the item i dunno..
so basically i set my characters up like playerMC then in that animation i have a body head arms and legs.. and in those i have different items equipped on each body part on each frame how should i set this up!!!.. i cant call those items deep in the animation the farthest i can go is like Playermc.gotoandplay ("walk") when i try to do like.. playermc.walking.head.gotoandplay ("item") it doesnt work..
My acitonscript level is pretty much zero and I can't figure out why this code wouldn't work. I'm not sure if I need an array. Basically I have 25 MCs, I need to tween the alpha of one of them to 100 and the rest to 0. I can't even get any of them tweening using a loop and am not sure the best way to specify which one to tween to alpha 100.
for (var i = 1; i<=25; i++) { import caurina.transitions.Tweener; Tweener.addTween(bg_images.bg_image+i,{_alpha:0, time:.5}); }
can someone please help me install tweener AC 3.0? They say to put it in my "project source directory" I've tried many ways, google alot, still no luck, How do i find out what my "project source directory" is?
I would like to use the Tweener class, but I have no clue where I should put the files in my actionscript directory in flash.
EDIT: I tried looking up after some tutorials, everybody is talking about that I should put the "gs" folder in my fla directory, thats not really usefull if there is not even a "gs" directory in the zip I downloaded! All the files are in the "greensock" directory, but when I try to import it I get:
Code: Select all5001: The name of package 'com.greensock' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:gsTweenLite.as
I made a site using the Caurina Tweener class with AS3 and it works great in IE and Chrome, but for some reason in FireFox it loads really choppy and some of the color tweens dont work properly.I looked up the FAQ and info on the tweener and it doesnt say anything about trouble with FireFox, has anyone else encountered problems with Caurina Tweener class in FireFox?
Using Tweener, is it possible to run code in between two calls to it (Tweener)?I'm a little bit familiar with Tweener and am trying to use set ChildIndex() after one call to Tweener executes and prior to running a second Tweener.[code]I'm trying to get the sprites to switch levels in the depth chart (so to speak) so that one sprite will appear on top on the first pass but then appear behind another sprite on the second pass, but it seems like the lines of code execute while the Tweener is running, and the desired effect is not happening.
I am trying to create a hidden, rollup/rolldown menu, that once rolled on animates up and then exposes thumbnails that will be wired in a gallery type setting. I have hit a roadblock and farily new to As3. I'm pretty sure I'm doing something simple wrong, but I can't for the life of me figure it out. Can anyone please shed some light? I feel like there needs to be a course just in flash output errors! I'm thinking the problem is with my addThumbs(); function, but before this mass of errors, my Sprite was the source of new errors - I thought that it would be an easier option to place all of my thumbnails inside a container and then manipulate that containers alpha or presence than indiviudal items.[code]
My scrolling counter is not displaying 1-9...only zeros every ten intervals. It plays, but the code is unfinished at line 37 in NumbersView.as. Notice Tweener is used to display the sprites. How do I finish this?
Does anyone know how to propagate tweener mouse events only to the children of a movieclip? I have an mc with small thumbnail images inside that are also mcs. I'd like to scale them up with tweener, but I don't want to have to add a listener for every thumb (there are 50 of them). Propagating sounds like the way to go, but I'm having trouble.
Here's my code: ActionScript Code: // Listen for scrollPanel function
Recently I found Tweener And I followed the instruction of installment, but I got a compiler error:Desc: The class or interface 'caurina.transitions.Equations' could not be loaded.Sour: import caurina.transitions.Equations;Even I run the samples downloaded from the website, I got the errors, could someone tell me why is that?
I've just come across a problem when using the caurina Tweener for AS2. It works fine with an absolute instance name, for an object on the stage; however as soon as I try to use a dynamic instance name - it stops recognizing simple properties like _x and _y, returning this Output message:
## [Tweener] Error: The property '_height' doesn't seem to be a normal object property of menu1 or a registered special property. ## [Tweener] Error: The property '_width' doesn't seem to be a normal object property of menu1 or a registered special property. ## [Tweener] Error: The property '_y' doesn't seem to be a normal object property of menu1 or a registered special property. ## [Tweener] Error: The property '_x' doesn't seem to be a normal object property of menu1 or a registered special property.
Here is a code snippet: ActionScript Code: _root.currentitem = 1; _root.xpos = 0; _root.ypos = 0; Tweener.addTween(["menu"+_root.currentitem], {_x:_root.xpos, _y:_root.ypos, _width:85.0, _height:85.0, time:_root.clicktime, transition:_root.clicktype}); All other tweens work fine. There are objects on the stage with instance names of "menu1", "menu2" etc.
I would like to use currentFrame... so if it hits frame 1 i should delay 3 sec and tween to frame 10 and again delayed 3 sec and go on to frame 20 etc.... like this code:
ActionScript Code: if (mc_selected_bg.currentFrame == 1){ Tweener.addTween(MovieClip(mc_selected_bg),{_frame:10, time:0.6, delay:3.0})
SO im currently working on a project similar to one that can be viewed at [URL] (my inspiration) and i have everything set up like the following. Link 1(resume) will take me to my desktop area link 2(portfolio) will take me to the living room and link 3(contact) will take me to a conference area. so while im in the living room and i want to go back to area one. here is my source (my project folder is resume, tweener is located in resume/classes)
I need the Tweener for Lee Brimelow scrollbar actionscripting.So I'm trying to down load the Tweener but I missed his old topics on how to and were for my FLash version.
I am executing a hittest when a chicken meets a crocodile; the chicken is afraid for the crocodile and turns back flying up in the air and back on the ground. In fact most of it works, allthough I can't get the wings to stop fluttering. As soon as the chicken returns on the ground, this must happen.This is the piece of code where it is about: (the function winger() is called once at the hittest)
[flash=]function winger() { var counter:int=0;[code].......
without the counter it works. changing it into an if-statement with the counter af the 2nd tweener, doens't work either.
I'm having an issue getting Flash to recognize the instance name of a movie clip I'm attempting to reference while using Tweener. Here's my code and the error I'm getting. Note that this is not on the main stage. It is within another Movie Clip on the stage with an instance name of "nav" -
Error: 1120: Access of undefined property motion. (I get two of these)
I'm starting to tear out my hair now, I'm trying to use tweener to fade in a MC but when I try and tell tweener to animate the instace held in array position 2 it all falls over.
I've got a property, var angleX:Number; declared right after my class declaration (therefore available to each function in the class). How do I go about tweening this value with Tweener? Specifically, I'm trying to do it in a mouse press event but am stumped by the object i need to pass - the keyword "this" isn't working.
I have a strange issue in flash player 10. I have done a simple slider class that is clickable and in flash player 9 works great but when I test it in flash player 10, the list just dissapears. The example uses elements from an xml but the problem happens even if I attach a simple array of shapes instead of text.I have attached the example with the bug. I've included also Tweenlite for testing purposes and if you uncomment the line 95-96 of the [url]......