all groups > flash actionscript > july 2004 > threads for friday july 9
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
string conversion script
Posted by cemlouis at 7/9/2004 10:16:08 PM
Hi,
I want to make a function to search a string and replace the letters with the
approriate ones like:
I have string = "abc"
and my key for the script must be:
"a" = "ae"
"b" = "ba"
"c" = "cg"
so the wanted function makes the script like:
string2 = "aebacg"
So how can I cr... more >>
Invoke function in another movieclip
Posted by jshearer at 7/9/2004 9:20:54 PM
I'm trying to invoke a function in another movieclip. I have two instances
that act as buttons ( A & B) of a single library item. Each instance has a
frame with actionscript that contains a function. I'm trying to invoke a
function in A and make it do something when B is clicked.
Here'... more >>
Should I use flash fro this job?
Posted by 3-Putt at 7/9/2004 9:12:13 PM
Anybody,
I've got a CD job that is to ask three to five questions to the user with
multiple choice answers except for one that asks, "What is the size of your
floor space?" From those questions, either Flash or Director or both (I'm not
sure), will take the input and create a grid at thei... more >>
Extending Tree Class
Posted by Cat1977 at 7/9/2004 8:50:13 PM
I'm trying to extend the Tree class. What I have generally seems to work, but
when I do a typeof(this) inside my class, it says it's a movieclip not a tree.
In that class I'm also definding a data provider and doing a
this.dataProvider=myDP; and this call doesn't seem to work even though the ... more >>
Transparent List backgroundColor
Posted by thronic79 at 7/9/2004 8:24:26 PM
I've tried Everything! HELP! I want to set the background color of my list
component to transparent. I've triend the following to no avail:
myList.setStyle("backgroundColor", undefined);
myList.setStyle("backgroundColor", null);
myList.setStyle("backgroundColor", "none");
and almost ev... more >>
Advanced Action script
Posted by andrewa at 7/9/2004 8:10:31 PM
I took over a project at work that involves some advanced action script (for me
at least). I'm having a tough time with some dynamic image resizing popup
window functions. I am on a very tight budget, but if somebody can assist me I
would greatly appreciate it.
I'm working with about 500-6... more >>
NEED MAJOR HELP!!!!
Posted by KST1980 at 7/9/2004 8:07:28 PM
i am creating a website for a project of mine but i am having major
difficulties as i have no idea what to do.
I need to input data on a flash interface which would input that data into a
database. also i would need to extract information from a database onto a flash
interface. this would... more >>
sendAndLoad() help
Posted by deepfloyd at 7/9/2004 7:25:07 PM
Hi, I am hoping someone out there can see where this might be going astray? I
have a sendAndLoad function that works with my php script only when I have the
id hardcoded in the php script. I am trying to send a variable to the script
and have the script perform a database querry from the var... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Chat application
Posted by HalaiLama at 7/9/2004 7:13:11 PM
Greetings to all flash savvies out there!
I have been trying to build a chat application that will be able to actually
have the avatar of the client move and do stuff in real-time sense as well as
simply chating.
The Flash MX interface is powered by MySQL and a PhP socket.
However, I have ... more >>
Chat application
Posted by HalaiLama at 7/9/2004 7:12:24 PM
Greetings to all flash savvies out there!
I have been trying to build a chat application that will be able to actually
have the avatar of the client move and do stuff in real-time sense as well as
simply chating.
The Flash MX interface is powered by MySQL and a PhP socket.
However, I have ... more >>
Input text box that will also play sound
Posted by joedisney at 7/9/2004 6:39:21 PM
Hi,
Could someone tell me how I can have an input text box set up in Flash MX
so when someone clicks in the box it will then play a sound? I have tried
putting an invisible button over the text box that links to a parked movie
which contains the sound but the button covers the text area ... more >>
How to play a sequence in reverse?
Posted by ChadC940 at 7/9/2004 6:06:11 PM
I use flash a decent amount but I don't really get much into action scripting
in most cases. I have a sequence of about 80 frames that I would like to first
play forward and then play back(in reverse). I have everything figured out
except how to play it in reverse. I tried writing an action... more >>
XML sort
Posted by abeall at 7/9/2004 5:51:34 PM
Here's what I want to do:
create an XML file with a good number of objects(tags with attributes). Then I
want to load the XML file into Flash. I then want to be able to create a
dynamic list of each object, and let the user sort by any(or most, or some,
regardless) of the attributes. My ques... more >>
Capture Sound from the Line-in (Not Mic)
Posted by borbolla at 7/9/2004 5:37:23 PM
Hi,
I know there's a flash comm forum area, but nobody answers this question
correctly. I would like to know how I can capture sound from the sound card
line-in, (not mic), using flash mx pro and flash comm server.
Any help would be appreciated.
... more >>
Rollovers in TextArea
Posted by rbudisa at 7/9/2004 4:41:52 PM
Any direction / advice would be greatly appreciated. I would like to add
rollover effects to certain keywords inside a dynamically loaded TextArea
object. Would embedding an invisible button / clip be the simplest way to
achieve this?
Kind regards,
Ron
... more >>
how to wrap a class file into swf file?
Posted by flash beginner at 7/9/2004 4:38:17 PM
Here is a class in file Calc.as:
class Calc {
function Calc();
function sum(a, b) { return a + b;}
}
I want to create a Calc.swf movie file so that I can access Calc class
via Calc.swf instead of Calc.as, and access the class like:
CalcMovieLoaded.sum(2,3).
Is it possible to b... more >>
Bookmarking in a persentation
Posted by bsova at 7/9/2004 4:14:48 PM
Is there a way to bookmark a place in a presentation, created in Flash, that if
the user leaves for any reason, it will resume where they left off? Currently
we are using cookies to bookmark, but if the browser window is closed, the
information where to resume is lost. Is a db the only way to ... more >>
Calling An Instance name from XML
Posted by AttackingPencil at 7/9/2004 4:10:50 PM
I'm trying to call an instance name from an XML file and Flash won't let me
here's the code:
key=build_xml.firstChild.childNodes.attributes.key
findBuilding(key)
function findBuilding (item) {
item.gotoAndPlay (2)
}
It's really simple code and as far as I can tell the data in th... more >>
Selection Inside a dynamic TextBox
Posted by Slanky_ at 7/9/2004 2:19:11 PM
(Text Box, textbox, text field, textfield, dynamic)
OK, here is the thing.
Is there anyway for me to retrieve the begin index, the end index and the
length of a selection inside a dynamic text box at run time?
I need to change the text format of only that selection and I know I can do... more >>
Right Align Dynamic Text
Posted by jshearer at 7/9/2004 1:41:53 PM
How do I right align dynamic text? The text bos is set to be right aligned but when the data is populated the text shows up left aligned.... more >>
flash mx 2004 bug??
Posted by sumier at 7/9/2004 1:38:53 PM
Ok i'm having a really weird problem. I have a movie on the mainstage that is
controlled by a button. It is a 10 frame movie, on frame 1, there is nothing,
and on frame 10 is an animation. When i clik the button it makes the movie jump
to frame 10, so the animation is triggered when the button... more >>
Check For Date Range
Posted by AwesomeDigital at 7/9/2004 1:05:49 PM
I need to check if a select date is within 30 days of the current date.
I can see how to get the current date with the date class, but I do not see
any other date functions to subtract or add 30 days.
Also any suggestion of how to check if a select date (currently a string)
falls in betw... more >>
Push One Array Into Another
Posted by AwesomeDigital at 7/9/2004 12:29:59 PM
I have a multi dimensional array that I am looping through, and would like to
place select records from that array into another. I am trying push as shown
below, but that does not seem to work.
Any suggestions on how to get it done?
if ((arrXMLFile[intIndex].grade == strGrade) and (arrXMLF... more >>
movie clip size question
Posted by mahame at 7/9/2004 12:19:33 PM
I have 5 movie clips on my web page.
Say three are on stage & any one of the remaining 2 can be loaded at one time.
If i load them through "loadMovie" & there are common v2 components in both of
the movie clips then how can I ensure that the size of common v2 components in
the 2 movie ... more >>
censoring words in dynamic textfield
Posted by cyrix001 at 7/9/2004 10:27:29 AM
Hello,
Here is my problem: in my movie, i have an input text field where the user can
enter any kind of data. Once that's done, I would like to have a button which
replaces 'bad' words like f*ck, sh*t, whatever with other words (eg. words with
stars) or simply clears the words out. I've been... more >>
want help
Posted by amaronline at 7/9/2004 6:56:27 AM
can anybody help me how to make one chat application in macromedia flash mx
... more >>
movieclip query
Posted by AshwiniD at 7/9/2004 6:14:09 AM
Hello All.
I want to make a movie (game) in which I want a new object to appear once the
old object is put in required place. As soon as the old object/movieclip is
placed in right place on the stage, a new object/mc will appear and then I
should be able to move it on Key.Up etc all key even... more >>
problem with timeline (layer) control.
Posted by rgsniper1 at 7/9/2004 5:59:11 AM
What I'm trying to do is get a movie clip to not reload on a higher layer if
the main timeline trips it into starting again.
Let me explain.
I have a main swf that say on frame 1 says:
{
loadMovieNum("whatever.swf", 2);
stop();
}
So with that I'm loading a higher level swf that... more >>
Trying to get a movie to load over a movie clip
Posted by MadMikeXP at 7/9/2004 4:44:14 AM
Hey I'm having a little bit of trouble with my action script I am trying to get
a flash movie to load over a movie clip I asked a friend of mine to help me out
and he wrote up a code for me to use to actually get the code to work properly
look here:{you need to have an empty movieclip right in... more >>
MovieClips Disappear
Posted by Sharkmenace at 7/9/2004 4:37:25 AM
I have a graphic object.
graphic object contains movieClips
I duplicate graphic object three times
When I load graphic object #4 (then it happened with #3) all the clips
disappear.
Has this happened to anyone? Any solutions? I've tried to shutdown, reboot,
restart, delete and re-dupli... more >>
onPress released by keypress
Posted by what-the? at 7/9/2004 4:36:50 AM
I'm having a problem with onPress releasing before it's supposed to.
I use onPress when I click on a movieclip and then I pull the mouse off it and
use onReleaseOutside to grab the mouse position at release in relation to the
original click. Problem is that when I push any other button on t... more >>
Actionscript Code Disappears
Posted by Sharkmenace at 7/9/2004 4:32:17 AM
After having my code mysteriously disappear several times I got into the habbit
of making sure I saved it before closing. However, I still experience missing
code when I reload my .fla. Has this happened to anyone else? Is this a "duh!"
situation or is this a Flash bug.
please see my next po... more >>
Actionscript Code Disappears
Posted by Sharkmenace at 7/9/2004 4:32:05 AM
After having my code mysteriously disappear several times I got into the habbit
of making sure I saved it before closing. However, I still experience missing
code when I reload my .fla. Has this happened to anyone else? Is this a "duh!"
situation or is this a Flash bug.
please see my next po... more >>
Noob Question - Changing Contents of a Textbox via Button Click
Posted by mk at 7/9/2004 3:31:05 AM
I know next to nothing about Flash, but have a small project that I'd like
to and Flash seems like an easy way to accomplish it and have everything
look nice.
What I'd like to do is have a button and a textbox. When the button is
clicked the textbox will then equal it's current contents plus s... more >>
Rollover glitch, delayed attachmovie problem
Posted by WickedSense at 7/9/2004 2:24:13 AM
Hi,
I am working of a portfolio piece to put on a website. I have buttons that
play a movie when rolled over...
It seems to take two passes to get the desired result
and it happens everytime the playhead re-enters the frame.
This is my buttons action,
on (rollOver) {
footrollover.on... more >>
|