Hi to all, how do I simulate a rope in ActionScript? I've seen something
like that somewhere, but I'm not able to figure out what it was.
Anyone knows about it?
--
MATTEO 25:11 Più tardi arrivarono anche le altre vergini e incominciarono a
dire: Signore, signore, aprici!
My client wants to have a new system for mapping their plantation status
using USB GPS (Garmin/Magellan). My job will be to develop a custom
software for retrieving data from their GPS and saving them in a
database for later analysis.
I've been Googling for Java / .NET GPS API but I'm not
We are trying to protect our swf-files from loading by others (protecting our
bandwidth).
Searching the net, no solution could be found for this. We want our users
flashfiles to be loaded from our site,
but rejected when called from other sites to secure our bandwidth.
NOTE: The flashfiles are
I use gpstools and works fine.
http://franson.com/gpstools/index.asp?
Its also economic.
2006/2/20, Anggie Bratadinata [EMAIL PROTECTED]:
My client wants to have a new system for mapping their plantation status
using USB GPS (Garmin/Magellan). My job will be to develop a custom
software for
http://img168.imageshack.us/my.php?image=line2qo.swf
Igor V a.k.a. The Helmsman
www.mixtv.tv
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Candela
Sent: Monday, February 20, 2006 11:49 AM
To: flashcoders@chattyfig.figleaf.com
Subject:
Here is more:
http://lab.andre-michelle.com : fl7: velocity cables
sources included here: http://gamepackage.org (packages download still
available)
Igor V a.k.a. The Helmsman
www.mixtv.tv
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Candela
Check the url of the page in the browser, if it isn't your url then
display another message.
Secondly, have a javascript function on the page that makes sure it is
the top level page (stops people from loading you into a frame).
Jim
-Original Message-
From: [EMAIL PROTECTED]
I've only heard of this in regards to images, but it's termed hotlinking.
There's bound to be a bunch of solutions to it.
http://www.google.co.uk/search?hl=enq=prevent+hotlinkingbtnG=Google+Search
meta=
Adrian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
We built one for Jak2 a couple of years ago -
http://www.jak2renegade.com(click on the crate on the first scene). If
there's enough demand, I'll dig
out the source code and blog it somewhere.
cheers
Seb
On 20/02/06, Luca Candela [EMAIL PROTECTED] wrote:
Hi to all, how do I simulate a rope in
Dear All
Is it possible to detect the word the a mouse is over in a text field in
Flash 8?
I searched for it intensively I only found the following link that talk
about detecting a character under mouse over but in Flex!
http://broadcast.artificialcolors.com/index.php?m=200510
Any help is highly
Hello Luca,
LC Hi to all, how do I simulate a rope in ActionScript?
- try this:
/**
* author Ivan Dembicki,BR/
* version 1.0BR/
* Availability: ActionScript 1.0; Flash Player 6BR/
* usage example below the code
*/
class org.dembicki.ElasticCord {
// public variables
/**
Here is a slight modification:
What will be next steps?
If you want smoother curves and fewer points, and can wait a bit (I'm pretty
busy today), I've written some code a while back that will convert a
sequence of points into a smooth cubic bezier curve. IIRC, curveTo uses
quadratic
Hi there,
Know this is a special demand but maybe some of view have some indwos
services skill...
I have a projector that running has a service (used srvany.exe to run
it), has a test my projector send a message to a php file that juste put
it in a database.
But connection don't happen when
Hi All,
I m Building a flash editor, which is a part of a website
User can add any number of text boxes in the editor and apply any font
on the each character of the textbox with bold, italic or underline
The problem is that whenever the user will change the font, i will have
to load 4 font
Dude, why are you running a projector (which is a gui) as a service (has to
be no gui)? Services are designed for pieces of code that run permanently,
not a transient user interface...
Maybe you need to separate some of your logic from presentation...
-Original Message-
From: [EMAIL
Nick Weekes a écrit :
Dude, why are you running a projector (which is a gui) as a service (has to
be no gui)? Services are designed for pieces of code that run permanently,
not a transient user interface...
Maybe you need to separate some of your logic from presentation...
Yeah, I know
Have you traced out the exact error/failure in your AS? It might be due to
the permissions that the service is running under (you can configure a
windows service to 'login' as any user/administrator, as long as you are an
administrator to start with). Do you pass these parameters to the
Doesn't really sound like a solution..
What i ment was that people don't deeplink/hotlink our swf.
So checking the url or making the page go on top isn't really a solution..
People could always track down the direct path to the swf
Thanks though.
Best regards,
Dennis
- Original Message
Hey,
Thanks for the tip..
We checked it out but what the way you adviced will be working with a
referer..
Meaning that the browser will give the last url to the server(/apache)..
Problem is that not all(/no) browser gives that var along with the request
Many thanks though.. any other
Nick Weekes a écrit :
Have you traced out the exact error/failure in your AS?
Not yet.
It might be due to
the permissions that the service is running under (you can configure a
windows service to 'login' as any user/administrator, as long as you are an
administrator to start with).
YEs, I
According to the ECMA-262 (11.8 and 11.9), all the statements below
should return false. And so does JavaScript in Netscape. Therefore, I
think this is a bug.
_
Tuomas Glad wrote:
I was wondering how this is possible?
var test:Number = undefined;
trace(test = 0); // true
trace(test
hai sir..
i want load a bg image dynamically. i used loadMovie(); option but i lost
the actual color of the image...
syam
-
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre.
Ok, first you need to find out the exact statement that is failing in your
actionscript. When you know what is not working, then maybe we can help.
Also find out if the user account that the service is using can access
networks/internet etc outside of your exe.
-Original Message-
If any rope would exhibit this behavior in real life, this could spawn a
whole new branch of bungee jumpinganti gravity rope bungee jumping or
something ;-)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: maandag 20 februari 2006 11:37
To: Flashcoders
Nick Weekes a écrit :
Ok, first you need to find out the exact statement that is failing in your
actionscript. When you know what is not working, then maybe we can help.
Also find out if the user account that the service is using can access
networks/internet etc outside of your exe.
Thanks
Jesse,
Here is the getInstance that I am using
private function MyManager() {
// constructor
if(_myManager==null){
_myManager=this;
}
init();
}
public static function getInstance() : MyManager{
if(_myManager==null){
Manuel Saint-Victor wrote:
if(_myManager==null){
Nothing is null, unless explicitly set to null.
And why do you check for the existence of the staticly set _myManager
both in the static singleton-accessor and in the constructor - one of
them should be enough.
--
Morten Barklund -
Can anyone explain how to do this. I've seen one example by Jesse
Warden, but it was entirely Flash.
Jeff
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
sorry, I read too fast, this won't work with submitted swf's if you can't
get into them. Might try to see if you created a container swf that loaded
the submitted swf might work?
How about if you put a bit of actionscript in your swf to prevent it from
being displayed on any other url? It's
How about if you put a bit of actionscript in your swf to prevent it from
being displayed on any other url? It's not perfect - the swf can be broken
into and the code found, but it prevents regular surfers from grabbing the
swf and placing it on any other url, (including hot-linking to your
I'm trying to get some code hinting action going and I'm hoping to use the
UIComponents xml file as a guide. Is anyone aware of some more recent
tutorials on components that goes into using the Custom Actions?
The particular problem I'm having is that despite trying to create
components with
sorry, I read too fast, this won't work with submitted swf's if you can't
get into them. Might try to see if you created a container swf that loaded
the submitted swf might work?
Another option is to have the swfs served up by a secure server via an asp
call, rather than available directly.
Hey Jim,
This is about the first thing we did.. but it's really poor for security
though.. you have it open in a sec.. and if if you'r not able to do that you
can catch the http request.. and see everything that is going on..
Because regular visitors won't hotlink anyway you have to count
Only in AS3, not AS2. In AS2:
trace ( null == undefined ); // true
That's not his problem; that solution works fine. Something else is
failing.
It's been this way since like Flash 5.
- Original Message -
From: Morten Barklund TBWA\Play [EMAIL PROTECTED]
To: Flashcoders mailing list
I do not understand your implementation of this pattern.
Classically, in single-threaded environments like the flash player,
Singleton is implemented as below (using your nomenclature):
class MyManager {
private static _myManager: MyManager = null;
public static function
Hi -
I'm trying to tween a bunch of arrows using MM's tween class (like the
many snow flake tutorials out there) This part is working fine. However,
when I add another tween on top of the tweening arrows, the movement of
the arrows becomes quite jerky, but will go back to normal briefly before
Hello games people,
Can anyone suggest a good resource/example of circle-line collision
detection and reaction for platform games? We have been through lots of
tutorials, including the ones in Jobe Makar's demystified book - the
simple examples work fine, but we can't get the examples to
Meta-tiles help to decrease the amount of collision dectection run per
frame.
Additionally, bitmap collisions were always fast in Director, and the same
holds true for Flash's bitmap stuff:
http://www.gskinner.com/blog/archives/2005/02/source_code_gri.html
I've been able to subclass a MovieClip and use the onRelease in combination
with setting hitArea=myHitAreaClip; myHitAreaClip._visible=false;
My simple solution would be to use an invisible button-But although I have
subclassed a button before and made it work- this time my subclassed button
with
Hey,
thanks for this. In fact the collision detection is prohibitive; the
woodpecker effect is the result of detecting more than one collision -
ie, in both directions with a line, so it bounces back and forward not
knowing which way to apply the radius 'buffer'.
All of our code is using
Hi,
Thanks for this, although we decided to work with circle-line based
detection as our game will require frame independent testing. If you're
suggesting we drop circle-line detection in favour of bitmap based
collision detection, how do you see it reducing the complexity of
managing the
This one made it finally make sense
http://www.communitymx.com/content/article.cfm?page=2cid=B4AED
M
On 2/20/06, Noyes, Jeff [EMAIL PROTECTED] wrote:
Can anyone explain how to do this. I've seen one example by Jesse
Warden, but it was entirely Flash.
Jeff
Hi James,
Yeah, the frame independent circle-line stuff from my book doesn't handle
the tips of the line correctly. So that code, as-is, would not work well for
you. I have since create a super robust physics engine that handles edgest,
but at this time its kept close to the vest for
I would strongly suggest this book.
http://www.amazon.com/gp/product/1584503300/sr=8-1/qid=1140455849/ref=sr_1_1/104-7609160-1088727?%5Fencoding=UTF8
Charles P.
On 2/20/06, James Marsden [EMAIL PROTECTED] wrote:
Hello games people,
Can anyone suggest a good resource/example of
Just curious if this works better for you:
private function MyManager() {
// constructor
return getInstance();
}
public static function getInstance() : MyManager{
if(_myManager == undefined){
_myManager = new MyManager();
Slightly off the subject but why does he have to use getInstance()?
Isn't there a way to use a singleton without calling getInstance? Why can't
he directly use the class like this:
import MyManager;
MyManager.doSomething();
The Math class, Delegate class and other classes let you use methods
He can, but every other progammer (well, ok, mainly Java developers) are
familiar with the getInstance convention. It clearly illustrates that the
class is a Singleton.
I only use it when my boss says to; otherwise, static all the way baby.
- Original Message -
From: Judah [EMAIL
hi all. i'm trying to load a swf and scale it down to a specific size
before displaying it. i'm using this to do so:
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
trace(target w:+target_mc._width);
trace(target h:+target_mc._height);
HI,
Using this XML Example:
products
product SKU=7123734
nameBig Metal Pot/name
price19.95/price
anotherA/another
/product
product SKU=752585
namePlate/name
price12.95/price
I was about to strongly suggest that book - but I see you already got there,
Charles. *grin*
Ian
On 2/20/06, Charles Parcell [EMAIL PROTECTED] wrote:
I would strongly suggest this book.
The big difference is that singleton classes have an instance. By having an
instance, the singleton class can inherited functionality as well as
subclasses. There are many more benefits...but it really comes down to how
you're using it. If you don't need inherited functionality, static classes
The dimension of the loaded SWF is the space occupied by instances on
it's first frame... try to place a rectangle at 0:0 with a dimension of
1024 * 768 on frame one in your loaded SWF... Does it do the trick?
A+
Eric Thibault
lars wrote:
hi all. i'm trying to load a swf and scale it down
If you use getInstance(), a constructor gets called - which is often handy
if you need to run any kind of initialisation code for your singleton (that
you couldn't just do with initial property values).
If you just used statics, you might end up having to do something like:
public static
I'm not sure if it's really off topic but it's definitely one of those
questions that I've been pondering as I've been working with my mutant
Singleton/Static variable holder so thanks 4 bringing it up.
Scott - do you mind elaborating or pointing to a quick read on what you're
discussing there.
Is it possible to use an xpath query?
XPath.selectNodes(myXml,/products/[EMAIL PROTECTED] = 'blah'][name/text() =
'blah']);
julian atienza wrote:
HI,
Using this XML Example:
products
product SKU=7123734
nameBig Metal Pot/name
price19.95/price
Actualy, you have the same problem that I had 2 weeks ago...
From Ryan in response to my centering problem of loaded SWF...
-
Ryan Potter wrote:
Eric-
I have run into the same problem before. the only way I found to force
a clip to have a certain
I believe they are using something similar to the technique described in
this article on Community MX. I think you need the pay subscription to
read it. http://www.communitymx.com/content/article.cfm?cid=727E8
However, for those who don't have a subscription, it basically uses two
frames, one of
That's what I love about this list. The stuff I learn is invaluable. :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: Monday, February 20, 2006 12:52 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Re: When singletons go bad
This is the second time (and maybe there were others) that I saw this book
recommended on Flashcoders. Holding aside game programming, how good of a
job does this book with general geometry, trig, calculus, and physics? I've
had several occasions where I am handling animations programmatically via
Okay- so when I'm calling my getInstance(); shouldn't any info I retrieve
about properties on my Singleton be the same even if they are dynamically
updated. For example- I have a class that contains a Netstream object inside
my Singleton and I wold think that from any timeline I could create a
Hi everyone.
I'm trying to load variables from a JSP file on my remote server to a local
swf. I use loadPolicyFile and loadVars, and it works fine when the swf is
called from the standard object/embed code on an html page.
However, ultimately, I want to render the swf through a js.jsp file.
clarification: render.js.jsp renders the object/embed code onto script.jsp
thanks!
On 2/20/06, Jamay Liu [EMAIL PROTECTED] wrote:
Hi everyone.
I'm trying to load variables from a JSP file on my remote server to a
local swf. I use loadPolicyFile and loadVars, and it works fine when the swf
OK, I give up. How do you use CustomButton? (the v2 extension of
mx.controls.Button) It's just giving me tons of trouble and I can't
find a document that really spells it out. I've read Dave Myron of
orangechicken's comments on it but I can't really figure out the
important steps to use this
Sometimes this might work:
var bounds = mc.getBounds(this);
mc._x -= bounds.xMin;
mc._y -= bounds.yMin;
mc._xscale = desired_width/(bounds.xMax-bounds.xMin) * 100;
mc._yscale = desired_height/(bounds.yMax-bounds.yMin) * 100;
- Original Message -
From: Éric Thibault [EMAIL PROTECTED]
I have that book. It is very 3d-savvy. Which means about 50% of it is
stuff you probably won't have any use for in a flash game. But i like it
a lot, it's good reading.
- A
Hairy Dog Digital wrote:
This is the second time (and maybe there were others) that I saw this book
recommended on
That's nice dude :) I dunno about the rest of this mob, but I'd definitely like
to see the source for that effect. Nicer than most of the other ones that have
been posted.
-Josh
--
His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was
Most browsers do this though, so if it's not going to work for most
users, who's gonna steal your content?
--
His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was the best.
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61
I haven't tried this myself, but you may want to check out:
http://www.suttree.com/code/securemedia/
best, - rajat
On 2/20/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:
We are trying to protect our swf-files from loading by others (protecting
our bandwidth).
Searching the net, no solution
Hi Rob,
The book deals with exactly that sort of stuff, from fairly much first
principles - then later goes on to talk about 3D. From what I understand, it
was pretty much written to deal with exactly your situation...
(Danny is on this list somewhere, so can no doubt speak for himself. :-) )
Since I have seen several people here state that they are using Flash in
Director, I thought I would share this news.
http://weblogs.macromedia.com/thiggins/archives/2006/02/coming_soon_sho.cfm
Charles P
___
Flashcoders@chattyfig.figleaf.com
To change
Hi to all,
I'm searching for a valid powerpoint alternative, with internal
design tools and natural swf output.
Any suggestion will be appreciated.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
We would like to officially announce Red5 Flash Server version 0.3.
There are quite a few exciting new features with this release, some of
which include:
FLV Output Code
Audio / Video Recording
Live Stream Publishing
Shared Objects
Standalone Binary Package with Installer
Embedded Jetty Servlet
On Feb 20, 2006, at 10:52 PM, Chris Allen wrote:
We would like to officially announce Red5 Flash Server version 0.3.
Bravo!
Looks awesome.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
Flashcoders@chattyfig.figleaf.com
To change your
Thanks Diego! :)
--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com
Diego Guidi wrote:
I use gpstools and works fine.
http://franson.com/gpstools/index.asp?
Its also economic.
2006/2/20, Anggie Bratadinata [EMAIL
Does anyone know how to create a typographic mosaic in Flash, or if there
are any related tutorials?
I'm trying to do something along the lines of Amaztype
http://amaztype.tha.jp/
except with small-size words filling in the large-size word.
I think the main question is how do you determine the
Hi,list,
Today I write a class,in this class want to parse xml docunment first
,and then do other events.
class like this:
///
class com.newShow.GlideWin
{
var type_str : String;
var xmlPath : String;
var album_arr : Array;
var len :
On 2/21/06, zikey Han [EMAIL PROTECTED] wrote:
var doc : XML = new XML ();
doc.load (xmlPath);
doc.ignoreWhite = true;
doc.onLoad = function (ok) {}
Put the doc.onLoad function assignment before you call doc.load(xmlPath). E.g.
var doc:XML = new XML();
doc.ignoreWhite =
Does anyone have a recursive folder/file checker that would work with
mProjector? I've done this before but having SUCH a brainfart and
would appreciate the assist.
Even looking at X-Ray's recursive feature but its' WAY more than I need
___
On 2/21/06, zikey Han [EMAIL PROTECTED] wrote:
Hi,Chris Velevitch,
Thank you for your replay!But I use you mathod ,it's helpless!
you mean that :
put doc.load after doc.onLoad function assigment.But it can do nothing when
i compile it!
Is the onLoad function being called (put trace
The problem is that :
In doc.onLoad function assigment , I want to transfer function of showType
witch is outside of onLoad assigment!
But it can't work! It can't catch Varibles from outside of onLoad.
doc.onLoad = function (ok)
{
trace(type_str+.. );
if (ok)
{
var str =
Hi guys,
I've got a flash site, contact us page, and when I have the go back
button, which goes to the main frame, the music starts again, how do i
stop the music starting/doubling up when i use gotoAndStop(content)?
thanks guys
nick
___
Hi,
It's a scoping issue. Which has been discussed many many times on this list,
you might wanna do a search.
You can use the delegate class for example to fix this.
Greetz
Hans
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of zikey Han
Sent:
82 matches
Mail list logo