all groups > flash actionscript > december 2004 > threads for wednesday december 1
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 31
why doesn't this work?
Posted by WyrdMagick at 12/1/2004 11:43:54 PM
This is the very simplified version of what I'm trying to do. I want to use AS
to change the instance name of an object. But when I run the below code I get
'movieClip_mc' on the first rollover, but then 'undefined' on the second
rollover. Please Help! Here's the code: _root.movieClip_mc.onR... more >>
Line spacing in textArea component
Posted by mpac-2 at 12/1/2004 11:32:57 PM
OK, there is a simple way to set line spacing in textItem class. You just have
to clik on format button in properties and set the line spacing in Format
Options. Is there a way to set line spacing in textArea component. I tried
everything and didn't find a solution to this problem.:Q
... more >>
Fullscreen when hosted by a browser?
Posted by la_gouyn at 12/1/2004 11:26:08 PM
Is there a way for a swf file that is being hosted by a web browser to playback in fullscreen mode, so that the flash content fills the entirety of the user's screen?... more >>
Links problems
Posted by Mr_Freezie at 12/1/2004 10:55:04 PM
I have a button in my Flash movie that is inside a movie clip. When the user
clicks on the button, I want it to go to www.awebsite.com. I used
on (release) {
getURL("http://www.awebsite.com/", "_self");
}
Except it won't go when I click on it.
... more >>
Image Scroll script error mystery
Posted by grafix4u at 12/1/2004 10:43:09 PM
This one is a mystery to me- I have attached this script to an empty movie clip
but it keeps giving me errors (!)
I am trying to create a web site that visitors can click on a right or left
arrow and then the image will scroll either right or left until they release
the arrow.
Sounds s... more >>
Disabling radio group while displaying choices
Posted by clem_c_rock at 12/1/2004 9:53:35 PM
Hello, I'm using Remoting calls to a mysql database to populate a large group
of radio buttons. According to who logs into the program, certain users will
only be able to view the choices made by other users but can't change the
choices. Is there a good way to disable the fuctionality of rad... more >>
Load Movie Help
Posted by _Sheep_ at 12/1/2004 9:29:32 PM
ok heres what i needa help with
what i want to do is load the movie..but when the movie comes in, i want it to
change the width and height,
so when the movie comes in..it will fit in wher i want it
on (release) {
function stopit() {
stopDrag();
}
function mydrag() {
startDr... more >>
RollOver and asfunction
Posted by exuk at 12/1/2004 8:56:33 PM
I have a dynamic html text field with hyperlinks.
is it possible to use "asfunction" with a "rollover" instead of a "click"?
I know this is not possible in the asfuction itself, but is there a work
around?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Menu Bar variables
Posted by Cryox at 12/1/2004 8:13:04 PM
I am using the code below to create and populate my menu, which works fine. The
listener (which i got from the help file) then displays the selected menu
option in the output box.
How can i send the selected menu option to another variable which i can then
use?
var myMenuDP:XML =... more >>
Dynamic Buttons - Functions
Posted by AwesomeDigital at 12/1/2004 7:51:23 PM
I am looping through an array creating 10 buttons dynamically. In the loop I
am using the attached script to set the onRelease for each button. I have put
in traces to make sure each of the variables are correct each time it loops.
But the problem is that ALL of the buttons end up using the ... more >>
forcing to center
Posted by BoricuaFlash at 12/1/2004 7:39:28 PM
How can I force a swf movie to open in center of a user's screen?
... more >>
setting a level to a movie clip
Posted by AndrewFish at 12/1/2004 6:53:31 PM
I have a flash movie that incorporates external swfs and also a custom cursor.
The problem is that the external swfs appear above the main movie timeline. Is
there a way to have the custom cursor appear above the external clips, by
setting levels or giving it some other type of priority. Than... more >>
Button/scripting idiot needs help.
Posted by Fatmat at 12/1/2004 6:52:46 PM
Ok I'm new to MX and the whole new interface is really cool and alot nicer than
5. But I can't seem to make a simple button go back to _root and play frame
lable 'contact' for instance. My buttons are in there own movie (they fade in)
.. I can't seem to get the actions to string together righ... more >>
Button/scripting idiot needs help.
Posted by Fatmat at 12/1/2004 6:52:06 PM
Ok I'm new to MX and the whole new interface is really cool and alot nicer than
5. But I can't seem to make a simple button go back to _root and play frame
lable 'contact' for instance. My buttons are in there own movie (they fade in)
.. I can't seem to get the actions to string together righ... more >>
Actionscript Tweens
Posted by -D at 12/1/2004 6:01:13 PM
I've been using the mx2004 object: mx.transitions.Tween() Method with the
mx.transitions.easing.Regular.easeInOut parameter. I can't find anywhere that
tells me what other types of easing is available. Does anyone out there know
where I can find any documentation on this?
Thanks.
... more >>
thank You
Posted by BoricuaFlash at 12/1/2004 5:42:50 PM
Works like a charm. Thank You very much!
... more >>
looping music
Posted by diorkiss84 at 12/1/2004 5:34:41 PM
I know this is a really dumb question but I'm not great with flash yet and I was wondering, how do you get a simple .wav file to loop? Thanks!... more >>
loadVariables
Posted by crisRobin at 12/1/2004 5:33:10 PM
i'm working on flash MX and i need to read a string from an asp page with
output like name=cris&spot=5.
i tried to use loadVariables("map_spots_fla.asp?theMenu=7", "", "POST");
1. how do i know when he finish to read the data?
2. how do i get the data in the flash.
3. do i use the righ... more >>
tabBar v2 question
Posted by Mark.P. at 12/1/2004 5:08:56 PM
I'm trying to work with the tabBar from the DRK 5 CD but with some difficulty
giving the lack of documentation. I'm trying to find out if I can capture the
value of the oldIndex just as I could with the old tabBar component. Also?
does anyone know where there is documentation on this compon... more >>
Controlling Tab Function
Posted by janst at 12/1/2004 5:07:45 PM
Hi,
I have a keyboard controlled project where I want to allow the user to type
into two input textfields...
I do not want the user to be tabbing through the dynamic textfields that are
also present.
I also want the user to be able to "leave" the input textboxes so that the
other text ... more >>
SharedObjects
Posted by GeorgeWS at 12/1/2004 4:59:47 PM
I have this in a scene called 'welcome': so =
SharedObject.getLocal('ACCOUNT'); so.data.THEACCOUNT = MADBA.text I then do a
trace like this: trace(so.data.THEACCOUNT) that part works great, the trace
screen pops up and shows the account name. but when i use the trace statement
in Scene 1... more >>
Export on first frame causing preloader problems
Posted by acornelio at 12/1/2004 4:35:46 PM
Hi, I am having a problem with a project I am working on. I have some library
assets exporting out on the first frame of a MC. Meanwhile the content is
loading. When all the assets are done loading on the first frame the preloader
bar I have made (not a component) is now visible on the stage d... more >>
Custom Classes and Packages error
Posted by vkhavin at 12/1/2004 4:35:16 PM
I am working on creating some custom classes to use with a project I am working
on. More concretely, I have an interface defined, and a class that implements
said interface. They are both in the same package. When I click on the "Check
Syntax" button in the Script Editor inside the interfac... more >>
Designer Wanted
Posted by KarenGoggin at 12/1/2004 4:29:43 PM
Our company is based in South West of London, and looking for a designer for a
2 month, full-time contract starting Jan 05.
Any suggestions of where I could find someone, please let me know.
Thanks
... more >>
data-driven photoshow - newbie
Posted by cba_eric at 12/1/2004 4:16:57 PM
I've used Flash some, but am pretty new to ActionScript. Here's my project: I
want to create a data-driven photo slide show that pulls jpegs from a
directory. From prowling around the forums, I think this would be the easiest
way--create a list of photos in a text file, import variables from t... more >>
Hiding several movie clips at once using an array
Posted by inzzzanity at 12/1/2004 3:35:44 PM
Is it possible to hide several movie clips at once, by adding their instance names to an array and creating a function that hides all movie clips in that array?... more >>
function path prob
Posted by vapord at 12/1/2004 3:34:47 PM
i pulling multiple instances of a MC from my library (linkage id='box'), and
make them move back and forth on my stage at random speeds. the 2 problems 1)
i cant get this to work without using '_root'. i need a relative path (i dont
want to use '_root' or levels) solution because this will be... more >>
Call external routine from Flash application
Posted by MikoMax at 12/1/2004 3:33:49 PM
hi, I would like to know if it is possible to call a method of an external DLL
or library(in VB or C/C++ )from Flash. if it is possible, How can I do such a
thing? How can I pass parameters and get result? Thanks in advance, Michael.
... more >>
boolean evaluation
Posted by hasanali00 at 12/1/2004 3:17:27 PM
I am running into a strange problem but I hope u can help me. In my timeline,
I have 2 layers. in first layer i have some code in my first frame:
_global.stopped=false; In my second layer, I have some buttons. for one
button, I have following code: on (press) { // if stop state if (... more >>
current time
Posted by BoricuaFlash at 12/1/2004 2:54:18 PM
I want to register the systems time clock on a dynamic field Any tut on
this.
... more >>
event while dragging
Posted by Tony O at 12/1/2004 2:49:43 PM
I need an event to happen when a button is passed over while the mouse is
already down. OnDragOver, of course, doesn't work that way. Dragging an mc
and using HitTest doesn't work either.
Any ideas?
Thanks
... more >>
Dynamic text - named anchors possible ?
Posted by Tony at 12/1/2004 2:36:29 PM
Hi...
I have a scroling text field which loads a long document.
Is it posible to create "named anchors" in this text (.txt file)
and then place buttons to call these anchors thus jumping
the text to a certain point in the document ?
(i.e. forcing the scrolling text to scroll down to a certain... more >>
Button with 3 states
Posted by combava at 12/1/2004 2:14:26 PM
I would like to create a button (or perhaps a mc that acts like a button?) that
has three states :
1. a normal "off" state
2. a highlighted "rollover" state (which amounts to putting a white square
behind the first, normal state)
3. an engaged, "clicked" state (with an additional bla... more >>
onRollOver in Dynamic Text
Posted by topper2k at 12/1/2004 1:59:01 PM
I have a dynamic scrolling text field and I want each line of text to execute a
different flash function on rollover. I know I need to use asfunction, but
onMouseOver and onRollOver don't seem to work.
... more >>
Scrolling Text Box
Posted by Neuxs_Ex at 12/1/2004 1:57:51 PM
I must have gone mad or something, there are so many things in flash I can do
but this is getting the best of me. It sounds simple enough, but why so hard to
execute. I want text in a text box to have a small scroll bar on the side to
scroll and I am unable to get this to work. Is there anybod... more >>
Preloading SWF - Pls Help
Posted by JavenAng at 12/1/2004 12:06:47 PM
Ok, I got myself into a bit of a situation here.
Scenerio:
A main file called, Master.swf which contains the main interface and main
navigation panel [6k]+ utilise an external swf, library.swf, where i store all
the common buttons, fonts, etc that I use all the way thur [47k]
Curren... more >>
loading movie clips
Posted by combava at 12/1/2004 12:02:32 PM
I am making a simple portfolio site for a graphic designer. The screen is
divided into two sections : on the left are a series of logos he's designed ;
on the right will appear a larger version of the logo, plus a description of
the client, etc.
I was planning to make all the logos on the ... more >>
Changing ListBox Selected Color
Posted by IISPLRAJ at 12/1/2004 10:44:40 AM
HI,
How is it possible for me to change the color of the item of the selected item
of the list box.
coz I am having problem in displaying the default color i.e. black and white,
which is not suiting to the
desired background.
I tried to code on the listboxs roleOver, but it is not all... more >>
ActionScript shorthand
Posted by OOPete at 12/1/2004 10:44:32 AM
Does anyone know of a good resource for ActionScript2.0 shorthand. I've picked
up a few things (mainly from a Jeanette Stallon's flash book) but can anyone
point me towards a more definitive resource? Cheers, Pete
... more >>
assigning variable
Posted by BoricuaFlash at 12/1/2004 9:46:16 AM
How do you assign a variable to a v2 Text Input component
... more >>
Popup window
Posted by Cheekykid at 12/1/2004 9:32:03 AM
Hi all, I need a button that can have it's own link, and at the same time
open a new popup window. Does anyone know how to do it? Below is my script, but
it only work one of the getURL function. Thanks so much on (release) {
getURL('./index.asp');
getURL('javascript:window.open('./po... more >>
Is it possible to draw Text dynamic as shapes?
Posted by Linuxhippy at 12/1/2004 9:31:39 AM
Hi there!
Since FlashMX there is a new drawing api which is great in my eyes.
However it only has support for lines and so on, but whats about text?
* Is it also possible to draw text dynamically?
* How can I get the lenght a string would need with a specific font?
Thanks in advanc... more >>
stupid DB question
Posted by BoricuaFlash at 12/1/2004 8:33:11 AM
Can a database contain swf files?
... more >>
Movieclip references
Posted by CogentParadigm at 12/1/2004 8:20:43 AM
ok..well i have a movieclip that is created and referenced
ie: var mcIcon:Movieclip = this.createEmptyMovieClip(.....
i have an mcIcon.onRollOver function...
the clip has content in it....then later i remove the movie clip and recreate
it, but the onRollOver does not apply to it anymore
bu... more >>
password problem
Posted by BoricuaFlash at 12/1/2004 8:07:14 AM
Im usinf text input components to try to make a password gate can someone
tell me why its is always denying entry
var nombre = "";
var contrasena = "";
myButtonListener = new Object();
myButtonListener.click = function ()
{
trace ("You clicked the button! Tsk... more >>
help with drag/drop items...
Posted by rocketgoof at 12/1/2004 6:51:01 AM
I'm working on an interactive project where bubbles of information appear when
a draggable object is dropped on a target. I have that functioning, however, I
don't know how to have the bubbles disappear after the draggable object is
taken away from that target. I only want one bubble of info... more >>
open shortcuts
Posted by adi NO[at]SPAM datex at 12/1/2004 6:38:33 AM
m unable to open a shortcut through flash... is there a way to do it?... more >>
destroyObject() with Media Components
Posted by Jarrod Castaing at 12/1/2004 6:17:48 AM
I can't get the MediaDisplay component to respond to destroyObject() using
Actionscript. Heres my code: import mx.controls.MediaDisplay;
mc.createClassObject(MediaDisplay, 'myVideo', this.getNextHighestDepth());
mc.myVideo.setMedia('../flv/video.flv', FLV); mc.myVideo.play();
myButton... more >>
Using a variable as a target name
Posted by Laverda668 at 12/1/2004 6:15:33 AM
Hi guys, I can't seem to get this code to work. I want to use a variable as a
target name.
function manageFX(targetClip){
previousTarget.gotoAndPlay("close");
targetClip.gotoAndPlay("open");
previousTarget = targetClip;
}
I thinnk that I am not writing the targetClip.go... more >>
How does loadmovie work ?
Posted by Fel_911 at 12/1/2004 6:12:00 AM
I want to load a swf in a clip. I tought a loadMovie with some
MYClip.getBytesLoaded(); and MYClip.getBytesTotal(); should work but when I use
the loadMovie ('myfile.swf', MYClip); The clip start immediatly. Can some
gimme a reference or a little code for a preloader that display the pourcen... more >>
Help with actionscript
Posted by gma216 at 12/1/2004 2:50:13 AM
Im trying display the label on a checkbox in a dynamic textbox once a button is
clicked. of course the checkbox would have to be checked. so basically one
checkbox, one button, and one dynamic textbox. Ive tried using "getValue" as
it worked with combo boxes but didnt with checkboxes.
any... more >>
|