[Flashcoders] Giving dynamic object a custom variable

2014-08-15 Thread Ted Lehr
How can I create a variable in a dynamic object? For example, if I had a movie clip in the library, I could open it up and on the first frame I could give it: var velocityX:Number = Math.random()*10-10; I could then refer to mc.velocityX; How can I create that variable on an object create in

RE: [Flashcoders] Giving dynamic object a custom variable

2014-08-15 Thread Ted Lehr
ugh never mind... sorry -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr Sent: Fri 8/15/2014 2:23 PM To: Flash Coders List Subject: [Flashcoders] Giving dynamic object a custom variable How can I create a variable in a dynamic object

[Flashcoders] getting data from outside servers

2014-08-11 Thread Ted Lehr
So it seems Flash by default does not allow a movie to get data (say xml) from another server. So if I have a movie on http://www.thissite.com/movie.swf and in that movie I have: var xmlLoader:URLRequest = new URLRequest(http://www.thissite.com/data.xml;); Is there anyway around this? T

[Flashcoders] Modifying Sharepoint 2010 list from Flash

2013-11-27 Thread Ted Lehr
Anyone have any experience/guidance with how to modifying list entries in Sharepoint 2010 from Flash? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Change Background Color of Datagrid Cell

2013-09-05 Thread Ted Lehr
Is it possible to dynamically change the background color of an individual DG cell? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] CHANGE style of Datagrid

2013-08-16 Thread Ted Lehr
Is it possible to change the style of a datagrid? I have a datagrid I am dg.setStyle 'ing when I create it... at a certain point I want to change the style of that grid... I am simply trying to setStyle again... I am guessing you cannot reset a style by simply setting a new style as it is not

RE: [Flashcoders] CHANGE style of Datagrid

2013-08-16 Thread Ted Lehr
List Subject: Re: [Flashcoders] CHANGE style of Datagrid On 16/08/2013 16:23, Ted Lehr wrote: Is it possible to change the style of a datagrid? I have a datagrid I am dg.setStyle 'ing when I create it... at a certain point I want to change the style of that grid... I am simply trying

RE: [Flashcoders] CHANGE style of Datagrid

2013-08-16 Thread Ted Lehr
on behalf of Ted Lehr Sent: Fri 8/16/2013 12:23 PM To: Flash Coders List Subject: RE: [Flashcoders] CHANGE style of Datagrid yeah - that's a good idea... I am creating like 10 grids so I was hoping I could just change the style when needed as opposed to having to create 20... -Original Message

RE: [Flashcoders] CHANGE style of Datagrid

2013-08-16 Thread Ted Lehr
on? or maybe changing the data will cause it to re-render? On Fri, Aug 16, 2013 at 12:42 PM, Ted Lehr t...@qvine.com wrote: So when I use getStyle to see if it is changing - it appears as though it is... like when I trace it - what is being returned on getStyle is correct - it's just

[Flashcoders] Pushing to existing multi dimensional array

2013-07-26 Thread Ted Lehr
So say I have a multi dimensional array like: main[0].name = Ted; main[0].hair = brown; and then I want to later, after this array already exists push a new value to it: main[0].shoes = dress; How would I go about that... I tried main[0].push({shoes:dress}); or some such - but that did

[Flashcoders] printJob

2012-10-04 Thread Ted Lehr
So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return; var origWid:Number = clip.width; clip.width = printJob.pageWidth; clip.scaleY =

RE: [Flashcoders] printJob

2012-10-04 Thread Ted Lehr
? On 4-10-2012 19:25, Ted Lehr wrote: So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return; var origWid:Number = clip.width; clip.width

RE: [Flashcoders] printJob

2012-10-04 Thread Ted Lehr
] printJob because your clip has a filter and its filtered dimensions are too large? On 4-10-2012 19:25, Ted Lehr wrote: So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return

[Flashcoders] FLVPlayback/FF3/FP11

2012-07-18 Thread Ted Lehr
SO I think this is a real shot in the dark - but are there any known issues about using FLVPlayback in Firefox 3 with Flash player 11? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Cache Issue

2012-07-17 Thread Ted Lehr
beautious - thanks... did not think about the xml... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Nathan Mynarcik Sent: Mon 7/16/2012 3:27 PM To: Flash Coders List Subject: Re: [Flashcoders] Cache Issue add a query at the end of the xml string when

RE: [Flashcoders] RE: Integrating Flash with Sharepoint

2012-07-16 Thread Ted Lehr
usually create an Export View that has only the fields I want in my XML. From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] on behalf of Ted Lehr [t...@qvine.com] Sent: Thursday, July 12, 2012 2:33 PM To: Flash

[Flashcoders] Cache Issue

2012-07-16 Thread Ted Lehr
So I have a movie that is caching... it is loading XML and the changes in the xml is not always being reflected correctly... I am adding a random variable to the .swf html code (i.e. news.swf?ref=65465465) but I am doing it all via javascript: ... ... ... holder += 'param name=movie

RE: [Flashcoders] RE: Integrating Flash with Sharepoint

2012-07-12 Thread Ted Lehr
One more question on this: do you know if there is any way to get the id of each item included in the xml? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr Sent: Thu 6/7/2012 2:14 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Integrating

[Flashcoders] Loader Mouse Event

2012-06-11 Thread Ted Lehr
So I have a Loader that is loading an image: var Img:Loader = new Loader(); var urlReq:URLRequest = new URLRequest(http://www.someurl.com;); img.load(urlReq); and I am trying: img.addEventListener(MouseEvent.ROLL_OVER,x); this does not seem to work - does that make sense? and if so,

RE: [Flashcoders] Loader Mouse Event

2012-06-11 Thread Ted Lehr
. Cordially, Kerry Thompson On Mon, Jun 11, 2012 at 1:08 PM, Ted Lehr t...@qvine.com wrote: So I have a Loader that is loading an image: var Img:Loader = new Loader(); var urlReq:URLRequest = new URLRequest(http://www.someurl.com;); img.load(urlReq); and I am trying: img.addEventListener

RE: [Flashcoders] RE: Integrating Flash with Sharepoint

2012-06-07 Thread Ted Lehr
] On Behalf Of Ted Lehr Sent: Tuesday, June 05, 2012 3:31 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Integrating Flash with Sharepoint ok - How would I export a Sharepoint list as xml to Flash? or is there a better way to get a list into flash? -Original Message- From: flashcoders

RE: [Flashcoders] RE: Integrating Flash with Sharepoint

2012-06-07 Thread Ted Lehr
Architect II Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Thursday, June 07, 2012 12:03 PM To: Flash Coders List Subject: RE

[Flashcoders] Integrating Flash with Sharepoint

2012-06-05 Thread Ted Lehr
Anyone know of any good resources dealing with Flash and Sharepoint integration? Specifically something such as having a list available as xml to be imported into a Flash movie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] RE: Integrating Flash with Sharepoint

2012-06-05 Thread Ted Lehr
Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, June 05, 2012 3:05 PM To: Flash Coders List Subject: [Flashcoders] Integrating Flash with Sharepoint Anyone know of any good resources dealing

RE: [Flashcoders] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Ted Lehr
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Wednesday, May 23, 2012 3:13 PM To: Flash Coders List Subject: [Flashcoders] Grab Textfield Value from Javascript Is it possible for Javascript to call into a swf and grab a variable or textfield value

RE: [Flashcoders] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Ted Lehr
Thanks for the response - I have tried this and a search of the internet makes it appear as though this is the tried and true method HOWEVER... in the FF error console - I am getting (if it were your code below): asFunc is not a function it is though it is searching for that function

RE: [Flashcoders] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Ted Lehr
/ param name=quality value=high / param name=menu value=false / param name=allowscriptaccess value=samedomain / /object and it seems to work... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr Sent: Thu 5/24/2012 11:24 AM To: Flash Coders List Subject

RE: [Flashcoders] RE: Grab Textfield Value from Javascript

2012-05-24 Thread Ted Lehr
H still cross-browser issues - it's always something... :-) -Original Message- From: Ted Lehr Sent: Thu 5/24/2012 11:43 AM To: Flash Coders List Subject: RE: [Flashcoders] RE: Grab Textfield Value from Javascript So seems like my issue was the object tag - I used a simplified

RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-23 Thread Ted Lehr
___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, May 22, 2012 12:36 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash

[Flashcoders] Grab Textfield Value from Javascript

2012-05-23 Thread Ted Lehr
Is it possible for Javascript to call into a swf and grab a variable or textfield value? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
So I have a swf that needs to run locally and make an ExternalInterface.call ... I am unable to make settings changes to the users Flash Players ... so as of now it seems unpossible! My thoughts was to see if the javascript can listen for a flash event (the end of a flv in FLVPlayback to be

RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
for Flash events and vice versa. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted

RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, May 22, 2012 11:44 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Can Javascript Listen to Flash Events? So I have a swf that needs to run locally and make an ExternalInterface.call ... I am unable to make settings

RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
only. Paul On 22/05/2012 17:06, Ted Lehr wrote: Oh - yes - I have the .fla... I just am running into issues when I try to have the swf call out to the javascript - I get the security warning from the player - so I am trying to figure out how to, instead of having the swf make a call out

[Flashcoders] dynamically including MC's

2008-02-01 Thread Ted Lehr
I want to have a folder where I can throw in some swf's then have another mc that will dynamically display these mc's. So what I need is a way to dynamically display a file structure, I guess. Kind of like FileSystemObject in .asp. Something that will dynamically loop through a set of files give