all groups > flash actionscript > june 2006 > threads for wednesday june 14
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
Can part of text in Textarea invoke actionscript?
Posted by woodtah at 6/14/2006 11:53:22 PM
Is is possible to make text inside of a Textarea component actuall close the
Textarea itself? I have been using a Textarea component to dynamically add a
bunch of formatted text into it, based on an object that was clicked.
Initially, this Textarea does not show up, but when clicking the oth... more >>
dynamically set the width of a dynamic text field?
Posted by aa at 6/14/2006 11:30:48 PM
how do I dynamically set the width of a dynamic text field?
Preferrably not in pixels but in a number of characters
... more >>
New Window Resizing
Posted by GGood12 at 6/14/2006 9:52:41 PM
I would like to be able to open a new window of a specific size from inside my flash page. I know that this can be done in an html page by using javascript. I sthis possible????... more >>
Flash Studdder.... Nice little pause in animation & Button Question
Posted by todditami at 6/14/2006 9:43:52 PM
New guy again...So I have my handy little intro on my main page after the flash
screen and I have my first page of content come up right before it is finished.
Now if I view the file on my hard drive there is a little pause when it comes
in (very annoying) but when I view the uploaded version... more >>
need help with rollOver
Posted by jezbennett75 at 6/14/2006 8:41:05 PM
I am trying to get an image to move when a user hovers over the image.
My movie is called ball_mc
i have added this code but get some errors. what am i doing wrong please?
myButton_btn.onRollOver = function() {
tweenBall(mx.transitions.easing.Bounce.easeOut);
};
function tweenB... more >>
getURL, javascript, & IE
Posted by zak_flash at 6/14/2006 7:51:30 PM
I have a question about getURL, javascript, and Internet Explorer. I have a
thumbnail gallery that I created in Flash. I have some basic animations &
actions with each thumbnail. One of the actions is when someone mouses over a
thumbnail, a call to a javascript function performs a basic javasc... more >>
reversing a clip on a button click
Posted by sooz_e at 6/14/2006 7:48:08 PM
Hi,
What I want to happen here is that the page go through its load animation
backwards (to unload the page) when the user clicks a button on the nav menu.
It kinda worked once or twice, but in the if {} suddenly jumped to main time
line from the page clip and only a couple frames worth ... more >>
Dynamic Transition Manager
Posted by I tried at 6/14/2006 7:47:33 PM
Hi all,
I am trying to pass dynamic information as parameters to the
transitionManager.start method. Something like this works just fine:
TransitionManager.start(a_mc, {type:mx.transitions.Wipe,
easing:mx.transitions.easing.Bounce.easeOut,
duration:2,
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
preloader Can't be used on swf with flv playback component
Posted by flashfloozie at 6/14/2006 7:44:21 PM
Cannot find a solution in any forum;
Either preloader wont show up till the 32K baggage the component brings along
to frame one loads (at about 75% , OR change publish setting for AS to load
classes to frame 2 and then the movie does not play when run from the actual
swf file.
Howev... more >>
Classes
Posted by Star Tail Pro at 6/14/2006 7:37:04 PM
I building this kind of little world cup chart. So you type in the scores and
it will work out everything. I have successfully done this for group a but i
need to make it more universal so i can save memory and i don't have to repeat
600 lines of code.
I decided on using a class but i have a... more >>
External control of movie
Posted by cbergeronlcc at 6/14/2006 7:30:08 PM
:confused;
We need to have a physical input device control the display for a museum
exhibit. I know Flash can't take input from the game port.
We've come up with building a custom interface device that can feed a stream
of characters, and I'm thinking that if it can "type" those into a... more >>
Go to frame at end of movie
Posted by legionarius at 6/14/2006 7:21:27 PM
In my movie the user will view various clips. At the end of each clip I need to
get the user to end up on a different frame.
Right now i'm just creating a spereate movie clip that is the length of the
movie which jumps to the correct frame at the end.
I know there is an easier way to do ... more >>
Page Roll (Curl) Effect
Posted by lawrence.carriere at 6/14/2006 5:03:52 PM
Hello All!
I'm wondering if there are any tutorials out and about that would show a
person how to make a cool "roll in" effect in Flash 8.
Here's an example: http://www.templatemonster.com/flas...ates/11214.html
I like the way the white rolls in from the top right. I need to do somethi... more >>
Help with animated buttons
Posted by Photoplay Prosecutor at 6/14/2006 4:42:02 PM
I have an animated menu that when you scroll over the button it smoothly
changes color and the text shifts to the right. The only thing is that since
they aren't in button format (The buttons are composed of graphic and movie
clips) I dont know how to apply a sound when you scroll over the but... more >>
problem with myListener line in this code
Posted by flashfloozie at 6/14/2006 4:01:37 PM
the progressBar mc never plays. It shows the MC but just stays on frame one.
(progress bar is a a 100 frame MC with stop(); on frame one) when I comment
out the "myListener.onLoadProgress" line and change the
progressBar.gotoAndPlay(loaded) to progressBar.gotoAndPlay(50) it goes to that
... more >>
loading exe file using loadMovieNum
Posted by aa at 6/14/2006 3:57:32 PM
I have converted SWF into EXE using SWF Studio 2.2 to be able to run flash
without havinf a FLASH player installed.
It works fine except one feature. On clicking a picture it is supposed to
load another movie using loadMovieNum()
That other movie is too converted to EXE and loadMovieNum is calle... more >>
Question Weighting...
Posted by Jadeivy at 6/14/2006 3:27:58 PM
Question Score Weight.
How can I handle Question Score Weight?
I thought of one way, but it seems a long way around the issue.
Ultimately I'd like to be able to change the weight of a question (for
scoring). I'd like it to be transparent where no matter how many questions I
add - and f... more >>
Variables in Dynamic Text
Posted by Tolk at 6/14/2006 2:58:06 PM
If i have a dynamic textfield with the text being loaded from .txt file is it
possible, and if so how, to have variables subtended in the text i.e:
"This is the text in the dynamic text field that is loaded from something.txt
, you have looked at it XVAR times"
Where XVAR is another va... more >>
Variables
Posted by Euclides at 6/14/2006 2:54:54 PM
var t3 = "Hello world";
var tn = 't'+_currentframe; //_currentframe now is iqual 3
trace(tn);
tn shoud be "Hello world", but I'm getting that tn is equal to t3.
Thanks in advance... more >>
Dynamic Shape Transform
Posted by Tolk at 6/14/2006 2:29:02 PM
Is it possible to change the shape of items on the screen using AS. Similar to an AS version of the subselection tool or the free transform tool - skew and distort namely.
Thanks!... more >>
Adding ActionScript cuepoints
Posted by MasahiGo at 6/14/2006 1:58:29 PM
I'm using a Tree component and a FLVPlayback component. For those not familiar,
the Tree component's dataprovider (DP) has to be filled via XML, and the
structure of the XML-object is very strict. I use one XML-file, which provides
the data for the Tree instance's DP as well as for the cuepoin... more >>
mx.transitions.Tween: scaling and movement issue
Posted by cpt_pete at 6/14/2006 1:23:39 PM
Hello,
I've been trying to create a map which zooms and moves at the same time. So
basically altering the scale and coords of a mc.
However the problem is that when I alter the scale values the coordinate
values become then relate to a different point on the mc. I.E. using the Tween
... more >>
dynamically created textfields problem
Posted by blemmo at 6/14/2006 1:22:05 PM
Hi people,
I have a strange problem here: I want to create textfields dynamically that
are just big enough to hold the text to display. The textfields use a font from
the library. I get the metrics of the text with TextFormat.getTextExtent(), it
seems to work ok. However, the last letters ... more >>
array.sortOn
Posted by the fleece at 6/14/2006 1:20:43 PM
is there any way to sort a numerical array properly, not as a string
ie:
1, 2, 12, 20
instead of:
1, 12, 2, 20
without going:
01, 02, 12, 20... more >>
How to freeze background
Posted by JakeSee at 6/14/2006 12:48:05 PM
Dear Expert,
How to freeze background
i have a single frame swf (1000x500) with buttons all over. clicking on the
buttons will loadMovie into a movieclip same size as stage (1000x500).
Apparently, the oringal swf is still active and will still react to mouse overs
and presses. How can ... more >>
Javascript Pop Up Function for Flash 8
Posted by rgb_boy at 6/14/2006 11:57:49 AM
Hi there,
I have searched and found many articles on a Javascript triggered pop up
browser window but when I seem to translate them into the new version of Flash
8 all functionality seems to fly out the window. Any ideas on how I can
approach this? I have tested the scripts in Flash MX and t... more >>
fine tuning a slide show
Posted by wwasser1 NO[at]SPAM optonline.net at 6/14/2006 5:34:26 AM
I would like to know if anyone can tell me how to make a flash slide
show jump to a new url?
In other words, when the slide show concludes I would like to redirect
to another web page. Any help would great. Thanks!
... more >>
EASY Question - But Hard for the Actioscript inept
Posted by todditami at 6/14/2006 3:38:04 AM
Ok, :confused;
So this is my first attempt at making a web page...
I am trying to simply make my little button display my movie labeled
"Content", I don't think I am doing somthing right...
Doh....
I have diffrent movies (p1 & p2) for button rollover effects... and I have a
seperat... more >>
Moving an mc to mouse coord's
Posted by Jimmathy at 6/14/2006 3:16:47 AM
ill admitt it, i am a complete novice when it comes to actionscript, but the
best way i found to learn it is to get the code and change each part to figure
it out. So how would i make it so that when i click Either on a mc or just
anywhere that it creates an mc at coodinants that ill specify a... more >>
Loading flash movie manually
Posted by mixek at 6/14/2006 3:16:45 AM
Hello
ISorry to say this but I am a newbie in Flash.
I have made a flash movie with playback control.
I hosted it on my website but the problem is whenever someone visit the
website it loads automatically even if you don't press play.
I was just wondering how i can make the video starts ... more >>
Problems with swapDepths() function
Posted by Hecktic Design at 6/14/2006 1:38:40 AM
I am designing a flash program that takes a series of images and descpriptions
from an xml file and then adds a movie
clip for each node to the stage based off of one template. The series of
clips scrolls from left to right with the movement of the mouse and when
hovered over, the images e... more >>
Variables
Posted by Acacia957jn at 6/14/2006 1:17:00 AM
Goal: Jump to a URL from a text file where I have a list of URL's per each day,
such as, wk_url.txt, mon = www.mysite.com/008.php, tue = www.mysite.com/002.php.
What I have:
I have a file that act as a state to load a swf file for special campaign for
each day.
Each day is a separate sc... more >>
Can I apply a KeyListener to one TextInput?
Posted by JustStartingOut at 6/14/2006 12:11:24 AM
I'm searching the web as well as these forums and all I'm seeing is that I can
add an object that has an onKeyUp() function to some global MovieClip named
"Key". That doesn't help me when I have 5 text fields on the Stage and only
one of them is supposed to "fire" when Enter is pressed within... more >>
not another preloader question!
Posted by hushhurt at 6/14/2006 12:03:16 AM
ok - i created a pre-loader movie that has 100 frame animation with a stop
action on frame one.
I placed the MC on the main timeline and named it: lineLoader_mc
then placed the following code:
lineLoader_mc.onEnterFrame = function () {
framesLoaded = Math.round ((_root._framesloaded... more >>
setter and return value problems
Posted by ezalife at 6/14/2006 12:00:00 AM
right, i'm trying to rebuild a flash fla using a decompiler program.
i've got all the as files but can't change the function/method calls.
the problem is that when i compile the fla i get the error:
**Error** C:\CMA_reverseEng Dev\Engine\Candidate.as: Line 46: A setter
function may not ret... more >>
Problems with instances
Posted by Teshla at 6/14/2006 12:00:00 AM
I need a same action to occur for few movie clips. For example i have
instances: P1 P2 P3 P4.
I tried:
Calling every one of them by one name.
Writing P[1,2,3,4]
Writing G = "P" +[1,2,3,4]
Can anyone help me?
... more >>
Another option?
Posted by jeeepU at 6/14/2006 12:00:00 AM
G'day all,
I have a menu that loads its content via "loadVariables" from a text file.
This is an example of the text file (see code below) but I've determined that
the & in the url modules.php?name=vwar&file=member cuts the end off, resulting
in a wrong page.
1. Is this correct?
2. Is ... more >>
Math.round doesn't work
Posted by toben at 6/14/2006 12:00:00 AM
Hi everyone!
I have a problem with the Math.round function. When I code:
Math.round(undefined);
in my flash-movie, it returns the number 0!! But when I test the same code in
a new flash document it returns NaN.
So my question will sound: Why does it return 0??
/Tobias
... more >>
Volume Slider Help Needed
Posted by Siriun at 6/14/2006 12:00:00 AM
I have a banner with a background sound that reloads every time a visitor goes
to a new page. The sound level is controlled by a volume slider that I built
using http://www.actionscript.org/tutorials/beginner/volume_slider/index.shtml
and now I want to save the position of the slider as a cook... more >>
<param name="filename" value="file:///C:/...."
Posted by Metalpez at 6/14/2006 12:00:00 AM
Hello, got a problem with the next code trying to load the swf from the client
pc:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=8,5,0,212" width="1024" height="768" id="flash">
<param ... more >>
Pause and play
Posted by tay shk at 6/14/2006 12:00:00 AM
I have one swf , wich contain lots of movie with animation . i want to keep
pause play button for it, i know how to stop all the movie when clicked on
pause button, but i want to play those movie only wich is playing priviously.
means, suppose there is two movie 'a' and 'b' , here 'a' is st... more >>
How that can be done ?
Posted by Stan Sainte-Rose at 6/14/2006 12:00:00 AM
Hi guys..
Here's a little animation http://www.netsunset.com/flash/v2.fla
I m trying to understand how the brown color is set..
If someone could guide me.
Thanks
Stan
... more >>
Actionscript books for beginners?
Posted by gwu630 at 6/14/2006 12:00:00 AM
Can anyone recommand some actionscript books for beginners to learn? ... more >>
mouse rollover
Posted by jezbennett75 at 6/14/2006 12:00:00 AM
I have an image that i want to be able to allow a user to rollover and the
image to move across the page slowly but can't work out how to do it without it
jumping from 1 position to the next. any ideas?
... more >>
|