I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the
stage. They are arranged in such a way to form a triangle...
Now how can i get those 3 angles and sides formed by these points.?
With a high school geometry textbook? ;-)
Law of cosines: c^2 = a^2 + b^2 - 2ab*Cos(q)
Thank u... :-P
ryanm wrote:
I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in
the stage. They are arranged in such a way to form a triangle...
Now how can i get those 3 angles and sides formed by these points.?
With a high school geometry textbook? ;-)
Law of cosines:
Hi Ryanm,
Here is a function which I wrote a long time back. It calculates included
angle it uses cosine rule to calculate the angle.
The other function calculates shortest distance between two points.
function getAngle(vertex1,vertex2,vertex3){
var a =
Hi,
first off: thanks charles, johan and ted for your input on this, it is very
much appreciated.
Having seen flex at spark I agree that would I use flex/as3 I would
probably go down the actionscript-only-project line (so not using the flex
framework), but i'd still need a lot of assets
It's hard to say, what is the best, but I'm really enjoy new AS3. I've
started develop FlashLife engine in AS3 as open source project with
my friends to learn AS3. I think this is the best way to learn it as
Ted say.
My experiences are, that is not hard to write AS3 projects when you
know AS2,
hi folks,
i'm currently playing with the flash player 8 FileReference stuff. i'm
uploading a file to a server script (works fine). the server script
returns an xml with info about the uploaded file. is there any way i
can access the server response?
tia, cheers,
claus.
Hi,
yeah well, im sure the display list things arent too hard, in my own AS2
projects I developed Control like classes which work like:
var tab = new TabPane (_root);
tab.addChild (new Tab());
etc (well to be honest the main control would listen to a TabModel and
create tabs itself
Simon - that's a brilliant solution/hack. I'll be using it :)
best, - rajat
On 11/21/05, Simon Lord [EMAIL PROTECTED] wrote:
Anyone can use the solution and font any way they like, so feel free
to do whatever you want with the font Karina. The Mac and PC font
should be in the archive. A
Well, i'm think that AS3 + lot of graphics assets is for Flash 9 :)
Flex Builder 2 is not Flash 9 :)
this is just tool for FLEX coders, and AS3 projects
(but as well there is way to include graphics to swf) so you can make
games there...
Franto
___
Wow such great responses! thanks a lot! Thanks for sending the docu Wade!
I have a few questions.. what is a RIA?
then I was drawn into using it for data display.
Data display.. The only thing I can think of is php/actionscript for sites?
I'm sure there is more then what i can think of.
I've
Ted, why was it a total mistake that you waited to jump on the bandwagon?
Because after learning Flex:
1. My salary has tripled.
2. Clients are bigger and Projects are better.
3. PowerSDK was purchased by Cynergy Systems 1 month ago.
4. Working with some of the best developers in the world.
Rich Internet Application
What you say you do when your wife says you build websites.
On Nov 22, 2005, at 4:22 AM, Lowen Fan wrote:
Wow such great responses! thanks a lot! Thanks for sending the docu
Wade!
I have a few questions.. what is a RIA?
then I was drawn into using it for data
Hi Judah,
I'm afraid your solution wasn't really addressing my problem - although
the tutorial looks fine, I'd already successfully embedded fonts.
My problem was that when embedFonts=true was turned on using ActionScript,
the last line of a TextField would stop wrapping for no apparent
Johan, just to get a little confusion out of the way, you said Yes, with
Flex2 this would be a nightmare. Not impossible but just awkward way of
going about things. and a little further along in the mail, develop your
game in AS3, than yes it is totally feasible and in fact you gain more from
Hi Charles,
On 11/21/05, Charles Parcell [EMAIL PROTECTED] wrote:
... what I don't get is why
people are so quick to jump from AS 1.0 to 3.0. It really isn't like 3.0 is
too much different from 2.0 as far as the basic language goes. Where is does
differ greatly is in the class structures and
just curios :) are we talking about some specific game? :) or just any game...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hi Hans/Charles/To Whom It May Concern
who is complaining?
No-one yet - wait until it's finished and released, only then will the
complaints will start rolling in :)
Although I admire all the people who do join public alpha groups etc to
make things better, I dont think that this is should
No.
HTH,
Alias
On 11/22/05, Tiago Vale [EMAIL PROTECTED] wrote:
Hi list, I've sent a post to osflash and flashcoders(hope its not spamming)
list but it seems its too big, can I send the example sources as
attachement?
--
Cheers Tiago Janz
___
Hi,
Try this way,
--
var anArray:Array = new Array(Um,Dois,Três,Quatro,Cinco);
comboListener = {
change : function(evt){
var type = evt.type;
var target = evt.target;
trace(_cb.selectedIndex);
}
http://david.peek.ws/spark/
just need an opinion.
No.
HTH,
Alias
On 11/22/05, Tiago Vale [EMAIL PROTECTED] wrote:
Hi list, I've sent a post to osflash and flashcoders(hope its not spamming)
list but it seems its too big, can I send the example sources as
attachement?
--
Cheers Tiago Janz
I don't think you can without a hack like you mentioned.
Jason Merrill | E-Learning Solutions | icfconsulting.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Miles Thompson
Sent: Tuesday, November 22, 2005 8:36 AM
To:
http://david.peek.ws/spark/
just need an opinion.
Good start ... Needs a lot of work on the usability.
The Browser for example - the images feel like the should be clickable -
but on my machine at least - nothing happened.
The Google earthh - how do I zoom in ?
And is there any chance my post go trough?
--
Cheers Tiago Janz
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Not sure flashcoders is the place to post asking for reviews - but as
you asked..
I'd have preloader for all the apps - at the moment you can see them
'build' on screen - a place holder with a load bar would be a better way
to hide the fact the images are still loading in, and reassure the user
-
It works if i have an empty textfield that embeds the font, otherwise it
doesent. I have the font embeded in the project for other stuff so thi works
thanks
//F
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Jorge Rego
Skickat: den 22 november 2005 14:56
Hi Ted,
This is a bit OT - don't wanna hijack this thread. But thanks for
demystifying the DisplayList API at Spark - Amsterdam. Where can we
get the slides/source for your Spark presentations?
Thanks,
/Johan
On 11/22/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
Ted, why was it a total
Well, the cool thing is its all rendered from xml, including the skins.
No movie clips.
Mike Mountain wrote:
Not sure flashcoders is the place to post asking for reviews - but as
you asked..
I'd have preloader for all the apps - at the moment you can see them
'build' on screen - a place
No symbols I mean.
David Peek wrote:
Well, the cool thing is its all rendered from xml, including the
skins. No movie clips.
Mike Mountain wrote:
Not sure flashcoders is the place to post asking for reviews - but as
you asked..
I'd have preloader for all the apps - at the moment you can
Johan,
The magic will come later this week. I am buried in work from all the
partying in amsterdam. 2 sessions and 2 panels is 2 much.
I am going to record the presentations for everyone's free use. I will post
everything then.
preso = new spark.ted.Presentation( Managing the DisplayList )
Hi,
pretty cool! Lot of work i guess?
Just a dumb question, whats it for and with what did you create it?
By the way if i type in test in the browser, i get 10 images, but the last
2 overflow.
greetz
Hans
At 03:15 PM 11/22/2005, Pete Hotchkiss wrote:
http://david.peek.ws/spark/
just need
I dont want to be a a** but isnt the current topic missplaced???
And once again is there any chance that a moderator could enable my post
about SHA-1 porting from Java?
--
Cheers Tiago Janz
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
It's an application delivery platform, like FLEX, only you don't have to
compile the applications into swfs. You can define your application in
an XML markup and load it into one environment on the fly.
Rect id=bg_rect
Fill
Gradient
GradientEntry
On 11/22/05, Theodore E Patrick [EMAIL PROTECTED] wrote:
Charles,
Actually the AS3 language and 8.5 player are very mature and stable, and I
would actually expect very few changes to the core prior to release. The
key
is that the Flex Framework development is dependent on AS3/AVM2 being
Just opened a new thread for this.. the previous one was hijacked and
had an irrelevant subject.. etc. etc.
Cheers
-K
On 22/11/05, David Peek [EMAIL PROTECTED] wrote:
It's an application delivery platform, like FLEX, only you don't have to
compile the applications into swfs. You can define
Sorry, I thought it might be of interest. I'll shut up then.
Karthik wrote:
No. The list will very likely no allow attachments, nor will it very
likely allow a 100 pages of code.. Either put up your attachment(s) on
a server somewhere, or with rapidshare/similar stuff, or find an AS
friendly
Hi,
I'm pretty certain Flashchat[1] uses it, and I also recall a
textfield component released a couple of years back that supported
emoticons. I'm not sure how good their solutions are, but they seemed
to work..
Cheers
-K
[1]: http://www.tufat.com/s_flash_chat_chatroom.htm
On 20/11/05, Karina
Hi folks,
i have a weird issue here, imagine the following setup.
1- 2 layers a b
2 - a masks b
3- both layers contain one rectangle, visually these overlap
4- so in effect the rectangle mask masks the other rectangle, showing you
only a portion of this rectangle
Now i do:
var mc =
Hi,
i reread my own post and its a bit fuzzy i think, what it comes down to is
this:
masking the hitArea for a dynamically clip only seems possible by masking
through code as well
masking the hitArea for a clip on stage can be done on stage as well
has anyone experienced this before?
What i
Sorry to tell you Claus.. but the answer is no.
There isn't any way currently to get any kind of return from your upload
script (other then the events the FileRef object throws)
Most implimentations I've seen have a second script that is called when the
upload completes (to fetch a file list or
I haven't been able to test this yet, and it's probably a hack, BUT it
might allow at least some kind of feedback:
LiveDocs says that the onHTTPError event has an argument for the HTTP
Error Code. If the language you're using on the server side allows it,
maybe you could throw certain error
One possibility might be to create a class for visited, instead of using the
pseudo-element :visited.
HTML:
aunvisited link/a
a.visitedI've been here/a
Would that work in your application?
-Original Message-
How does one flag the visited links in a TextArea? (Flash 7)
I have had no
Hi,
in your example i think it would have to be:
public function handlePressedUP(){
this.onEnterFrame = function () {
theBall._y -= 5; // Move ball by 5 px.
}
}
greetz
Hans
At 06:56 PM 11/22/2005, Steven Loe wrote:
My dynamic text area is not displaying .
Is your text exported from Word? Has word converted three dots into a 'three
dot ellipsis' character? It does this by default. You might need to either
embed the ellipsis character or replace it with three separate dots.
Best
Danny
Thanks a million Danny!
Typed the dots in to the xml file and wow and behold it works.
Phew! Saved me hours of investigation
Cheers
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny
Kodicek
Sent: 22 November 2005 18:17
To: Flashcoders mailing
brilliant. it works perfectly. thank you for taking the time to help
me out. -- matt.
On 11/21/05, David Rorex [EMAIL PROTECTED] wrote:
I might do something like: (warning, not tested, but in theory it should work)
var mcl:MovieClipLoader = new MovieClipLoader();
var listener:Object = new
If you didn't want to hard code the paths you could do this:
public function handlePressedUP(){
theBall.onEnterFrame = function () {
_y -= 5; // Move ball by 5 px.
}
}
JOR
___
=== James O'Reilly
===
=== SynergyMedia, Inc.
===
thanks ryan and don for your help!
i need to upload a binary file from a local flash 8 app to a 3rd party
server (webservice, fixed api, takes a mix of post/get data and
returns xml) so i guess i'm at a dead end here..
cheers,
claus.
___
Flashcoders
for anything thats part of a project I use Eclipse and the free version
of XML Buddy
http://xmlbuddy.com/
if i just need a quick edit then i use editplus (for any type of text file)
http://www.editplus.com
martin
Patrick Matte wrote:
What software do you people use for editing xml for your
eclipse + oxygen. the cool thing about oxygen is that some people have
figured out how to get mxml hinting in it as well
On 11/22/05, Patrick Matte [EMAIL PROTECTED] wrote:
What software do you people use for editing xml for your flash projects ?
Dreamweaver MX.
Dreamweaver MX 2004 and above are absolute garbage. I will never install a
newer version of Dreamweaver because they are bloated and slow. Eventually,
I'll end up using a completely different file editor rather than install
MM's super slow bloated excuse for one. DW used to be
On 11/22/05, Patrick Matte [EMAIL PROTECTED] wrote:
What software do you people use for editing xml for your flash projects ?
gVim (graphical version of vim): http://www.vim.org/
-David R
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
SciTE for both flash and XML, othertimes I use Oxygen.
Thanks - fruber
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte
Sent: Tuesday, November 22, 2005 12:46 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Xml editor
What software
XMLBuddy - free plug-in to Eclipse
XMLSpy Home version - free and has Eclipse plug-in
XMLSpy Pro for serious XSLT work.
Ron
Patrick Matte wrote:
What software do you people use for editing xml for your flash projects ?
___
Flashcoders mailing
I use Notepad in combination with Internet explorer :-).
I used to use XMLSpy but after the trial expired I switched to Notepad
again.
Robin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte
Sent: Wednesday, 23 November 2005 7:46 AM
To:
I use Oxygen for all of my XML work including XSLT transformations, SOAP
services, XSD, straight XML, etc... I use both the stand-alone version and
the Eclipse plugin. I find it's much better and much cheaper than XMLSpy.
Plus it works on my Mac as well as my Windows machine.
-Chris
On 11/22/05,
Forgive the lameness of this query, but I used to load up a MC with child
MCs and then set that into a scrollPane... I have since forgotten how...
anyone ready with a cut paste?
ed
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
I forgot - I need to set the contentPath as a mc that has linkage, and then
just attach stuff to that.
sorry for the noise ;)
ed
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
my_scrollPane.contentPath = LibraryMC;
var clipToAttach:Movieclip = my_scrollPane.content;
clipToAttach.attachMovie(blabla, blabla, depth )//Attach inside
ScrollPane
eric dolecki wrote:
I forgot - I need to set the contentPath as a mc that has linkage, and then
just attach stuff to that.
I tend to use Sepy
http://www.sepy.it
Phil Douglas
Flash Developer
direct: +61 2 9024 2655
mobile: 0423 691 722
email: [EMAIL PROTECTED]
phone: +61 2 9211 4344
fax: +61 2 9211 6566
web:
Hi
Has anyone seen examples of animating a gradient in flash8? Recall seeing
something as part of the original maelstrom demo, but having some difficulty
reproducing the effect.
Thanks in advance
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
I am having an input text field...whenever entering values into it all
numbers that are typed into it should be superscripted .. :-(
Is there any way...?
[i should use only the arial font.]
-thanx
Pandian
___
Flashcoders mailing list
One way is to use unicode, which has chars for all the superscript
numbers.. you'll have to include them in the embed though.. many
fonts render them in inconsistent sizes as well, so you'll have to
try a few.
1¹2²3³4⁴5⁵6⁶7⁷8⁸9⁹0⁰
On Nov 22, 2005, at 11:08 PM, Pandian wrote:
I am
62 matches
Mail list logo