all groups > flash actionscript > january 2006 > threads for tuesday january 3
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
send an on(release) to a button
Posted by Leeburstroghm at 1/3/2006 11:26:22 PM
I have a navigation that I need to open to the correct category with each page.
What I would like to do is just send a mouse click event to my button and let
the script do the rest..
I have a button who has code for
on(release){
stuff to do ...
}
it is nested down to _root.navMen... more >>
loading xml via class oriented .as file
Posted by garroyo at 1/3/2006 11:12:50 PM
I wrote some code to load XML from the first frame of my timeline, and it
worked perfectly. So I moved it to my .as file, made what I thought were the
appropriate modificatons, and it no longer works. Please tell me what is wrong
with the following code.
on the first frame of my fla I h... more >>
curve which is drawing itself
Posted by nuage125 at 1/3/2006 11:12:45 PM
Hi !
I have a curve drawn with pencil or pen
I would like that this line draws itself that is to say that at the beginning
this curve is only a point and at the end the curve is totaly drawn.
I don't like mask because of strong cut.
Is it possible to save all the coords of the point of a ... more >>
DateChooser selectedDate doesn't work in component class
Posted by btsweber at 1/3/2006 10:23:00 PM
I have a problem setting the selectedDate property of the DateChooser
component. If I drop an instance of the component on the stage and work with it
directly, everything works fine. If I create an instance of the component
inside a movie clip that is part of a component class, then it appears... more >>
moving text with actionscript
Posted by k-doggie at 1/3/2006 9:41:59 PM
I got 1 sentence that is the length my window (800 px). I reeeaaally don't
want to create a motion tween thats 500 frames long in order to see it move
slowly from right to left. Is there a way in actionscipts that i can tell...
dynamic text.text
- move from your current cordinate... more >>
dynamic text box in MX UI ScrollPane
Posted by jessedudan at 1/3/2006 9:27:30 PM
Hello-
I am currently using a simple dynamic text box on a single page to load the
content of an external .txt file. The content of the external file has become
too long for the size of my Flash page, so I would like to have the dynamic
text field embedded within a ScrollPane component. I ... more >>
Re: Hello Macromedia+Adobe - Do you know anything about filters?
Posted by highlander_1 at 1/3/2006 8:13:16 PM
You right - but don?t missunderstand me!
I have allways been polited and beggin on my knees but it seems not to help.
Why? That?s where the scary parts beginns.
The problems seems that we - beginners, intermediates or whatever we call us
on this forum are learning ourself to think within... more >>
identifying current webpage in ActionScript
Posted by LudanMasan at 1/3/2006 7:55:10 PM
I have a header movieclip that is on a template page, but I don't want the
movie to play if the current page is not the Home page or ./index.html. I
would rather the movieclip just goto the end of the movie. Is there a way for
actionscript to tell you the name of the current html file?
I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Random Letter
Posted by barcs16 at 1/3/2006 7:53:55 PM
Is there anyone who has written a function to pull a random letter from the alphabet using the existing random function in flash?... more >>
Flash form action script & asp
Posted by racky at 1/3/2006 7:40:29 PM
I have created a basic form using Flash MX 04 which will send feedback to my
mail account contact@plobs.com (which has been set up via fasthosts)
This is the page = http://www.plobs.com/testpage.htm
It's not working and I am confused as to why. I have tried using my own
personal e-mail ... more >>
A Simple Question About Background Color Changing
Posted by Crandom at 1/3/2006 7:13:55 PM
How do you change the background color of a rectangle that is called 'test1'? I tried:
test1.background = 0xFFFFFF;
but it didn't work. Why?... more >>
Validate Time Format (HH:MM:SS) in Text Field
Posted by boxdoctor at 1/3/2006 6:51:24 PM
Hi All:
Have a text input field where someone is going to put in a start time. I need
to verify that they are putting the time in a HH:MM:SS format, and preferably
in a 24hr format, although I believe I can do a search for "AM or "PM" at the
end of the string and convert accordingly, but ... more >>
get URL
Posted by dkmanley at 1/3/2006 6:38:32 PM
I can't seem o get the "get URL" script to work with a local path.
example:
on (release) {
getURL("http://www.kid-ebooks.com/calculex/pages/contact_us/contact_USA.html");
}
works fine when the file is uplinked to the remote server, but i want a local
path ...
on (release) {
getU... more >>
internal XML
Posted by Kevin Carr at 1/3/2006 6:22:09 PM
I have an fla which is loading an XML page. This works fine in a browser,
but I need to have it play in a Director shell. This is going on a sample
CD so it needs to play off the CD without the use of the internet, inside of
Director.
Is there a way to have Flash load an internal XML page,... more >>
Loading JPEG from variable imported from a text field
Posted by Warren Bailey at 1/3/2006 6:17:52 PM
Hello. Im trying to import data from a text file to load relevant pictures
and text from a txt file. The picture wont load, can you have a look at the
below and see if you can help please.
Textfile.txt reads as follows:
picture1=picture1.jpg
&text1=this is picture1
&ready=1;
---------... more >>
Seems so simple...
Posted by C-Rock at 1/3/2006 6:14:46 PM
What I'm doing is to help make the customer's site more editible for them
without needing me just to change a date or two when meetings change. So I'm
bringing in text from a .txt file and the variables are call &time, &place,
&time2, &place2.... and so on. I have a separate box for each time ... more >>
Smooth Scale??
Posted by lt7817 at 1/3/2006 4:24:40 PM
Hi,
I'm working on this movieclip, and it doesn't seem to move slow even when I
use 24fps or 36fps. Here is the link:
http://smithcrainefinance.mortgagexsites.com/xSites/Mortgage/smithcrainefinance/
Content/UploadedFiles/LocLot8.html
It moves so fast and it flicks(?). I have check "... more >>
string into an object in Flash 8
Posted by Sunny at 1/3/2006 4:21:33 PM
Trying to turn a string into an object in Flash 8
This works of course:
var a:Array = [];
a = [3, 4, 5];
trace(a[0]);
This does not:
var b:Array = [];
c = "[3, 4, 5]";
b = c
trace(b[0]);
I know that I could simply split the variable into an array
but does anyone know of a lite s... more >>
Kill ContextMenu from mouseMove
Posted by Forum User, UK at 1/3/2006 4:11:21 PM
Hi
I would like to solve the following problem:
When I right click(including release), the contextMenu is presented.
I would like to kill the menu if a mouseMove is detected. Is there a way the
contextMenu can be forced to disappear without the left mouse button being
pressed.
Many... more >>
Multiple movieclip control
Posted by Olliebear77 at 1/3/2006 4:01:57 PM
Hello,
I have a flash movie with 9 movieclips in it. Their instance names are movie1,
movie2, movie3 etc.
Can someone tell me how I can use the 'onClipEvent' and 'with' commands to
control all of these clips at once?
Many thanks,
Olliebear77
... more >>
loadMovie fade in
Posted by daliangelo at 1/3/2006 2:33:18 PM
I have several thumbnail pictures as buttons. When you rollover a button, the
corresponding larger picture(which is an external jpg) is loaded into a
placeholder movieclip. I want the picture to fade in when you rollover the
button, not pop in.
I have a script on each button and this i... more >>
How to Use a Substring?
Posted by kamsky at 1/3/2006 2:20:20 PM
I want to seperate the char from a word.
How to use substring in flash?
char = String(word1).substring(0, String(word1).lastIndexOf("A"));
Insted of clipping upto "A" .I want to seperate the char.
... more >>
Shared Objects , sharing across movies
Posted by stefanburt at 1/3/2006 1:59:59 PM
Hello,
I'm having much trouble figuring out how to access shared object data from
other movies which are stored in the same directory.
Am I doing something wrong or have I missed the point of shared objects????
For a test I am using two files one with a movieclip loader and one with
... more >>
make movieclips scroll up/down
Posted by DrEv1l at 1/3/2006 1:48:01 PM
I've got a small problem involving a few movieclips I want to scroll up/down.
First the names of the files are loaded in from xml using php and then I
arrange them on the stage . I use the scroll buttons up/down to move them up
and down and make them smaller and transparant. but only the last ... more >>
Datagrid - Rows
Posted by hakanh at 1/3/2006 1:47:19 PM
How do i set a cell's background color in a datagrid?... more >>
swf to fla
Posted by jonnybennett at 1/3/2006 11:02:09 AM
summary says it... is it possible to convert a swf into an fla???... more >>
delete xml file from flash
Posted by openMiand at 1/3/2006 10:47:00 AM
hi
i need way that i can delete a xml file
after i loaded it in falsh then i need to delete it
note i need to do it without using any server and i have flash 7 and work in window NT... more >>
change a html table background image from within flash file
Posted by mitcho at 1/3/2006 10:28:50 AM
Hey,
I have a flash animation in a html page. also in this html page is a table
with a certain 'table background' image called 'black.gif'.
at one point in the flash movie the user clicks a certain button, and i need
the table background image 'black.gif' to be changed to 'line.gif'.
... more >>
open HTML window from Flash 8 movie.
Posted by ROKKPAPA at 1/3/2006 9:22:50 AM
The following code:
getURL("javascript:window.open('http://www.photoassistant.net/donatepop.htm','',
'width=600,height=200,top=50,left=50,resizable=yes')");
opens two windows, one with the Javascript in the URL and another with the URL
that I want.
Is there a fix for this?
This pop-up... more >>
Sending mail with PHP
Posted by Angel*lina at 1/3/2006 7:59:05 AM
Hi everybody i went to this amazing site "gotoandlearn.com" and finally got to
do it
Now the problem is that when i click send or submit i don't get any response :
like message succes or failed although my script is correct ( well i guess :) )
The actionscript for my flash button is the f... more >>
bitmap caching for bitmap movies
Posted by buraque at 1/3/2006 6:26:54 AM
hi, i know this sounds silly, but i am a perfectionist. Currently i am
developing a game and i am planning to increase the engine's performance as
much as possible. I have a movieclip which has some bitmaps of different
positions for my character. I wonder if enabling runtime bitmap cache for ... more >>
return array undefined
Posted by theoriginaldrizz at 1/3/2006 4:26:16 AM
I have a class that has one array property.
Although I can myArray.push() and trace successfully, when trying to return
the array from a custom 'getter' call, I get undefined for the result no matter
what I seem to do.
Attached is some code to give an example.:disgust;
class myClass {... more >>
Button Action not working
Posted by EWN1 at 1/3/2006 4:01:54 AM
I have what should be a simple task, created a Flash/php email form, I have
named frames, "theForm", "sending", "acknowledge", and "failure". The logic is
simple, gotoAndStop("theForm") and process the form, click the send button on
the form sends the movie to "sending", if the send is a fail... more >>
position and fade movieclip with delay
Posted by deltasounds at 1/3/2006 3:50:39 AM
For an experimental animation project (I am learning programming), I would like
to fade a series of duplicated movieclips onto particular positions on the
stage, keep each there for a certain number of seconds before they fade out.
Both position and duration of time onstage are different for e... more >>
loadMovie() created in MX Pro or 8 won't show in Player version 6
Posted by Centerpoint Computer at 1/3/2006 2:06:29 AM
I have a small slide display that has back and next buttons on it. The script
on the buttons tell the frame to move back or forward and each frame has a
script that loads an image into the container on the stage.
My client has version 7 player (that's what they say when they right click the... more >>
For loops - making each unique
Posted by Vertine at 1/3/2006 1:51:50 AM
hey guys...we have resolved this once before, but i seem to be getting
confused. i have a test xml that looks like so :
<?xml version="1.0"?>
<contacts>
<id name="safryyy" email="fghjh" city="ahsdf" message="iuoyuio"/>
<id name="asdf" email="afasf" city="asdf" message="ds"/>
<id name="... more >>
|