Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Why Is My DrawRoundRect Turning Into An Ellipse?


Hi, for some reason actionscript is causing my drawn round rect to convert into an ellipse when its values turn into negatives. The problem is I need it to stay hooked onto the mouse coordinates regardless whether those figures become negative.

My code for it is below, could anyone guide on a way to avoid this/shed light on why its changing the shape into an ellipse.

function drawrorect(event:MouseEvent){
var myrorectobj = area.getChildAt(objcount)
myrorectobj.graphics.clear();
myrorectobj.x = lineorigX + (lineorigX - (mouseX - area.x))
myrorectobj.y = lineorigY + (lineorigY - (mouseY - area.y))
myrorectobj.graphics.beginFill(objhex);
myrorectobj.graphics.drawRoundRect(0, 0, (stage.mouseX - (area.x + myrorectobj.x)), (stage.mouseY - (area.y + myrorectobj.y)), 10,10);
event.updateAfterEvent();
}

Cheers,
Adam




ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 04-28-2008, 02:55 PM


View Complete Forum Thread with Replies

Sponsored Links:

DrawRoundRect Is Too Sharp :(
Don't you guys think the drawRoundRect needs a "smoothing=true" or something to make the rounded corner better?

The default mode is toooo sharp

I tried for a few times and finally find the effect is rather poorer than using a bitmap instead.

Or anytips for that?

Thanks in advance

View Replies !    View Related
Overriding Graphics.drawRoundRect()
Hi.
I'm new to AS3, so, please, be patient =)
Here's what I'm trying to do:
I want all the classes that extend DisplayObject class i.e. MovieClip, Sprite, Shape to use my self-made function instead of graphics.drawRoundRect() when it's called. (Something you'd do in AS2 by changing the prototype of say, MovieClip class). I just dont like the corners of the rectangular I get after using this method, and, I believe, I can substitute it with some better-looking one.
So, technicaly, what I'd like to do is smth like this:
override Graphics.drawRoundRect(){...} (which I tried in several ways I could've imagine with no positive results).
Is there any way to do it at all?
Thank you for your reply.

View Replies !    View Related
Move Along Ellipse
Hi,

I'm trying to move text along an ellipse, but can't get it right. Can anyone tell give my some directions?

I have an ellipse as a motion guide, and want the text to go 'round', so I think it has to flip and change size when moving along the back of the ellipse, so it fakes the 3D space. But I actually don't know how it's done...

View Replies !    View Related
Ellipse Challenge
In a drawing-application when drawing an ellipse I want the ellipse to grow from the point clicked, grow out from that point, and keep it as center.

To achieve this I simply on mouse_move, move the ellipse back half its width, and up half its height...

That works, but the problem then is that the cursor-position isnt positioned at the ellipses edges like it should be.

For drawing there are two functions.
startDrawing() - defines the point where mouse is clicked (MOUSE_DOWN)
whileDrawing() - contains the drawEllipse-script (MOUSE_MOVE)

Here is a graphic explanation of the problem:
http://www.snelhest.org/upload/image..._challenge.JPG

Thanks.

View Replies !    View Related
Draw Ellipse
I have found a script to draw a ellipse, but I cant get to work. I have made a few changes so it's easy to paste in but nothing that should influence the funcion!?

It just draws a straight line. (the diagonal I think?)

I found the script here:
http://e-articles.info/e/a/title/Drawing-an-Ellipse-using-ActionScript/

- and here is my version with a few moderations:

function drawEllipse(mc, xRadius, yRadius, x, y)
{
var angleDelta = Math.PI / 4;

var xCtrlDist = xRadius/Math.cos(angleDelta/2);
var yCtrlDist = yRadius/Math.cos(angleDelta/2);
var rx, ry, ax, ay;
mc.moveTo(x + xRadius, y);
for (var i = 0; i < 8; i++)
{
angle += angleDelta;
rx = x + Math.cos(angle-(angleDelta/2))*(xCtrlDist);
ry = y + Math.sin(angle-(angleDelta/2))*(yCtrlDist);
ax = x + Math.cos(angle)*xRadius;
ay = y + Math.sin(angle)*yRadius;
mc.curveTo(rx, ry, ax, ay);
}
}

var tst = _root.createEmptyMovieClip("ellipse", 1);
tst.lineStyle(1, 0x000000, 100);
drawEllipse(tst, 100, 200, 300, 300);

View Replies !    View Related
DrawingAPI An Ellipse
I want to draw a ellipse using a function that looks like this :

ActionScript Code:
function crearecerc(mcClip:MovieClip){     nRadius=parseInt(raza.text);     nX=parseInt(corx.text)+X;     nY=parseInt(cory.text)+Y;     mcClip.beginFill(parseInt(culoare_t.text, 16),100);     mcClip.lineStyle(1,parseInt(culoare_t.text, 16), 100);    var nAngleDelta:Number = Math.PI / 4;    var nCtrlPoint:Number = nRadius/Math.cos(nAngleDelta/2);    var nAngle:Number = 0;    var nRx:Number = 0;    var nRy:Number = 0;    var nAx:Number = 0;    var nAy:Number = 0;    mcClip.moveTo(nX + nRadius, nY);    for (var i:Number = 0; i < 8; i++) {      nAngle += nAngleDelta;      nRx = nX + Math.cos(nAngle-(nAngleDelta/2))*(nCtrlPoint);      nRy = nY + Math.sin(nAngle-(nAngleDelta/2))*(nCtrlPoint);      nAx = nX + Math.cos(nAngle)*nRadius;      nAy = nY + Math.sin(nAngle)*nRadius;      mcClip.curveTo(nRx, nRy, nAx, nAy);    }     mcClip.endFill();}


This function creates a circle but I want to create an ellipse knowing just the center , right distance and down distance like in this figure :
figure
mcClip is the movie clip .
the center and the distances I take from a input text.

View Replies !    View Related
Ellipse Container
I threw this together in response to a question in the Actionscript forum.
There's a simpler version here:
http://www.kirupa.com/forum/showthread.php?t=98185

View Replies !    View Related
What Is The Ellipse Tool
Dear members,
Iwas reading a tutorial about Flash, and in it it says use ellipse tool, and as you all know there is not an ellipse tool in flash 8.

First what is ellipse tool, and is there a substitute for it in flash 8?
Nasser

View Replies !    View Related
DrawingAPI An Ellipse
I want to draw a ellipse using a function that looks like this :

ActionScript Code:
function crearecerc(mcClip:MovieClip){     nRadius=parseInt(raza.text);     nX=parseInt(corx.text)+X;     nY=parseInt(cory.text)+Y;     mcClip.beginFill(parseInt(culoare_t.text, 16),100);     mcClip.lineStyle(1,parseInt(culoare_t.text, 16), 100);    var nAngleDelta:Number = Math.PI / 4;    var nCtrlPoint:Number = nRadius/Math.cos(nAngleDelta/2);    var nAngle:Number = 0;    var nRx:Number = 0;    var nRy:Number = 0;    var nAx:Number = 0;    var nAy:Number = 0;    mcClip.moveTo(nX + nRadius, nY);    for (var i:Number = 0; i < 8; i++) {      nAngle += nAngleDelta;      nRx = nX + Math.cos(nAngle-(nAngleDelta/2))*(nCtrlPoint);      nRy = nY + Math.sin(nAngle-(nAngleDelta/2))*(nCtrlPoint);      nAx = nX + Math.cos(nAngle)*nRadius;      nAy = nY + Math.sin(nAngle)*nRadius;      mcClip.curveTo(nRx, nRy, nAx, nAy);    }     mcClip.endFill();}


This function creates a circle but I want to create an ellipse knowing just the center , right distance and down distance like in this figure :
figure
mcClip is the movie clip .
the center and the distances I take from a input text.

View Replies !    View Related
DrawingAPI An Ellipse
I want to draw a ellipse using a function that looks like this :

ActionScript Code:
function crearecerc(mcClip:MovieClip)
{
     nRadius=parseInt(raza.text);
     nX=parseInt(corx.text)+X;
     nY=parseInt(cory.text)+Y;
     mcClip.beginFill(parseInt(culoare_t.text, 16),100);
     mcClip.lineStyle(1,parseInt(culoare_t.text, 16), 100);
    var nAngleDelta:Number = Math.PI / 4;
    var nCtrlPoint:Number = nRadius/Math.cos(nAngleDelta/2);
    var nAngle:Number = 0;
    var nRx:Number = 0;
    var nRy:Number = 0;
    var nAx:Number = 0;
    var nAy:Number = 0;
    mcClip.moveTo(nX + nRadius, nY);
    for (var i:Number = 0; i < 8; i++) {
      nAngle += nAngleDelta;
      nRx = nX + Math.cos(nAngle-(nAngleDelta/2))*(nCtrlPoint);
      nRy = nY + Math.sin(nAngle-(nAngleDelta/2))*(nCtrlPoint);
      nAx = nX + Math.cos(nAngle)*nRadius;
      nAy = nY + Math.sin(nAngle)*nRadius;
      mcClip.curveTo(nRx, nRy, nAx, nAy);
    }
     mcClip.endFill();
}


This function creates a circle but I want to create an ellipse knowing just the center , right distance and down distance like in this figure :
figure
mcClip is the movie clip .
the center and the distances I take from a input text

View Replies !    View Related
Rotating Pictures In Ellipse
Hi,
I am looking for some (easy to understand) action script to move 1-10 pictures around in an ellipse, and scaling them accordingly. Small in the back and full size when in front. The speed can be fixed but should be keptured in a parameter. I would also like to stop the movement when the mousecursor runs over one of the pictures and display some text somewhere on the screen.
The first bit is really the part I am looking for. The text appearance I could sort out myself but if you have an example ready it would save me some time.
Thanks, Maurice

View Replies !    View Related
Rotating Pictures In Ellipse
Hi,
I am looking for some (easy to understand) action script to move 1-10 pictures around in an ellipse, and scaling them accordingly. Small in the back and full size when in front. The speed can be fixed but should be keptured in a parameter. I would also like to stop the movement when the mousecursor runs over one of the pictures and display some text somewhere on the screen.
The first bit is really the part I am looking for. The text appearance I could sort out myself but if you have an example ready it would save me some time.
Thanks, Maurice

View Replies !    View Related
Pop Up Ellipse From Cycle Diagram?
hi
im a beginner with flash 8, but i have started to get a general feel for it now.
i am designing a website, where i want a cycle diagram with ellipse shapes. once you place the mouse over one of the ellipses i want either the title words to change to explain something, or, for a new large ellipse to open/pop up 'on top' of the cycle diagram to explain that something, and then onmouseout to bring it back down to the cycle diagram once finished reading.
is this possible to do!?
if so, is there any chance someone could explain how to do it?!
thanks, it would be much appreciated

View Replies !    View Related
Drag Drop Within An Ellipse.
Total newbie here
I'm trying to make an object only drag within the confines of an ellipse.
I know I can use the Rectangle method to confine an object to drag, but really need it to only drag/drop inside the ellipse.

View Replies !    View Related
How Uses The ActionScript Draw Ellipse?
How uses the ActionScript draw ellipse?

View Replies !    View Related
Text _rotate Follow Ellipse
This one may be best directed at senocular: I have a simple script that displays a string in an elliptical pattern. The problem I am having is rotating the characters properly so their base is parallel to the elliptical curve.code: var myFormat = new TextFormat();
myFormat.size = 20;
myFormat.font = "Arial";
chars = "This is a test String";
for (var i:Number = 1; i<=chars.length; i++) {
x = -250*Math.cos(i/(chars.length/3))+275;
y = -200*Math.sin(i/(chars.length/3))+250;
this.createTextField("chars"+i, 100+i, x, y, 20, 30);
this["chars"+i].embedFonts = true;
this["chars"+i].text = substring(chars, i, 1);
this["chars"+i].setTextFormat(myFormat);
this["chars"+i]._rotation = ???
}


for this script to work you'll need to add the arial font to your library, name it Arial and link it for AS exporting.

Any help on this would be great. I saw senocular's post on another board regarding an AS function used for creating and rotation MC's in an circle. I couldn't make sense of it in the 5 minutes I read over it so I decided to be a little lazy.

Sleeve

View Replies !    View Related
Plot An Ellipse -- Equidistant Points
I'm really hoping someone can help...

I need to plot points at an equal distance along the circumfrence of an Ellipse.
As it turns out, I'm pretty bad at geometry, which doesn't help.

I can plot the ellipse, but because I'm using sine/cos and incrementing with theta the points are crunched towards the outside of the major radius.
I've tried a bunch of different approaches- recording lots (5000) of points, then stepping through each to compare actual distance but I'm not getting nearly accurate results this way.
I've looked at drawing dotted/dashed curves from drawing api/custom classes but no luck.

If I could affect theta at the same rate the ellipse is plotted I think I'd be ok, but I can't quite grasp it.

I've read all sorts of impossiblilites about this,and a lot of people having miserable experience with this sort of thing (one guy spent 8 years trying to fit an equal-sided polygon in to an ellipse).

But- at the end of the day I can go to the Flash IDE and draw an ellipse and stroke it with an equally spaced dotted line! I just need to do this dynamically and record the points...

Any thoughts?

View Replies !    View Related
How Can I Get Angle Of Reflection Inside Ellipse ?
How can I get angle of reflection inside ellipse ?
Hi . by your favor I'm English is very poor .

I want to get angle of reflection inside ellipse .
How can I get this ?

This is reference document

http://cage.rug.ac.be/~hs/billiards/billiards.html

http://forums.ultrashock.com/forums...e+of+reflection[/url]

http://cont112.edunet4u.net/~jin062.../JSP/EL002.HTML

This is my FLA (flash 8 ) file.

http://www.linuxstudy.pe.kr/~charmhoi/data/ellipse.fla

Thank you for your time.

View Replies !    View Related
Turning Around
im trying to get my one attached mc "zombie", to flip over or turn around when the oter MC "guy", is on the other side of it.i had this code on the zombie when i didn't attach it.

Code:
onClipEvent (enterFrame) {
if (_root.guy._x < _x) {
_xscale = Math.abs(_xscale);
} else {
_xscale = -Math.abs(_xscale);
}
}
but when i use this code after i attached it,

Code:
_root.zombie.onEnterFrame = function() {
if (_root.guy._x < _x) {
_xscale = Math.abs(_xscale);
} else {
_xscale = -Math.abs(_xscale);
}
};
it doesn't work....can anyone help?

View Replies !    View Related
Turning SWF's Into FLA's
Anyone one know where I can get the programme that does this? I know it's about as I used to have one, before I reformated my harddrive and lost it!

View Replies !    View Related
Turning Off An .mp3
I have a secondary .swf loading into a master .swf. I am loading an .mp3 into the secondary .swf dynamically by creating a new sound and a new sound channel (here's my vars):


ActionScript Code:
var musicPiece:Sound = new Sound(new URLRequest("mp3s/intro.mp3"));
var mySoundChannel:SoundChannel;
var isPlaying:Boolean = false;
var pos:Number = 0;

I just have a pause button in the secondary .swf and everything works fine, the problem is that I have 3 more secondary .swfs that will load when called from buttons on the master .swf. I'm unloading the new loaders that carry the .swf childern on the main timeline of the master .swf, but the sound, of course, doesn't stop. I tried just addressing the sound channel var I made:


ActionScript Code:
this.swfIntroLoader.mySoundChannel.stop();

swfIntroLoader is the loader that I created in the master .swf that loads the child .swf (secondary .swf) with the mp3 player in it.

I've also tried to cast "swfIntroLoader" as a MovieClip and that didn't work either.

Any suggestions?

View Replies !    View Related
Turning
How can i turn an object around with motion tween?

View Replies !    View Related
Turning
How can i turn an object around with motion tween?

View Replies !    View Related
Turning Something ...
Howdy flash people.

I can't work out how to do this, I have a MC called "dial" and I have centered it in the MC.

Now when I press on it I want it to turn with the cursor like a real dial so if I press it and turn it left it will turn left and it will turn to whereever my cursor it on the stage.

Any help would be great :D

View Replies !    View Related
Turning MC's Into Buttons?
Hello and thank you for coming! I have a question. I am dynamically loading Movieclips depending on what button a user clicks. Once these MC's are loaded, when a user rolls over this clip it is supposed to load the same MC but a larger display of it into another Movieclip. I am pretty sure I am suppose to turn these dynamic MC's into buttons. But how do I do this not knowing exactly what Movie clips will be loaded since it is based on what button the user clicks? (By the way if this helps, the SWF files are being loaded into the dynamic duplicated Movie clips.)

View Replies !    View Related
Turning Off Music
would i be using action script to turn off music in my flash movie? ie do if i have a button to turn off music, how would i code it to turn off the music.

thanks

View Replies !    View Related
Turning Hittest Off And On...
i have a little game i'm making (just a shooty one) and when a baddie movie clip gets hit, he goes into an explosion. when the baddie is moving down the screen he is on frame 1 of his own movie clip and the hittest sends him to frame 2 and plays for 4 frames which is the graphic of him exploding.... i want the hit detect to be turned off on frame 2 of his movie so if he is exploding and hits your ship that you don't lose energy and also because as a laser hits the baddies, they goto and play frame 2 as well, but if you shoot them while they are exploding, they keep going back to and playing frame 2 which means you can keep shooting the same enemy and getting points as long as you are quick...

here is the script for the hit detection:
(spaceship is the goodie, enemy is the baddie, laser is the goodie shots at the baddie)

on the enemy:
onClipEvent (enterFrame) {
if (this.hitTest(_root.spaceship)) {
_root.hits--;
gotoAndPlay (2);
if (_root.hits==0) {
_root.gotoAndStop("gameOver");
}
}
}

on the laser:
onClipEvent (enterFrame) {
for (i=1; i<=_root.numEnemy; i++) {
if (this.hitTest(_root["enemy"+i])) {
_root.score += 100;
_root["enemy"+i].gotoAndPlay(2);
_root.spaceship.laserCounter--;
this.removeMovieClip();
}
}
}

please help cos its got me stumped... if i wasn't very clear up there, basicaly i want frame 2 of an enemy movie to take off the hittest that the onclipevent of that movie turned on...

ask me if you want to know anything that will help you help me

thanks in advance...

View Replies !    View Related
Turning A Scene Into Its Own .fla
I have a .FLA file that has about 40 scenes in it. I need to break each scene up into an individual movie so I can set a preloader up for it.

Whats the easiest way to take a scene and make it into its own .fla file? I tried highlighting all the layer names and timelines then copy and pasting and that didn't work.

Can someone help me out?

Thanks a lot!

View Replies !    View Related
Turning Var On Main TL To
Hi,

I have been succesful in sending var values from HTML to flash the "myMovie.swf?myVar=myValue" way

These vars exist on the main timeline.

Now I converted the stuf on the main timeline to a MC.
Hence, the variables are not set on that level.

So I tried two ways to convert these to:

1.) global vars:

Code:
var myVar;
Object.prototype.myVar;
2.) MC- specific vars:
('a' is the name of the MC instance)

Code:
var myVar;
a.myVar=myVar;
But when I trace() the values, nothing is there.

What am I doing wrong?

View Replies !    View Related
Turning Gif Into Button?
I am trying to make an animated gif into a button. When that image is clicked, I want it to go to a certain url. When I try to make it a button, the animation doesnt play, it just shows the first frame. It does link however. How do I make it animate, and do I need to make it into a movie clip?

View Replies !    View Related
Turning MC's To Buttons
Hi,

i have a movie clip that uses actionscript to randomly change its opacity (thanks sinfiniti). how would i alter this to use as a button?

thanks

View Replies !    View Related
Turning Problems
Alright I am trying to make a ship that can "turn". My current coding is this

onClipEvent (load) {
movespeed=10
}
onClipEvent (enterframe) {
if (Key.isDown(Key.RIGHT)) {
this._rotation += movespeed;
}
if (Key.isDown(Key.LEFT)) {
this._rotation -= movespeed;
}
if (Key.isDown(Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y -= moveSpeed;
}
}

but all this does is rotate the ship and make it go up and down, I want to make its so the ship can turn and change direction.

For example: If the ship is facing north I want to be able to use up arrow key to make the ship go north. But If I rotate the ship so it faces east I want the up arrow key to make it go east.

View Replies !    View Related
Turning Off A Button
Anyone know a way of turning off a Button?

The only thing i can thing of is putting something Hidden above it. I think that will work, havn't tried it yet.

View Replies !    View Related
Turning Sounds Off And On
Hello all..I have a problem. I made a button..like a speaker and want the sound on the page to go off..which is fine.. but how do you turn it back on... and off again? It's a character talking..dialog..so if it can stream and be turned off...would be good. I have the dialog in a layer..and the button. What do I do? Thx.

View Replies !    View Related
Turning A Key On His Spine
i have a mc. not a shape.
how can i rotate the key on his spine?
i cant add shape hints couse its not a shape
the FreeTransform tool didnt gave me any results

attach please find a screen shot

tnx a lot
me

View Replies !    View Related
Page Turning
I have this flash movie that I'm using, but am having problems with!!
http://www.actionscript.org/showMovie.php?id=459
Whenever I add new pages, even with maxPages set to 10 (i want 10 pages), they don't show up. If someone could tell me how to get it working, it would be greatly appreciated!!

View Replies !    View Related
Pages Turning?
hey,

does anyone know how this could be accomplished??

http://www.ae.com/aestyle/

it looks like it could be pretty complex, i mean with all the shadows and stuff. plus, the turning pages and all that crap. thanks to anyone who could help me out. ive seen this done a couple times, but this was the fastest loading. thanks.

-jake

View Replies !    View Related
Turning Logo
Is it possible to create a turning logo, but only turning horizontally, so the edges of my logo won't make a greater circle then the actual logo??? Is this understandable? Pleez help!!!

View Replies !    View Related
Music - Turning On/Off
Hi

Ok i'll try not to confuse anyone with what im gonna ask so here goes.

Ive got a button called 'toogle' on a layer called 'toggle' that allows me to turn some music on and off - the music is in a sepearte movieclip called 'soundtrack' on a layer called 'soundtrack - and it works fine.

However if i turn it off, it begins to play again after one of the movieclips called 'background' within the site loops??

Below is the ActionScript im using on the button to control the music:

on (release) {
if (music == true) {
music = false;
stopAllSounds();
} else if (music == false) {
music = true;
Soundtrack.gotoAndPlay(1);
}
}

I cant understand why it begins to play again after i've turned it off? any help with this would be greatly appreciated!!

also i have a layer named actions that initialises the load sequence to the whole flash movie that includes the script:

music = true

again if anyone can help its appreciated

THANX

Ben.

View Replies !    View Related
Turning Pages
Anyone know of a good tute on turning pages of a book forward AND backward??????

View Replies !    View Related
Turning Sound Off.
I added a button that turn sound off. However, when I click onto another scene, the new sound comes on. How do you make a master sound button that turn sound off throughout a show?

I know this is probably very simple, but bear with me, I'm a newbie.

Thanks.

View Replies !    View Related
Turning Layers Off And On
Can you user actionscript to turn layers off and on or turn the visibitly off and on?

View Replies !    View Related
Turning Page
Hello,

I'm woking on a school project and I'm looking for a flash script that can flip your pag.
I mean a script like can be seen on http://innercity.id-t.com/

I can't find it on the tutorlials part. So if sombody can tell me where I can find sutch a script i will me verry happy.

greatz

View Replies !    View Related
Turning On And Off - Quite Simple
Hi i am trying to turn visibilty of a movie clip on if off and vice versa.

On the first frame of the scene i have put:

suit._visible = false;

I have attached this to a button:

on(release){
if(suit._visible = true){
suit._visible = false;
} else if(suit._visible = false){
suit._visible = true;
}
}

i have also tried this with _root infront off "suit".

Whats the problem?

View Replies !    View Related
Turning 86 Into 86,00 In A String... Please Help
Hi,

I'm designing an order form and use the following code to make an outcome of a calculation of "86.5" into "86.50". But how do I adjust that code to make an outcome of "86" into "86,00"? So, with both 00's AND a comma?

var myString = String(((myvar+myvar2+myvar3)*myvar5));
var Temp = myString.charAt(myString.length-2);
if (Temp == ".") {
MyString += "0";
}
perMonth.text = myString;

Thanx a lot!

View Replies !    View Related
Product Turning
does anybody know the best way to do a product turning 360 in flash. the product will be a car rim. And do you know the code for the mouse to move left or right depeding where the users mouse is

View Replies !    View Related
Turning A Pc Into A Web Server
ello people

Can anyone give me some tips/pointers or maybe a link or two on some info on how I can turn my home computer into a webserver?

I've got htis link:

www.firepages.com.au

which offers a free download package of I think apache and php

All I really want to do is serve a placeholder page and a few images. I'm running win 2k pro, can I run a server on that? I can't really install another o/s at the moment

Thanks all

[edit]what is apache btw?[/edit]

View Replies !    View Related
Turning GetCode Off?
Hey,

PHP Code:




this.onEnterFrame = function() {
  c = Key.getCode();
  if(c>=65){
    type(c);
    c = 0;
  }
}






I cant see what's wrong with this code

It seems like that when I press a Key, C keeps getting the same value every time, but I only want to get that value one time when pressed...

View Replies !    View Related
Turning Off Sound
This might be posted in the wrong place - sorry!

I'm using Flash.ocx and I'd like to know if there's a way to mute all sounds in a movie using something like TSetProperty?

Many thanks,

peetm

View Replies !    View Related
Page Turning
Anyone know a tutorial or place to learn how to animate a "turning page" ??

View Replies !    View Related
Turning Movie Into B/W
hi
can i load in an external swf into a parent movie and set it to load color as B/W, regardless if they are saved as color?

i have done this trick to load jpg images, saved as swf files, into a movie for display (a photgrapher's catalog) where they needed to be changed out regularly.

any help would help...


cs

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved