all groups > flash actionscript > april 2006 > threads for tuesday april 11
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
set() function not woking with evaled params
Posted by Verstile at 4/11/2006 11:36:08 PM
I have a similar problem now with the set () function.
set("_level.Oslo.isLocal", false); WORKS FINE
i have a function that receives a param I eval it and then
set("_root.isLocal", false); does not work.. I have tried _level0.isLocal ....
but still not...
... more >>
how to erase dynamic mask?
Posted by dullaelmeri at 4/11/2006 11:20:50 PM
I've been using beginFill to add pixels to a mask, but what I don't know is how to remove some pixels from mask. Is it even possible?... more >>
DataGrid Help - Formatting/Unformatting currency on focused cells
Posted by gregg_vt at 4/11/2006 10:21:00 PM
Hello. I'm a newbie to this forum, so if there are standard patterns or posts
that I should read, please point me in that direction. This seems like it
should be a straight forward issue and solution, but I'm not sure I am looking
in the correct location for an answer.
Here is the situ... more >>
paths and variables
Posted by Verstile at 4/11/2006 10:08:51 PM
function removeClip(insName, cName) // coming from globals and are Strings
{
//this line under works as i want giving the path manually
_level0.Oslo.theButtOslo.removeMovieClip();
//this i cant make work and where my problem is.!!!!!
var test = eval(insName); // retu... more >>
How Do I Get the RGB values of MC clip to a variable?
Posted by Ney Alencar at 4/11/2006 8:41:37 PM
Hello!
Does anyone know how to get the RGB value of movie clip to show in a variable?
Example: _root.redBox_mc;
var myColors;
Anyone?
Thanks!
Ney... more >>
How can I make a Key.isDown(keyname) make it only check a certain amount every second?
Posted by WeirdGuy at 4/11/2006 8:36:47 PM
if (Key.isDown(keyD)) {
this._x+=moveSpeed;
Lets say I wanted this to not check continually like it does but instead check
for it like 6 times a second (or some other random number) and do what I tell
it to only once when it's checked.
So instead of it constantly telling it to do t... more >>
Conversion Question
Posted by SmileyGirl23 at 4/11/2006 8:19:06 PM
I was just wondering if it were possible to convert a .jsp file to
ActionScript. I have some games for my site that were written in Java years
ago and I would rather convert them over to Flash than recreate them if
possible.
... more >>
check if a clip is flipped
Posted by jonshutt at 4/11/2006 8:12:38 PM
I have a movie clip on a person walking duplicated on the stage a few times.
Some of these clips are flipped horizantly so the person walks the other
direction. However, becuase the ones that are flipped are walking the opposite
direction, some of the code needs to work differently.
how ca... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
button problems! HELP!!
Posted by Chloroform1394 at 4/11/2006 8:12:00 PM
I have link buttons that when you rollover them, a movie graphic slides upward
then stops (via the "stop" command on the last frame of the motion tween). If
you roll off the link button the movie graphic dissappears. Pretty simple I
guess. And it works fine. The problem begins when i select th... more >>
load random mc at random times
Posted by jessedudan at 4/11/2006 7:15:44 PM
Hello-
I am attempting to load random movie clips at random times. I have 10
animated bubbles, set on paths, that flow from the bottom up and then
dissapear. I would like each separate bubble animation to be called up at
random times, to give the effect of random bubbles surfacing from t... more >>
Fluid Movement?
Posted by WeirdGuy at 4/11/2006 6:55:35 PM
I've been working on movement for a while. There are tons of tutorials on this
but most of them either suck or are a bit too advanced lol.
I'm talking more then 8 way movment... well not really. I mean if I'm
pressing right, then I press up, it'll go on a curved path upwards instead of
... more >>
combobox link
Posted by avantd.biz at 4/11/2006 6:54:17 PM
hello all... what i'm trying to do is create a combobox that when a option is selected will open a new webpage... how can i get this to work? i'm using flash 8... thanks for the help in advance!... more >>
ClickTag and interactivity below
Posted by joemama7570 at 4/11/2006 6:52:53 PM
I have an ad banner that the client says the clickTag layer must be the top
most layer. The problem is I have movies below that layer that animate on
rollOver:
on (rollOver) {
this.gotoAndPlay("bounce");
}
These do not work unless they are above the clickTag layer. Is their a way I ... more >>
the text size changes on different computers...
Posted by bso_71 at 4/11/2006 6:50:28 PM
I'm having trouble with a dynamic text that I fill up with different texts
depending on what the user selects. But on different computers the font size
changes. How can I avoid this?
Thanks a lot!
Brenda S.
... more >>
right click trouble
Posted by lord_of_uo at 4/11/2006 6:20:50 PM
i notice that if you goto newgrounds and look at some animations,
you right click and it has forward, rewind, play, loop: all that crud.
and some others dont have it. ( just have about macromedia flash 8 and
settings)
i dont want people going into the next frame of my animation by p... more >>
Passing a text field between MC's
Posted by kimberly5353 at 4/11/2006 6:02:44 PM
:frown; I have a set of mc's planted on a parent mc. When the child mc's are
clicked, they become a small popup where the user enters some data. When user
hits enter key, the mc disappears and the entered data should be passed to the
parent mc and placed where the child mc loc was. (its a c... more >>
Looping Single Frame Movie
Posted by speedeee at 4/11/2006 5:32:27 PM
How can I get this thing to loop?
This Flash generates clips based on user input on the ASP side. There are
anywhere from 2-10 slides and I want the whole thing to loop instead of
stopping at the end. There are 3 layers and only one frame in the fla file. One
layer gathers all the ASP gene... more >>
tabIndex bug with components
Posted by Nixy at 4/11/2006 5:27:40 PM
Weird, I know, but I need a workaroud.
In my project, I use 3 different components (Combobox, Checkbox, RadioButton).
I have a form that used these 3 components and I also use some textefield, not
textfield component, just a simple textfield with the input property. The
problem is when I ... more >>
Please change some code..(Pan Knob)
Posted by aeroboy32000 at 4/11/2006 5:20:56 PM
I use flash 8 and i want to change the pan knob code in the external library
to control volume by knob.
Help me please..
code:
increment = 4;
level = 0;
//
panKnob.onPress = function() {
if (Key.isDown(Key.getCode(18))) {
autoPan = true;
} else {
autoPan = false;
... more >>
Can't edit an actionscript assigned to a button
Posted by sankerbrand at 4/11/2006 5:17:23 PM
Hi,
I have a button with a getURLaction assigned to it. I needed to change the URL
of that button but can't. When I go to the symbol in the library, open it, then
open the actions menu, I get a message that says "the current selection can not
have actions assigned to it."
I had the same... more >>
How to get the first number from a string?
Posted by webvalue at 4/11/2006 4:59:54 PM
Hi,
If I have text (MC names) like this Hero1, Hero2, Hero3. How do I code to get
the number from the names? In other words, what functions can be used to get
the first number of the text?
Thanks.
... more >>
Duplicating Images (Instances of?)
Posted by koubou at 4/11/2006 4:52:34 PM
In Flash 7 or later, has a solution been created yet to allow me to grab an
external jpg (I will be doing this dynamically using XML), and then create
multiiple instances of it in the Flash movie? My goal is to be able to map a
small jpg many many times onto a pseudo 3D object that was create... more >>
Animation stop in specific html file
Posted by Svizec at 4/11/2006 4:29:04 PM
I have animation in head of htm file. But i dont want it to play in every htm
file. Lets say in contact.htm i want animation to gotoandstop(85). Can htm tell
swf to go on frame 85 on end of animation?
Sorry for my bad english.
... more >>
Email help urgent!!!!!!
Posted by Faded_E87 at 4/11/2006 4:27:24 PM
I have looked for a way to get the user to input information into input text
fields and have it come up into the users email program. Is this possible? I've
tried:
on (release){
getURL ("mailto:who@where.com"+ "?subject=" + regarding.text+ "&body=" +
fullName.text + telephone.text + email.... more >>
tweening problems
Posted by jumanji :-)) at 4/11/2006 4:23:06 PM
Another one for the gurus...
I have used tweening on an mc to move it off screen. Works fine and so did
the return, except the motion was more than I wanted ... and I sometimes get
varying problems.
Some times phantom mcs appear, but their appearance is not logical or coded.
I think ... more >>
Set TextField.selecable = false For all dynamically created textField
Posted by babo_ya at 4/11/2006 3:49:49 PM
I have created more than 100 textfields throughout my project. And it'll be
very time comsuming to go through all my AS files and located all the
textfields and set this property (selectable = false).
Any idea on how I could do this faster or easier?
... more >>
Stumped - help: loadMovie();
Posted by peytronicis at 4/11/2006 3:39:23 PM
Hello,
Question: Can you load an external .swf file into multiple timelines within the original timeline (it would be the same .swf file on each different timline)?... more >>
popup blocker on window? (not internet!!)
Posted by S_F_H at 4/11/2006 2:30:51 PM
I have a script in a flash button that when clicked, opens up a new window..
the thing is that when i'm testing it from flash in windows, the popup opens
then suddenly disappears as well.. when i uploaded the files on my ftp then
tried the script on internet, it worked just fine... i tried to ... more >>
Targeting a text field within a MC
Posted by MikeMedia2 at 4/11/2006 2:23:53 PM
FlashMX 2004 | ActionScript 2.0
I simply am not sure of how to send a var from the main time line to each of
the specific fields.
MC target paths have always baffeled me. I promise this time, I'm carving the
answer on the side of my CPU case.
Using trace(), all the versions of syntax ... more >>
Problem with ferris wheel effect?
Posted by beyondthebrand at 4/11/2006 1:56:39 PM
I have created a ferris wheel effect and now it won't view the extra 15 panes
that i have added to the code, so:
pane15 - pane29
This is baffling the hell out of me and they are in my library but just won't
show?
Can anyone help,
Also the Get Urls do not work so i have no clue wh... more >>
XML ListBox skin problem
Posted by gurthWERM at 4/11/2006 1:55:51 PM
When I apply my UIScrollBar skins to a scrollbar component associated with a
dynamic text field, all the skins show up properly. When I apply the skins to
the listbox component that's pulling in data from an XMLconnector component, I
get nada - no data, no skins. When I remove the skinning cod... more >>
PAssword
Posted by lord_of_uo at 4/11/2006 1:39:40 PM
can someone gimme code for making a text field that has stars instead of
letters that appear and how to make submit button that goes to the next frame
if the thing entered was correct.
ex:(make a code for this)
text field: when "hello" is entered and the submit button is pressed got... more >>
Problems Calling a popup window with JavaScript
Posted by edvvin at 4/11/2006 1:30:54 PM
Flash 8 Pro / AS 2.0
I made a picture gallery driven by a XML file but when I a user click the
thumbnail its suppose to open a popup window in the center of the screen. I
make a Javascript fuction in head part of the HTML:
<script language="JavaScript" type="text/javascript">
<!-- Begi... more >>
Help Needed - ActionScript
Posted by Beddie83 at 4/11/2006 12:54:28 PM
Hi People,
I recently downloaded a template for a flash based survey from flashkit.com.
Its perfect for what I need but will only work in flash 5. I need to update it
so it will work with Flash 8 as soon as possible.
When I import in into my flash 8 project I get the following error mess... more >>
Addressing an text field instance within a MC
Posted by MikeMedia2 at 4/11/2006 12:46:48 PM
FlashMX 2004 | ActionScript 2.0
Each time I run a trace() my output reads, undefined.
Exactly what is undefined?
gradName = RankID+ " " +lName+", "+fName;
_root.form.passName = gradName;
tia
... more >>
Need Helps
Posted by astergil13 at 4/11/2006 12:24:06 PM
I have a movie clip which is an walking animal+sound.
I want it to stop both movement and sound. but it soesn't.
I use;
stop();
piggy.stop()
The outcome said that;
**Error** Scene=Scene 2, layer=Layer 1, frame=120:Line 1: Statement must
appear within on/onClipEvent handler
... more >>
onKeyPress b
Posted by JimmySlam at 4/11/2006 11:08:33 AM
how do i detect the KEY "b"????
I know how to detect special characters:
if (Key.isDown (Key.PGUP))
{
}
if (Key.isDown (Key.PGDN))
{
}
if (Key.isDown = Key["b"])
....
Key.B
Key.b
.....
But wuth the key "b" i have tried lots of things and i dont reach the
solution . prob... more >>
Linkage Properties
Posted by nickcrispini at 4/11/2006 10:37:41 AM
Hi,
I'm developing a game where I'm dynamically generating movieClip instances
using linkage properties. Is it possible to export the movieClip linkage
anywhere other then the first frame and if so how? Also I'm using AS2 and I
have noticed in the linkage properties window there is an "AS ... more >>
Actionscript variable referencing
Posted by thanx4allthefish at 4/11/2006 10:19:44 AM
Sorry if this is a dumb question, but in Actionscript how would I do the
following....
As an example. If I have 5 text input boxes called ti_1 to ti_5, and I want to
check the values in each from a for loop. How would I do it ?
for (var i=1;i<6;i++){
trace("ti_" + string(i)); // ... more >>
Need help with media player
Posted by dlindner999 at 4/11/2006 10:01:41 AM
I'm trying to create a simple media player in Flash 8 and I can't figure out
how to make a 'next' button. I'm providing my own sound clips for the player.
I'm just trying to figure out how to make it so when I hit the 'forward'
button, it advances to the next song (5 songs total). I'm *fairly*... more >>
pausing a game
Posted by Eyphoon at 4/11/2006 9:13:43 AM
Hi,
I am making a game that uses a time limit of 60 seconds for the user to score
into a basketball hoop. I managed to get till there however I would like to let
the user pause the game. I have made a movie clip named 'Pause' that basically
gives a message that the game is paused and that ... more >>
A component like IFrame
Posted by Marghoob Sulemaan at 4/11/2006 8:57:11 AM
Hi Guys,
is there any way to make a component like HTML iFRAME. I want to put in there movieclips, images, text etc. with any control and click.
please post a link or help me out.... more >>
How do I do this...
Posted by daveygravey at 4/11/2006 8:50:06 AM
Hi guys...
This is my first post here sooo hi! - basically I'm a novice flash user...
BUT! I want to get better, I've got a brief understanding of AS and can usually
figure out what's going on with a specific script when it's in front of me...
it's just getting started that sorta hinders m... more >>
loadVariables question
Posted by sneskid at 4/11/2006 4:55:55 AM
Hey, when you use loadVariables(Num) method you can hook up with a php/asp/etc.
script.
Is there anyway to reduce overhead and control the header information?
Maybe not specify browser type, or cookies, basically just send pure string
data.
Maybe using something other than an "http" addres... more >>
How do I make a pop-up window in flash, so that it emails people?
Posted by RobertB52 at 4/11/2006 4:50:19 AM
<a href="mailto:FreeQuote@SouthwestLimo.com%20">FreeQuote@SouthwestLimo.com </a>
That's how it would look in dreamweaver, and I want it to just show up as text
in flash... Like this
FreeQuote@SouthwestLimo.com
Like that, how can I get that to work?
... more >>
Help me make my Character movement go up gradually.
Posted by WeirdGuy at 4/11/2006 4:33:58 AM
I set my moveSpeed to 5.
Right now it's set up like if I press any of the direction keys (W,A,S,D)
it'll go in that direction with the strength of 5. I want to try to make the
movement flow a bit more. So if I'm going right at full speed and press the
left button I'll slow down THEN start... more >>
Can anyone see whats worng with this basic actionscript i dont know whats worng with it
Posted by rbr1234 at 4/11/2006 3:49:39 AM
This is the action script. pretty basic huh. well can you rewrite and figure
out whats wrong?
onEnterFrame = function () {
if (mc1. hitTest (mc2)) {
gotoAndPlay ("4", "frame");
}
};
Thank-you for you time
Sincerly,
Rbr1234
... more >>
Jump to next page
Posted by WoBuHui at 4/11/2006 3:29:25 AM
I use flash to build my main web page. I have 3 image buttons.
I am first time user playing in action script.
What I want to do now is, when i click on button1, it will go to my main.htm
How should my sciprt be?
... more >>
EZ question!! plz!
Posted by S_F_H at 4/11/2006 3:12:11 AM
on (release)
{
getURL("javascript:void(window.open('matous.html','_blank','status=yes,scrollbar
s=yes,width=800,height=450,resizable=no))");
}
when doing this one, a windown promptly pops up and sunddenly disappear as
quickly! basically I want a new window to open with restricte... more >>
Re: loadMovie dynamic text
Posted by jondro at 4/11/2006 2:53:27 AM
Both the about.swf and the xml_pg_final.swf files include dynamic text that
load from a text file. Here is the script from the about.swf that loads the
text box from the text file "about.txt".
loadVariablesNum("about.txt", 0);
loadVariablesNum("about.txt", 0);
... more >>
Need help adding links to flash menu
Posted by KinkySlinky at 4/11/2006 2:23:59 AM
I am trying to customize a monster template and I can't get the links to work
in the menu.
There are two files I need to change:
www.2megalomaniacs.com/images/flash/header.fla
www.2megalomaniacs.com/images/flash/menu.fla
I'm a complete n00b when it comes to flash, I can do a few ... more >>
array of objects into dataset and then to datagrid
Posted by sneakyimp at 4/11/2006 2:23:48 AM
I have discovered amfphp (http://amfphp.org). It's a really cool way to move
complex data objects from php to flash and back.
So I am successfully creating an array of items from my database...an item
that would otherwise be created like this:
items = array();
item = new Object();
ite... more >>
refreshing cache with swf
Posted by jumanji :-)) at 4/11/2006 1:54:13 AM
I have been having trouble with refreshed versions of my swf pages in html.
I have updated the swf on an html page, but have had viewers tell me they
don't see anything new. After clearing the cache on their machines all is fine.
How do I code either the swf or html to remove or refresh t... more >>
It's easy, right?
Posted by C5 Creative Communication at 4/11/2006 12:17:38 AM
:confused;OK, I know this is easy but I'm chasing my tail. I have two sets of
buttons - icons and corresponding text nav bar of same categories. I have movie
clips that play on the rollover state of the icon buttons. When these clip
START to play, I want the rollover state on the OTHER text na... more >>
|