all groups > flash actionscript > january 2006
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
Action Script Question
Posted by bloodworked at 1/31/2006 11:32:24 PM
I have an embeded flash movie on my site. There are links to other video on the
same page, each link opens up a movie in a new window, (so that the picture is
scalable) My problem is that the embeded movie wont stop playing until the user
pushes the stop button. Is there anyway to add somethin... more >>
using variables to save coding
Posted by Anthony Mead at 1/31/2006 11:27:48 PM
Hi there. I wondered if anyone could show me how to utilise variable to save
repeating lines and lines of code.
So, I have 20 movie clips on screen that when I mouse over I want to run the
code below (that simply increases/decrease the movie clip size on
RollOver/RollOut) I could copy and p... more >>
Exponential Zoom
Posted by Rayden74 at 1/31/2006 10:44:19 PM
Hi, I am working on a map with zoom. I want the zoom to be exponential so it is
smooth at any scale, but I must admit I am struggling with the calculation.
The zoom returns the values:
100 = fully zoomed out
1800 = fully zoomed in
from these values I need an exponential calculation t... more >>
Re: How to play Movie Clips x seconds and then stop
Posted by .:}x-=V!P=-x{:. at 1/31/2006 10:05:52 PM
you need to move your
clearInterval(pauseI);
found on line 19
into your function pauseF() {}
... more >>
Event Dispatcher problem
Posted by foutuguy at 1/31/2006 8:50:13 PM
I am discovering the event dispatcher concept in flash and am trying to get it
working.
I have a site that is made of a main swf that will load multiple swf. The site
has 2 languages.
The ultimate goal, in my project, is when the user selects another language,
to dispatch a message,
he... more >>
control the MC
Posted by StevenRAN at 1/31/2006 8:23:09 PM
I need help with the following:
I have MC in frame 3 on my main time line.
I need 3 buttons to control the MC.
Button A
ON ROLLOVER start playing MC in reverse
ON PRESS play reverse skipping frames
Button B
ON CLICK ? stop MC
Button C
ON ROLLOVER start playing MC formard
... more >>
setting target with .url in TextFormat?
Posted by TimTee at 1/31/2006 8:19:49 PM
is there a way set the target to _blank using the .url?
Similar to in getURL("www.theurl.com" target="_blank");
I'm using flash 8 thanks.... more >>
slideshow
Posted by p8ntblr at 1/31/2006 7:29:12 PM
I'm trying to make simple slideshow that will have a pics fade out as you click
the next or back button. Everything works if I just go straight next or
straight back button. The problem is when I transition (ie I click next a few
times then click back). I have to click on the transition but... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
need help in creating Instance
Posted by pythonluv at 1/31/2006 5:51:37 PM
Hi,
I am creating instance of the NumericStepper component dynamically.
like this..
attachMovie("NumericStepper", "stepper1" ,1,{_x:0,_y:0})
attachMovie("NumericStepper", "stepper2" ,1,{_x:50,_y:50})
However only stepper2 is being displayed, and stepper1 will be gone soon as I
crea... more >>
HELP!!! MY WHOLE MOVIE DOESNT SHOW UP
Posted by snowbunny7345 at 1/31/2006 5:48:28 PM
My movie is cut off, http://www.focusedmind.net/ can ANYONEEEEEEEEEEE help me!! PLLLLLLLLLEASE!!!!!!!!!!!!... more >>
Flash 8: UI Components: ScrollPane
Posted by PedroAlberto at 1/31/2006 5:42:05 PM
Hello everyone!
I am using the scrollpane in flash 8. I am loading a swf file into the
scrollpane. Works great. However, when I move the scrollbar up and down the
border of the scrollpane turns green. I tried using the following command:
_global.style.setStyle("highlightColor", "0xFFFFF... more >>
output window not showing trace
Posted by sag544 at 1/31/2006 5:29:51 PM
I'm so sorry, I feel like this is such a simple questions, but...
My output window is not showing up my trace commands. What could be wrong?
Thank you so much. I'm just a beginner in ActionScript. Thank you.
... more >>
Opening an External Program
Posted by ntg412Cleaner at 1/31/2006 5:18:35 PM
I have been trying to make an Active desktop for the college i work for, and I
need to figure out how to make it so when i click on a button, it will open a
program (Like Microsoft word) I just need a simple script, and i have been
playing around with
on (release) {
getURL("file:", "_... more >>
tracing what was loaded into a MC?
Posted by Brian at 1/31/2006 4:23:50 PM
How do I trace what was loaded into a MC?
I have the following:
//create a new movie clip and then load the first main movie
topLoad = this.createEmptyMovieClip("mainContent_top", 50);
topLoad._x = 235;
topLoad._y = 85;
topLoad._alpha = 0;
bottomLoad = this.createEmptyMovieClip("mainConte... more >>
Reset _xscale
Posted by Paul Volpe at 1/31/2006 4:08:57 PM
I have created an interactive map that allows users to zoom in/out with a
slider bar. Additionally, they can pan left, right, up and down. All actions
occur in one frame. I created a reset button that should take users back to the
map's original location and size. I have the code to reposition... more >>
how can you make this action script work?
Posted by rbr1234 at 1/31/2006 3:46:15 PM
I want mc1 to follow mc2 but still do what it does now
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
_root.laser.gotoAndPlay(2);
laser._x = sp._x;
laser._y = sp._y;
}
}
... more >>
dynamically attached mask?
Posted by Brian at 1/31/2006 3:43:31 PM
I is possible to attach a movie clip dynamically and specify it to be a
mask?
Thank you!
B... more >>
Strange error ... what does it mean?
Posted by hfaze at 1/31/2006 3:15:46 PM
I just received this error on my Flash project. It's in my XML parsing function
in a Class.
What does it mean exactly and how do I get rid of it? If i comment out the new
line, it goes away, but the SWF seems to work just fine with it there.
... more >>
put text in a Multiline textfield
Posted by makate at 1/31/2006 2:59:38 PM
i created an empty text field. it is a multiline dynamic text field. how can i
enter multiple text, i can only display 1 line.
2. is it there a way of using a single text file for information of more than
one dynamic text field.
and how do you force a line wrap?
... more >>
I am floundering!
Posted by amyinbrooklyn at 1/31/2006 2:46:17 PM
Ok, I tried not to post here and figure it out myself but I am so confused, I
am not sure how to fix this. I tried reading the books I have on AS, searching
this forum and tutorials on other sites but I can't figure out how to navigate
this XML, pull information from certain nodes and incremen... more >>
what does this error means?
Posted by rohai at 1/31/2006 2:44:27 PM
I've found the asp-xml-flash (datagrid) case and I'm trying to study it. But I
keep getting this error:
Connector STATUS -
Contacts_xmlcon/Fault/XMLConnector.Results.Parse.Error/received data had an XML
parsing error -6
Can someone tell me where to look for the error? It's something wr... more >>
Problems with hitTest
Posted by Seidi Jr at 1/31/2006 2:10:48 PM
I?m trying to create a little game using the hit test function. in the first
part of this game I create a array with some enemies ships using attachMovie -
works fine. I?m having problem with this function:
//verify hitTest against Enemys
for (n=0; n<enemyArray.length; n++) {
//test t... more >>
Changes in datagrid Appearance
Posted by mkokadwar at 1/31/2006 1:36:32 PM
Hi All,
I have to change the appearance of the datagrid, but don't know how to do it
1) How do I hide a column in a datagrid?
2) How do change the color of a cell?
3) How do I remove the line between any two columns?
I'm using Datagrid V2 component
TIA
Mahes... more >>
Help with Sound scripting
Posted by UCSmkt at 1/31/2006 1:35:14 PM
I'm a newbie here so please be gentle and patient. I'm not sure if this is the
best category for this question so please inform me if I need to look elsewhere.
BRIEF HISTORY: I have created a "show" that uses several sound clips as a
narrative throughout the piece with each MP3 clip loaded a... more >>
two loadListeners corupting eachother?
Posted by Brian at 1/31/2006 9:19:29 AM
I am working on the following project and can't get over this problem I
am having.
http://www.agilitygraphics.com/2006/pages/main.html
I am loading the little squares with one loadListener. It works fine so
far. Once all 16 square are loaded I want to load the main movie on the
right. Sinc... more >>
Can you fix this action script i want it so the mc wont go off the screen
Posted by rbr1234 at 1/31/2006 4:19:13 AM
Can you make so mc1 cant go off the screen????
plz try fixing it
onClipEvent (enterFrame) {
if (this.spaceship._x<600 or _x>600 or _y<600 or _y>600) {
if (Key.isDown(Key.LEFT)) {
this._x -= 5;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x +... more >>
too far down the timeline????
Posted by jonnybennett at 1/31/2006 4:03:13 AM
I have some m.c. with onRelease functions that take the playhead to diff
frames. I have placed all the mc onRelease functions in the first frame of the
timeline. An example of one of the m.c.'s buttons with instance name 'community'
community.onRelease=function(){
_global.lastPressedNavBtn... more >>
tree component
Posted by fredmjc at 1/31/2006 3:02:03 AM
Do a search on tree and find out how few responses have been made to question in this area. I was wondering if this whole area was too simple and people didn't respond or what the issue is... more >>
cand you fix this action script to what i want?
Posted by rbr1234 at 1/31/2006 2:09:55 AM
can you tell me a working action script that would replace this?
if(mc1 collides with mc2) {
make mc2 disapear
}
Sincerly
rbr1234... more >>
Visual Basic and Flash - The Basics
Posted by Jammer at 1/31/2006 1:53:04 AM
Hey everyone!
I took the tutorial on visualbasic and flash found here:
http://www.macromedia.com/devnet/flashslideshow/
and frankly, I am still lost.
Here is my question:
I have an exe created in visualbasic. and I have variables passed the way it
reccommends in this pdf.
http:... more >>
transferring variables between movies
Posted by dvwatkins at 1/31/2006 1:03:53 AM
I am making a training course with each sections are split up between differen
swf's. In the first page, the user enter's his/her name. Then the users name
is transferred between and displayed on each of the different swf's. I'm
trying to figure out how to get the variables to each of the m... more >>
Control FLV video with arrow keys of space
Posted by Brenton Gowland at 1/31/2006 12:16:51 AM
Building a powerpoint style presentation controlled by hidden navigation, ie
arrow keys. Trying to include some skinless FLV full screen video slides. The
video's in these slides need to be launched by arrow keys or space bar. It is
easy to change slides with arrow navigation. Finding control... more >>
Sloooow Loading SWFs
Posted by lucastudio at 1/31/2006 12:00:00 AM
I've used the loadMovieNum() script on the following website:
www.ilovebigals.com. From the fading intro to the concept renderings page, the
transition is good, level set at 0. But when I load any of the other .swf files
I built for the other buttons (bowling, arcade, etc.) the screen goes bla... more >>
How can you make this action script work?
Posted by rbr1234 at 1/31/2006 12:00:00 AM
how can I keep sompthing in the same spot as sopmthing else
example
keep mc1 at same spot as mc2 at all times
sincerly,
rbr1234... more >>
FlashMX info > PHP?
Posted by Scott Sosebee at 1/30/2006 9:44:43 PM
Perhaps someone can help me. I have a map of the US in flash mx. Each state is
a flash button, that performs an action in flash. However, I need to write an
action script that can send this information to PHP:
examples:
"state=california"
"state=new_york"
"state=georgia"
etc...you ... more >>
text.autoExpand Question
Posted by HunterStreet at 1/30/2006 8:54:36 PM
I'm working on a project where I am displaying lines of dynamic text that can
be anywhere from 1 - 5 lines long. I'd like for the text boxes to be enclosed
in art similar to a talk bubble which shrinks or grows to fit the amount of
text on the screen rather than using scrollbars.
I was ho... more >>
How do I load a number from a external file?
Posted by Martin at Matrix at 1/30/2006 7:42:11 PM
How do I load a number from a external file?
I try several ways, but I get just atex
loadVariables("planets.asp", this);
stop();
var sunx2=Number(sunx);
var suny2=Number(suny);
var suny2 = new Number(1);
setProperty("moon", _x, "90");
setProperty("moon", _y, "10");
set... more >>
publish settings bug??
Posted by jonnybennett at 1/30/2006 7:36:57 PM
I have unfortunatley done a project that I have been working on for months. I
have been publishing my work for flashplayer 7. The problem is that now that I
have to incorporate flash's upload facility I therefore need to publish for
flash player 8. The problem arises because when I do, it crea... more >>
Help With Arrays
Posted by d00mc0ck at 1/30/2006 5:26:57 PM
Hiya,
Im having a problem adding data to an array. The way im working it is my flash
sever sends a unique name to my client function which is below.
When I trace the "tankName" the name prints outs fine.
The problem is when I try to add it to an array it comes up as undefined. I
was... more >>
Buttons instances and their instance name
Posted by Flamebg at 1/30/2006 4:03:11 PM
Ok here is the problem.. I have one button with instance name btn11 and when it
is pressed it does sertain thing like opening trough animation 4 other buttons.
You push one of them and a text appears in a text field and the 4 buttons
disappear. So when I push the first button again I want the ... more >>
TextArea SetStyle problem
Posted by dr.Evol at 1/30/2006 3:27:35 PM
Hi!
I want to set text margins for TextArea component and I cant get it to work..
textarea.setStyle("marginLeft",40);
textarea.setStyle("marginRight",50);
..regarding to documentation this should work .. but it does not..
Any ideas?
thanks!
... more >>
Depth problem
Posted by amyinbrooklyn at 1/30/2006 2:10:20 PM
I'm not sure if it's really a depth issue but when I put the following code in
the first frame of my movie, it moves the manually placed mc instances also.
Why does it do that? I am only trying to position the dynamic mc instance. I
originally had "this." targeted and just recently changed it... more >>
access var loaded in a LoadVars object, simple question, pls help...
Posted by davidesieb at 1/30/2006 1:46:13 PM
Hello, I'm dynamically loading variables via a php and everything works fine,
I'm using the LoadVars object and I need the variables downloaded to be
"situated" on the _root of my movie, is that possible? I'd like to access to my
variables like this: "_root.myVar" and not like this "myLoadVars... more >>
access var loaded in a LoadVars object, simple question, pls help...
Posted by davidesieb at 1/30/2006 1:46:06 PM
Hello, I'm dynamically loading variables via a php and everything works fine,
I'm using the LoadVars object and I need the variables downloaded to be
"situated" on the _root of my movie, is that possible? I'd like to access to my
variables like this: "_root.myVar" and not like this "myLoadVars... more >>
jump to te framenumber readed from txt file
Posted by wision at 1/30/2006 1:22:18 PM
The problem is next: I have a txt file (frame.txt) in which I have a variable:
kep=2. I want read this variable into my swf file from the frame.txt file, and
then jump to this frame in the swf (kep = 2 = framenumber). The next
actionscript doesn't working:
loadVariablesNum("frame.txt",0);
... more >>
DECENT Scrollbar tutorial?
Posted by wiredsc at 1/30/2006 1:18:56 PM
I have hunted high and low for a decent scrollbar tutorial and I have too much
work on to waste any more time on it, does anybody have a decent tutorial out
there that does not include masking and tweening the text, and does not include
using the UI component?
I have found two so far but t... more >>
London Freelancers
Posted by TimFleet at 1/30/2006 12:54:41 PM
Hi
We are a specialist digital media recruitment agency and have depserate need
for high level AS2 developers. XML integration is essential. Our clients are
primarily new media agencies in Central London and rates are c?250 a day. .
If you or if you know anyone who would be interested ... more >>
XML Socket
Posted by kamsky at 1/30/2006 12:39:17 PM
If i send data to server through XML Socket using asp dot net i am getting in server, But the reply is not available in flash.I don't know where the mistake is?
Help appreciated !... more >>
Curious - char limit in line of code?
Posted by DMennenoh *TMM* at 1/30/2006 7:59:06 AM
Does Flash have a continuation character like Director so long lines of code
can fit within the editor window? Is there a limit to the numbers of
characters in a single line of script? Just curious - I have one real long
line of code in a current project so it made me wonder.
--
Dave -
w... more >>
Javascript vs Flash based webUI
Posted by sqpost NO[at]SPAM hotmail.com at 1/30/2006 7:37:32 AM
Hi,
I have a web-application project which requires interactive User
Interfaces. It is more like a web based xml content editor. I have seen
a few javascript based text editors but not much flash based ones. I
dont have much experience on neither of the technologies so I have to
spent some time... more >>
|