all groups > flash actionscript > october 2004 > threads for saturday october 23
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
How to get the button itself in on (press)?
Posted by Anakin.cn at 10/23/2004 8:21:45 PM
in a button's on (press) function , I want to check the button's position, how can I get its handle?
on (press)
{
trace(XXX._x);
trace(XXX._y);
}
what the XXX shall be?... more >>
_level2._totalframes
Posted by asilter at 10/23/2004 8:13:43 PM
hi
i want to get total frames of a swf loaded into level2? when i use below the
codes i get undefined message.
note that i can see the swf loaded and playing in the scene.
thanx
loadMovieNum("yuklenecek1.swf", 2);
//loadMovie("yuklenecek1.swf", _root.yuklenen);
trace(_level2.... more >>
buttons
Posted by JF213 at 10/23/2004 7:55:28 PM
I currently have set up a button that when you rollover it a dynamic text field
displays the button name. I was wondering if there was an easier script then
doing this for every button.
home.onRollOver=function(){
dtext.text = "Home"
}
home.onRollOut=function(){
dtext.text = '';... more >>
Menu's and Buttons
Posted by Neil Smith at 10/23/2004 7:23:57 PM
Dear All,
I have a movie that is heavy on navigational elements.
There is a drop down menu containing a number of buttons. When it drop downs
overlays two other buttons. When rolling over the drop down buttons the
rollover event activates the underlying buttons as well. Any suggestions as
ho... more >>
htmlText
Posted by thoand at 10/23/2004 7:16:21 PM
Hi
Does anyone knows why this fails to print the text:
employeeMC._employee.htmlText += "E-mail: <u><a href='" + employeeEmail + "'>"
+ employeeEmail + "</a></u>";
when I hardcode the email it works, eg.:
employeeMC._employee.htmlText += "E-mail: <u><a href='foo@foo.com'>" +
employeeE... more >>
international characters form an external file
Posted by icebot at 10/23/2004 7:04:26 PM
hi, i've been encoding my text files as utf-8 to take care of these characters,
but i came across a site that says it's easier to do w/the following
actionscript:
System.useCodePage=true;
does this get put in the first frame of your flash file or does it go into the
text file?
... more >>
problem with text from a file
Posted by myselfandi at 10/23/2004 5:57:12 PM
hello.
how can I make a textbox read text from a file so that it will read only a
certain part of the text without reading the rest,
and then create a second textox that will read the rest without the begining?
thanks.
... more >>
form sending?
Posted by JF213 at 10/23/2004 5:28:02 PM
I had a form in HTML that worked perfect....
<FORM ACTION="/scripts/form2mail.exe" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="SENDTO" VALUE="email@address.com ">
<INPUT TYPE="HIDDEN" NAME="URL" VALUE="gotopage.html">
<INPUT TYPE="TEXT" NAME="email" SIZE="30" MAXLENGTH="30"> Email<br>
<INP... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
loading a movie from a parent library
Posted by jigen3 at 10/23/2004 4:48:20 PM
hi,
i was wondering whether or not it is possible for a loaded movie to load a
movie from the parent's library. maybe i'm getting the path wrong, but i'm
just using "_root.(parentclip's moviename)" which i think should be right if it
were possible...
thx
jigen3
... more >>
check if video is finished
Posted by Carlos Gonçalves at 10/23/2004 3:51:16 PM
I use this code to check if video is finished, than play timeline, the
problem is that sometimes runs, others not. Are there something I have to do
into the video or in timeline? I put the video in only one frame and the
code in the same frame:
// set up stream
ncConnection2 = new NetConnec... more >>
Help with list data and a media player
Posted by JM_Studioz at 10/23/2004 3:15:10 PM
Alrighty so i'm new to the componets and i'm making a media player. I want it
where there is a list of songs,when you select one,and hit the Change button
(componet), it'll change what the media player's content is to the data on the
list. Could someone help me out here?
... more >>
Button tween
Posted by flashForum at 10/23/2004 2:31:15 PM
Hello,
How do you make the text fade out as in the following example? Fading in is easy, but it's surprisingly tricky to fade them out properly.
http://www.cukmediagroup.com/frameset0.html
... more >>
Help With Syntax For Calling A Movie Clip Loader
Posted by AwesomeDigital2 at 10/23/2004 12:46:32 PM
I created a movie clip loader
var myMCL:MovieClipLoader = new MovieClipLoader();
and I want to call it from another movie that I load into another level.
I have tried the two methods below, but neither works. Can I call that MCL?
_root.myMCL.loadClip("ETL_Introduction2.swf",5);
_pare... more >>
onRelease for dynamically created movies
Posted by Gernot Brandl at 10/23/2004 12:40:11 PM
Hi!
i create several movieclips (createEmptyMovieClip) an load several
images from a database into them. All these movieclips are created
inside another (empty) movieclip.
The problem:
i want to do fire a script when somebody clicks on one of the loaded
images an pass the clicked mc to th... more >>
LoadVars unable to load textfile
Posted by Cordell Rozenburg at 10/23/2004 12:00:46 PM
This is my code for actionScript.
directoryListing = new LoadVars();
directoryListing.load("directoryListingText.txt");
trace(directoryListing.type);
directoryListing.onLoad = function() {
directory_url_text.text = this.var_directory_listing;
}
/*
and i've included the text fi... more >>
Recognising second time visit
Posted by g5604 at 10/23/2004 10:53:56 AM
Hi,
is there a way i can record how many time a user has visted my site then use that infomation to for example affect the content of a text box?
cheers,
Gareth... more >>
Pictures in Actionscript
Posted by BBoy Wolf at 10/23/2004 10:29:05 AM
hey wassup iv been using flash for just over a year, and im making a website
for my crew (hip hop) not gang type thing, i have it all finished basically,
but i want to know if its possible to put pictures in scrollbars, i use a very
basic scroll bar
onClipEvent (load){
daTextBox = "<P... more >>
Controlling lineTo drawing speed
Posted by Neophyte at 10/23/2004 10:12:03 AM
I've seen this a million times, but I don't know how to accomplish it.
I've got this actionscript in a frame and it works just like I want it:
_root.createEmptyMovieClip("lineTest", 1);
_root.lineTest.lineStyle(3,0x00990,100);
_root.lineTest.moveTo(100,100);
_root.lineTest.lineTo(400,100);
... more >>
setMask limitations
Posted by johnny_XP at 10/23/2004 8:56:39 AM
That's the story:
I have a mc (say it: innerMc) that is masked dynamically.This masking works
perfectly. Now i have another mc (say it: maskedMc) that it contains a jeg with
in. Say that the maskedMc is relaxs in the _root with instance name maskedMc.
I'm involking the following code (in 1st... more >>
I want to password lock a projector
Posted by Dier02 at 10/23/2004 4:27:39 AM
I want to be able to password lock a projector. I also want it to check with
the file that contains the computer owner information and use that as the
recognition to work. In other words, if someone else copies and uses the
projector using the real owners password the projector compares the ... more >>
loading .txt as html in text field?
Posted by Curtis Napkin at 10/23/2004 4:01:29 AM
can someone please help me? i am trying to load a plain text file that is html
formatted into a dynamic text field that scrolls. i can get the .txt to load
into the text field, but it doesn't appear as html formatted i.e. rather than
saying "hi! i'm testing my file." it will read "<font color ... more >>
removing elements from an Array
Posted by lreadl at 10/23/2004 3:02:57 AM
I have an Array. I want to traverse the Array and test each element. If an
element passes the test, I do nothing, and if it fails, I remove it from the
Array. I cannot simply use a for loop with an index that is incremented each
time, and terminates when the index exceeds the Array size, be... more >>
Using Flash Menu to Navigate an HTML site
Posted by WebIn2ition at 10/23/2004 2:57:31 AM
I am having trouble with something that I feel is probably much less
complicated than I am making it.
I have built a navigation bar in Flash with buttons and submenus under each
button. This nav bar is to be inserted into my index.htm page via Dreamweaver.
I want each button in the nav ... more >>
changing MovieClip Name inside a loop
Posted by rumpelstilzchenlang at 10/23/2004 2:32:23 AM
Assuming that I have a loop, changing multiple MovieClip's properities
for (i=0; i<j; i++) {
MovieClip0._visible = "true";
}
how can I get that loop to change the value of the Number after the MovieClip
every time it executes?
var MovieClipNumber:String = "MovieClip"+i
MovieClipNumbe... more >>
movie appears even though _visible set false
Posted by sneakyimp at 10/23/2004 1:45:17 AM
i've written a preloader:
_global.strLoadStatus = "loading...";
stop();
var holderMC = _root.createEmptyMovieClip("mcHolder", 1);
holderMC.loadMovie("texas_holdem.swf");
holderMC._visible = false;
var intID = setInterval(showLoadStatus, 100);
function showLoadStatus() {
byte... more >>
|