all groups > flash actionscript > june 2004 > threads for thursday june 10
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
Newbie: IS this right?
Posted by HeavingScrollLock at 6/10/2004 10:51:11 PM
Hi, I'm sorry this maybe a stupid question:-
I have a Movie Clip that contains an invisible button. I have attached a sound
to the Over Frame. That plays fine when I move the mouse over it.
Now I have added two event handlers onRollOver, and onRollOut to my Movie Clip
(they are empty at ... more >>
Button Action Script
Posted by grundgeguy at 6/10/2004 10:16:34 PM
I can't figure out how to do a simple linking between a button and a different
scene. The end product should be where I click on a button, which im having
trouble making too, and then it takes me to scene 2. I know this is a simple
problem - im retarded- but i still cant figure it out. I have ... more >>
Button Action Script
Posted by grundgeguy at 6/10/2004 10:16:33 PM
I can't figure out how to do a simple linking between a button and a different
scene. The end product should be where I click on a button, which im having
trouble making too, and then it takes me to scene 2. I know this is a simple
problem - im retarded- but i still cant figure it out. I have ... more >>
Drag: Window/Button (Parent/Child)
Posted by ecsurfer at 6/10/2004 10:14:50 PM
I've tried doing this on my own, went to Google etc. When all else fails, ask
for help? I have a dragable 'windowMC' with a 'closeButton' layer to unload
the movie. The popup window loads into a Main.swf (no problem here so far) but
the Button wont drag with the MC. I assume this is a 'Parent... more >>
Import, Assign, Referencing variables
Posted by Lumber Jack at 6/10/2004 8:28:17 PM
How can I Import, Assign and Reference a set of predefined variables from an external text file.... more >>
Real time light
Posted by Gionex at 6/10/2004 8:27:21 PM
Hi
What I would like to know is how to programe a light that has 2 frames, 1 that
has nothing and another that has a light. When the time is between 4:00 and
20:00 the light is on frame 1 (switched off) and between 20:00 and 24:00 + 1:00
and 4:00 the light to be on frome 2 (switched on)
... more >>
actionscript1 wont work with actionscript2
Posted by xtront at 6/10/2004 8:20:40 PM
HELP PLEASE!!
I have been developing a flash MX app and when I bring it into flash MX 2004
some of the actionscript does not work as it did in flash MX. I needed to bring
the flash file into MX 2004 in order to use some of the new UI components,
however this has meant updating from actions... more >>
How the mouse position can be 411.95 ??
Posted by BibiPanpan at 6/10/2004 8:01:54 PM
The mouse position get .95 number !! Between 1 and 409 all works fine but after
all number are .95 ex: 409.95,410.95
How can I get only integer type like 409,410 ????
Ps. When I test the movie in flash I get correct number between 1 and 340.
When I export I get correct number between 1 a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Can't resize and drag?
Posted by praufet at 6/10/2004 7:48:42 PM
I have a movie clip that I have made draggable so the user can change the
layout. I have set inside that nested clips that have inside them clips that
define their hit area and when click on they'll allow you to resize them. The
only problem is that when I don't have the drag actions in the cl... more >>
Saving with flash
Posted by Gionex at 6/10/2004 7:37:10 PM
Hi
What I want is : when you go onto the site and say type "1" into a text box
then you refresh the page, and the 1 is still there in the text box, how do you
do this.
Thanks for reading (and understanding(if you do))
Dan :)
... more >>
Buttons not working?
Posted by jce1975 at 6/10/2004 6:47:53 PM
Hello,
After creating several buttons with just text, I clicked the "enable simple
buttons" to see if they were working properly. Everything seemed to work,
however, when I tested the scene, tested the movie and published the .fla, the
buttons did not work at all? The cursor does not eve... more >>
"normal mode" 5 scripts lost in MX conversion
Posted by media mongrel at 6/10/2004 5:53:02 PM
I just converted a Flash 5 file into MX 2004 and discovered that it no longer
recognizes the action scripts that were generated in "Normal Mode". I have a 4
scene movie in which 3 of the scenes are structured identically and have the
same frame label names. All of my "go to" scripts that were... more >>
Include External .as file
Posted by rashh at 6/10/2004 4:34:48 PM
Hello,
I want to put my code in .as file and include that in the fla (#include
filename.as). But I have to remake swf everytime I change .as file. Is there
any way to avoid the remaking of swf even if I changed .as file?
Is there any other way I can keep my code outside without affecting the... more >>
_alpha problems
Posted by maddynate at 6/10/2004 4:21:53 PM
Hey all, I am trying to get a movieclip to go from 0% to 100% alpha very
slowly. I am setting the clip to 0% with the first line and then I want to
slowly take the alpha away. Any help would be great!!!
onClipEvent (enterFrame) {
_alpha = 0;
_alpha -= 1;
}
Thanks,
Russ
... more >>
Possible to put a button in line w/scrollin text?
Posted by Chayah at 6/10/2004 4:07:39 PM
I have a scrolling text box but I want to ad a button graphic within the text
so that it will scroll with the text. Is this possible and if so any ideas on
how to do it?
The code I am currently using for my scrolling text is as follows:
onClipEvent (enterFrame) {
if (_parent.scrolling... more >>
Dinamic link to database
Posted by Pluda at 6/10/2004 4:00:17 PM
Hello all,
I'm developing a Flash+Php+MySql software, but I'm having probles in this:
I have a list of database records, each whith a "img src" tag like this:
tgt["txt"+iv].htmlText += ""+arr[iv]+""+'<img src="botao.swf" vspace ="-12"
hspace="0" id="botao">'+"</a>";
This is working... more >>
Rollover Event for a ComboBox item
Posted by Dave Lett at 6/10/2004 3:25:51 PM
Flash MX
It's possible to have a rollover event for a ComboBox, as in the following
(attached to my ComboBox Instance):
on (rollOver) {
trace("Here");
}
I would like to have a rollOver event for each _item_ in the ComboBox. Is
this possible?
Thanks in advance,
Dave
... more >>
GET URL and bookmark
Posted by Paradigm at 6/10/2004 3:18:08 PM
I'm assuming this can be done, I want to use the GET URL command but I want to
be able to also pick a bookmark on the web page. I've tried the following:
on (release) {
getURL("Company/company_news.htm#Icelandic", "main");
}
where "company_news.htm" is the web page and "Icelandic" i... more >>
Chane MC name with AS?
Posted by MyFlashMXIN at 6/10/2004 3:17:28 PM
I'm looking to change the name of and MC using AS after x amount of time...
I tried this as a test...
myData = new LoadVars();
myData.load("select.php");
//php line
myData.ref = this;
//Fetch data
myData.onLoad = function(succes) {
if (succes) {
for (var i = 0; i<this.cant;... more >>
scroll bar component doesn't work with dyn txt
Posted by zzdobrusky at 6/10/2004 2:44:26 PM
Hi,
it should be pretty simple, got movie littleHistory.swf, in it dynamic text
field with instance name dynTxt, got actionScript
loadVariablesNum("page1DynTxt.txt", 100); , than I snapped scroll bar component
to dyn txt field, its target is dynTxt, everything seems to be ok, then I call
m... more >>
textArea line count?
Posted by Clacker at 6/10/2004 2:42:36 PM
Hi all,
Im trying to set the vertical size of a fixed width textArea so it matches the
text content that is supplied to it.
Ive been using setSize but this takes pixel parameters which is almost
impossible to determine.
Is there any way of determining the line count of a textArea?
... more >>
newtextformat and input field problem
Posted by its not me at 6/10/2004 2:24:21 PM
NewTextFormat doesn't seem to apply when a user types in the middle of a string
of an input text field:
----
1) here is the original text
2) here is the original text plus some stuff
3) here is the no longer original text
----
in 2) "plus some stuff" will have the new text format
in... more >>
auto resize according to the resolution!
Posted by Dheeraj Mehta at 6/10/2004 2:12:50 PM
i want my main.swf to resize itself in such a manner that there is always a
margin of 5% from the boundries of browser...
That is it must have ability to resize according to the size & resolution of
the user's window!
... more >>
Serverside code and shared objectis
Posted by solex1001 at 6/10/2004 1:47:40 PM
Hello,
Can server side code also control shared objects?
I want to send a message to the communication server, it to do some
calculations and then start to send back updated x and y coordinates of a
shared object.
Im not sure how to do the first bit, and is the last the same as is us... more >>
Instance names usage in actionscript
Posted by solex1001 at 6/10/2004 1:47:10 PM
Hello,
I coulnt find a post that matched my question, so here it goes.
I have checked the instance names in this flash document to check that they
match the action script. I use this action script:
//This script takes the user to Scene 2 when goScene_btn is released
hT_1-1_btn.onRele... more >>
swf inside swf! or better html inside swf
Posted by Dheeraj Mehta at 6/10/2004 1:16:54 PM
I created an swf with links at bottom and empty space taking 20% and 80% space
respectively...
I want that when a link is being clicked then the corresponding window(swf or
html) must open in the 80% space above so that links will remain in their
place... i.e.
------------------------... more >>
AS text field issue
Posted by Doctor_Cally at 6/10/2004 1:08:55 PM
Hi All,
At the bottom of script#1 below, are two trace commands that output the height
of the text field created previously. Can anybody explain to me why they have
different values? Even if I put the trace commands onto the second frame (with
a stop command), the two results are different... more >>
actionscript wanna learn
Posted by Capoon at 6/10/2004 12:50:31 PM
hi all,
i'm using flash for almost 5 years now , and i'm getting very good in
animations , tweens , adding sounds , events & streams , and also creating
buttons with simple actions .... all this is good , but the problem is that i
wanna start learning actionscript , and i really tried read... more >>
Major Bug (10-9.9)!=0.1 MM Help
Posted by finCosmos at 6/10/2004 12:41:13 PM
Please check this anyone that can....
trace((10-9.9)==0.1)
when i run this code it gives me false
i am having big time problems, anyone knows what wrong????
the same thing happens even when you put them in variables.....
can you please check and report if you get the same experience.... more >>
_root again
Posted by Jodi1 at 6/10/2004 12:17:16 PM
I am working on a project where I have a movie clip(mcABC) with three other
movie clips inside it (mcA,mcB,and mcC). Each of the three movie clips has a
button in it. After each of the three buttons is clicked, I need for the main
timeline to advance to the next frame label ("GP27"). Exactly w... more >>
Flash feedback form question...
Posted by michaelthorn at 6/10/2004 11:57:29 AM
Im in the process of redesigning my personal website
http://www.michaelthorn.co.uk and have got to the stage where i need to code
the contact page (which can be viewed by clicking on the here link in the top
box). When the submit button has been clicked and the information from the form
subm... more >>
loadvars error for non existing file
Posted by mercl at 6/10/2004 11:53:47 AM
Hi all,
i'm loading data into a movie using
mainholder = new LoadVars();
mainloaded = mainholder.loaded;
if (mainloaded) {
do stuff
}
this works fine.
Q:
Is there a way to check, not only if an external file is loaded or loading,
but whether it actually exisits...
a ma... more >>
About a roll out
Posted by Dheeraj Mehta at 6/10/2004 11:26:50 AM
I want that whenever mouse get roll over from a button... a certain movie clip say "md" came in action!
Plz tell me how to do that!... more >>
External FLV in _LEVEL : can't read the FLV
Posted by lem at 6/10/2004 11:03:39 AM
Hi,
I use the mediadisplay to load an external FLV : video.flv in "welcome.swf"
The URL used in the mediadisplay component is= ../flv/video.flv
When I export welcome.swf, the FLV plays ok.
When my welcome.swf is loaded in _level20 of "main.swf" : the FLV doesn't play
anymore, the welcome.... more >>
_root
Posted by Jodi1 at 6/10/2004 10:58:07 AM
I am working on a project where I have a movie clip(mcABC) with three other
movie clips inside it (mcA,mcB,and mcC). Each of the three movie clips has a
button in it. After each of the three buttons is clicked, I need for the main
timeline to advance to the next frame label ("GP27"). Exactly... more >>
useHandCursor
Posted by Alain Thibodeau at 6/10/2004 10:57:11 AM
Hello,
I am trying to set the pointing hand to not be displayed when the mouse
passes over a button, but globally..so for all the buttons in my movie..
Having a hard time figuring out the syntax, anyone know?
sumthing like this: _global.Button.useHandCursor = false;
thanks in advance
A... more >>
know when a load swf has end?
Posted by JuanC at 6/10/2004 10:33:34 AM
I need to know when a swf has end, all the movies I load most be at least 5
seconds, if the movies1.swf only have one frame the mainMovie wait 5 sec,
if the movie2.swf have many frames, the mainMovie must wait to the movie end
and then load the next one.
I don´t know how many frames have the mo... more >>
Communicating with PHP script
Posted by OniLink at 6/10/2004 9:58:28 AM
I have got it so once something has been done in the PHP script (email sent),
it prints a message back to the swf file:
Print "_root.body.iStatus=>> COMPLETE - Your order has been sent";
This seems to work ok, because the variable iStatus shows ">> COMPLETE - Your
order has been sent" on... more >>
Smoother Rollovers
Posted by Drunktank at 6/10/2004 9:46:36 AM
Hi guys
I have made buttons that contain a MC with both rollover and rollout states.
I am trying to simulate the way the thumbnails appear http://www.zija.net/
All seems to be working fine except for when the mouse is moved over the
buttons in a hurry and it almost seems to "freeze" al... more >>
escape function ??
Posted by Dowster at 6/10/2004 9:24:29 AM
Hi guys,
got a problem with using the escape function to encode a string.
when entering a "?" symbol in the string then using escape on the string
before submitting it to an asp page which then sticks the encoded string in the
database.
The encoded string is fine apart from the ? sym... more >>
Newbie Question: How do I do THIS!?!?
Posted by HeavingScrollLock at 6/10/2004 9:13:15 AM
Hello I'm hoping a guru out there can point me in the right direction...
I have a requirement where users are asked to proof-read a passage of text (a
couple of paragraphs). They need to highlight incorrectly spelt words, and
misplaced punctuation. Each word (and in some cases letter) must g... more >>
.split("") for flash 5
Posted by doschTrader at 6/10/2004 7:50:04 AM
Hi
I am using the following in flash 5
word = "This is word one";
wordArray = word.split("");
trace (wordArray[0]);
Why does the trace result in "This is word one"
according to flash help
this should result in "T"
Thanks
... more >>
how to get local scope variable out of function
Posted by speedlab1 at 6/10/2004 7:32:32 AM
How do I get a variable (array to be exact) outside of the local scope of the
function that it's in?
I need this array further down in my actionscript and tracing it out of the
function returns "undefined" for the obvious reason.
... more >>
A community for Flash game developers
Posted by innesgreg NO[at]SPAM yahoo.co.uk at 6/10/2004 7:30:28 AM
Just launched my new site which I hope will become a community for
Flash game developers.
www.gotoandplay.co.uk
I hope you pay it a visit and join the forums, I could do with a hand
moderating some of the forums as I don't have all the answers to
everyones problems unfortunately.
Hope to... more >>
Load Movie From Library
Posted by Surat2004 at 6/10/2004 6:28:04 AM
Hi Everybody,
I'm building Website in Flash and I've some problem loading
Movie Clip. I've made one Menu and it type is Movie in that I've put one
Submenu and it type is also Movie. Now, when I click on one item of Submenu I
want to call another Movie which I've putted on m... more >>
Mouse interaction with background movieclip.
Posted by S_anctified at 6/10/2004 6:28:00 AM
I'm trying to create an artistic site that has a lot of mouse interaction with
the background. I'm self-taught in both flash and Action Scripting, but I
still have a lot to learn. The background picture (movie clip) is larger then
the size of the flash background, and what i'm trying to cre... more >>
How can i get all files in a folder?
Posted by webdg at 6/10/2004 5:48:41 AM
Hi,thanks for your help.
i have a folder with some files (*.jpg) and i want a swf file read some and self files.
Is there any code for readding all of file?... more >>
modal transparency
Posted by goseta at 6/10/2004 4:41:32 AM
Hi, everybody, I have this question, that I try to find the answer for a few
hours, someone, can tell how can I change the modaltransperancy in a pop window
generated in flash 2004, this is a layer that appear when you create a popup
window with the window component and set it to modal and is ... more >>
loadSound() is not working on the website.. WHY?
Posted by James Cherry at 6/10/2004 2:35:45 AM
Hi,
I have uploaded a website & I have placed a mp3 sound in my website. But
It does not play at my website, I have used the following code in flash file:
song = new Sound();
song.loadSound("01.mp3");
song.start();
Can you tell me that Does loadSound() not work on the website?
... more >>
ActionScript Guru's......
Posted by MINGUITO at 6/10/2004 1:04:45 AM
Ok folks, here's a tough one, I think. Please go to this site so u can see what
I'm talking about:
www.yam.org
Ok, notice the events section, now, how should I go about this in Flash MX, u
see, I want for this section to be updated automatically, in other words, the
next day, it will g... more >>
rotating textfield? only with embeded fonts?
Posted by Frank sf at 6/10/2004 1:00:16 AM
Hello everyone,
when I rotate a texfield with textfield._rotation the text disapears.
I've noticed that in order to work you seem to need to embed the font, so
first question, why??
and this works with manually created textfields, but how can I make it work
with textfields dynamicaly c... more >>
Problem with loadMovieNum
Posted by alets at 6/10/2004 12:24:51 AM
I am loading differents .swf on an application...Everything works ok but when I
upload it to the website it doesn't load the external swf's..It happened before
but I don't remember how I fixed it...I need help.
... more >>
|