all groups > flash actionscript > august 2007 > threads for friday august 17
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
Right-Click ContextMenu oddly affects ExternalInterface performance
Posted by cayennecode at 8/17/2007 11:32:33 PM
Most notibly what happens is, I have an ExternalInterface callback that
receives javascript updates, and uses them to move an object on stage around.
Everything works great, until I right-click in the browser. Then the
ExternalInterface call acts sluggish, only updating sporadically as oppos... more >>
Is flash the tool to create the most interactive sites
Posted by 56231 at 8/17/2007 9:56:52 PM
Can Flash do highly interactive graphically intense websites like a 3d computer
game or is the internet still to slow for this?
Secondlife.com seems to be getting close. Can Flash create a site where you
can zoom in and out and rotate objects.
Can anyone tell me some cool websites that are g... more >>
SWF protection / obfuscation
Posted by Anze at 8/17/2007 8:11:23 PM
Hi all!
Before you shout "you can't!" please hear the question... ;)
I'd like some advice on protecting swf files. I am well aware what can and
what can't be done, but I find it hard to figure out what some of the
obfuscators do. I guess all of them rename the variables, but is that all
the... more >>
Receiving .asp response in flash
Posted by Tim_Dawg at 8/17/2007 7:59:18 PM
Ok, so I got this flash guest book that sends the name/message to the .asp
script.
The .asp script puts the name/message nicely into a .txt file.
How do I use the response from the .asp to trigger something in my
actionscript?
... more >>
removed per user request
Posted by Ney Vasconcelos at 8/17/2007 7:55:57 PM
Setting Name of Loaded Movie Clips
Posted by wdrudolph at 8/17/2007 7:20:00 PM
I'm getting this error after I use the loader to load in an swf- and then try
to rename it to something useful.
Error #2078: The name property of a Timeline-placed object cannot be modified.
This is a new one - this means that I cannot rename a loaded file?
I would like to actually access ... more >>
how can a sub class access exisiting stage item?
Posted by C-Rock at 8/17/2007 6:39:49 PM
i have a button on the stage. the document class loads two sub classes. how do
you get the sub class to access/work with a stage item that is already on the
display list?
as3.0 is killing me!!! grrrr...
thanks!
... more >>
AS3 depth management issue
Posted by IlikeIke at 8/17/2007 6:02:55 PM
Hello folks! Looking for a little technical advice - let me explain:
I'm converting a small flash game that I had built in flash 8 with as2 to
flash 9 with as3 and have hit a snag. The visible object on the stage in that
application is simialr to a rubiks cube as seen from an upper corner (sor... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Relative path in class
Posted by ??? at 8/17/2007 5:11:10 PM
ActionScript 2.0:
class myclass{
public obj:Object=new Object(), myxml:XML = new XML();
public function myclass(){
myxml.load('test.xml');
obj.test1 = 1; // it work because flash found object "obj"
myxml.onLoad =fucntIon(){
obj.test2 = 2; // dont work because flas... more >>
EventListener with Delegate class
Posted by stephan.k at 8/17/2007 4:48:17 PM
Dear Forum
I have a syntax question. I am not quite familiar with the Delegate class and
I was wondering how to properly remove the following event :
dg.addEventListener("onDrop", Delegate.create(this, itemDrop));
Thanks
SK
... more >>
shared resources and relative path whoa's
Posted by gralish at 8/17/2007 4:01:39 PM
Is there a way to preserve relative paths links with 3 levels? Here the
problem. We have a bunch of swf files in a swf directory. say swf/file1.swf
that share a font in a shared library... linked at say: fonts/myFont.swf
These swf are loaded with LoadClip
... more >>
Use variables as index in Associative Array?
Posted by lichtjiang at 8/17/2007 3:03:24 PM
It's known to use a string as index to call an array element as follows:
City["Chicago"]={_county:Cook, _state:"IL", ...}
But is it possible to use a variable to hold a state name and use that to
reference an array element? It is helpful in cases when we iterate through a
subset of all e... more >>
fullscreen and noscale using AS3.0
Posted by andy-man at 8/17/2007 2:30:53 PM
I'm attempting to create a projector that will go fullscreen and without
scaling using AS 3.0
In AS 2.0 I simply did this:
fscommand("allowscale", false);
fscommand('fullscreen",true);
Worked every time...
I've tried a few things, like the following:
import flas... more >>
Change Frame depending on date
Posted by warnere at 8/17/2007 2:12:34 PM
Folks,
I have a movie that has 25 frames. I would like to actionscript that on
designated dates the movie would target a specific frame. (i.e., on Aug. 22,
2007 go to frame 2, on Aug. 26, 2007 goto frame 3 and so on) I am a major newb
in actionscript so can you please tell/show me what the a... more >>
3.0 question...
Posted by C-Rock at 8/17/2007 2:00:49 PM
I have a main document class. Then I have another class that represents the
"tools" available for a map section. This class is in a sub folder and they
both load fine. I want to know how to access methods from two different
packages. My classes are all public.
Also if the mapTools.as class... more >>
Creating custom components in CS3
Posted by hciguy at 8/17/2007 1:36:46 PM
Can anyone here point me to a place to look to learn how to make custom
components in CS3? I found only two tutorials on it on the entire internet -
FlashBrighton and a SWC version posted by someone named smackme. Neither of
them really explains the AS logic to how they work. Yes I can follow ... more >>
Connect Flash to Serial Port with Local Socket Connection
Posted by BSpero at 8/17/2007 12:47:29 PM
Hey all,
So, I am trying to connect a Flash movie to a serial port and have it react
to the input coming in. Of course, Flash does not have this capability built
in, so I need a workaround. I also program in Director, and there are easier
ways to deal with this there, but since there hasn... more >>
[Math] Finding points along a bezier curve
Posted by abeall at 8/17/2007 4:20:08 AM
This isn't specific to ActionScript.
I have the 4 points that make up a cubic bezier curve. I want to:
1) Determine the length of the bezier curve
2) Determine a point along the bezier curve based on a distance from the start
point
3) Determine the angle/direction/orientation of a point ... more >>
xml help, cant get rid of the tags
Posted by mr-m at 8/17/2007 4:19:43 AM
Hello,
I am doing my first xml project. I can update a dynamic text box from a xml
file on the server, but when the dynamic text box is populated the <tag>
data</tag> appears. I only want the word "data" without all the <> </>. Any
help would be great.
... more >>
eval() and _root question
Posted by action74 at 8/17/2007 2:50:08 AM
Using FlashCS3,
This works:
_root.mcScreen1._visible=0;
So why doesn't this work:
i=1;
_root.eval("mcScreen"+i)._visible=0;
Is this a valid wayto use the eval() function? Thanks for your help.
... more >>
Set text width in order to display the whole message
Posted by lokat at 8/17/2007 2:44:40 AM
I have put a dynamic text (multiline) on the stage with width 91.3 and height
21.9 .
The instance name of the text is "txtdirection".
On the other hand, I have a variable called "mymessage".
And my code is like this:
mymessage = "Turning right....";
_root.txtdirection.textWidth=my... more >>
maxChars
Posted by jonnybennett at 8/17/2007 12:54:58 AM
I have a text box. I want to set it so that people cant type more room than
there is in the textField. Is there a way to do this.
maxChars does not really work, for example
if I type.
'mmmmmmmmmm'
opposed to
'123456789112345'
I can fit alot less Chars in the same space, as the le... more >>
xml video playlist
Posted by lostinscript at 8/17/2007 12:30:55 AM
Hi,
I've been looking for a tutorial to make an XML video playlist, where the user
clicks on a thumbnail and a video is loaded in via XML (kind of like youtube).
Does anyone know of any good tutorials for this, i've been looking for ages but
cant find any...i've checked the adobe site, f... more >>
gotoandplay command
Posted by gmatteson at 8/17/2007 12:00:00 AM
I have a scene which contain a movie that is the menu bar. when a user clicks
on one of the links on the menu bar, i would like the scene to jump to frame 2.
no go! any ideas? thank you.
//menu commands in movie that is located on scene 1
mybutton.onRelease = function(){
gotoAndstop("Sce... more >>
Change graphic from external data
Posted by delwyw at 8/17/2007 12:00:00 AM
I am doing a flash game, like changing faces but get suck on the scripts.:frown;
Please see the below scripts(I put them on the frame action) that is there any
problem:
-------------------------------------------
loadVariables("data.txt", "_root");
// loading external text file, to make c... more >>
how to Call HTML Layers from Flash?
Posted by adreny at 8/17/2007 12:00:00 AM
how to Call HTML Layers from Flash? i need a help on example or script. ... more >>
|