all groups > flash actionscript > march 2007 > threads for thursday march 29
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
syntax question (for Tween class pros maybe?)
Posted by stephan.k at 3/29/2007 11:12:04 PM
I've posted it earlier but no one replied. Maybe my post was a little
confusing. I'll try again.
Here is the code ( > comboFunc is the problem child):
var tweenType = [_root.tweenOptionsComboBox.selectedItem.data];
var easeType = [_root.easeOptionsComboBox.selectedItem.data];
var co... more >>
Loading random images in intervals
Posted by jfalberg at 3/29/2007 8:34:54 PM
I am very new to doing ActionScripts and I want to create an applet which reads
from an XML and builds an array of the URL for images, then loads the images in
a repeat with about 5 second intervals without the use of any buttons. Here's
what I have in my actionscript coding, but what does no... more >>
Verify Text Field
Posted by TheScarecrow at 3/29/2007 8:17:03 PM
I have a text field that I wanna know if it has already had text entered into it. Can you do this with something like ??
if (_root.MC.letter.text == "") {
trace("Empty");
}... more >>
tweening syntax question
Posted by stephan.k at 3/29/2007 7:57:13 PM
Dear List
I have a basic syntax question that I realized I'm not quite familiar with in
flash8. It came up when I've tried to create a combobox to allow the user to
chose different types of Tweening and easing from the Tween class.
I created two comboboxes, one with all the Tween value... more >>
Fade Dynamic text from XML
Posted by gryllsie at 3/29/2007 7:55:57 PM
I have a dynamic text field that sits over an imported .flv Whilst the .flv is
playing, I want text (that is imported into the text field from XML) to fade.
The text gets into the text field with no problems, and I can give it a
unchanging alpha level, but I cannot fade from 0 to 100 - it ju... more >>
tracing out listeners
Posted by drudd411 at 3/29/2007 6:55:29 PM
Hello all,
i am wondering if there is a way to trace out registered listeners and also
all broadcasts. I have a few classes linked together with some listeners setup
but one is not working and wondering if it is linked correctly, scoped
correctly, whether the listener is registered, and if i... more >>
getURL works in http://www.site.com but not in http://site.com
Posted by jesse_trimble at 3/29/2007 6:29:07 PM
I'm using a getURL function to pass some querystring parameters which changes
what content is displayed on the page. The function works correctly on the
address 'http://www.site.com', but for 'http://site.com' there's no action at
all aside from the cursor change. The two addresses are point... more >>
Can' get movie clip to play
Posted by bvillanyi at 3/29/2007 4:01:41 PM
I have a Flash movie that plays a movie clip called DR1 at frame 113 using this
code:
DR1.play();
There is nothing else going on in the movie for the length of the clip, but
when I play the movie, the clip does not play - I just have a blank screen for
those frames.
Also, if I try... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
clearInterval - I'm just not getting it...
Posted by BSpero at 3/29/2007 4:00:07 PM
Hey all,
I just can't seem to get the clearInterval to work. I start it at the
beginning of my movie, and try to disable it while someone is clicking on a
slider. I just can't seem to get it at all. I have even just assigned the
actions to two buttons to start and stop it, and once it star... more >>
onRollOut problem
Posted by sbryner at 3/29/2007 3:38:27 PM
Hey all,
I've made a button_mc with an "_off" , "_over" and "_out" state (works fine)
I've also made the onRelease state gotoAndPlay("_out") state as well so when
clicked
it doesn't just jump back to the off state looking jerky but a little more
smooth.
Problem is when I rollOut of ... more >>
FLVPlayback - detecting end of video
Posted by Mark C. Smith at 3/29/2007 3:13:26 PM
I am using the FLVPlayback component in Flash Professional 8 and having
problems detecting when a progressively downloaded video finishes playing (I do
not have this problem with streamed videos). I add a "complete" event listener
like so:
var listenerObj:Object = new Object();
...
li... more >>
Mouse in window
Posted by domconlon at 3/29/2007 3:06:42 PM
I'd like a failsafe way of detecting whether the mouse has left the flash movie
window when it is embedded into a html page. I can do it by using a movieClip
that almost fills the area and seeing if it moves outside but this is pretty
clumsy (imo) and unreliable.
anyone help?
... more >>
Easy Question (Probably)
Posted by Dan_morley at 3/29/2007 2:44:36 PM
Does anyone know why the text is not visible within a movie clip
loadVariablesNum("text2.txt", Text_mc);
it works on the timeline like this
loadVariablesNum("text2.txt", 0);... more >>
external swf and the tween class
Posted by tsmorrow at 3/29/2007 1:59:08 PM
i have an external swf which i import into my main swf using the loadMovie
command. my external swf has some tween class animations in it. if i run the
main movie, the external swf movie runs fine of course...but the tween classes
are not loaded. am i missing somthing?
here is the code fro... more >>
combobox closes
Posted by thomas_ki at 3/29/2007 1:33:02 PM
I load a swf-file into level 5, this swf contains a scrollpane, a combobox and
a button.
whenever I open the combobox and try to scroll the list using the srcollbar,
the dropdown closes.
I tried to catch and show the events with the following result: when I click
the scrollbar the foll... more >>
Works in Flash 6 player but not 8
Posted by Leo at 3/29/2007 1:23:28 PM
I am working with a sample .fla file that produces the snow fall affect. The
issue is that it only works if my publish settings are set to Flash Player 6
rather than 8. I need it get working with my published settings set to 8.
Here is a link to the file and the actionscipt.
http://www.deco... more >>
Creating Movement in Nested Function
Posted by Julie at 3/29/2007 5:53:58 AM
function first()
some code here
for i = 1 to 10
If i = x then
... more >>
Rolling number display
Posted by abcMe at 3/29/2007 3:34:44 AM
I am looking for the code or how to add a rolling number display. I just want
to have it keep rolling numbers every second up by 1. What this is showing is
how many surveys have been done to date. I would like for it to look like a
counter but it just counts auto. So the web page would say: 2... more >>
Need help! Dynamically generated buttons' scripting
Posted by reinhat at 3/29/2007 1:25:30 AM
I have a script that uses an external XML file to generate and define numbered
buttons from a library template based on the number of gallery items also
defined in the XML.
"galleryItemCount" defines the number of gallery items and also the number of
related buttons.
Frame 1 of the gen... more >>
Input text and variable problem
Posted by bknysh at 3/29/2007 1:11:52 AM
I've created an input text field and assigned it to a variable. When I try to
perform actions on the variable, such as comparing it to the expected inputted
text, I get unexpected results. Rather than simply having the inputted text
assigned to the variable, I get complete formatting informati... more >>
AS 3 Convert button event to key enter event
Posted by funonmars at 3/29/2007 12:56:38 AM
I'm learning how to use regular expressions in ActionScript 3, and can get an
input to be tested by regular expressions, and an answer delivered, if a button
is clicked after text is entered.
But darn if I can figure how to code it so they just click the enter key after
typing what they ... more >>
Using loadVariables with nested SWF movies
Posted by Uttergenius at 3/29/2007 12:34:46 AM
I have a .swf with a dynamic text box that loads an external text file. Using
both loadVars and loadVariables I can see the that text is loaded when i play
just that file but when i nest the .swf into a movie clip in a container movie
the text doesn't appear. I've used many different path and ... more >>
hitTest issue
Posted by gDub86 at 3/29/2007 12:34:44 AM
g'day all,
i'm scripting a really basic maze... i'm using a shapeflag hitTest on
key.isDown script inside an onEnterFrame function. for some reason the two
MC's overlap.
anyone know what's going on?
... more >>
creating for loop for a boolean
Posted by pandx at 3/29/2007 12:00:00 AM
Hi,
I'm still a beginner to AS so pardon me if this may sound simple...
I've created 16 booleans with all set to false.
Now with a for loop, I'm trying to create 16 buttons, and when each button is
pressed, the respective boolean relative to that button will change to true.
Looks som... more >>
Help!!!!!!!!!!
Posted by James Miao at 3/29/2007 12:00:00 AM
Someone can help me?
I want one of the MC save as a *.txt file.
At first need putout the *.fla to *.exe.
My English not good~~~!
Has someone can type Chinese?... more >>
MP3 Player Play/Pause toggle button not working
Posted by greeninkjan at 3/29/2007 12:00:00 AM
Hey, can anyone give me actionscript help...
I have an mp3 player on this site but my Play/Pause toggle button isn't
working like it's supposed too..
This is the site address:
http://http://www.clairmonthumphrey.com/Site/
:cool;
// ActionScript Document
//setup Sound Object
... more >>
Prototype, Swap Depths, onRelease Problem?
Posted by veverica at 3/29/2007 12:00:00 AM
Simple problem? Most likely. Can't get this clip to accept onRelease/getUrl
function to act as a button.
main timeline AS:
Movieclip.prototype.elasticScale = function(target, accel, convert) {
xScale = xScale*accel+(target-this._xscale)*convert;
yScale = yScale*accel+(targe... more >>
|