Search:
Type: Posts; User: florianvanthuyn
Search:
Search took 0.06 seconds.
-
Thanks for your reply :)
Let me further explain myself then!
So on the bottom screen I have a part of a circle, that I stretch to fit the width of the screen, thus changing the size of the...
-
Hi!
I'm trying to rotate objects around a certain point, but I don't know how to calculate the position of it..
As the title mentions, it's got something to do with a circle, so instead of...
-
Maybe you could shrink your invisible button, so that a margin of 10px can't be ROLL_OVER'ed.
This way, when ROLL_OUT'ing, you'll always touch the actual swf banner part that's not a button, thus...
-
Since you have the SWF ready as a MovieClip, you can use any function or property the class has to offer.
mySWFMovieClip.play();
mySWFMovieClip.stop();
mySWFMovieClip.gotoAndPlay(10);...
-
addFrameScript is an undocumented method in AS3, you'll find it when you google for it, but it's not code-hinted, as you experienced ;)
-
I'd put the image urls in an Array, and than process those with a for loop, like this:
var arr:Array = ["img1.jpg","img2.jpg","img3.jpg"];
for(var i:uint = 0; i < arr.length; i++)
{
...
-
Thanks for the quick reply!
I managed to ask one of my teachers today and he confirmed that.
Now I will have to look for another creative use of camera or microphone :)
-
So basically, I would like to make something that requires the user to say terms like "next", "previous", etc. and link them to specific actions within the script.
I've searched the internet for...
-
Alright, so I found this code somewhere on FK and I've converted it to AS3 and it seems to work correctly:
var startx:Number = mc.x; // starting position
var endx:Number = stage.stageWidth -...
-
For the different names you can use an Array:
var currSWF:uint = 1;
var movLoader:Loader;
// so store the names in here, no .swf needed
var swfNames:Array =...
-
Are you sure the button you're trying to target has the same instance name as the one you're using?
Also, if you're tweening the button, you will have to give it that same instance name on each...
-
You can also remove all the button eventListeners while loading, and add them again afterwards.
And this might not work, but try it anyway :) imgLoader = null;
-
Try calling the imgLoader.unload() method before loading in one of the files.
-
Then it should be:
entrys_mc.removeChild(entrys_mc.getChildAt(i-1));
What this does is remove the children from entrys_mc, based on their depth, so the mc's added first will be remove first too.
-
In that case a duplicate will be of no use, unless you're ok with adding all the actions twice (which shouldn't be a problem if you're assigning them with a loop, but still)..
I would move the...
-
I think your looking at either moving the thumbs that have left the masked area to the back or front (depending on the direction) or having a duplicate of holder_mc and add it to the back.
-
Maybe this will work, but I'm not sure if it will remove the mc's in the right order:
entrys_mc.removeChild(entrys_mc.getChildAt(i));
rather than "entrys_mc.removeChild(mcV[i]);"
-
No problem :) I would have suggested that if you hadn't found it yourself, but it's always a good thing to have people find their own ways :)
-
In Flash I tend to use a one frame preloader with EventListeners to follow the progress. I don't export my assets on the first frame (which will prevent a white screen from showing until the first...
-
I haven't looked at your file since I'm going to bed in a few minutes, but I wanted to give you a way you could handle this.
Basically, you will have to make a variable which stores the pop-up (if...
-
My guess is that frames switch slower than code executes, so with your previous code, it tried accessing stage before it was added (the code started running the moment it got loaded 100%) and that...
-
It's probably because the swf hasn't been added to the stage yet and so it can't find it at first.
Try using this listener:
addEventListener(Event.ADDED, onAdd);
private function...
-
I think he's trying to get the dates of the days located in the 34th week of the year 2009 (therefore 7 results).
Or in general a function or class that returns 7 dates from the given week in the...
-
When I run your file I get errors saying that:
- story.load() isn't a XML function -> use a URLLoader and URLRequest to load in a .xml file
- story.onload = function(){} is outdated, use...
-
Thanks :)
Whenever I have to use it in the future and I'm not getting to where I want to get, than I'll make a new thread for that.
|
Click Here to Expand Forum to Full Width
|