all groups > flash actionscript > december 2005 > threads for tuesday december 20
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
Flash ignoring variable assignment
Posted by William_R at 12/20/2005 11:28:30 PM
I am attempting to make a game in Flash, as, I am sure, many other people have.
As part of my implementation, I am using a generic movieclip, called
"Hitbox_mc", to act as the functional target area for all objects. "Hitbox_mc"
is a black square 25 pixels wide and 25 pixels tall. I attach a co... more >>
What is going on with Internet Explorer!
Posted by HenrieMediaInc at 12/20/2005 10:25:50 PM
I developed a pretty nice website for one of my clients :
https://www.chirocurrent.com/indexSSL.php
This site works fine in FireFox, returning data from a database with no
problem. When I try to view the page with Internet Explorer everything comes
back as "undefined". Any idea why?? Thank... more >>
onPress and lineTo
Posted by Popeye the Sailorman at 12/20/2005 9:31:15 PM
I have a movieclip that catches onPress events. In the onPress function I like
to draw lines and curves. The lines and curves are drawn underneath the
contents of the movieclip. I need the contents to catch the mouse click. the
only way it works is to make the contents partly transparent, so t... more >>
flash connection
Posted by Minhoco at 12/20/2005 9:17:37 PM
well...l have a flash and I want to make a link to other with a button in a new window,how do l do it!!... more >>
version 6 version 7+
Posted by toofastdad at 12/20/2005 8:57:19 PM
I have a component that I have used in one of my projects, but if I save the
movie for version 7 the component's code fails. I have to save it for version
6 to get the desired result. The component was created a few years ago, but I
would like to understand why it doesn't work in version 7 a... more >>
Open web link in Flash app...
Posted by celoftis at 12/20/2005 8:48:47 PM
I am developing an interactive training application. In doing so, I want to
have a tree view of buttons/links that the user can select down the left hand
side of the app. When the user clicks on one of the topics or sub-topics (i've
got this part down), I'll need to load a web link... I want t... more >>
Moving a movieclip one frame at a time
Posted by rodolfo1216 at 12/20/2005 8:25:05 PM
I want the user to move a slider and as they move the slider to the right the
slider forces a movieclip (also on the stage) to go forward one frame at a time
through it's timeline. I've got the slider set up and I'm pretty sure I know
how to work it, but I don't know how to tell it to move th... more >>
onRelease problem in Loop
Posted by dakin01 at 12/20/2005 8:24:17 PM
What am I doing wrong. I know there has to be a way to do this...I just don't
know how.
This is a dumbed down version of what I'm trying to do, but if I can get this
to work then I can get my other code to work. I would like the traced to
display its value when it was created not after th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP PLEASE! Variable not getting set correctly
Posted by HenrieMediaInc at 12/20/2005 7:59:35 PM
I can't seem to get this code to work and pass the variable correctly. Please
help!! Here is what I have done so far.
1 - I created two input text fields. The first input field I put in the
'var:' box "sendEmail", in the second field I put in the 'var:' box
"sendPassword".
2 - On the sa... more >>
Syntax all jacked up!!!
Posted by C-Rock at 12/20/2005 6:42:25 PM
Thanks for reading my message. I have the code below that I'm trying to use to
check an input field for invalid characters. I can't get this to work. Can
anyone tell me what to change. I just want it to check for the character * for
now and if it contains it, send a message. If not the send th... more >>
Losing List events in child movies
Posted by CDXX at 12/20/2005 6:37:19 PM
I've written a FlashComm application that updates a list control at intervals.
It works absolutely fine when it is the _root, but something odd happens when
it is loaded into another movie (using MovieClipLoader). After initially
updating the list control, further updates aren't applied.
I... more >>
this causing a problem???
Posted by Brian at 12/20/2005 6:17:32 PM
I just changed the following in my code and now I just got a bunch of
other problems:
//onLoadInit for the thumbs
thumb_loader_mclListener.onLoadInit=function(target:MovieClip):Void{
// position the swf based on info from the sfw_array
target._x=swf_array[loader_number].x;
target._y=swf_... more >>
getting color from an object
Posted by DrEv1l at 12/20/2005 5:59:04 PM
how would I get the color of a Rectangle in actionscript?
I have no idea what to write. this would greatly improve my flash... more >>
Color Chooser
Posted by SalmonellaSam at 12/20/2005 5:44:13 PM
I'm trying to make a Flash application that allows the user to choose a
hexidecimal code, enter it into a text input box, and from that text input box,
the object will automatically change to that color (without the need to press a
button).
What I don't know is how to get the data from an ... more >>
Classes: mySpecialMC extends MovieClip
Posted by kaeptn-q at 12/20/2005 5:17:33 PM
Hi there and thanks for reading this.
I?m pretty new to working with classes. What I think I got quite well already
is the logoc behind it. But now I want to do something visible with it.
So I want to create a class which extends the built-in MovieClip-Class, to get
a MC that has spacial... more >>
HELP PLEASE! Input field not working!!!
Posted by HenrieMediaInc at 12/20/2005 5:09:17 PM
I have tried for two days to get this code to work with no luck! Will you
please help me!! I created two input fields, called the first one "sendEmail"
and called the second one "sendPassword". All I am trying to do is to get the
information entered into these fields sent to my PHP page. If... more >>
stoping the streaming mp3!! Do i need Communication server?
Posted by sen2design at 12/20/2005 4:53:52 PM
hey all. Can any one help me with this problem?
I am building a online mp3 store..and i have user to hear the songs before
buying, for this i have a mp3 play btn near the buy now btn. So my Question is
I want the song to play for just 30 secs. as a demo from the full length( 3 min
appx. ) ... more >>
Trouble writing code for an onRollOver event
Posted by nofx1728 at 12/20/2005 4:48:42 PM
Heres the situation. On the main timeline I have a movie clip called menu_mc .
Inside the movie clip I have a button in the first frame titled home_btn -
just a blue rectangle with some text. The frame is labeled "default", and has
a stop(); on it. On the 10th layer I have a rectangle that... more >>
At work, need help...
Posted by C-Rock at 12/20/2005 4:39:07 PM
I have an input form. I'm getting the email address and I want to check the
input text for certain chars. I have the script at home but I'm needing it at
work. I want to take the input text (the array) check each character for a
specific character. If the string doesn't contain the character t... more >>
How do you do this.....
Posted by Jansolo at 12/20/2005 4:37:26 PM
Hi there,
I know how to resize the stage if the window is resized, but how on earth do
you do this:
http://64.9.133.219/main.htm
It seems the background becomes a certain size (screen res?) then when the
window is resized, it moves centrally in the background. Also how do you keep
... more >>
xpath can't do // to find all nodes?
Posted by ogsplatter at 12/20/2005 3:58:53 PM
Xpath should allow //*[@phone] to retrieve all nodes with an attribute of
phone, no matter where they sit in the node's descendents... but it doesn't
seem to work in Actionscript (XMLSpy retrieves them from the same file using
that path).
Most of my meshid attributes sit within a particula... more >>
Easy hitTest issue
Posted by SunSeekerNC at 12/20/2005 3:48:33 PM
Hi:
I know this is probably an easy question, but I can't figure it out.
I have a movie clip (mcCapture) that is playing inside the root. I need to
setup hitTest so when the user clicks an incorrect area within that movieclip
(not in the root), a warning displays.
The mcCapture mo... more >>
How to give one event, like play(); to various MCs?
Posted by sibieta at 12/20/2005 3:27:28 PM
How can we do something like this in Actionscript?
I have three MCs, cpBtn1, cpBtn2, cpBtn3 and i want to give the play();
action to each one, but just writing one code procedure, something like
this:
for(i=1;i<=3;i++){
_root.cpBtn + i .onRollOver=function(){
play();
}
}
The ide... more >>
logical issue
Posted by bos at 12/20/2005 3:14:36 PM
HI guys
I think I'm too tired to think because I'm not getting anywhere with my
problem.
Hope somebody can help me
I developped some kind of keyboard.
if the user presses a button it automatically detects if the combination fits
one of the words in my array
onClipEvent (enterFram... more >>
using multiple keys to trigger keypress
Posted by orisma at 12/20/2005 3:03:18 PM
Hi
im making a game and want to have a built in cheat where when some keys eg the
letters "y" and "u" are pressed the score it made to equal a high number so far
i have
on (keyPress "y") {
score = "167"
}
which works fine, however i want it to the be when the y and u keys are
pr... more >>
retreiving values from loadVars
Posted by iaustin at 12/20/2005 2:38:35 PM
The LoadVars code below retreives variables from the mcomp.txt file.// This
works
The onLoad function fires after parsing the data. // This works
The for-in-loop works, i can view the data in the trace window.
However, I'm having trouble passing the data from the for-in-loop to a
dynami... more >>
Shared Objects
Posted by DoJacobson at 12/20/2005 2:31:02 PM
Hi there!
could someone help me out? I'm busy with some SO's, but somehow it just fails
to work....
I'm trying to generate SO's for each device I'm running, in the SO is an ID,
status and dimvalue stored.
Or at least, that's what I'm trying to do... but I just can't figure out,
what's ... more >>
Script for loading extern text?
Posted by warriorofdreams at 12/20/2005 2:27:22 PM
Is it possible to make a script to load text from a online .txt file? And what kind of script do I need to use??
Wouter... more >>
alpha variables
Posted by sazarelli at 12/20/2005 1:37:27 PM
hello
I have a button, and when the user rolls over the button it sets the alpha of
a movie clip. so for instance:
on (rollOver) {
setProperty("dot1", _alpha, "100");
}
on (rollOut) {
setProperty("dot1", _alpha, "0");
}
Could someone please advise me on what I need to do ... more >>
Library movies
Posted by nikrb at 12/20/2005 1:25:57 PM
Hi,
wot I want to do is identify which library object an instance comes from ...
but I don't know wot the library objects are. Or perhaps I want a list of
library object names from a particular library folder - that sounds better.
// this would do nicely
var lib_name = getLibraryObjectN... more >>
asigning vales to an array
Posted by Germán Hernández at 12/20/2005 1:19:53 PM
Hi
i've had a problem assigning values to an array and it's driving me nuts.
usually you can assing a value like this:
myArray[someVariable] = someData
i'm doing it to "convert" a XML objet to an array. It works fine the first
time, but if I try to use it again it's not assigning values. T... more >>
load movie problem
Posted by mplekrina at 12/20/2005 12:27:57 PM
helloz
i use this command to load an external movie to my project :
stop();
loadMovieNum("video.swf", 1)
once this movie "video.swf" come to the end i want it to tell my project to
move one frame next
how can i do that
... more >>
How To create a this special list / datagrid
Posted by s-sr at 12/20/2005 12:09:13 PM
Hi,
I need to create a list from a xml file.
About the xml datas I have no problem.
But for the list, I don't know how to do it.
It has to look like the datagrid component, but for each record, I have 2
parts with 2 different background colors.
(I ve uploaded an example of my needs at
... more >>
loadMovie issue
Posted by simonalison at 12/20/2005 11:48:45 AM
I'm not experienced in Actionscript but I'm working on a CD-R project that
loads JPGs into movieclips so that my client can update the content themselves.
I'm using loadMovie (on frame 1 of the movie) to get JPGs into a mc that is in
another movieclip that's funtioning as a button. But whene... more >>
createEmptyMovieClip question
Posted by Brian at 12/20/2005 8:38:34 AM
Is it possible to do this? I would like to create a new MC and then set
it's properties all in one go. I think I have done this before, but now
it does not seem to work and I can't find anything about this in the
documentation?
this.createEmptyMovieClip("mainContent", this.getNextHighestDep... more >>
Onlly Flash using database connectivity, Not using server site ASP,coldfustion....
Posted by mathi77in at 12/20/2005 8:27:46 AM
i am using Flash mX 2004. how to connect Flash to Ms-Access? Any build in
functions there in flash? i don't like use middle server side like
ASP,COLDFUSTION,....and other. Any sources available in flash?
regards,
M.Mathi
... more >>
Components
Posted by kko_k at 12/20/2005 8:23:18 AM
Hey all,
I've got a fla with 2 scenes - a login and the gallery.
In the login scene, I've got some components (TextInputs and Buttons).
Dont worry, the database-Flash integration is working fine =)
The problem is, When the user passes the login scene, they are sent to the
gallery scene... more >>
sendAndLoad help needed
Posted by HenrieMediaInc at 12/20/2005 7:31:00 AM
I am having problems getting data to my PHP page to process. I develped a
movie with two input text boxes in frame one called "_global.loginEmail" and
"_global.loginPassword". Once information is entered, you click on the
"submit" button which takes you to frame two that executes this code:
... more >>
Duplicate dynamicaly loaded image ???
Posted by FlashBuilder at 12/20/2005 5:59:44 AM
I have been searching on many forms but I did'nt find the solution.
Is there a way to duplicate dynamicaly loaded image? if yes then how?
Please tell me if somebody knows.
Thanks
... more >>
How to get id from url?
Posted by lanevo at 12/20/2005 3:59:47 AM
can flash get id from url?
eg..flash get "www.yahoo.com?id=1234"... more >>
Duplicate Movie Clip - Now I Need To Cycle It!
Posted by nivek311 at 12/20/2005 3:30:38 AM
The snowflakes are duplicating nicely and falling on the stage. Just need some
direction on how to keep it looping but in a seamless way - yes much like real
falling snow!
Thanks for any help. KGlad, I know you know the answer ....
Here is the fla: http://www.bc-design.com/dup.zip
... more >>
actionscript 1 to 2 what changes do i need to make to this!!!!!
Posted by Pete_love at 12/20/2005 3:11:36 AM
I have this code in actionscript 1 and there are no syntax errors but when it
is changed to actionscript 2 there are syntax errors that i cant seem to fix.
Could you please advise on how to convert to actionscript 2 for this script?
on (release) {
getURL(javascript:openNewWindow('Popup1.s... more >>
How do I use keyboard controls for games? (move left, right, up, down, ect.)
Posted by nintendo64x4_256 at 12/20/2005 2:39:14 AM
:confused; I have no clue how to do any movement with anything other than drag
and drop with the mouse. What I want to know is how to make a side scrolling
game where you can move, jump, and shoot. And knowing how to add AI
(Artificial Intelligence) with some objects instead of just set path... more >>
Gravity and interaction
Posted by DJ Sick Nick at 12/20/2005 2:11:40 AM
i'm making a game that needs to have gravity on an MC and have it interact with
another so that when it the first mc goes on a slide (2nd mc) it stays on it
and falls on it's curve. I also need the first mc to rotate when the slide
comes to a curve in it's surface. is this possible? Thanks in ... more >>
Whats wrong with my code....
Posted by Amcasperforu at 12/20/2005 1:45:33 AM
Hi guys,
I'm having a problem detecting what seems to be the problem in my code. The
close button does not work at all.
What I want to do is to have a movie clip which is clickable and once clicked
a popup window will appear, however as I try to click the close button the code
does not... more >>
Exporting as AVI with sound I get an error
Posted by Lerbekmo at 12/20/2005 12:34:46 AM
When I export my flash movie as an AVI file - I get an error message. I believe
it's because of the sound files imported. Can anyone explain this? Can you
export flash files as avi files with sound files (WAV or MP3)?
... more >>
Label Or Dynamic Text Background Color
Posted by john.gooch at 12/20/2005 12:32:17 AM
In most products, its is extremely simple to change the background color of
text, but for the life of me, I cannot get it to work in my Flash 8 Form
document. I have tried these objects: button, label, dynamic text - using CSS
style, html, and the object parameters. Nothing works. And I canno... more >>
Loading Text Dynamically
Posted by popstalin at 12/20/2005 12:02:21 AM
I have the following AS for a dynamically loaded portfolio. It loads in
thumbnails, a caption when you mouseover the thumb, a large image when you
click on the thumb and a description. I have everything loading and working as
it's supposed to from a tutorial I followed. What I want to do is ma... more >>
|