Re: [Flashcoders] :: JSFL ..this possible?

2008-10-15 Thread Dennis - I Sioux

Yup possible.

You can read/write textfiles .. and you can do stgae manipulation(add mc's 
.. frames etc.)

Just look in your help under extending

With kind regards,

Dennis
Isioux

- Original Message - 
From: artur [EMAIL PROTECTED]

To: flashcoders flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 15, 2008 2:23 AM
Subject: [Flashcoders] :: JSFL ..this possible?



hey,

was wondering if its possible for JSFL to :

create MClips from a css text file ( or xml file ) and put them on the 
timeline with keyframes.


ie,

green
   length=3

   MyText

   /length
/green


thanks

--

*artur :.*

- *www.artur.com*
- [EMAIL PROTECTED]
- *ph:646.797.3320*

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__ NOD32 3522 (20081014) Informatie __

Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem.
http://www.nod32.nl




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] [AS2] Vista, asfunction, selectable=false and autoSize=true

2008-10-15 Thread [EMAIL PROTECTED]
Hello List,

I'm working with some AS2 code that creates a textfield which has
selectable=false and autoSize=true, and uses asfunction to change its own
contents.

I recently noticed that, while it works successfully on Windows XP and on a
Mac (unsure of version), it does not seem to work on Vista. I should
clarify, it does not seem to work on Vista in a browser (works fine when you
control+enter).

After a fair amount of un/commenting, it seems like the problem is that, on
Vista, you can't have selectable=false AND autoSize=true and expect
asfunction to work. It works fine if you comment out either of those lines.

If anyone has Vista, I would sincerely appreciate it if you could give it a
burl in a browser, sample code below, just copy and paste. I only have
access to one Vista machine, so it would be great to get some confirmation.

And if anyone could shed some light on why this is happening at all, 'twould
be 'twerrific!

(I understand that Use AS3 is the answer to many problems, but
unfortunately I'm not in the position to do that right now).

Thanks very much!


// --- Click on a word to embolden it.
// --- Code begins.

var str:String = The quick brown fox jumps over the lazy dog.;
var str_array:Array = str.split( );
var newStr:String = ;
var clicked_array:Array = [];

this.createTextField(content_txt,this.getNextHighestDepth(),10,10,300,50);
with (content_txt) {
autoSize = true;
selectable = false;
border = true;
html = true;
wordWrap = true;
}

function render() {
newStr = ;
for (var i = 0; istr_array.length; i++) {
if (clicked_array[i] == 1) {
newStr += b;
}
newStr += a href='asfunction:clickedOn,+i+'+str_array[i]+/a
;
if (clicked_array[i] == 1) {
newStr += /b;
}
}
content_txt.htmlText = newStr;
}

function clickedOn(num) {
clicked_array[num] = 1;
render();
}

render();

// --- Code ends
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash player 10 publicly available today!

2008-10-15 Thread Ricky Blaha
http://www.adobe.com/products/flashplayer/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flip BitmapData with Alpha

2008-10-15 Thread Elia Morling

Woohoo! Thanks.   :)

- Original Message - 
From: Cedric Muller [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 15, 2008 11:56 AM
Subject: Re: [Flashcoders] Flip BitmapData with Alpha



I am wondering what does it change if you do:

var bmd:BitmapData = new BitmapData(source.width, source.height,  
source.transparent, 0x);


?

Cedric


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Playbutton disabled for live streams (StateChange in FLVPlayback AS2.0 comp?)

2008-10-15 Thread jonas magnusson
Hello List,

I am developing an FLV-player which takes live, streaming and on-demand
movies. I work with a CDN that deliver the content.
Since 4 months, I am experiencing a very hard-to-find/fix bug with my
FLVPlayback AS2.0 component.

Sometimes, when loading a clip, my preloader (own) will not be removed, the
play/pause button will not change from disabled play to active pause.
This happens more often with live feeds than on-demand/streaming, maybe 1 of
every 10 tries. With non-live it might happen 1/20. It seems to happen in
clusters, so sometimes its very far between, then more often (this is
probably just the nature of randomness).

 Googling this issue, i can only find my 3 months old previous, unanswered,
question, in this mailing list.
I have tried workarounds, but they dont help out much.

Today, while watching a live stream, it occurred 9/10 times. I checked my
colleagues computers, mac/pc, safari/firefox/iexplorer. They all had the
same problem: The play button (standard component) never left the disabled
state. And my other components never received a stateChange to resize etc.
To make this worse of course it worked 1/10 times. Some of those
successful tries were fast, and some were slower when changing from disabled
play to active pause.

I can tell that there is NO stateChange event triggered by the FLVPlayback
component in these cases.

I am now hoping/suspecting, that there is something with some FMS. And that
maybe it is telling the FLVPlayback component which state it should be in,
or something similar. Then this would be a server-side issue. Could anyone
tell me if this is the case? Where do stateChanges get triggered when
streaming/living/downloading from an FMS? Is it pure client-side, or are
there other things happening?


I am spraying and praying, dont know what to do and nobody seems to have the
same problem in the flash community.

Since I use standard components, I think I can rule out own errors in the
code.
Since its been recurring since 4 months, I think I can rule out network
trouble or stuff like that. I've probably upgraded flash several times as
well, so it might not be flash version.
Since it occurred so many times today, and not that often before. I think
there should be some rational explanation to be found.

If you have any thoughts, ideas or similar experience, please reply.

Cheers,

/Jonas
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] CS4 is shipping

2008-10-15 Thread Radley Marx


... and adobe.com is broken. At least for me...



Tip:

Can't get through Adobe's Flash/RIA store?

Temporarily remove your Flash plugin - you'll get in via the HTML site  
instead.


And since everyone has Flash, you won't want to wait in line behind  
everyone...




Have fun today. Got mine. DLing 4.3GB (via Akamai)

-radley



--
Radley Marx
www.radleymarx.com
[EMAIL PROTECTED]
--




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flip BitmapData with Alpha

2008-10-15 Thread Elia Morling

Any ideas? How to flip a bitmap and preserve alpha?

Elia

- Original Message - 
From: Elia Morling [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, October 14, 2008 12:08 PM
Subject: [Flashcoders] Flip BitmapData with Alpha


How do I preserve alpha when flipping a bitmapdata? This is what I use 
now.


public static function flipHorizontal(source:BitmapData):BitmapData{
 var m:Matrix = new Matrix();
 m.a=-1;
 m.tx=source.width;
 var bmd:BitmapData = new BitmapData(source.width, source.height, 
source.transparent);

 bmd.draw(source, m);
 return bmd;
}

Thanks
Elia ___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] CS4 store - HTML link

2008-10-15 Thread Radley Marx



here's the link to the HTML version of the Adobe store:

https://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US


-radley




--
Radley Marx
www.radleymarx.com
[EMAIL PROTECTED]
--




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flip BitmapData with Alpha

2008-10-15 Thread Cedric Muller

I am wondering what does it change if you do:

var bmd:BitmapData = new BitmapData(source.width, source.height,  
source.transparent, 0x);


?

Cedric


Any ideas? How to flip a bitmap and preserve alpha?

Elia

- Original Message - From: Elia Morling  
[EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, October 14, 2008 12:08 PM
Subject: [Flashcoders] Flip BitmapData with Alpha


How do I preserve alpha when flipping a bitmapdata? This is what I  
use now.


public static function flipHorizontal(source:BitmapData):BitmapData{
 var m:Matrix = new Matrix();
 m.a=-1;
 m.tx=source.width;
 var bmd:BitmapData = new BitmapData(source.width, source.height,  
source.transparent);

 bmd.draw(source, m);
 return bmd;
}

Thanks
Elia ___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] good place to buy pre-made flash 3 games [full-use license + source-code]?

2008-10-15 Thread sebastian

hello folks,

Does anyone know of a good place where i can buy pre-made games?

The games would ideally be in AS3 and i will need to be able to 
integrate and re-skin to fit into an existing framework.


The framework triggers game load, but also in some games certain scores 
will need to trigger an event in the frame work, and highscores are also 
going to need to be stored in our DB and if we think of any other kinds 
of future integration, it has to be possible.


We are looking for 8 to 12 games of various types.

Any suggestions?

Thanks,

Sebastian.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] good place to buy pre-made flash 3 games [full-use license + source-code]?

2008-10-15 Thread Steve Mathews
You could try here: http://www.flashgamelicense.com/

On Wed, Oct 15, 2008 at 4:02 PM, sebastian [EMAIL PROTECTED] wrote:

 hello folks,

 Does anyone know of a good place where i can buy pre-made games?

 The games would ideally be in AS3 and i will need to be able to integrate
 and re-skin to fit into an existing framework.

 The framework triggers game load, but also in some games certain scores
 will need to trigger an event in the frame work, and highscores are also
 going to need to be stored in our DB and if we think of any other kinds of
 future integration, it has to be possible.

 We are looking for 8 to 12 games of various types.

 Any suggestions?

 Thanks,

 Sebastian.



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [AS2] Vista, asfunction, selectable=false and autoSize=true

2008-10-15 Thread [EMAIL PROTECTED]
Hello Ian,

Thanks very much for trying it out for me. Definitely heartening to hear
that it is working as expected. Apologies for not describing correct/broken
behaviour in the original post. Correct behaviour: word goes bold when you
click on it. Broken behaviour: the asfunction hand cursor appears
correctly, until you click on a word. In which case, nothing happens except
that the hand becomes an arrow, and nothing appears to be clickable
anymore.

I too was very surprised to see that there was a difference on Vista,
especially as I tried it out on IE7 and FF2, and both had the latest version
of Flash Player. (Broken behaviour in both browsers, neither of which have
more than the default level of adblocking).

From your results, it seems that it must just be the machine I tested it on.
I will have to try to get access to more Vista machines to confirm it.

Thanks once again!

CB Botha.

On Wed, Oct 15, 2008 at 7:47 PM, Ian Thomas [EMAIL PROTECTED] wrote:

 Hi there,
   What would be helpful is to know what the behaviour you expect
 _is_, and what you see when it's broken.

  I would be very surprised if there is a difference on Vista for this
 sort of functionality, particularly a difference between Flash Player
 standalone and in a browser. I suspect something else must be going on
 on that machine. (Adblocking? Wrong version of the Flash Player?)

  Testing it on Vista: in the IDE, in Chrome, in Firefox 3, in IE 7
 and in Safari I get a line of text in a textfield - when I click on
 any word it goes bold. With a very quick look at your code, that seems
 to be correct.

 HTH,
   Ian

 On Wed, Oct 15, 2008 at 10:25 AM, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Hello List,
 
  I'm working with some AS2 code that creates a textfield which has
  selectable=false and autoSize=true, and uses asfunction to change its own
  contents.
 
  I recently noticed that, while it works successfully on Windows XP and on
 a
  Mac (unsure of version), it does not seem to work on Vista. I should
  clarify, it does not seem to work on Vista in a browser (works fine when
 you
  control+enter).
 
  After a fair amount of un/commenting, it seems like the problem is that,
 on
  Vista, you can't have selectable=false AND autoSize=true and expect
  asfunction to work. It works fine if you comment out either of those
 lines.
 
  If anyone has Vista, I would sincerely appreciate it if you could give it
 a
  burl in a browser, sample code below, just copy and paste. I only have
  access to one Vista machine, so it would be great to get some
 confirmation.
 
  And if anyone could shed some light on why this is happening at all,
 'twould
  be 'twerrific!
 
  (I understand that Use AS3 is the answer to many problems, but
  unfortunately I'm not in the position to do that right now).
 
  Thanks very much!
 
 
  // --- Click on a word to embolden it.
  // --- Code begins.
 
  var str:String = The quick brown fox jumps over the lazy dog.;
  var str_array:Array = str.split( );
  var newStr:String = ;
  var clicked_array:Array = [];
 
 
 this.createTextField(content_txt,this.getNextHighestDepth(),10,10,300,50);
  with (content_txt) {
 autoSize = true;
 selectable = false;
 border = true;
 html = true;
 wordWrap = true;
  }
 
  function render() {
 newStr = ;
 for (var i = 0; istr_array.length; i++) {
 if (clicked_array[i] == 1) {
 newStr += b;
 }
 newStr += a
 href='asfunction:clickedOn,+i+'+str_array[i]+/a
  ;
 if (clicked_array[i] == 1) {
 newStr += /b;
 }
 }
 content_txt.htmlText = newStr;
  }
 
  function clickedOn(num) {
 clicked_array[num] = 1;
 render();
  }
 
  render();
 
  // --- Code ends
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Accessing text between SWFs

2008-10-15 Thread Alan Neilsen
I have a SWF (rte2124b_birthing-duties.swf) in which the user enters their name 
in an input text field. This SWF then calls in another SWF as follows:
import flash.display.*;
import flash.net.URLRequest;
var rect1:Shape = new Shape();
rect1.graphics.beginFill(0xFF);
rect1.graphics.drawRect(0, 0, 1966, 660); //this covers the print-out area as 
well
addChild(rect1);
var ldr1:Loader = new Loader();
ldr1.mask = rect1;
var url1:String = topics/rte2124b_topic1.swf;
var urlReq1:URLRequest = new URLRequest(url1);
ldr1.load(urlReq1);
addChild(ldr1);

Is there a way I can get the text entered in the first SWF (e.g. Fred Smith) to 
be accessible by the second SWF (rte2124b_topic1.swf)? I want the print-outs 
from the second SWF to start with This activity was completed by User Name 
(e.g. Fred Smith).

Alan Neilsen


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Accessing text between SWFs

2008-10-15 Thread poste9
you can do something like that:
ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);

public function completeHandler(event:Event) {
MovieClip(event.currentTarget)._parent = this;
}

and access each prop of parent swf for example:

trace(_parent.ldr1);

2008/10/16 Alan Neilsen [EMAIL PROTECTED]

 I have a SWF (rte2124b_birthing-duties.swf) in which the user enters their
 name in an input text field. This SWF then calls in another SWF as follows:
 import flash.display.*;
 import flash.net.URLRequest;
 var rect1:Shape = new Shape();
 rect1.graphics.beginFill(0xFF);
 rect1.graphics.drawRect(0, 0, 1966, 660); //this covers the print-out area
 as well
 addChild(rect1);
 var ldr1:Loader = new Loader();
 ldr1.mask = rect1;
 var url1:String = topics/rte2124b_topic1.swf;
 var urlReq1:URLRequest = new URLRequest(url1);
 ldr1.load(urlReq1);
 addChild(ldr1);

 Is there a way I can get the text entered in the first SWF (e.g. Fred
 Smith) to be accessible by the second SWF (rte2124b_topic1.swf)? I want the
 print-outs from the second SWF to start with This activity was completed by
 User Name (e.g. Fred Smith).

 Alan Neilsen


 This message is for the named person's use only. It may contain
 confidential, proprietary or legally privileged information. No
 confidentiality or privilege is waived or; lost by any mistransmission. If
 you receive this message in error, please immediately delete it and all
 copies of it from your system, destroy any hard copies of it and notify
 the sender. You must not directly or indirectly, use, disclose,
 distribute, print or copy any part of this message if you are not the
 intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
 any of its subsidiaries each reserve the right to monitor all e-mail
 communications through its networks. Any views expressed in this
 message are those of the individual sender, except where the
 message states otherwise and the sender is authorised to state them
 to be the views of any such entity.


 #
 This e-mail message has been scanned for Viruses and Content and cleared
 by MailMarshal

 #
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
=
Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
fazendo do seu website uma aplicação em tempo real
ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders