all groups > flash actionscript > february 2006 > threads for thursday february 16
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
steady-mouse game
Posted by PhilJ6000 at 2/16/2006 11:35:29 PM
I'm new to actionscript, and I'm making a simple steady mouse game. (A game
where the cursor has to get thru a maze type thing without touching the walls).
The way I'm doing it so far, is just making the walls all together as a button
that says-
on (rollOver) {
gotoAndPlay(1)
}
This w... more >>
functions
Posted by cgishack at 2/16/2006 11:08:58 PM
Hello. I am learning ActionScript and i have a question..... I have googled
some code i need but cant get it to work like i want. I have a question about
functions.....
What i want to do is load variables from a file... and have the flash document
refresh the document every some many seco... more >>
Setting Variables in Flash mx4
Posted by bytesizedimage at 2/16/2006 10:19:03 PM
:confused;
I am using the following syntax to set a variable to a blank value:
Set Variable: "name" = ""
The action is linked to a button
The target is an input textbox on the stage within the same frame, with the
variable name: name
The instance does not have an instance name
... more >>
drag and drop
Posted by ggogis at 2/16/2006 9:18:06 PM
i have done a lot of drag and drop games in the past using code like this:
if (eval(this._droptarget) == _root.movieClipTarget) {
and it has worked for what i needed. however, here is my question/dilema:
in this code, it seems that the mouse hand must be over "movieClipTarget". how
can i... more >>
Help with buttons...
Posted by MixedUpMusicInc at 2/16/2006 7:49:02 PM
so I made a button in Fireworks and set a URL that the button is supposed to
link to when it is clicked. I then imported it into Flash and put it in the
libray. And then I dropped it onto the spot that I wanted it to be. Saved it to
my site and now nothing happens when you click the button.
... more >>
Properties/Functions of attached MovieClips
Posted by blemmo at 2/16/2006 6:59:37 PM
Hello,
I would be glad if someone could bring some light in this:
I did a Movie where I have a MovieClip in the library with some variables and
functions on its first Frame. I added this dynamically in a loop to the main
Movie via
--
day = _root.attachMovie("day", "day"+(i+1), i+1, {_x... more >>
Vey Simple Load Variable Problem
Posted by brooklynconcept.com at 2/16/2006 6:43:20 PM
I am trying to load a numerical variable from a text file into my flash file. I
would like to then call this variable to use in a function. How do I do this.
Some code I have been trying is attached. But when I trace my variable "my_lv"
it returns "text=Hi%20there%2E&onLoad=%5Btype%20Functi... more >>
Dynamic Text - Formatting Numbers to Look Right
Posted by nivek311 at 2/16/2006 6:36:55 PM
I'm loading a number value from an external .txt file. The data feed however
doesn't use english nomenclature, so the value I'm getting is like this for
example: 19873328347201. I want to somehow make flash automatically optimize
that number it pulls in to look like this: 19,873,328,347,201 so... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Scrolling Movie Clip With Ease
Posted by finalcutexpress at 2/16/2006 6:36:21 PM
Can anyone direct me to a tutorial, or give me the Reader's Digest version of
how to add "ease in/out" to a scrolling movie clip. For example, I have a movie
clip, scrolling_mc, that I want to move up and down on rollOver of up_btn and
down_btn.
up_btn.onRollOver=function() {
scrolling_... more >>
scrollbar button roll over and color change
Posted by IndieMonkey at 2/16/2006 6:22:48 PM
OK I hav a scrollbar that dynamically loads xml docs into it! Thats all working
fine! :) However, to match the rest of the site I need the buttons (which I
modified to look differently, this shouldn't really make a difference) to
change color when they are rolled over. I tried changing the mov... more >>
onClipEvent detection of loadVariables
Posted by DBrentW at 2/16/2006 5:59:09 PM
In frame 1 of my movie, I build my screen. On that screen, I have a movie I
created called termMovie.
That movie has two components --
a dynamic text box named termWin and
a scroll bar named termScroll.
In my script layer, I have a function called check_btn.onRelease. When my
... more >>
Resizing MovieClip
Posted by ~adroit~ at 2/16/2006 5:15:29 PM
Is there anyway that I can resize movieclip by specifying the number of pixles?
I want to obtain similar result as using setSize in objects.
I've tried mc._width and mc._height but it only good for getting the
information but I don't seem to be able to set the width and the height using
th... more >>
Is this possible? If so how!
Posted by liquidfusiondesign at 2/16/2006 4:34:35 PM
I want to know if this is possible, basically i want to have a slider, much
like a volume slider that you can click and drag sideways, and would i be able
to make it so that depending where it is dragged along a line, it can affect
another moveiclip in some way?
Basically the way it will b... more >>
setinterval and duplicatemovieclip PROBLEM
Posted by nardove at 2/16/2006 4:23:31 PM
hi there,
this code works fine in 1 frame on the main time line, but y need an intro so
this code will be on a frame>1 the problem is that after the duplicatemovie
function execute few times the movie will goandplay frame 1 in the main time
line i have no idea why is that
other thing i... more >>
TextInput frustration
Posted by flatcoat99 at 2/16/2006 3:53:13 PM
I've done a topic search on this and found a couple of similar threads, but
they haven't concluded much.
I've got an swf form loaded into a flash site (the site 'panel' has a mask on
it, put in at runtime).When I put a TextInput component onto the form's
movieclip (this is all done in AS),... more >>
How i disable all menu when right click? Help me please...
Posted by aeroboy32000 at 2/16/2006 3:13:04 PM
Referencing array elements
Posted by stinsong at 2/16/2006 2:52:15 PM
I have resubmitted my question by attaching the code. Thanks Jeckyl for letting
me know people could not view it in newsreaders.
I'm building a memory type game without the random background cards.
I have created a couple of arrays one for the colour that I'll use to compare
cards with a... more >>
How would I make this be a on button event
Posted by Fatmat at 2/16/2006 2:45:20 PM
What would I need to do to this code to make it an onRollover clipevent:
this.but1.buttonName.text = "Casa 212";
function loadFrame() {
_level0.myImage.loadClip("aircraftimages/r0.jpg",this.image.image);
}
loadFrame();
... more >>
Get url problem
Posted by beyondthebrand at 2/16/2006 1:42:07 PM
Hi, i am wondering if anyone knows how to have a get url on a mc when i already
have that mc with this on it:
on (rollOver)
{
_root.mcScreenEffect.play();
}
So what i am looking to do is also have it get a url when it is pressed.
Thanks,
Neil
... more >>
Preloading other SWFs on a web server?...
Posted by DIY_Lobotomy at 2/16/2006 1:41:00 PM
I was wondering if there was a way to preload other SWFs on a web server before
they load onto a page?...
For example, let's say I have six web pages that contain six different SWFs.
When the first web page comes up and the first SWF is displayed, can I somehow
"cache" the other five SWFs... more >>
Adding more radio buttons to Quiz Template
Posted by Vijjy at 2/16/2006 4:43:57 AM
For the quiz part in my project I am using the flash Quiz template radio
buttons type only. But I need atleast 4 buttons in all per page. Could some one
advise me on how I can alter the code in the template to accommodate two more
radio buttons.
Thank you
Vijjy
... more >>
what AS command do i use to run a windows app
Posted by heeelllpmeeeplease at 2/16/2006 2:42:31 AM
help i am trying to make a button run a windows application on release please help... more >>
Variables
Posted by TomSlat at 2/16/2006 2:18:02 AM
I am wondering how to make my life easier for a Flash piece.
Let's say I have a graphic symbol that's an instance on the stage called, say
"widget".
Inside that symbol would be a button with, say (GetURL "widget.pdf").
Is there a way to pass down the instance name into all of the... more >>
PHP and FLASH
Posted by jou00jou at 2/16/2006 1:57:04 AM
Hi, I am building a flash file where I need the server time (specifically the
date number)
I successfully did that with php integration
PHP Code:
<?php
$todayDate = date(d);
echo "&todayDate=$todayDate"
?>
Actionscript code:
phpVar.onLoad = function (success) {
if (suc... more >>
Parse URl = variable for image load
Posted by makenoiz at 2/16/2006 1:55:03 AM
I need to load an image into SWF based on variable from parsed URL. IE:
Page called: URL http://www.domain.com/gallery1.html which contains
gallery.swf
Loader in gallery.swf would pull gallery1.jpg from directory /images/ by
parsing the URL and creating myVariable=gallery1 + 'jpg'
... more >>
Scroll Pane and Text Area selection highlight
Posted by SCORM_and_Flash at 2/16/2006 1:34:12 AM
How do I get rid of the green highlight that appears on the Scroll Pane
component or the Text Area component when it receives focus? If you look at
the input text areas on this forum page then you will know what I am talking
about, they all turn green with you are typing in them. How do I c... more >>
holding down a button (pressed)
Posted by pdukee at 2/16/2006 1:16:01 AM
hi everyone,
is there a way to move a movieclip as long as a button is pressed?... more >>
simple text box
Posted by fourthleaf at 2/16/2006 1:07:21 AM
I'm BRAND spanking new to Flash and the first thing I'd like to do is create a
simple scrolling text box for a webpage I'm developing. I've seen a few
tutorials on-line, but I was hoping someone here might give me some simple
instructions to follow.
OR... is there some kind of template ... more >>
setRGB overrides DropShadowFilter color?
Posted by rasteira at 2/16/2006 12:40:57 AM
My situation is this:
I use setRGB to set the color of a MovieClip.
I then apply a DropShadowFilter, with the color property set to black, to the
MovieClip.
However, the drop shadow still takes on the original setRGB color, and not the
color set in the DropShadowFilter constructor.
... more >>
Flash Form, Components and PHP
Posted by Zimmer at 2/16/2006 12:00:00 AM
Hi,
I have a form that has a mix of textfields and components which I am trying to
send data to a PHP script which emails the results to me.
It is a booking form that has been modified from a Kirupa tutorial.
The textfields send data fine but the component fields send nothing.
The ... more >>
setInterval and attach movie
Posted by alien4m_mars at 2/16/2006 12:00:00 AM
hi could anyoe explain why this code doesnt work
while mcOrange is a movieClip in the library which is linked to
actionscript...the linkage name is mcOrange too...
please help
setInterval(loadDots, 1000);
function loadDots():Void {
this.attachMovie("mcOrange", "mcMain... more >>
How do I create an Array of objects?
Posted by JimmySlam at 2/16/2006 12:00:00 AM
How do I do an array of objects (from a class). I created that class and i
want an array of that kind ob objets.
I have something like tihs.
section.id
section.name
section.link
But what happen when is more than one section?
Shall I use ... ?:
section[1].id
section[1].name
section[... more >>
scrolling movie clip
Posted by alt1024 at 2/16/2006 12:00:00 AM
Hi!
I have been using flash for a while but this has me stumped.
I want to create a site that moves like a movie filmstrip, so if you click on
button 1 the mc would scroll to the first frame of the strip. If you clicked
on
button 5 the mc would scroll through the frames in between to g... more >>
FLV Component "connectionError" work around
Posted by joeyrabbitt at 2/16/2006 12:00:00 AM
Hi,
I'm creating a flash video player and need to load various files to be played
etc.. HOWEVER one function i'd like is the ability to detect if the requested
contentPath actually exists, and to do something about it if it does not.
I know there's the "try - catch" VideoError option but... more >>
newbie question preloader for mp3
Posted by FatalD2003 at 2/16/2006 12:00:00 AM
Hi, I am new to actionscript, so I would like to ask for help.
I have a page (it?s online) and on that pagethere are lots of mp3?s (all
legal, own music) it?s a list, next to each song you see a speaker, when you
click on the speaker the mp3 will play. it takes a long time ofcourse before
th... more >>
attachmovie
Posted by DavidMLevine at 2/16/2006 12:00:00 AM
I am trying to get a selection of buttons to show in a 2 column list. They are
15x15001..15x150010 in this example.
The x/y coords dont seem to work correctly.
if anyone has any suggestions, please help!
Thanks,
David
for (var i:Number = 1; i<=10; i++) {
ypos = int((i-1)/... more >>
|