all groups > flash actionscript > january 2006 > threads for friday january 20
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
getPixel values off ???
Posted by stephan.k at 1/20/2006 10:08:06 PM
Hi Forum
I am writing images to a server that have been created in flash 8. Everything
seems to be working fine. Except some of the pixels (mostly black pixels I
think) are off in value in the image on the server. Somewhere along the way
the pixel values with a certain value get screwed... more >>
Flash 8 Player Detection Kit
Posted by highlander_1 at 1/20/2006 8:44:30 PM
Adobe/Macromedia should be interested in this question if they want
to spread Flash player 8 and reach a larger market (design people)
with Flash 8.
Here I?m asking the "Detecion kit question" again with a addition:
Now I tested "Using Actionscript to detect the Flash Player version? f... more >>
Calling all Smart People
Posted by multimediamind at 1/20/2006 7:28:54 PM
Why cant I use this code on a button that assigns an external swf to a target.
The external swf has 2 scenes (preloader) (content). It pulls up the
preloader however it doesn't continue to the next scene. The funny thing is
when I test that external swf it works fine. It preloads and mov... more >>
Button Component Color
Posted by datasix at 1/20/2006 6:15:36 PM
I'm going through a slightly old book that uses the following to change the
color. The following is the global settings they use in the book. The ".face"
property I believe is the one that should change the color of the buttons in
the version they use.
// component colors
globalStyleFo... more >>
Garbage Collection
Posted by Keative at 1/20/2006 5:58:13 PM
Hi all,
I am learning more about actionscript recently.
I wanna create some sample files that create a lot of unused objects
that will be free'd up with Flash Player Garbage collection.
Do you have any ideas how to create those kind of cases?
I tried to do bunch of createEmptyMovieClip ... more >>
Using numbers from an XML file
Posted by MichaelS at 1/20/2006 5:39:58 PM
I'm successfully loading an XML file. Below is a sample of one of the nodes:
<GlossaryItem>
<DefinitionId>4.1</DefinitionId>
<Term>Material</Term>
<Definition>Any source material (see No. 4.4) or special material (see No.
4.5) as defined in Article XX of [ST].</Definition>
... more >>
EMPTY MC
Posted by combava at 1/20/2006 5:38:55 PM
Dear all,
I have a general actionscripting question as well as a specific case scenario.
I'm relatively new to actionscripting but have quite a bit of Lingo experience.
I need to write some code that with update continuously (in order to animate a
character dynamically).
My first impul... more >>
Re: Button Visibility
Posted by Kaare at 1/20/2006 5:04:31 PM
That's pretty easy to do ...
my_bn.onRelease = function(){
this._visible = false;
}
or if you just want to disable it, do this:
my_bn.onRelease = function(){
this.enabled = false;
}... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
cursor not showing up on setFocus
Posted by dxc at 1/20/2006 4:48:33 PM
im trying to make an input text field active when the page loads. im using
Selection.setFocus("txt");
it works but i cant get the blinking cursor to show up until i actually click
inside the test box.
thanks in advance
... more >>
createClassObject creates invisible component
Posted by Digant at 1/20/2006 4:33:00 PM
Here is my setup: I have a custom component that loads an image file. When I
drag the component on the stage and use actionscript to have it load an image,
it loads and i can see it (and I see my trace messages indicating when loading
of the image has started and finished):
(component ex... more >>
Re: using startdrag on two seperate movie clips
Posted by kglad at 1/20/2006 3:51:17 PM
if your pics are a horizontal band located between y=100 and 350, you can use:
_root.onMouseMove = function() {
if (_root._ymouse<350 && _root._ymouse>100) {
path.dragger.startDrag(true);
} else {
stopDrag();
}
};
where that code is attached to the _root timeline and path ... more >>
loading text files during runtime
Posted by stephan.k at 1/20/2006 3:21:23 PM
I haven't looked into this subject since flashMX. Have any changes been made?
I think back then only XML files were able to be loaded by the swf file during
runtime. I am looking for a simpler alternative to XML to set variables in an
external text file.
Any insight or advice appreci... more >>
syntax question
Posted by timdiacon at 1/20/2006 2:31:54 PM
Hello,
I've got a problem working out teh correct syntax to make a function work.
Basically if I have to mcs on the stage one called item_1 and another called
item_1
I then have a function which looks like below.
So when I call - menu_alpha(1);
I want it to make item_1 go to alph... more >>
How to access actions from another level?
Posted by thejokerman05 at 1/20/2006 2:24:21 PM
I have a meny loading in at _level5. A mc (a teaser) that points to a certain
button in the meny system loads in at _level 10 and when this is clicked I need
the meny at _level5 to go to meny1, disable "btn4" and colorTo "btn4". How do I
write the code on the mc at _level10 to make this happe... more >>
Simple gotoAnd... Control Problem
Posted by FirstNforthFinger at 1/20/2006 1:14:26 PM
Hello, I cant makeout how to get a button to target the right frame. Heres the
AvtionScript i have:
on (release) {
ALBUM.gotoAndPlay("pics", "pop6");
}
Thats not right, hehe..
I need the button to gotoAndStop at the Scene "Pics'" then enter Movieclip
"ALBUM" and goto Frame lable... more >>
onLoad doesn't seem to work
Posted by mars_d at 1/20/2006 11:45:53 AM
I am creating a very simple script using onLoad and onEnterframe events on the
mail timeline. However, onLoad doesn't seem to work. Can anybody help here?
ball.onLoad = function(){
status = "stand";
keyMove = 0;
}
ball.onEnterFrame = function(){
trace(status);
... more >>
v.nice movement
Posted by Dz(00) at 1/20/2006 8:25:24 AM
has anyone got any idea how the movement on the site below is done.
basically making movie clips move in correspodence with the cursor - on in
this case move in the opposite
direction - but also making them move different amounts to give the impression
of distance.
http://www.leoburnett... more >>
attachMovie causing an endless loop
Posted by sampurtill at 1/20/2006 8:22:06 AM
Ok so pretty much everything in my movie works perfectly. I dynamically create
a title_mc movieclip and all that is working fine up until this one line of code
var titleText = title_mc.attachMovie("pageText", "title_txt",
title_mc.getNextHighestDepth());
Flash says that's causing an endl... more >>
Creating HTML Table in Dynamic text
Posted by Athang at 1/20/2006 7:17:55 AM
Hello everyone,
Can any body help me to create the HTML table in Dynamic text field.
My efforts -
I have created the dynamic text field and assign the properties -
inst_name.html = true;
inst_name.htmlText = "<table
border=1><tr><td>11</td><td>12</td></tr><tr><td>2... more >>
bring to front
Posted by manojsingh at 1/20/2006 6:57:34 AM
Hi, I've problem in Bring to front movieClip code, It has bring this particular
object to any one on Top, but it has take some time to performing action, so
can You people tell me that how can I resolve my problem so that it work fast
Thanks for any one suggestion.
mx.behaviors.DepthContro... more >>
getUrl & IE security
Posted by philzzz at 1/20/2006 6:41:34 AM
Hi, I have a website with my portfolio. My portfolio consists of thumbnails
with ''getUrl(''javascript:....'' code to open a new URL window. Problem is,
there seems to be securitiy issues with such coding. There is always a warning
and the windows won`t open. Most people don`t know that they h... more >>
How can i make a graph using flash?
Posted by aaronkish at 1/20/2006 5:55:34 AM
i?m trying to draw a coordenated graph of a mathematic funtion (sin or cosin), but i dont know what can i use to do that, please any help i will be very greatfull.... more >>
Rotate MC Facing towards the mouse
Posted by DJ Sick Nick at 1/20/2006 4:25:53 AM
I'm making a game called "Stick Field":confused; and it's a spoof game off of
the game "Battle Field". I need the character, with the instance name of "you"
to rotate facing where the mouse is on the stage. All that I need is the
actionscript, and other suggestions will be very muck apreciated... more >>
setting global style for tree
Posted by fredmjc at 1/20/2006 4:10:36 AM
been using the following:
_global.styles.Tree.setStyle("backgroundColor",0x4D5AB8); and use the "import
mx.styles.CSSStyleDeclaration;"
Want to add a degree of transparency and tried using the following assuming
that the by adding 2 extra characters will give the alpha channel
_global... more >>
Passing a variable to an onRelease function
Posted by OniLink at 1/20/2006 4:04:18 AM
How would I pass the variable j to this button, every time it makes a loop. At
the moment
for (var i = 0; i<display; i++) {
// set variables to reference array elements and y position
var j:Number = start+i;
// check column to place item in
yPos = iy+(i*yStep);
// attach i... more >>
Movie Clip will Not Play
Posted by hitparader61 at 1/20/2006 3:39:54 AM
This has gotta be a bonehead thing, but I cannot get a movieclipthat's loaded
via loadMovie to play. Here's what I'm trying to do:
createEmptyMovieClip("cashout2", 999);
loadMovie("cashoutMC.swf", cashout2);
cashout2.gotoAndStop(2);
// then just
trace(cashout2._currentframe);
Howe... more >>
on (keyPress code problem
Posted by Griffin431 at 1/20/2006 3:32:08 AM
Im making a game that offers the abilty to launch a counter attack by pressing
space. I want to place an invisible button over the the movie, and assign the
following code to it -
on (keyPress "<Space>") {
gotoAndPlay(141);
}
However,this code will not work. My computer reconizes... more >>
Flash problem with Microsoft Office 2003
Posted by Zylozeer at 1/20/2006 3:17:17 AM
I found a few posts but no real solutions to the real problem regarding Office
documents in flash.
Situation: I've got a website that generates html links for users to click on
of documents on a server.
Problem: All other files (txt, pdf, etc) work fine, but all Office related
docs don... more >>
mask a motion path
Posted by 321-go at 1/20/2006 2:37:28 AM
Can someone tell me how to mask a graphic moving along a path.
I need to hide a graphic that moves of the stage in a loaded movieClip that
loads a run time, but I can't seem to add a mask to the layer that hold the
graphic that follows a motion guide layer.
jmerlin
... more >>
Printjob bug
Posted by Silver Paladin at 1/20/2006 2:10:25 AM
i have a script which creates and empty movie clip, loads in a symbol from the
library, adds the movie clip to the print job and sends it to the printer. When
using this in a browser, the flash stage zooms in so much that you can't see
anything. right clicking on stage and selecting show all r... more >>
Re: using startdrag on two seperate movie clips
Posted by kglad at 1/20/2006 1:51:53 AM
you're welcome.... more >>
Re: newbie in need of help
Posted by FlashTastic at 1/20/2006 12:28:47 AM
Okay:
Problem 1 -- you have code on the actual movie clips. Try and keep all your
code on the timeline. This will help learn how to target movieclip in flash way
faster.
Problem 2 -- you're setting the depths of the movieclips manually. This is
tough to keep track of. Every movieclip (... more >>
disable Keyboard Keys
Posted by ni9e at 1/20/2006 12:18:54 AM
Is there a way to disable keys on a keyboard? I have no idea how to even begin coding this.
Any help would be appreciated...
Thanks,
TJ... more >>
|