I reckon either on a javascript forum or the haxe mailing list :)
On 27 November 2014 at 19:10, John R. Sweeney Jr. jr.swee...@comcast.net
wrote:
Since this list has gotten rather quite, where are people going to discuss
topics and problems.
Or ask for help…
Thanks and H:)ppy Thanksgiving
At the end of the day it's still a JS app being run on the device, native
will always be faster/more performant.
On 9 September 2014 14:34, Rick rickhas...@hotmail.com wrote:
Phonegap is great until you want to do something out of its parameters.
Also, my experience has been: build once,
@erick: You can use externs for all the native functionality. Same goes for
using existing C++ or Java libs.
On 23 June 2014 10:53, tom rhodes tom.rho...@gmail.com wrote:
@David:
You can render HTML5 in openGL with Haxe/OpenFL. OpenGL is default on all
teh native targets, the html5 target
@David:
You can render HTML5 in openGL with Haxe/OpenFL. OpenGL is default on all
teh native targets, the html5 target is still not 100% there, but there's a
new backend for it which has improved things massively. Bitmap animation is
no problem, either using OpenFL or the createJS extensions if
Look at Haxe, www.haxe.org and in particular OpenFL lib (
http://www.openfl.org/) to use with it, port your AS3 to Haxe (there are
automated tools for this, but you'll probably still have to get your hands
dirty) and from there you should be good with a few tweaks to compile with
OpenFL to HTML5,
make some batch files that launch the files you want from the same dir.
or make a little command line prog that takes the name of the file you want
to launch as a command line argument...
On 10 April 2014 17:37, John R. Sweeney Jr. jr.swee...@comcast.net wrote:
Howdy all,
My client wants to
Sorry Cedric, I didn't ever make the switch to TLF once I'd dabbled with it
a bit, so I can't help you out there.
Crazy they have dropped it from CC though and yeah I do remember flash 3 :)
On 27 August 2013 23:01, John R. Sweeney Jr. jr.swee...@comcast.net wrote:
Yep. Director 12 came out in
http://sourceforge.net/adobe/tlf/svn/604/tree/
doesn't look like anyone has touched it for a couple of years. maybe you
can create the method you want?
On 28 August 2013 10:08, Cédric Muller flashco...@benga.li wrote:
:)
I feel so alone with that TLF
Sorry Cedric, I didn't ever make the
ha. ok. that's me out of ideas!
On 28 August 2013 11:05, Cédric Muller flashco...@benga.li wrote:
:D
hi there.China Team Test Change
http://sourceforge.net/adobe/tlf/svn/604/tree/
doesn't look like anyone has touched it for a couple of years. maybe you
can create the method you want?
i generally use them for something teeny tiny that is only needed in the
scope of the main class and doesn't feel right in it's own file as it's
never used anywhere but the main class.
On 27 May 2013 12:24, Paul A. p...@ipauland.com wrote:
Out of curiosity, has anyone on the list actually used
Did adobe really advance the state of the art with flash though? they did
stuff that the community was screaming for and had been for a long time. It
was often buggy too.
CreteJS is very nice, and it's only just started so I expect it to get
better. For the web I've already done a couple of
the differences in the flash and createJS apis? or the state of affairs? ;)
no offence meant Mike, just the way it has played out has left a bitter
taste in a lot of peoples mouths I'd reckon. I've personally lost income
through it for sure as I now have to convince people that my skills are
how depressing that a simple AS3 question has turned into a thread about
how everyone is now coding JS!!
whilst we're on that subject though...
http://haxe.org/doc/targets/js
http://www.haxejs.org/
is about as close as you are going to get to AS3 in terms of JS. i can't
recommend haxe enough
wrote:
I hate to say it, but AS3 is kind of dying. My hope is AS4 (or whatever
they end up calling Actionscript Next) with it's gaming focus, will
revitalize things a bit.
Kevin N.
On 10/26/12 11:11 AM, tom rhodes wrote:
how depressing that a simple AS3 question has turned
hmmm, i'd say from future splash days flash was doing something that html
could not deliver. it still does in a lot of ways but it's always a plugin.
adobe could have done a google a while back and made a browser but that
boat has sailed a long time ago. flash is still way better than any flavour
either put the text in the button, or put the button over the text, first
way would make more sense as you wouldn't have to move two things every
time you change your layout.
On 9 July 2012 21:05, Cor c...@chello.nl wrote:
Which version of Flash do you have?
-Original Message-
From:
um, instead of putting things over, why not put your loader IN a sprite
instead, or if you're loading an image make a bitmap and stick that in a
sprite.
seems odd to me to have mouse events on something placed over something
else, what happens if you want to move the image? you have to move the
hey,
the graph api isn't such a hard thing to get your head around, it would be
absolutely fantastic if it only worked how it was documented ;)
the new(ish) as3 api that has been linked on here is a lot easier to use
than the OAuth ports that were around before.
this is really handy
i know it was a long time ago, but surely someone has these somewhere :(
On 29 March 2012 20:41, tom rhodes tom.rho...@gmail.com wrote:
hi,
i'm going through some really old work to add to a portfolio site, one old
site in particular i used to really like uses the original as1 amfphp style
i found (via the help haxe mailing list) NetServices and NetDebug, but
NetDebug includes a whole bunch of other stuff.
@peter, thanks a million i'll try what you have there. Generator jesus
i remember seeing the demos for that when it came out.
@john, ha! i've been thinking a lot about that
hi,
i'm going through some really old work to add to a portfolio site, one old
site in particular i used to really like uses the original as1 amfphp style
remoting :D
only thing is, i can't compile it anymore as i lack the necessary
NetServices.as, NetDebug.as files which i neglected to pop in
well, either you can add an Service to MVC and get MVCS, or perhaps your
main app controller would load it if it's config stuff and set up models
accordingly. i imagine you have a model ready and waiting to store the info
in?
basically you want to keep app logic out of models, they just want to
have a look at sockets
http://www.kirupa.com/forum/showthread.php?289815-PHP-AS3-XML-Socket-Game-Server
On 9 March 2012 12:23, Henrik Andersson he...@henke37.cjb.net wrote:
Steven Loe skriver:
I have a flash project that polls a php server every 10
seconds to check for commands. I have
you could look at haxe too, neko server would be very fast and you could
use haxe remoting between client and server over a socket connection. would
perform a hell of a lot better than polling imo.
On 9 March 2012 19:51, Steven Loe stevenloe5...@yahoo.com wrote:
The problem I'm having is this:
i've done stuff with my own informal model, view and controller separation.
i've done things with pureMVC and now i've done a couple of things with
robotlegs. i much prefer robotlegs, it's made me think of a lot of things
differently, has reduced the size of my classes and i think enforces a
yeah, getting more into robotlegs took me away from fat controllers, the
single are a really nice way to make sure you don't end up with any
monolithic classes.
if your calculations change the data i'd say they should be in the model
and exposed through it's API. if they are just using the data
traditional vanilla MVC tends to use composition like the example given,
check out robotlegs if you don't like it :) then you inject dependencies
instead of passing them around and everything gets a bit more loosely
coupled...
On 16 February 2012 11:46, Paul Andrews p...@ipauland.com wrote:
:
On 16/02/2012 11:11, Paul Andrews wrote:
On 16/02/2012 10:54, tom rhodes wrote:
traditional vanilla MVC tends to use composition like the example given,
check out robotlegs if you don't like it :) then you inject dependencies
instead of passing them around and everything gets a bit more loosely
at 2:32 AM, tom rhodes tom.rho...@gmail.com wrote:
@Andrew: as Kevin said, jQuery is in there as standard (i posted an
example
of some simple jQuery haxe earlier in this thread). by widgets i guess
you
mean plug ins though right?
check this conversation
http://haxe.1354130.n2
check out TweenMax and the bezierThrough property.
if you are moving horizontally and tweening just the x though, on
enterframe you can go cycle through 360° set your y based on the sine of
that and an amplitude. that will do what you want too.
On 7 November 2011 18:25, Paul Andrews
ok, here is the most basic webcam script in the world as provided by cedric
:)
http://46.4.226.29/camtest/flash9/
this does not work in chrome v 14 on a pc or on a host of macs.
anyone?
On 19 September 2011 16:05, tom rhodes tom.rho...@gmail.com wrote:
anyone got any ideas why this script
,
Cedric
HTML 99% bad :P
ok, here is the most basic webcam script in the world as provided by
cedric
:)
http://46.4.226.29/camtest/flash9/
this does not work in chrome v 14 on a pc or on a host of macs.
anyone?
On 19 September 2011 16:05, tom rhodes tom.rho...@gmail.com wrote
hey cedric if you've got code that you think 100% works on everything send
it on and i'll put it up on the link. i thought that too :)
after googling i've found stuff about looping through character names and
attaching google cameras to video objects offstage, or pulling out the name
for the usb
());
}
}
}
On 19 September 2011 10:24, tom rhodes tom.rho...@gmail.com wrote:
hey cedric if you've got code that you think 100% works on everything send
it on and i'll put it up on the link. i thought that too :)
after googling i've found stuff about looping through character names and
attaching google
) ExternalInterface.call(alert,
event.toString());
}
}
}
On 19 September 2011 10:24, tom rhodes tom.rho...@gmail.com wrote:
hey cedric if you've got code that you think 100% works on everything
send
it on and i'll put it up on the link. i thought that too :)
after googling i've found stuff
());
}
}
}
On 19 September 2011 10:24, tom rhodes tom.rho...@gmail.com wrote:
hey cedric if you've got code that you think 100% works on everything
send
it on and i'll put it up on the link. i thought that too :)
after googling i've found stuff about looping through character names
);
}
}
private function startcam(event:StatusEvent):void {
if (ExternalInterface.available) ExternalInterface.call(alert,
event.toString());
}
}
}
On 19 September 2011 10:24, tom rhodes tom.rho...@gmail.com wrote:
hey cedric if you've got code that you think 100% works on
everything
hey all,
i want to confirm that this...
http://46.4.226.29/camtest/
does not work on a mac, and in chrome 14 beta on the pc? massively simple
webcam example, source below...
code
package
{
import flash.display.Sprite;
import flash.events.Event;
import flash.events.StatusEvent;
import
flash develop + the new flex sdk will let you target android with AIR.
or have a look at www.haxe.org for another way to do it without spening
money ;)
On 21 June 2011 16:03, David Hunter m...@davidhunterdesign.com wrote:
Thanks Jason,
Guessed that would be the case.
I was badly briefed
what kevin described is basically what flash develop automates for you, so
yeah, no need for 5.5.
On 21 June 2011 17:02, David Hunter m...@davidhunterdesign.com wrote:
Thanks for the links Beatrix, I will check them out. But right now I need
help with compiling for Android!
(I'm talking
debug player is always slower, it does a lot more stuff in the background...
On 16 June 2011 22:25, Kevin Newman capta...@unfocus.com wrote:
It runs at a full 25fps (it can go much faster) on the release player. On
the same machine with the content debugger though, I only get 10fps.
It's
not just spanish keyboards, italian too definitely @ = ALT-GR+ò. not sure
about french. would appear to be a big prob...
On 29 April 2011 21:52, Helmut Granda cont...@helmutgranda.com wrote:
Hi Elia,
Are you on a non-english keyboard? I never heard of that combination but
that may have to
or look into haxe, www.haxe.org, especially the cpp target.
On 28 April 2011 22:56, Matt S. mattsp...@gmail.com wrote:
If its an actual SWF, aint gonna happen. You need to use packager for
iOS in CS5.
.m
On Thu, Apr 28, 2011 at 4:22 PM, Steve Abaffy st...@msmarketing.biz
wrote:
sorry, look at jeash HTML5/canvas target if you want it to appear in a
webpage, cpp is for apps...
On 28 April 2011 23:14, tom rhodes tom.rho...@gmail.com wrote:
or look into haxe, www.haxe.org, especially the cpp target.
On 28 April 2011 22:56, Matt S. mattsp...@gmail.com wrote:
If its
get the images rawContent (should be a bitmap if there were no security
sandbox issues) then use it's data property to get a BitmapData object which
you can then use in as many bitmaps as you want.
On 1 April 2011 13:53, allandt bik-elliott (thefieldcomic.com)
alla...@gmail.com wrote:
hi
stick var request:URLRequest; before your switch, then assign it with
request = whatever later
On 16 March 2011 19:16, Marco Terrinoni ma...@mularam.com wrote:
Hi everybody
I'm sure some of you have experience with this issue
I'm trying to write an array for all my navigation buttons
yep there's definitely a move away from flash going on.
On 7 March 2011 20:06, Kevin Newman capta...@unfocus.com wrote:
I still wonder about the affect of the prerelease program.
That and all the HTML5 work clients keep demanding (I've seen a massive
shift in demand lately - none of it well
i've done this trick and it works great, and it was a scripted animation...
On 3 March 2011 18:51, Kevin Newman capta...@unfocus.com wrote:
Have you ever tried switching to 1FPS for exporting to QT? I wonder if that
would skip fewer frames. You'd need to multiply your time based animations
multisampled pianos are available without having to record it all yourself!
you'd still have to be loading a hell of a lot of wavs for it to sound half
decent though, and probably code up something to handle the release of the
keys properly...
On 8 February 2011 16:27, Kerry Thompson
not realistic enough no, but the OP did say it could be simple and not have
to be too accurate. in which case multisampling each note would be overkill.
i'd look for piano samples online (there will be oodles) and start messing
with them and if it sounds ok to you then go with it...
On 8
Michelle's examples or see if you can find the Flashcodersbrighton
experiments with as3 synths if you are interested.
On 08/02/2011 15:35, tom rhodes wrote:
multisampled pianos are available without having to record it all
yourself!
you'd still have to be loading a hell of a lot of wavs
if you use flashdevelop, you add the swc to your library and then you can
use all it's assets in your code.
On 1 February 2011 14:42, Mendelsohn, Michael
michael.mendels...@fmglobal.com wrote:
Hi Eric...
I've been wanting to do that forever with some fonts and a movie clip that
I use in
http://www.infogroupindia.com/blog/?p=513
On 1 February 2011 15:12, Mendelsohn, Michael
michael.mendels...@fmglobal.com wrote:
Wait -- not so fast. How do you import it?
Is it advanced AS3 settings|Library Path, then bring it in there? Clicking
OK to that doesn't have the swc appear in
the bigspaceship classes (
http://www.bigspaceship.com/blog/labs/bss-classes-flash-and-the-fb-graph/)
using
Oauth are great and once you're logged in you can play with graph api calls
to your hearts content.
On 17 January 2011 18:18, Zeh Fernando z...@zehfernando.com wrote:
The first gotcha of
ahahah.
ok i promised a client 3d dancing and talking monkeys integrated with
facebook and twitter, i've got a facebook account but i'm a bit stuck with
the rest
On 12 January 2011 10:08, Glen Pike g...@engineeredarts.co.uk wrote:
No, Beno is still on holiday.
On 11/01/2011 18:06,
Hi,
i'm getting really close to a deadline and a very big project fla went
corrupt on saturday, i googled the issues with cs5 and rolled back a version
or two in svn and then saved only as xfl but today i made a few changes to
the xfl to export a new swc with assets to use with the flashdevelop
yeah i think the probs started from power going off and on on friday
afternoon.
nothing i can do?
On 20 December 2010 14:21, ZaoNews zaon...@bol.com.br wrote:
Here we had to remake after power outage...
2010/12/20 tom rhodes tom.rho...@gmail.com:
Hi,
i'm getting really close
and starting from scratch just isn't an option...
On 20 December 2010 15:08, ZaoNews zaon...@bol.com.br wrote:
Sorry, I don´t know
2010/12/20 tom rhodes tom.rho...@gmail.com:
yeah i think the probs started from power going off and on on friday
afternoon.
nothing i can do?
On 20
i'll give it a go! sounds similar to what i did on sat to make it work for a
day...
On 20 December 2010 17:06, Mendelsohn, Michael
michael.mendels...@fmglobal.com wrote:
One thing I tried which seemed to work, temporarily anyway, was to save the
xfl file from the seemingly corrupt fla file,
same here compiling for flash player 10 and flash player 9, 8 and below give
0.3 as expected
On 14 December 2010 15:42, Adrian Zając zajac.adr...@gmail.com wrote:
trace (0.27 + 0.03);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
to the last digit, and never compare
floating point numbers for equality.
Additional, interesting read:
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
On Tue, Dec 14, 2010 at 10:15 AM, tom rhodes tom.rho...@gmail.com
flash develop has svn now
On 23 November 2010 17:35, Tom Gooding t...@quickthinkmedia.co.uk wrote:
Someone on our team introduced this on large projects to replace FDT -
apparently the refactoring is a lot better, less of a memory hog and a lot
of the supplementary tooling (ANT / SVN
good idea to export it at 1 fps, that way you don't get skipped frames (even
with heavy actionscript use), then speed up the resulting mov to the
original framerate and you've got a perfect mov.
On 25 October 2010 07:25, Karl DeSaulniers k...@designdrumm.com wrote:
@Henrik
One possible
yup, pretty much always been there, depends on your actual framerate. to
make it smooth you'll have to do something timebased to calculate the
position...
On 29 September 2010 18:45, jared stanley jared.stan...@gmail.com wrote:
hey gang i have no idea what's going on here -
he did say in the original post that a motion tween was smooth!
On 29 September 2010 19:25, Taka Kojima t...@gigafied.com wrote:
This is going to sound abrupt but have you ever heard of a tweening engine?
http://www.greensock.com/tweenlite/
On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl
grant skinner didn't make the greensock stuff. credit for that goes to Jack
Doyle :)
On 18 September 2010 13:29, Cor c...@chello.nl wrote:
TimeLineMax
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
look at TimelineMax for sequencing, or do a loop through all your objects
and assign them different tweens.
On 9 September 2010 21:38, Merrill, Jason
jason.merr...@bankofamerica.comwrote:
Because the number needs to not be random, but correspond with the item
being tweened - I guess I could
what henrik said, or stick them in sprites first and mask the sprites...
On 7 September 2010 21:16, Henrik Andersson he...@henke37.cjb.net wrote:
Mask the Bitmap, not the BitmapData.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
why not make 2 bitmaps, one transparent and one not, mask the non
transparent one to reveal the transparent one, will look the same as what
you are trying to acheive i think...
On 3 September 2010 15:01, Glen Pike g...@engineeredarts.co.uk wrote:
On 03/09/2010 13:32, George Jones wrote:
Hi;
var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip;
...
then later...
myContent.myVar = something;
On 4 June 2010 18:46, Lehr, Theodore ted_l...@federal.dell.com wrote:
What would it's instance name be?
my last line is:
addChild(loadEvent.currentTarget.content);
designed for GPU if
you set wmode to GPU, but doesn't really say very much more, which is the
important part. Exactly what considerations should we take when designing
for GPU compositing?
Kevin N.
On 5/28/10 5:23 AM, tom rhodes wrote:
http://www.kaourantin.net/2008/05/what-does-gpu
http://www.kaourantin.net/2008/05/what-does-gpu-acceleration-mean.html
http://www.kaourantin.net/2008/05/what-does-gpu-acceleration-mean.htmlgoogle
has a lot more too.
On 28 May 2010 07:35, Fahim Akhter akhter.fa...@gmail.com wrote:
That makes two of us brother.
Fahim Akhter
Game Developer
read the comments, seemingly nothing at all to do with anything flash-like
in reality!
On 8 May 2010 14:54, William Bierwerth b.bierwe...@earthlink.net wrote:
Mac gaming-never took off either,
they don't have the mindset for development
~b
Ktu wrote:
oh apple. Why do you have so many
http://www.w3schools.com/xml/xml_cdata.asp
On 6 May 2010 14:56, John Singleton johnsingleton...@yahoo.com wrote:
Whoops. Now I have this in my XML:
DETAILSh3Senior Citizen Discount/h3
bDelta Electric and Construction Co., Inc./b finds its pricing to be
fair and reasonable. Their prices
anyone got ExternalInterface calls working in chrome/safari on linux?
or know why mine might be failing? they work on everything else seemingly...
tia,
tom.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes
Sent: Wednesday, May 05, 2010 10:26 AM
To: flashcoders
Subject: [Flashcoders] ExternalInterface broken? chrome and safari on
linux...
anyone got ExternalInterface calls working in chrome/safari on linux?
or know why mine might be failing
i've tried...
On 5 May 2010 18:59, Paul Andrews p...@ipauland.com wrote:
On 05/05/2010 17:43, tom rhodes wrote:
ok, currently got probs with firefox as well on linux. the swf thinks
ExternalInterface is available but nothing gets called in the JS
Maybe it's really a problem with the code
http://www.ubergizmo.com/15/archives/2010/04/quake_ii_runs_on_html5.html
http://www.ubergizmo.com/15/archives/2010/04/quake_ii_runs_on_html5.htmlseems
that html5 isn't as crappy as some people are making out.
On 30 April 2010 09:50, Karl DeSaulniers k...@designdrumm.com wrote:
Ouch my side
Hi List,
just revisiting a 6 month old project, changed the layout slightly and
republishing i'm getting horrible horizontal streaks across the screen when
images are scrolled horizontally. this project has been used live for 6
months without issue and now i see that the new player (i only got it
into the index
a
On 21 April 2010 01:21, tom rhodes tom.rho...@gmail.com wrote:
google bots follow links. like i said before look at the swfaddress SEO
stuff to get started. as long as what google finds at
yoursite.com/section/is the same content you deliver in your flash
when you go
use some server side script to serve up your site, check to see in the
headers sent to the server if the request coems from a bot or from a
browser, if from a bot, serve up your xml, if from a browser server up your
site.
have a google for swfaddress SEO
On 20 April 2010 11:52, Paul Andrews
engines if discovered?
Cheers
Juan Pablo Califano
2010/4/20 tom rhodes tom.rho...@gmail.com
use some server side script to serve up your site, check to see in the
headers sent to the server if the request coems from a bot or from a
browser, if from a bot, serve up your xml, if from a browser
pretty sure you can't do that
On 20 April 2010 14:46, Nathan Mynarcik nat...@mynarcik.com wrote:
Come to think of it, I wonder if you could just make a website for support
and download of your app. Sell it on the site via Paypal or a shopping cart.
Can Apple prevent developers from doing
google bots follow links. like i said before look at the swfaddress SEO
stuff to get started. as long as what google finds at
yoursite.com/section/is the same content you deliver in your flash
when you go directly to
yoursite.com/section/ then there is no foul play going on.
it's not doubling up
File Publish Settings Flash Actionscript 3.0 Settings Strict Mode
(uncheck it)
that's your easiest solution if you are having trouble. once you get more
into the AS3 side of things you won't need it any more...
On 16 April 2010 17:33, natalia Vikhtinskaya natavi.m...@gmail.com wrote:
Yes
percent = percento = per cento = for/in every 100
so when you say 15% you are saying 15 in every 100. s
if i have 100 apples and 25 of them are red...
(25 / 100) * 100 = 25% of the apples are red.
if i have 200 apples and 25 of them are red...
(25 / 200) * 100 = 12.5% of the apples
DeSaulniers k...@designdrumm.com wrote:
No, that makes TOTAL sense.
but why does 15/3000*100 = 0.5?
15% of $3,000 dollars is not 5¢ its $450
http://wiki.answers.com/Q/What_is_15_percent_of_3000
Maybe my mac calculator is broken?
Frustrating..
Karl
On Mar 17, 2010, at 6:14 AM, tom rhodes
lol i was trying to make things as simple as possible...
although google *could* be wrong ;)
On 17 March 2010 17:27, jonathan howe jonathangh...@gmail.com wrote:
Funny thing is, I'm in a talk right now with Grant Skinner presenting and
he
just threw up this slide:
Math
At a bare
check out haxe (www.haxe.org), you can write in something almost identical
to AS3 and target c++, cpp, php, javascript and neko when you compile.
i haven't used it for c++ but i've followed conversations on the mailing
list about targetting the iphone. probably a good way to dip your toe in
while
more than one way to skin a cat :)
just thought it might be handy to look at given that Matt was weighing up
how much of a headache diving into objective-C woudl be...
On 11 March 2010 18:05, Merrill, Jason jason.merr...@bankofamerica.comwrote:
check out haxe (www.haxe.org), you can write in
are you beno in disguise ;) ?
i would strongly suggest if this is fixed (i.e. you know what you're shape
is and it's not going to change) to do it on a timeline with masks.
if not then you need to get to grips with the drawing api and for curves
maybe some maths too. for a straight line it's
that's not going to preload anything though. we know how everyone loved the
skip intro days...
victor, you need to do this in flash (if i've understood you correctly) you
get your preloader to load in your main content, it's a container...
Lehr, try this code, hopefully it should explain...
function drawDot(targetSprite:Sprite, size:int):void
{
targetSprite.graphics.beginFill(0);
targetSprite.graphics.drawCircle(0,0,size/2);
targetSprite.graphics.beginFill(0);
}
var originOfStage:Sprite = new Sprite();
addChild(originOfStage);
look at lineGradientStyle, or use your dotted line to mask a shape with the
diff colours in the right places, or draw different lines, one with one
colour and one in another colour...
On 25 February 2010 16:28, Lehr, Theodore ted_l...@federal.dell.com wrote:
I would like to draw a line that
one that i remember from um years and years ago is the motown one. probably
not all that amazing now but was probably one of the first and did it well.
google should dig it up for you...
On 25 February 2010 19:16, Mendelsohn, Michael
michael.mendels...@fmglobal.com wrote:
Thanks for the
you could also make createBar return a reference to the sprite...
function createBar(dfile:String):Sprite {
...
mySprite = new Sprite();
// do stuff
addChild(mySprite);
return mySprite;
}
var mySprite:Sprite = createBar(string);
then you can remove it
ok, bar isn't the name of the sprite, it's a variable with name bar which
contains a reference to your sprite... if you want to use names then do
something like bar.name = String(bar_ + i); but personally i'd use an
array like so...
var bars:Array = [];
function createBars():void
{
for (var
yeah, horses for courses...
if you want to better encapsulate stuff, i find it easier to work with
arrays (in fp10 vectors) and pass them around if needs be. tying your code
to specific timelines gives you more work to do if you want to reuse that
code imho.
for something quick and dirty in
Lehr,
try this...
var pArray:Array = new Array();
var mc:MovieClip = pArray[0] as MovieClip;
mc.gotoAndStop(2);
or...
var pArray:Array = new Array();
MovieClip(pArray[0]).gotoAndStop(2);
which is closer to your original AS2.
On 22 February 2010 17:48, Henrik Andersson
yeah didn't work in safari when i was playing around with something similar
a few years ago, everything else was ok though. i was calling a function in
JS to resize the size of the flash. i'd be interested if anyone had anything
working along these lines that worked in all browsers...
On 19
1 - 100 of 148 matches
Mail list logo