all groups > flash actionscript > october 2004 > threads for thursday october 21
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
atan and other such trig
Posted by badmonkey91 at 10/21/2004 11:12:22 PM
Im having some problems with actionscript.
I have two points, and from that I want to create a triangle, to determine an
angle. The problem is, I cant get the code to work in actionscript. If someone
could give er' a once over, It'd be welcomed!
xm=_xmouse
ym=_ymouse
ox=276
oy=200... more >>
URL strings constructed from array objects
Posted by nab137 at 10/21/2004 11:07:57 PM
I am interested in creating URL strings by using the names of the objects in an
array. For example, I have an array
[1 2 3 4 5] and have looped through the array to create one instance of each
object on the page. Now, I want to create a link when each object in the array
is clicked
on(pr... more >>
XML.sendAndLoad AND Relative path
Posted by Lazar Kirven at 10/21/2004 9:37:01 PM
Can you use the XML.sendAndLoad method from a relative path behind the web
server? I thought that this was possible, but I am unable to get it to work.
I appreciate any help!!
var url = "my.php";
var request_xml = new XML()l;
request_xml.sendAndLoad( url, result_xml );
... more >>
It no workie!
Posted by doienstudios at 10/21/2004 9:30:54 PM
Hey I have tried everything to get even the most basic action script to work,
and it's just not doing anything!
I've tried the samples and the samples won't run. Everything else seems to
work just fine except for this action script?
An I missing something here?
... more >>
onClipEvent variable problem
Posted by Crimin at 10/21/2004 9:21:00 PM
I have 9 instances of a movie clip on my stage and I want to be able to give a
variable a unique value depending on which mc is clicked on. The script I am
tring to use is
onClipEvent (mouseUp) {
_root.x=1;
_root.play();
}
The problem is that the variable x is not recievin... more >>
Relative URLs
Posted by Neil Smith at 10/21/2004 9:17:38 PM
Dear All,
it is possible to use relative, rather that absolute URLs, for example, with
getURL. I would anticipate moving the Flash page about in the future so it
would be nice to not have to manually update the external links with in it.
Thanks,
Neil
... more >>
Problem w/: loadMovieNum
Posted by jess1182 at 10/21/2004 9:16:12 PM
Hi,
I am trying to use one flash file to load several other swf's.
There are 4 swf's that are loaded in w/ the following code:
loadMovieNum("Celebrate.swf", i);
-- pretty straight forward. They are kept in the same folder as the original
file & no problem. However, in another pa... more >>
Sound in Movie Clip level problem
Posted by caughron at 10/21/2004 9:11:18 PM
I have a menu Movie that I load into a larger movie. Sound in menu movie when
played seperatly plays fine, but when I load larger movie the sound does not
play. I have exhausted my knowledge on levels to no avail. I believe it is a
level problem but cannot fix it. Here is the general setup.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Change color of picture in real time
Posted by superdad_05 at 10/21/2004 9:07:29 PM
I have a picture of say, a house. I want the user to be able to choose a color
from a list and my house turn into this color. Originally I was going to make
a house with every possible color, and just change the picture when the user
changed the color. I had a professional tell me that it w... more >>
onStatus in a Class
Posted by mr Norway at 10/21/2004 8:46:01 PM
Hei
Trying to use the NetConnection object in a new Class (called Chat).
But when i try the onStatus function, i get a syntax error.
Should i import the NetConnection class or something ?
Thanks.
class Chat{
var NC:NetConnection;
var appl:String;
function Chat(ap... more >>
Using htmlText with embededFonts
Posted by JimVision at 10/21/2004 8:41:08 PM
Hi Everyone
I'm stuck on getting my htmlText to work with embededFonts = true. The
program contains only one font in the library (Arial) and it has a linkage of
"ArialFont". The code in the actions layer, first frame looks like this:
var tf = new TextFormat();
tf.font = "ArialFont";
... more >>
Please help me... what is the problem ?!?
Posted by a_mistry2 at 10/21/2004 8:24:37 PM
Hi.. ok, guys.. i m one step further with my problem which i posted here about
transition effects in a slide show...
please see my attachment and move with the arrow keys through the three
slides...
When the next slide wipes in, it covers the previous slide... But when i call
the previous ... more >>
OnRollover event passthrough?
Posted by Attomm at 10/21/2004 8:04:00 PM
This is either not directly possibly or there is so simple command I am missing.
I'm using MX2004, and writing evertyhing within classes.
I have several levels of MovieClips created where I dynamically assign
onRollover events.
For example:
Navigation Menu Clip -> Menu Tier Clips -... more >>
Newbie
Posted by rw01 at 10/21/2004 7:58:18 PM
Can anyone help me with what to do to send a getUrl page to a frame? I'm using
frames and just can't seem to figure it out. I've tried what is listed below
with no luck...
getURL("coll-cese-m.html", "_mainFrame")
Any good advice would be greatly appreciated
Thanks
... more >>
want my buttons not to touch each other
Posted by bso_71 at 10/21/2004 7:53:07 PM
I have 4 buttons that when I roll over them they expand vertically. I would
like to move up or down my other buttons so they don't touch each other when my
rollover button grows. How can I do this?
Thanks,
brenda s.
... more >>
hybrid problems
Posted by fullbleed at 10/21/2004 7:52:37 PM
I'm creating an HTML website with flash navigation.
If I am rolling over the swf, and I quickly move my cursor outside the swf and
into the html, flash doesn't always recognize the rollout, so I'm left with a
rollover effect that doesn't make sense because the cursor is somewhere else on
... more >>
Download get flash buttons?
Posted by ....James Smith at 10/21/2004 7:14:37 PM
I need to add a Download flash here button and have seen various types of
buttons but cant find any at the moment and wondered if macromedia had a
page on their site to download them.
... more >>
looping variable issues... HELP!!!
Posted by toolbox at 10/21/2004 6:34:54 PM
OK, so my movie has 3 variables...
XMLStringEnd1 = ".firstChild.firstChild";
XMLStringEnd2 = ".firstChild.nextSibling.firstChild";
XMLStringEnd3 = ".firstChild.nextSibling.nextSibling.firstChild";
how do i attach the "j" variable to the end of "XMLStringEnd" in my "for"
loop? I know i... more >>
Dynamic Text
Posted by SpecialEdition at 10/21/2004 6:07:33 PM
Hi Everyone,
I need to change a dynamic text field and I can't get it to go. (Its got to
be a stupid problem and I just can't figure it out)
I have a MovieClip symbol with the instance name of "mnuWelcome" which
contains a ButtonClip symbol with the instance name "Item0". Inside Item0 i... more >>
check frame
Posted by Carlos Gonçalves at 10/21/2004 5:43:21 PM
How can I check which frame in timeline my movie is?
... more >>
Target specific frame from external swf
Posted by steadyvibe at 10/21/2004 5:19:41 PM
What is the best way to target a specific frame from an exterally loaded swf?... more >>
newbie xmlObject question
Posted by rumpelstilzchenlang at 10/21/2004 4:00:08 PM
I have a little question regarding the xmlObject. I understand how to fill an
xmlObject, but there are these things like
xmlObject.firstChild.ChildNodes[2].lastChild.firstChild.nodeValue and I really
have no idea how to use this. I already tried a lot and also read every article
in the docs ... more >>
createEmptyMovieClip - quoted instance name
Posted by maugan at 10/21/2004 3:44:10 PM
Hi
I've been having some problems with a createEmptyMovieClip command.
I did have the code working when I individually named the instance but
seeing as the number of attached movies is going to increase I put all
the references in an array, all works ok when just returning the value
from... more >>
Playing one sound after another not working.
Posted by edwarddavid at 10/21/2004 2:39:05 PM
I have a site I am trying to develope. It has two sound tracks in it.
I play the first one then after the first sound track is finished it is
support to go to a new frame and play the second sound track.
It works fine in test mode but when I put it on the web and play it.
What I get is the f... more >>
remove hand cursor from href link in text box
Posted by ritzcoder1 at 10/21/2004 2:36:44 PM
Hi. I am trying to remove the hand cursor from a flash textbox. I do not want
it to show up at all - both when hovering over the link and when the user
clicks on the link. I have tried the following:
1. Set selectable to false for the text box instance
2. Set useHandCursor to false for t... more >>
Wait script problem
Posted by mitcho at 10/21/2004 12:23:49 PM
hey everyone, im new to these forums so hello. ive been a flash user for a
while but am only recently an actionscript user.
i have been working on a flash file that has three buttons and when they are
all clicked i want the movie to progress to the next frame, however i dont want
this to h... more >>
Focus on Textfield
Posted by Sylvain Emma at 10/21/2004 10:57:43 AM
Hello,
I've got a textfield and when i click on it i'd like the text inside to be
selected instead of having the cursor. here's my code :
mon_champs.onSetFocus = function() {
this.setSelection(0, this.text.length);
}
but it doesn't work :(((
any solution ?
Thanks.
... more >>
LocalConnection problems with Netscape and Safari
Posted by mrdebauchery at 10/21/2004 8:35:29 AM
Hi
I am trying to get two flash movies to talk to each other. Everything works
fine in Internet Explorer on PC and MAC, but Netscape and Safari don't want to
know.
See http://www.ianetservices.com/beacon/our_team
The way it's set up is as follows:
On each of the pages in the iframe i... more >>
Write text file from Flash ?
Posted by shamilv at 10/21/2004 4:33:50 AM
Hi
Does anyone know how to write a text file from Flash without using any server side coding?
Thanks in advance
Shamil
... more >>
evaluating a concatenated string
Posted by rodsil at 10/21/2004 3:09:27 AM
Why doesn't the second trace work?
Thanks,
Rod Silvestri
function traces (){
dateRng = "ratesObj.rates.";
suffix = "tower.dateRange[0].dateBreak.val";
// this trace works.
trace (ratesObj.rates.tower.dateRange[0].dateBreak.val);
//
concatString = dateRng + suffix;
// ... more >>
Calling ActiveScript functions from HTML
Posted by Double_R at 10/21/2004 2:06:22 AM
Is there a way to call a function defined in a Flash movie from a JScript or VBScript block from HTML? ... more >>
DataGrid Rows
Posted by N[e]RD at 10/21/2004 2:03:37 AM
I want to loop through all of the rows in the DataGrid component...
Is there either a way I can loop through it using properties of the component.
Or is there a way I can find out the number of Rows a datagrid currently has
displayed?
... more >>
Frame Names as Variables
Posted by atreau2k at 10/21/2004 12:31:21 AM
If My On Release Button Command is:
on (release) {
this.gotoAndPlay("productsout");
set (xgotovalue,"wardrobes");
}
and i want go to a different frame ("wardrobes") right after ("productsout"),
however I want to set the frame name to be a variable....ie... xgoto... more >>
|