Search:
Type: Posts; User: iamdave
Search:
Search took 0.02 seconds.
-
I'm trying to use some HTML to format some text and images. I've tried both a TextArea and a dynamic text box and both are having problems. You can see here:...
-
Use the modulo operator, i.e. <number between 0 and 99> % 7. That will give you the remainder after dividing the number entered by 7.
Dave
-
By the way, the displayThumbs() function that I'm calling on the thumbmenu is using the LoadVars class to get the file names of the thumbnails from a PHP script I wrote. Could that be interfering...
-
Is there some reason why an onEnterFrame event wouldn't trigger when called or would only iterate once? Here's my code:
The call:
thumbsBtn.onPress = function(){
nextBtn._visible = false;...
-
-
Anyone know how to catch the error the MovieClipLoader class returns when it can't find the file you've asked it to load? Try-catch doesn't seem to work, I can only assume that it doesn't throw an...
-
You've got a data type soup here. This is why you should always strict-type variables. I'm not sure what you're actually going for here, but you're getting the [object Object] results because...
-
onEnterFrame = function():Void{
mc._alpha -= step; //where step is a variable controlling how quickly you want it to fade
}
Or to add some dampening:
onEnterFrame = function():Void{
...
-
Off the top of my head, to clear all the data you could just redeclare the array:
myLayerArray = new Array();
And to clear the last item added:
myLayerArray[myLayerArray.length - 1] =...
-
Off the top of my head...
var loader:MovieClipLoader = new MovieClipLoader();
loader.onLoadStart = function(){
//preloader code here
}
loader.onLoadCompete = function(){
//load...
-
You're skill with Flash will definitely play a part there but generally speaking, and not everyone may agree, I think full Flash is the way to go. No cross-browser compatibility issues and 98% of...
-
It just good programming practice to keep it all together. Sorta like commenting you're code. It's not just for when you have to trouble shoot it either. If you were to come back to it later on...
-
General Idea:
var moveToXPos:Number = //location to move to
var step:Number = 0;
image_mc.onEnterFrame = moveit;
function moveit():Void{
step = (moveToXPos - this._x) / 2;
-
You could also place this on the main timeline of your movie:
onMouseDown = function(){
test.gotoAndStop(10);
}
It's generally advisable to keep all your code in one place as much as...
-
Why do you even care if the links from your Flash file are in the HTML when you publish it? The links are still in the swf so your users can still get to them, right? I always turn off the HTML...
-
They've had those there since MX. Kinda fun to kill time with.
-
You need a large image, a thumbnail image (or just a resized instance of the same symbol), a mask and some actionscripting for the motion. Not too difficult, through rather time consuming on the...
-
Try going to Window > Workspace Layout and clicking on Default.
-
It would be helpful to see your code, but the random function is what you want to use. If you had say, 10 questions you could write
var nextQuestion:Number = random(10);
This will generate a...
-
I figured it out actually. You just have to add these two lines to your code:
Stage.align = "TL";
Stage.scaleMode = "noScale";
-
I don't see what you're talking about and I'm not clear on what you're asking. Try to write a bit more clearly when you ask questions. If you're having problems with text showing up before you want...
-
Not sure if you can do it directly or not but you can definately do it using ASP as an intermediary. You gotta use LoadVars in the AS and just write seperate ASP scripts for the database operations...
-
There's no built-in method for exporting dynamically generated animations to PNG or any other image format. You'll have to write your own script for that.
-
I don't see any scrolling going on there.
-
Hey guys. Does anyone know how to implement a swf file that takes up 100% of the width and height of the window using the SWFObject.js fix for the embed tag? What I've got right now works fine when...
|
Click Here to Expand Forum to Full Width
|