all groups > flash actionscript > september 2006 > threads for tuesday september 5
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Clearing text in dynamic text field
Posted by Nickname339966 at 9/5/2006 11:29:25 PM
Hi,
I'm working on a numbers pad and want to add a "Clear" button to clear the
last digits that were entered. For example, if you enter 1, 2, and 3 (123), and
hit "Clear" 3 times, it will delete 3, 2, and 1, in this sequence (clears in
reverse order of what's entered). I'm using a numbers pa... more >>
Attaching text to movieClip at runtime
Posted by sbryner at 9/5/2006 10:33:16 PM
Is there a way to attach a runtime created textField to a runtime movieClip
below is the code to create each. would I attach it inside the creation of the
movieClip
I don't think you can use: _mc.attachMovie("textFieldName", depth);
createEmptyMovieClip("thumbs_mc", 2);
thumbs_mc... more >>
loading dynamic text box in movie clip from .txt file
Posted by MamboQueen at 9/5/2006 9:48:56 PM
I want to load a dynamic text field from an external text file.
I have the following code which works perfectly as long as the dynamic text
box is on the main stage:
----------------------------
//Retrieve text field/value pair from file Test.txt
loadText = new LoadVars();
loadText.lo... more >>
What is wrong with this code?
Posted by DragonTheory.com at 9/5/2006 9:22:02 PM
I'm cross-eyed looking at this thing! Please help!
Trying to load resize and reposition an external swf when I click a button.
The code below is on the button. Plus, I need to put a button on top of the
movie clip so the user can (at any time) click to go back to the a main menu.
Figured I... more >>
Dinamic creation of text fields
Posted by thunder.scripts at 9/5/2006 8:53:01 PM
Tengo un array bidimensional en ActionScript con los datos para la creaci?n de
campos de texto din?micos. Por ejemplo, el array es algo como:
Hi everybody. I created a bidimensional array in ActionScript with the
necessary data to create text fields.
With that information, I need to crea... more >>
getBytesLoaded for dynamic moiveclips
Posted by Shahab at 9/5/2006 7:47:17 PM
I am creating dynamic movieclips via loop to load data into each movie. The new
names of the movie clips will be something like
"MC" add loop.
now the problem is that i have tried many ways to get the getBytesLoaded()
property for them but its not working
i have trying something like ... more >>
Export for actionscript - Not in first frame
Posted by Nixy at 9/5/2006 7:44:41 PM
Just a simple question.
Don't need to know if it works or not I have tested it. What I want is to
understand. Here it is:
If I use the Export for actionscript and I unselect the Export in first frame,
the item that will be linked by the ID in the library must appear on the
timeline. Nor... more >>
Can you Tween custom properties?
Posted by stratosnatcher at 9/5/2006 6:36:42 PM
Can you directly tween some property other than "_x", "_y"...physical on-screen
built-in properties?
Or would I pretty much have to do some trickery with event listeners and do
some calculations based on one tween to make another tween (with easing) of
some other numeric property I'm track... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
loadMovie vs loadMovieNum -> What is the difference ?
Posted by bebef at 9/5/2006 5:51:07 PM
Hi, what is the difference between loadMovie and loadMovieNum ?
sorry for my english... more >>
Video.attachvideo versus MovieClip.attachMovie
Posted by Brenda Davis at 9/5/2006 4:36:57 PM
Quick summary: I have a number of flv files and an FCS to stream them from.
All I'm trying to do is write some simple actionscript that loads whichever
clip the user has selected.
I'm brand new to using streaming media, and the distinction between the video
object and movieclip object is... more >>
How to stop a movie within a scene
Posted by Rusty_B at 9/5/2006 4:33:14 PM
I have a movie that has about 10 scenes. When I click on the stop button it
does nothing.
I am using this script:
on (release, keyPress "<Space>") {
stop();
}
Anyone have any idea why this doesn't work?
... more >>
How can i do this??
Posted by Adam Deeley at 9/5/2006 4:23:02 PM
Hi wonderd if anyone knows how to reproduce this JS lightbox effect in flash
http://www.huddletogether.com/projects/lightbox2/ can this effect be
incorperated into flash, i really like the way the images float over the
browser (just wanted to know if it is possible to do or anything simalar?
... more >>
Trouble passing variable
Posted by yogi bear at 9/5/2006 3:37:29 PM
I have looped item and window to use the same photo in two different places. I
can't get the unique Id for the window loop clicked into the last line of code
to control the alpha: "_root.project["window" + Id].pix._alpha = 100;" Is there
a way to do? Any help is appreciated.
thanks
yogi b... more >>
Re: Proto "what the"
Posted by kglad at 9/5/2006 2:18:12 PM
when you create a prototype function for a movieclip, you're adding a new
method for all movieclips. not all (and not any) movieclips need to use that
method.
for example, mm/adobe created an onDragOut method for movieclips but you may
never use it. (i don't think i've ever used it.)
... more >>
controlling a mc in a swf file that is loaded into a swf file.
Posted by jpgary NO[at]SPAM gmail.com at 9/5/2006 2:14:37 PM
Looking for some help. I have a main swf (a.swf) file that loads
multiple swfs (b.swf etc). I want to apply an attribute to a specific
mc within the loaded swf (b.swf).
i.e.
movie clip: drag in b.swf
so in a.swf i have put:
_root.createEmptyMovieClip("b" , 30);
loadMovie("b.swf",... more >>
#include "Base64.as"
Posted by Goo101 at 9/5/2006 2:12:01 PM
I have a .as file which contains the code for a class called Base64. When I try
to pull it into my code using the '#include' method, is it generating the
following error!?
**Error** C:\Documents and Settings\Administrator\My Documents\Touch Screen
Project\Touch Screen Slides v7\Base64.as: ... more >>
FLVPlayback Problem
Posted by sandig0 at 9/5/2006 2:07:38 PM
I'm writing a little video player for my website using the FLVPlayback
component.
The way I have set it up is that all my FLV files are located in a directory
on my server. I tell the player which FLV file to play by passing it a variable
in the URL for example:
[Q]video.swf?q=10[/Q]
I t... more >>
Proto "what the"
Posted by DazFaz at 9/5/2006 1:23:09 PM
Im trying to apply a prototype funciton to a movieclip and for the life of me I
cant get my head around it e.g.
myFunction.prototype = function(){
this.onPress = function(){
trace("working");
}
}
myBoxMovieClipOnTheStage = new myFunction();
I would expect the "myBoxMovieClipOnT... more >>
User Data Type
Posted by scsherwood at 9/5/2006 1:19:46 PM
Visual Basic has the capability to define a User Data Type as follows:
Type myDataType
foo as Boolean
bar as Integer
anArray(1 to 10) as Integer
end Type
Then you can create a new array of this this type as follows:
myNewVariable(1 to 5) as myDataType
and a... more >>
want to smooth loaded images (jpg) in flash8
Posted by danredman at 9/5/2006 12:54:24 PM
i want to smooth loaded images (jpg) in flash8
let's say that i have one layer, one frame and the following AS:
[h]_root.loadMovie("q.jpg");[/h]
the _root could be an object, but the behavior is the same
so in flash7 CTRL+ENTER, right click and zoom ---> RESULT: zoom with image
inter... more >>
hidden rollover advancing to next frame label.
Posted by Tim A. Setliff at 9/5/2006 10:45:20 AM
I just developed a problem with hidden rollover buttons. Not sure what is
causing the problem.
I have a button layed over text - when the cursor is over the button, the
rollover state reveals a text box.
There is no code on the button. The problem is that a mouse click will
cause the main mov... more >>
Code size limit?
Posted by Kristian Thy at 9/5/2006 1:49:42 AM
Hi,
I am new to Flash/Actionscript development but a somewhat experienced
coder. While trying to build a small application in Flash 8
Professional, I have run into a perplexing problem. Apparently, my code
gets too big or too complicated ... at below 300 lines :-O
I have a scene with two fr... more >>
default function param values
Posted by sneskid at 9/5/2006 1:39:06 AM
is there an easy way to assign default values for function parameters?
example:
function stuff( var1:Number = -100, var2:String = "not set") {
code;
}
thanks... more >>
flow image!!
Posted by little1981 at 9/5/2006 1:36:38 AM
Hi friends, I want to change the source of image.
How do I modify it to load external image?
Please Help me...
Thank you very much..
Regards.
function postImgsToArea(mask_mc:MovieClip, imgs_array:Array):Void {
var masked_mc:MovieClip =
this.createEmptyMovieClip("mask_"+mask_... more >>
flash problem
Posted by calmchess333 at 9/5/2006 12:57:39 AM
I have a flash page which takes a users input and saves it to a .xml
file.........There is no problem with writing to the xml file once but if i
try to press the submit button the second time i get this error in the input
window myTextVar=test&onLoad=%5Btype%20Function%5D
%3C%3Fphp%0D%0A%... more >>
Selection.setFocus problem
Posted by m_ahlenius at 9/5/2006 12:31:14 AM
Hi,
I am a novice at best at Action Script. Am trying to use Selection.setFocus()
to highlight a region of text in an input text field. But when I position the
cursor using; Selection.setSelection( strLen - 2, strLen - 1 ); it puts a
"1" digit inside the text string in the display. ... more >>
send reminder 30 days before expire date?
Posted by luciewong at 9/5/2006 12:00:00 AM
Hi, I hope someone can help me with that.
I am getting in an "expireDate" from a Database.
It can be for ex. "5/21/2007" . This date is a String.
30 days before that expireDate is reached, I want to send a reminder to the
client, like
"your membership is going to expire".
How can I... more >>
LoadVars.send and target window problem
Posted by kokochka at 9/5/2006 12:00:00 AM
With Safari on Mac OSX, I have a problem sending vars in a window named
"thisWin".
myVar.send("../cgi-bin/redirect.php", "thisWin", "POST");
The SWF opens a new window it should be called "thisWin". But with javascript
alert says there is no name.
So, the second time, i trigger myVar.s... more >>
scrollbar
Posted by jagguy99 at 9/5/2006 12:00:00 AM
q)Can you use a scrollbar with just actionscript and no UIcomponents?
q)So how do you get the movieclip at a small size and add a scrollbar to it so it can scroll a large screen?... more >>
Unable to call javascript from flash after opening a link to PDF
Posted by fransgaard01 at 9/5/2006 12:00:00 AM
This is a bit of a weird one and I am not sure it even belongs in this part of
the forum, but hopefully somebody else have had this problem and found a
solution.
Example of the problem can be found here: http://dev.fortune-cookie.com/bug/
This bug only applies to Internet Explorer
T... more >>
|