RE: [Flashcoders] swfs in pdfs

2007-05-16 Thread Nimrod Huberman
I don't know your specific goal, but remember that you can convert the pdf to swf using flashPaper, and then any combination is easier. The user will run one swf file that will load and handle (using the flashpaper's API) the converted swf. Nimrod -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] irregular bounding box

2007-05-16 Thread Waseem Shahzad
Hello Everybody, I want to know that their is any way by which we can make a bounding box of an irregular shape for bouncing ball experiment. Thanx to all. Bye Bye ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Dynamic E4X

2007-05-16 Thread Chris Hill
That works great! Thanks a lot. C Juan Carlos Anorga wrote: check out the docs for the descendants method in the XML class. you should be able to do this: var node:String = "zip"; employees.descendants(node); - juan On May 16

Re: [Flashcoders] Dynamic E4X

2007-05-16 Thread Juan Carlos Anorga
check out the docs for the descendants method in the XML class. you should be able to do this: var node:String = "zip"; employees.descendants(node); - juan On May 16, 2007, at 4:57 PM, Chris Hill wrote: The as3 examples for X

Re: [Flashcoders] Dynamic E4X

2007-05-16 Thread Nick Johnston
Chris Hill wrote: The as3 examples for XML show the following: var node:String = "zip"; trace(employees.employee[0].address[node]); // 98765 What I'd like to do is something like this: var node:String = "zip"; trace(employees..[node]); // 98765 ie: Find all nodes that are called 'zip' in the do

RE: [Flashcoders] swfs in pdfs

2007-05-16 Thread Randy Tinfow
>Acrobat Reader doesn't contain Flash Player functionality. To open a PDF with embedded SWF content, you need Acrobat Reader 6 or newer.< ...and the appropriate Flash player plug-in, I'd assume. I don't know any big corporation that doesn't have AcroReader 6+. There are many that are stuck on

[Flashcoders] Dynamic E4X

2007-05-16 Thread Chris Hill
The as3 examples for XML show the following: var node:String = "zip"; trace(employees.employee[0].address[node]); // 98765 What I'd like to do is something like this: var node:String = "zip"; trace(employees..[node]); // 98765 ie: Find all nodes that are called 'zip' in the document, but do it

Re: [Flashcoders] Local Connection / Intel Mac bug??

2007-05-16 Thread Adam Hoyle
Hi Jeff, Thanks for responding. Glad for sanity reasons to know that I am not the only person experiencing this. Adam On 16 May 2007, at 14:39, Jeff Gomes wrote: Adam- When one process is running natively (with Flash 9 universal binary player) and the other is running under emulation (

Re: [Flashcoders] swfs in pdfs

2007-05-16 Thread nik crosina
Thanks Dave, So I gather that this is not really a medium to send out to the general public because of the Adobe Reader verison requirement. NIk On 5/16/07, Dave Watts <[EMAIL PROTECTED]> wrote: > I have come across swf's embedded in PDFs, and in the process > of doing a little research - is t

RE: [Flashcoders] flash and xpath

2007-05-16 Thread Kerem Iseri
Use CDATA for that node inside the XML to make flash recognise everything you write inside CDATA as html text. You can even use or for new line etc. For example .. Kerem İŞERİ Trafo Intractive www.trafo.com.tr -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

RE: [Flashcoders] flash and xpath

2007-05-16 Thread Merrill, Jason
>>One of the fields I have looks like this. >>Field & Stream. The issue is that the value I'm >>getting back from xpath is "Field & Stream" and not >>"Field & Stream". Use this: /*decodes any character entities in a string. For example, it converts "&" to "&". */ private function dec

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread JOR
If you try my example in a previous reply you'll see it working with passed parameters. -- JOR sebastian wrote: BTW: I've noticed the second parameter doesn't pass, only the first. I'm using flash 8, AS2. I think this is a known issue... but I could be wrong. I'm using a split function to e

RE: [Flashcoders] flash and xpath

2007-05-16 Thread Jason Law
Ok, so I was able to get it to work, but now I'm coming across another issue. I'm loading in xml using the old "new XML()" object and using xpath to parse. One of the fields I have looks like this. Field & Stream. The issue is that the value I'm getting back from xpath is "Field & Stream" and not

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread Muzak
> I can't figure it out at all, but then i am a Flash Newbie... Then this list might be a better fit: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options o

Re: [Flashcoders] border styles for TextArea component (On Training - May 17, 2007)

2007-05-16 Thread Derek Matthew
I will be out of the office, on a Customer Service training course on Thursday, May 17, 2007. I will not be checking my e-mail until Friday, May 18, 2007. If your Internet/Intranet request is URGENT, please e-mail Katja Hetmanchuk, [EMAIL PROTECTED], and she will reply to you as soon as possible.

Re: [Flashcoders] border styles for TextArea component (On Training - May 17, 2007)

2007-05-16 Thread Derek Matthew
I will be out of the office, on a Customer Service training course on Thursday, May 17, 2007. I will not be checking my e-mail until Friday, May 18, 2007. If your Internet/Intranet request is URGENT, please e-mail Katja Hetmanchuk, [EMAIL PROTECTED], and she will reply to you as soon as possible.

Re: [Flashcoders] border styles for TextArea component

2007-05-16 Thread john robinson
I'll have to look into this when we hit the next revision. For now I ended up just placing 2 mc's into my RectBorder symbol, outline_mc and bg_mc. Then in my (I think) draw() method, I just assigned the proper colors to these clips. It works great for now though it might save me a byte or 2

Re: [Flashcoders] border styles for TextArea component

2007-05-16 Thread Robert Hadsell
John -- Your postings led me to look into this further. I found the answer in this livedocs item, Using ActionScript to draw Button skins: http://tinyurl.com/282gze You'll see from the Comments at the end that the AS code didn't seem to work. This might be because the instructions are ambi

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread Bob Wohl
var result_lv:LoadVars = new LoadVars(); result_lv.onLoad = function(success:Boolean) { if (success) { trace("we got connection"); getURL("www.thefileyouwant"); } else { trace("no connection"); //no connection do stuff } }; var send_lv:LoadVars = new LoadVar

Re: [Flashcoders] Projector File download with GetURL

2007-05-16 Thread R�kos Attila
Mac or PC? - it can be read from the System.capabilities.os property Online or offline? - send a request to a remote server and if you get the expected response, then you are online; otherwise (no response, error, etc.) you are offline Attila BP> i am working on a projector file, i would lik

RE: [Flashcoders] swfs in pdfs

2007-05-16 Thread Dave Watts
> I have come across swf's embedded in PDFs, and in the process > of doing a little research - is that taking off now, or is it > a small specialist area? You can embed several types of multimedia content in PDFs. I wouldn't say it's "taking off"; neither is it a "small specialist area". If you

Re: [Flashcoders] rotating a movie clip around another movie clip...

2007-05-16 Thread sebastian
assuming I understand right and you want to move the lights around the [inside] of crystal ball (?): instead of using cpu intensive radius calculations, just have the items that need to rotate around the crystal ball inside the crystal ball MC. Set their center point to the center point of the

[Flashcoders] Projector File download with GetURL

2007-05-16 Thread Bennington Purcell
Hey everyone! i am working on a projector file, i would like to do some actionscripting on download links that checks if it is a MAC or PC, and if there is internet or not. If it is a mac i want to always download the file from the internet (some pdf files) if it is a PC i want to download them

Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-16 Thread Helios Pregioni Bayma
I really like those ideas, Flix Pro and techniques. I´ll discuss with design team and do what we can. Thanks a lot, Jason, Bob, Rich and Matthias Helios ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: ht

RE: [Flashcoders] splitting the list?

2007-05-16 Thread Holth, Daniel C.
This topic, or at least one very similar, was just brought up earlier this week. See subject: [Flashcoders] Motion to combine coders and newbies. I personally think many of the questions being posted here probably belong in FlashNewbies, and not enough people know about that list. I know I'm gui

RE: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread Paul Venton
Make sure you aren't putting spaces in your function call ... ie "asfunction:myFunc,p1,p2" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian Sent: 16 May 2007 15:17 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS2: capturing li

Re: [Flashcoders] flash and xpath

2007-05-16 Thread Johannes Nel
it seems you want to get the text value of a node. try this var item:String = XPathAPI.selectSingleNode(doc.firstChild, "/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign']/text() ")toString(); notice the text() On 5/16/07, Jason Law <[EMAIL PROTECTED]> wrote: I'm wondering if

[Flashcoders] flash and xpath

2007-05-16 Thread Jason Law
I'm wondering if this is possible within flash 8 using the xpath api to do something like this. var item:String = XPathAPI.selectSingleNode(doc.firstChild, "/html/body/[EMAIL PROTECTED]'data']/[EMAIL PROTECTED]'campaign'][2] ").firstChild.toString(); now I know this works va

RE: [Flashcoders] rotating a movie clip around another movie clip...

2007-05-16 Thread Holth, Daniel C.
Give this a shot. Planet_mc is the movieclip to be rotated around, satalite_mc is the one to orbit it. var _angle:Number = 0; var _radius:Number = 100; var _rotationSpeed:Number = 5; onEnterFrame = function () { _angle += _rotationSpeed; var xPos:Number = (planet_mc_x+Math.cos((

[Flashcoders] splitting the list?

2007-05-16 Thread Nimrod Huberman
This list include very interesting and helpful subjects, but for me its large amount of posts each day make it less useable. Maybe is the time to split it to some lists by subject? i.e. flashcoders-XML and data, flashcoders-server communication, as3 specific, video, oo-architect. ??? Nimrod _

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread sebastian
BTW: I've noticed the second parameter doesn't pass, only the first. I'm using flash 8, AS2. I think this is a known issue... but I could be wrong. I'm using a split function to extract more parameters... Thought I'd share! wk, seb. eka wrote: Hello :) in actionscript (1 or 2) you can use

Re: [Flashcoders] CVS and Flash best practice advice needed

2007-05-16 Thread Ron Wheeler
We use Eclipse with CVS and it works well. I am trying to follow as many of the Java best practices as I can since they have had a lot of time to figure out how to run complex projects with teams of people. I am hoping that the renewed activity in the ASDT plug-in will lead to a strong Eclipse t

Re: [Flashcoders] CVS and Flash best practice advice needed

2007-05-16 Thread Andrés González & Aragón
Use SVN with tortoiseSVN client. We are 8 developers working ina huge project and this mode works very well. Obviously a Version control system is implemented by developers not only by sofware. We use svn in as files normaly and block the fla files. We have 4 folders: bin, source, documentation a

[Flashcoders] rotating a movie clip around another movie clip...

2007-05-16 Thread Jay Carlson
so I'm fairly new to using actionscript for everything in my flash and I was wondering if there was a way to rotate a movie clip around another movie clip that is already rotating. here's the scenario...I have a "crystal ball" that is floating in a circle thanks to actionscript. this bal

[Flashcoders] test

2007-05-16 Thread Durai Raj
Ignore this mail please this is for test :-) Durai DISCLAIMER: This communication may be confidential and privileged and the views expressed herein may be personal and are not necessarily the views of ReDIM. It is for the exclusive use of the intended recipient. If you are not the intend

RE: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread Durai Raj
I guess you can also assign function for that. When u click on that link you can execute a function in which u can set the link and the event can be dispatched from that function. Cheers Durai Www.expertbuddy.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

Re: [Flashcoders] flash projector sending xml to php (sendAndLoad) orphp variables...

2007-05-16 Thread Dave Mennenoh
What doesn't work? Either method should work fine - but remember you'll need to use $_REQUEST, or $_GET on the PHP page, since $_POST will only work when sent from the browser. I'd also suggest looking into AMFPHP, as it just makes communicating with the server a whole lot easier. Dave - Head

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread sebastian
thank you everyone! you (and 'asfunction') rocks ;) seb. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Prem

Re: [Flashcoders] Local Connection / Intel Mac bug??

2007-05-16 Thread Jeff Gomes
Adam- When one process is running natively (with Flash 9 universal binary player) and the other is running under emulation (with a Flash 8 projector or the Director Flash Asset Xtra), I cannot get it to work either. -Jeff At 05:00 5/16/2007, Adam Hoyle wrote: Hi Flash Coders I am having a

[Flashcoders] Local Connection / Intel Mac bug??

2007-05-16 Thread Adam Hoyle
Hi Flash Coders I am having a problem with local connection communication between an exe and a website, but only on INTEL macs. I have the underscore before the name, but the messages aren't getting through (they do on windows and g4 mac). Interestingly (frustratingly) the second thing to

[Flashcoders] Looking up property linked to an arraycollection item

2007-05-16 Thread Smeets, Ben
Hard to give this 'problem' a good subject. It's not really a 'problem', but more something I wanted to pass by people to find out how they solve this i.r.l. There are many ways to fix this, just looking for the best :) E.g. I have an object Person with a Property BirthCountry. Public class Perso

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread JOR
You can use asfunction. function foo (bar) { trace (bar); } this.createTextField("my_txt", this.getNextHighestDepth(), 0, 0, 200, 100); my_txt.autoSize = true; my_txt.html = true; my_txt.htmlText = "Click Me"; -- JOR James O'Reilly — Consultant Adobe Certified Flash Expert http://www.james

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread eka
Hello :) in actionscript (1 or 2) you can use the notation : Link In your code... in the parent of your textfield (the parent movieclip), you can creates the method "myMethod" example : var format:TextFormat = new TextFormat("arial", 12) ; format.bold = true ; var target:MovieClip = thi

RE: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread Paul Venton
asfunction :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sebastian Sent: 16 May 2007 12:13 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS2: capturing link events? Hello again, a more difficult question maybe... Is there any way for

Re: [Flashcoders] AS2: capturing link events?

2007-05-16 Thread Jim Armstrong
sebastian wrote: Hello again, a more difficult question maybe... Is there any way for me to capture a user click on an href tag inside of a CSS formatted html text field? Have you looked at asfunction? good luck! - jim -- Jim Armstrong::Mathematician::Algorithmist::Programmer Singularity:

[Flashcoders] AS2: capturing link events?

2007-05-16 Thread sebastian
Hello again, a more difficult question maybe... Is there any way for me to capture a user click on an href tag inside of a CSS formatted html text field? Here is what I do: - CDATA formatted text in an XML file. - load it and associate a CSS file to a generated text field at run time. - result

Re: [Flashcoders] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread sebastian
that would work, thanks! :) Durai Raj wrote: A better approach will be to programatically get the number of LI tags and replace them with numbers in a loop. I have used this approach in some projects and it works very well. I guess this approach would help you Cheers Durai www.expertbuddy.net

Re: [Flashcoders] Q:Using BitmapData for alpha masking

2007-05-16 Thread Dave Mennenoh
You can use threshold to do that. var bitmap:BitmapData = BitmapData.loadBitmap("myPNG"); bitmap.threshold(bitmap, bitmap.rectangle, bitmap.rectangle.topLeft, '>', 0x, 0x); maskClip.attachBitmap(bitmap, 1); That will turn all pixels with some alpha to red and full alpha. Dave

RE: [Flashcoders] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread Durai Raj
A better approach will be to programatically get the number of LI tags and replace them with numbers in a loop. I have used this approach in some projects and it works very well. I guess this approach would help you Cheers Durai www.expertbuddy.net -Original Message- From: [EMAIL PROTEC

RE: [Flashcoders] CVS and Flash best practice advice needed

2007-05-16 Thread Durai Raj
SourceSafe on Windows is the only supported version control software that integrates with the Project panel. You can use other version control software packages with FLA documents, but not necessarily in the Project panel. In live documents you can check out at the link http://livedocs.macromedia

[Flashcoders] CVS and Flash best practice advice needed

2007-05-16 Thread Wayne McManus
Hi all, does anyone have any thoughts or links regarding best-practice when it comes to CVS and Flash? I'm looking into creating a repository but am unsure what the best setup might be regarding the location of .as, .fla, .html files? I notice Flex makes use of a "bin" directory; is this a good

[Flashcoders] help needed : CCForFlash and simple netstream

2007-05-16 Thread cedric newsletter
hi all, has anyone ever tried to use the free Captioning Component CCForFlash ( http://ncam.wgbh.org/webaccess/ccforflash/). is there an simple example with CCForFlash used with a simple video object ? i can't make it work ! :-( any help will be greatly appreciated :) have a good day ! cédric

[Flashcoders] quick question: AS2: CSS, [bullet] images assosiated to text?

2007-05-16 Thread sebastian
Hello, I have a quick question; can't find any answers on the net. I don't think this is possible, but I just want to make sure! If I load in XML data as HTML and associate it to a style sheet [CSS] - is there anyway I can then associate little images, like bullet pictures for the items? or

[Flashcoders] swfs in pdfs

2007-05-16 Thread nik crosina
Hi Coders, I have come across swf's embedded in PDFs, and in the process of doing a little research - is that taking off now, or is it a small specialist area? I can't seem to find much technical info on this, especially, what are the system requirements on the user side: does s/he need flash as

Re: [Flashcoders] Flash animation like http://u10.iriver.com/

2007-05-16 Thread Matthias Dittgen
Hi, we did something similar some time ago, but for a small sequence only. We wore black clothes and were filmed in front of a white wall. We did post-production in Photoshop and Illustrator. We used actions (batch processing) in Photoshop and converted Selections into Pathes which could be expor