Re: [Flashcoders] Font embedding with Regular Bold versions

2010-05-28 Thread dopeco...@hotmail.com
Well isn't that a slap in the face with a wet fish ... that did it 
Sumeet ... 10 years of flash destroyed by Auto kerning ;) Thanks mate.


Sumeet Kumar wrote:

Hi :)

Not sure why, but unchecking the auto kern  checkbox solved the 
problem for me.


Thanks
Sumeet Kumar

- Original Message - From: dopeco...@hotmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, May 28, 2010 6:25 AM
Subject: [Flashcoders] Font embedding with Regular  Bold versions


Hi all,

I have searched far and wide for the solution on this one, but to no
avail. The old chestnut of font issue rears it's head again (reminds me
of good old Flash 4 days), the basic scenario is this, and a link to a
sample file is below:

Two textfields on stage, the first, a static text field using a regular
weighting of a font, for example Arial Regular. The second, a dynamic
text field, using a bold weighting of the same font, e.g. Arial Bold.
The dynamic field has its character embedding set appropriately, but
here is the kicker. If I manually type something into this field and
publish, all is well in font land .. however if I set it's .text
property in AS, the bold text field will not render while the static
field is using the regular version of the font.

To add more fun and games, if I set the static field to the italic or
anything else version of the same font, the dynamic bold field shows
fine ... this happens on multiple fonts, the test file below uses Arial
in an attempt to have something most people will have on their system.

Any ideas at all? .. Even embedding the entire bold font as a library
item doesn't work (and is not practical for what it is for), so any help
would be most appreciated.

Sample file:

http://singlenotion.com/tmp/fontTest.zip

Cheers
Adam
___
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


RE: [Flashcoders] Font embedding with Regular Bold versions

2010-05-28 Thread Cor
It's very simpel. :-)
Select the dynamic textfield, click Character Embedding and click don't
embed.
In AS if you like, set testField.embedFonts = false;


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of
dopeco...@hotmail.com
Sent: vrijdag 28 mei 2010 2:55
To: Flash Coders List
Subject: [Flashcoders] Font embedding with Regular  Bold versions

Hi all,

I have searched far and wide for the solution on this one, but to no 
avail. The old chestnut of font issue rears it's head again (reminds me 
of good old Flash 4 days), the basic scenario is this, and a link to a 
sample file is below:

Two textfields on stage, the first, a static text field using a regular 
weighting of a font, for example Arial Regular. The second, a dynamic 
text field, using a bold weighting of the same font, e.g. Arial Bold. 
The dynamic field has its character embedding set appropriately, but 
here is the kicker. If I manually type something into this field and 
publish, all is well in font land .. however if I set it's .text 
property in AS, the bold text field will not render while the static 
field is using the regular version of the font.

To add more fun and games, if I set the static field to the italic or 
anything else version of the same font, the dynamic bold field shows 
fine ... this happens on multiple fonts, the test file below uses Arial 
in an attempt to have something most people will have on their system.

Any ideas at all? .. Even embedding the entire bold font as a library 
item doesn't work (and is not practical for what it is for), so any help 
would be most appreciated.

Sample file:

http://singlenotion.com/tmp/fontTest.zip

Cheers
Adam
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.819 / Virusdatabase: 271.1.1/2892 - datum van uitgifte: 05/23/10
20:26:00

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


Re: [Flashcoders] GPU, Direct or Normal?

2010-05-28 Thread tom rhodes
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 | White Rabbit Studios |
 http://apps.facebook.com/feline-frenzy/


 On Thu, May 27, 2010 at 9:33 PM, Kevin Newman capta...@unfocus.com
 wrote:

  I'd like a lot more info on this subject as well - general info - when is
  which mode better, what happens if the GPU isn't supported on the
 particular
  hardware, how can I take better advantage of GPU, etc.
 
  Kevin N.
 
 
 
 
  On 5/24/10 8:28 AM, Fahim Akhter wrote:
 
  Hi,
 
  In a event driven game with lots of graphics (static essentially ) which
  mode would you suggest ? Direct/GPU or normal?
 
  Fahim Akhter
  Game Developer | White Rabbit Studios |
  http://apps.facebook.com/feline-frenzy/
  ___
  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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] right to left text in fp9 using xml

2010-05-28 Thread allandt bik-elliott (thefieldcomic.com)
hi guys

can anyone give me any pointers as to how to support right to left text like
arabic in a as3 fp9 site i've done please?

my xml is all utf-8 if that makes a difference?

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


Re: [Flashcoders] union 1000-user free licence announced (multiuser dev platform)

2010-05-28 Thread allandt bik-elliott (thefieldcomic.com)
sweet - now let's get win-gee to re-release his junglewar game and we're set
:D

a

On 28 May 2010 06:12, co...@moock.org co...@moock.org wrote:

 greetings flashcoders.

 at fitc, we recently announced a free 1000-user licence for union:

 http://www.unionplatform.com/?p=1115

 also, this week, we posted an online multiplayer pong game tutorial:
 http://www.unionplatform.com/?page_id=1229

 and a multiuser fridge magnets tutorial:
 http://www.unionplatform.com/?page_id=1159

 both tutorials include all demo source code.

 what's union?

 Union is a development platform for creating multiuser applications. It
 includes the Union Server, a multiuser communications server, and Reactor,
 an ActionScript 3.0 framework for creating Adobe Flash client applications.

 sorry for the intrusion, but I'm trying to get the word out that there's
 now a free option for large-scale multiuser game and app projects.

 dave, please let me know if this type of announcement is inappropriate for
 flashcoders.

 kind regards,
 colin moock
 ___
 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] right to left text in fp9 using xml

2010-05-28 Thread Glen Pike
Arabic - you can use Flaraby which works really well - that takes your 
arabic text and flips the order of words / characters correctly.
It does not work for other BIDI languages - we had to upgrade to CS4.  
There is another solution 
http://www.red-id.com/blog/post/BIDI-Flash-support-3.aspx but we found 
it to be buggy and cheaper to upgrade to CS4 and use the Text Layout 
Framework:


Here is some code for using the TLF to add in text - it will create a 
multiple lines of text in a restricted width container until the text is 
fitted..


if (true == _useRTLText) {
trace(useRTLText - _fteContainer.numChildren  
+ _fteContainer.numChildren);

while (_fteContainer.numChildren) {
_fteContainer.removeChildAt(0);
}
TextElement(_textBlock.content).text = value;

var textLine:TextLine;
var prevLine:TextLine;
for (;;)
{
textLine = 
_textBlock.createTextLine(prevLine, _text.width);

if (!textLine) {
trace(finished adding text lines - 
total  + _fteContainer.numChildren);

break;
}
textLine.blendMode = BlendMode.LAYER;
trace(aligning text  + textAlign +  
width is  + textLine.width +  /  + _text.width);
if (center == textAlign || center == 
fmt.align) {
textLine.x = _text.x + (_text.width - 
textLine.width) / 2;

} else if(right == textAlign) {
textLine.x = _text.x + (_text.width - 
textLine.width);

} else {
textLine.x = _text.x;
}
textLine.y = prevLine ? prevLine.y + 
textLine.height : _text.y + fmt.size;

_fteContainer.addChild(textLine);
trace(added a text line  + 
_fteContainer.numChildren +  at x,y  + textLine.x + ,  + textLine.y);

prevLine = textLine;
}
addChild(_fteContainer);
}


On 28/05/2010 10:36, allandt bik-elliott (thefieldcomic.com) wrote:

hi guys

can anyone give me any pointers as to how to support right to left text like
arabic in a as3 fp9 site i've done please?

my xml is all utf-8 if that makes a difference?

thanks guys
a
___
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] union 1000-user free licence announced (multiuser dev platform)

2010-05-28 Thread Tom Gooding
thanks for the update colin

I discovered Unity several months ago whilst it was in Beta. we introduced it 
into a multiplayer gaming application in a middle-man context to replace an 
http tunneling/polling behaviour.
we were able to get it into production within a week of downloading the 
libraries and doc and it's proven very dependable and dead easy to work with 

the terms of the license you're offering and the quality of the platform 
represents a really significant 'gift' to the community - thank you! 

Tom Gooding
quickthinkmedia.co.uk


On 28 May 2010, at 06:12, co...@moock.org wrote:

greetings flashcoders.

at fitc, we recently announced a free 1000-user licence for union:

http://www.unionplatform.com/?p=1115

also, this week, we posted an online multiplayer pong game tutorial:
http://www.unionplatform.com/?page_id=1229

and a multiuser fridge magnets tutorial:
http://www.unionplatform.com/?page_id=1159

both tutorials include all demo source code.

what's union?

Union is a development platform for creating multiuser applications. It 
includes the Union Server, a multiuser communications server, and Reactor, an 
ActionScript 3.0 framework for creating Adobe Flash client applications.

sorry for the intrusion, but I'm trying to get the word out that there's now a 
free option for large-scale multiuser game and app projects.

dave, please let me know if this type of announcement is inappropriate for 
flashcoders.

kind regards,
colin moock
___
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] right to left text in fp9 using xml

2010-05-28 Thread Glen Pike

Oops, sorry, forgot the types  setup for a couple of those elements:

protected var _fteContainer:Sprite;
protected var _textBlock:TextBlock;

function setupRTL() {
_fteContainer = new Sprite();
//addChild(_fteContainer);
//We create a 2nd text field that will deal with our 
RTL text...

var elementFormat:ElementFormat = new ElementFormat();
elementFormat.fontSize = Number(fmt.size);
var desc:FontDescription = new FontDescription(Arial);
elementFormat.color = uint(fmt.color);
elementFormat.fontDescription = desc;

var textElement:TextElement = new TextElement(Hello, 
elementFormat);


_textBlock = new TextBlock(textElement);
_textBlock.bidiLevel = 1;

var textLine:TextLine = _textBlock.createTextLine(null, 
_text.width, 0);


  _fteContainer.addChild(textLine);
}

On 28/05/2010 10:50, Glen Pike wrote:
Arabic - you can use Flaraby which works really well - that takes 
your arabic text and flips the order of words / characters correctly.
It does not work for other BIDI languages - we had to upgrade to CS4.  
There is another solution 
http://www.red-id.com/blog/post/BIDI-Flash-support-3.aspx but we found 
it to be buggy and cheaper to upgrade to CS4 and use the Text Layout 
Framework:


Here is some code for using the TLF to add in text - it will create a 
multiple lines of text in a restricted width container until the text 
is fitted..


if (true == _useRTLText) {
trace(useRTLText - _fteContainer.numChildren 
 + _fteContainer.numChildren);

while (_fteContainer.numChildren) {
_fteContainer.removeChildAt(0);
}
TextElement(_textBlock.content).text = value;

var textLine:TextLine;
var prevLine:TextLine;
for (;;)
{
textLine = 
_textBlock.createTextLine(prevLine, _text.width);

if (!textLine) {
trace(finished adding text lines - 
total  + _fteContainer.numChildren);

break;
}
textLine.blendMode = BlendMode.LAYER;
trace(aligning text  + textAlign +  
width is  + textLine.width +  /  + _text.width);
if (center == textAlign || center == 
fmt.align) {
textLine.x = _text.x + (_text.width - 
textLine.width) / 2;

} else if(right == textAlign) {
textLine.x = _text.x + (_text.width - 
textLine.width);

} else {
textLine.x = _text.x;
}
textLine.y = prevLine ? prevLine.y + 
textLine.height : _text.y + fmt.size;

_fteContainer.addChild(textLine);
trace(added a text line  + 
_fteContainer.numChildren +  at x,y  + textLine.x + ,  + textLine.y);

prevLine = textLine;
}
addChild(_fteContainer);
}


On 28/05/2010 10:36, allandt bik-elliott (thefieldcomic.com) wrote:

hi guys

can anyone give me any pointers as to how to support right to left 
text like

arabic in a as3 fp9 site i've done please?

my xml is all utf-8 if that makes a difference?

thanks guys
a
___
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


Re: [Flashcoders] GPU, Direct or Normal?

2010-05-28 Thread Fahim Akhter
Thank you, kind sir :)

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/


On Fri, May 28, 2010 at 2:23 PM, tom rhodes tom.rho...@gmail.com wrote:

 http://www.kaourantin.net/2008/05/what-does-gpu-acceleration-mean.html

 http://www.kaourantin.net/2008/05/what-does-gpu-acceleration-mean.html
 google
 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 | White Rabbit Studios |
  http://apps.facebook.com/feline-frenzy/
 
 
  On Thu, May 27, 2010 at 9:33 PM, Kevin Newman capta...@unfocus.com
  wrote:
 
   I'd like a lot more info on this subject as well - general info - when
 is
   which mode better, what happens if the GPU isn't supported on the
  particular
   hardware, how can I take better advantage of GPU, etc.
  
   Kevin N.
  
  
  
  
   On 5/24/10 8:28 AM, Fahim Akhter wrote:
  
   Hi,
  
   In a event driven game with lots of graphics (static essentially )
 which
   mode would you suggest ? Direct/GPU or normal?
  
   Fahim Akhter
   Game Developer | White Rabbit Studios |
   http://apps.facebook.com/feline-frenzy/
   ___
   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 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] Funny, Code Worked Before...

2010-05-28 Thread John Singleton

Ok, I've nailed down where the problem is as to why my silly little *.as file 
that worked so well before won't work with minor changes in my latest *.as 
file. The problem appears to be that Flash freaks out over different image 
files! Here's the code, simplified:

package 
{
import flash.display.Sprite;
import flash.text.TextLineMetrics;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.text.TextFormatAlign;
import flash.text.TextFieldAutoSize;
import flash.net.navigateToURL;
import flash.display.Bitmap;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.MovieClip;
import com.greensock.*;
import com.greensock.easing.*;
import flash.display.Loader;
import flash.events.ProgressEvent;
import flash.text.TextField;
import flash.text.TextFormat;
import flash.text.TextFieldAutoSize;
import flash.net.URLRequest;

[SWF(backgroundColor=0x565656)]

public class DeJonghPreloader extends MovieClip
{
var loader:Loader = new Loader();
private var myTextField:TextField = new TextField();
var imgFlag1:Boolean = new Boolean(false);

public function DeJonghPreloader()
{
addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true);
}

private function init(e:Event)
{
var clientName:TextField = new TextField();
var format:TextFormat = new TextFormat();
format.font = 'Arial';
format.size = 35;
clientName.textColor = 0x023048;
clientName.text = 'Delta Electric';
clientName.autoSize = TextFieldAutoSize.LEFT;
clientName.setTextFormat(format);
var nameSprite:Sprite = new Sprite();
nameSprite.x = stage.stageWidth/2 - 70;
nameSprite.y = stage.stageHeight/2 - 40;
nameSprite.alpha = 0;
TweenLite.to(nameSprite, 2, {alpha:1});
addChild(nameSprite);
nameSprite.addChild(clientName);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, 
imageLoaded);
loader.load(new URLRequest(images/charles.jpg));
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, 
loop);
removeEventListener(Event.ADDED_TO_STAGE, init);
addChild(myTextField);
myTextField.width = 250;
myTextField.x = stage.stageWidth/2;
myTextField.y = stage.stageHeight/2;
myTextField.selectable = false;
myTextField.border = false;
myTextField.borderColor = 0xAA;
myTextField.autoSize = TextFieldAutoSize.LEFT;
var myFormat:TextFormat = new TextFormat();
myFormat.color = 0x023048;
myFormat.size = 24;
myFormat.italic = true;
myTextField.defaultTextFormat = myFormat;
}

private function imageLoaded(event:Event):void
{
imgFlag1 = true;
completePreloader();
}

function completePreloader()
{
var req:URLRequest = new URLRequest('index.py');
navigateToURL(req, '_self');
}

function loop(e:ProgressEvent):void
{
var perc:Number = e.bytesLoaded/e.bytesTotal;
myTextField.text = Math.ceil(perc*100).toString() + %;
}
}
}

Now, that code works just fine. However, if I change the image from 
charles.jpg to left1.png it doesn't work. What breaks? Who knows? If I put 
a trace in completePreloader(), it traces, so one would thing that the 
URLRequest works, right? Wrong. The page is never sought, witnessed by the fact 
that, if charles.jpg is in, an error is traced on my Mac when trying to find 
the relative address, but if left1.png is in, no error. Now, it doesn't 
matter if it's a png or a jpg, because the original file that works has a 
couple pngs as well. I've gone so far as to copy and rename the working files 
in the same directory as the originals, prove they work, copy over my images 
and change them and watch this code break. So it _is_ the images that are 
causing the problem. But why, o why???
John



  

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


Re: [Flashcoders] union 1000-user free licence announced (multiuser dev platform)

2010-05-28 Thread Dave Watts
 dave, please let me know if this type of announcement is inappropriate for
 flashcoders.

It's not inappropriate at all. Thanks for posting this!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS2 ComboBox only showing 2 rows when embedded in Adobe Connect

2010-05-28 Thread Andrew Sinning

We've built an AS2 application that can be embedded into various LMSs, etc.

Curiously, when embedded in Adobe Connect (also written in AS2), the 
ComboBoxes aren't rendered correctly.  Rather than dropping down, the 
menus are displaying above the widget, even though there is plenty of 
room below.  Even worse, only the first two rows are displayed, so to 
select any other rows you have to use the arrow keys.


My guess is that the ComboBox is trying to determine how much room it 
has to render its menus, and that this is going awry.


_lockRoot is set to true

I think this might be handled by the PopUpManager, perhaps by its 
setSize function, but I can't figure out where this is defined.  It's 
simply listed as a property:
  
   var setSize:Function;



Any ideas?  Thanks!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] right to left text in fp9 using xml

2010-05-28 Thread allandt bik-elliott (thefieldcomic.com)
superb

thanks
a

On 28 May 2010 10:56, Glen Pike g...@engineeredarts.co.uk wrote:

 Oops, sorry, forgot the types  setup for a couple of those elements:

 protected var _fteContainer:Sprite;
 protected var _textBlock:TextBlock;

 function setupRTL() {
_fteContainer = new Sprite();
//addChild(_fteContainer);
//We create a 2nd text field that will deal with our RTL
 text...
var elementFormat:ElementFormat = new ElementFormat();
elementFormat.fontSize = Number(fmt.size);
var desc:FontDescription = new FontDescription(Arial);
elementFormat.color = uint(fmt.color);
elementFormat.fontDescription = desc;

var textElement:TextElement = new TextElement(Hello,
 elementFormat);

_textBlock = new TextBlock(textElement);
_textBlock.bidiLevel = 1;

var textLine:TextLine = _textBlock.createTextLine(null,
 _text.width, 0);

  _fteContainer.addChild(textLine);

 }

 On 28/05/2010 10:50, Glen Pike wrote:

 Arabic - you can use Flaraby which works really well - that takes your
 arabic text and flips the order of words / characters correctly.
 It does not work for other BIDI languages - we had to upgrade to CS4.
  There is another solution
 http://www.red-id.com/blog/post/BIDI-Flash-support-3.aspx but we found it
 to be buggy and cheaper to upgrade to CS4 and use the Text Layout Framework:

 Here is some code for using the TLF to add in text - it will create a
 multiple lines of text in a restricted width container until the text is
 fitted..

 if (true == _useRTLText) {
trace(useRTLText - _fteContainer.numChildren  +
 _fteContainer.numChildren);
while (_fteContainer.numChildren) {
_fteContainer.removeChildAt(0);
}
TextElement(_textBlock.content).text = value;

var textLine:TextLine;
var prevLine:TextLine;
for (;;)
{
textLine = _textBlock.createTextLine(prevLine,
 _text.width);
if (!textLine) {
trace(finished adding text lines - total 
 + _fteContainer.numChildren);
break;
}
textLine.blendMode = BlendMode.LAYER;
trace(aligning text  + textAlign +  width is
  + textLine.width +  /  + _text.width);
if (center == textAlign || center ==
 fmt.align) {
textLine.x = _text.x + (_text.width -
 textLine.width) / 2;
} else if(right == textAlign) {
textLine.x = _text.x + (_text.width -
 textLine.width);
} else {
textLine.x = _text.x;
}
textLine.y = prevLine ? prevLine.y +
 textLine.height : _text.y + fmt.size;
_fteContainer.addChild(textLine);
trace(added a text line  +
 _fteContainer.numChildren +  at x,y  + textLine.x + ,  + textLine.y);
prevLine = textLine;
}
addChild(_fteContainer);
}


 On 28/05/2010 10:36, allandt bik-elliott (thefieldcomic.com) wrote:

 hi guys

 can anyone give me any pointers as to how to support right to left text
 like
 arabic in a as3 fp9 site i've done please?

 my xml is all utf-8 if that makes a difference?

 thanks guys
 a
 ___
 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
I am trying to make a simple ticker... my thinking is to tween it (in as) right 
to left... how would I make that tween repeat endlessly?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ticker

2010-05-28 Thread Glen Pike

On 28/05/2010 15:45, Lehr, Theodore wrote:

I am trying to make a simple ticker... my thinking is to tween it (in as) right 
to left... how would I make that tween repeat endlessly?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

yoyo is your friend
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
That's what I love about this list - there is ALWAYS help available but it is 
often cryptic... ;-)


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike 
[g...@engineeredarts.co.uk]
Sent: Friday, May 28, 2010 10:57 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ticker

On 28/05/2010 15:45, Lehr, Theodore wrote:
 I am trying to make a simple ticker... my thinking is to tween it (in as) 
 right to left... how would I make that tween repeat endlessly?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



yoyo is your friend
___
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] ticker

2010-05-28 Thread Glen Pike
Hehe - Just giving you a nudge in the right direction - you have to look 
up some info - try googling for flash tween yoyo and it opens up some 
interesting stuff.  If you then get stuck trying to do stuff, we help a 
bit more ;)


On 28/05/2010 16:04, Lehr, Theodore wrote:

That's what I love about this list - there is ALWAYS help available but it is 
often cryptic... ;-)


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike 
[g...@engineeredarts.co.uk]
Sent: Friday, May 28, 2010 10:57 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ticker

On 28/05/2010 15:45, Lehr, Theodore wrote:
   

I am trying to make a simple ticker... my thinking is to tween it (in as) right 
to left... how would I make that tween repeat endlessly?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 

yoyo is your friend
___
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


Re: [Flashcoders] ticker

2010-05-28 Thread Matt S.
Are you using a Tween Engine like TweenMax? Most have a yoyo function
built in which endlessly loops back and forth.

.m

On Fri, May 28, 2010 at 11:04 AM, Lehr, Theodore
ted_l...@federal.dell.com wrote:
 That's what I love about this list - there is ALWAYS help available but it is 
 often cryptic... ;-)

 
 From: flashcoders-boun...@chattyfig.figleaf.com 
 [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike 
 [g...@engineeredarts.co.uk]
 Sent: Friday, May 28, 2010 10:57 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] ticker

 On 28/05/2010 15:45, Lehr, Theodore wrote:
 I am trying to make a simple ticker... my thinking is to tween it (in as) 
 right to left... how would I make that tween repeat endlessly?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 yoyo is your friend
 ___
 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


Re: [Flashcoders] ticker

2010-05-28 Thread Nathan Mynarcik
Have each item as its on sprite/mc and when it tweens off the stage,
reset its x/y to start over again.

On 5/28/10, Lehr, Theodore ted_l...@federal.dell.com wrote:
 That's what I love about this list - there is ALWAYS help available but it
 is often cryptic... ;-)

 
 From: flashcoders-boun...@chattyfig.figleaf.com
 [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
 [g...@engineeredarts.co.uk]
 Sent: Friday, May 28, 2010 10:57 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] ticker

 On 28/05/2010 15:45, Lehr, Theodore wrote:
 I am trying to make a simple ticker... my thinking is to tween it (in as)
 right to left... how would I make that tween repeat endlessly?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 yoyo is your friend
 ___
 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



-- 
Nathan Mynarcik
nat...@mynarcik.com
254.749.2525
www.mynarcik.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ticker

2010-05-28 Thread Cedric Muller
or just assign some 'onComplete' handler to your tween, reset your  
object to tween 's position to the right of the screen and (re)start  
tweening.

rinse and repeat.

Cedric

Hehe - Just giving you a nudge in the right direction - you have to  
look up some info - try googling for flash tween yoyo and it  
opens up some interesting stuff.  If you then get stuck trying to  
do stuff, we help a bit more ;)


On 28/05/2010 16:04, Lehr, Theodore wrote:
That's what I love about this list - there is ALWAYS help  
available but it is often cryptic... ;-)



From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders- 
boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike  
[g...@engineeredarts.co.uk]

Sent: Friday, May 28, 2010 10:57 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ticker

On 28/05/2010 15:45, Lehr, Theodore wrote:

I am trying to make a simple ticker... my thinking is to tween it  
(in as) right to left... how would I make that tween repeat  
endlessly?


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


RE: [Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
Don't worry - I love it! Would rather hunt and find it anyway rater than being 
handed the answer... 


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike 
[g...@engineeredarts.co.uk]
Sent: Friday, May 28, 2010 11:14 AM
To: Flash Coders List
Subject: Re: [Flashcoders] ticker

Hehe - Just giving you a nudge in the right direction - you have to look
up some info - try googling for flash tween yoyo and it opens up some
interesting stuff.  If you then get stuck trying to do stuff, we help a
bit more ;)

On 28/05/2010 16:04, Lehr, Theodore wrote:
 That's what I love about this list - there is ALWAYS help available but it is 
 often cryptic... ;-)

 
 From: flashcoders-boun...@chattyfig.figleaf.com 
 [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike 
 [g...@engineeredarts.co.uk]
 Sent: Friday, May 28, 2010 10:57 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] ticker

 On 28/05/2010 15:45, Lehr, Theodore wrote:

 I am trying to make a simple ticker... my thinking is to tween it (in as) 
 right to left... how would I make that tween repeat endlessly?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 yoyo is your friend
 ___
 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface with looped parameters

2010-05-28 Thread Anthony Pace


If you want an array from javascript to actionscript

somewhere in your class put something like:

 ExternalInterface.addCallback('SWFReceiver', as3Receiver);

but remember that you need a receiver in as3:

 public function as3Receiver(a:Array /*or object, or *, 
etc...*/):void {

  //do something with your array
 }

then in js:

var swfo = document.getElementById('idOfYourSwfElement');
swfo.SWFReceiver(yourArrayObject);


if you want an array from AS3 to javascript


var dataScript:XML= new XML(![CDATA[ function(){ jsReceiver([+ 
formattedArrayAsString +]);} ]]);

ExternalInterface.call(dataScript);



On 5/26/2010 3:07 AM, Ashim D'Silva wrote:

This seems fairly impossible but if there's an awesome way to do it
I'll be heaps grateful.

I receive a function name and a set of parameters via XML

analytics
function
namewebtrends/name
params
param98780/param
paramJoseph/param
paramIceland/param
/params
/function
/analytics

I'm hoping there's a way for me to fire an ExternalInterface.call()
function with any amount of parameters provided to me.
I'm one step away from telling the other side I'll send them an array,
but hoping for the long shot.

Cheers,

Ashim

The Random Lines
www.therandomlines.com
___
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] Flash CS5 TLF Engine Causes Errors With Loaded SWFs

2010-05-28 Thread Steven Sacks

http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/

You cannot use the TLF Engine in swfs that you load into another swf. If you 
know somebody at Adobe, please raise this issue.

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


[Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers

Hello,
How can I go about restricting the number of downloads of a file on  
my server?
For Eg: if I want a music track to only be able to be downloaded by  
150 people and thats it.. ever,

how can I go about doing this?

Much obliged,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] File Downloads

2010-05-28 Thread Dave Watts
 How can I go about restricting the number of downloads of a file on my
 server?
 For Eg: if I want a music track to only be able to be downloaded by 150
 people and thats it.. ever,
 how can I go about doing this?

You'll need to serve the file through a server-side (CGI) program.
That program can read from a counter to see if additional downloads
are allowed, then write to the counter after a download has been
initiated.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers


On May 28, 2010, at 3:47 PM, Dave Watts wrote:

How can I go about restricting the number of downloads of a file  
on my

server?
For Eg: if I want a music track to only be able to be downloaded  
by 150

people and thats it.. ever,
how can I go about doing this?


You'll need to serve the file through a server-side (CGI) program.
That program can read from a counter to see if additional downloads
are allowed, then write to the counter after a download has been
initiated.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


I see. Would PHP work as that server side language? I am thinking so.
You can create a PHP counter, so... hmmm.

:)

Thanks for the input.


Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] ticker

2010-05-28 Thread John R. Sweeney Jr
Like breadcrumbs. :)


on 5/28/10 10:14 AM, Glen Pike at g...@engineeredarts.co.uk wrote:

 If you then get stuck trying to do stuff, we help a
 bit more ;)


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com


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


Re: [Flashcoders] File Downloads

2010-05-28 Thread Dave Watts
 I see. Would PHP work as that server side language? I am thinking so.
 You can create a PHP counter, so... hmmm.

Sure, I think it would be very easy to do in PHP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers

Eureka.. Thanks ;)


On May 28, 2010, at 4:19 PM, Dave Watts wrote:


I see. Would PHP work as that server side language? I am thinking so.
You can create a PHP counter, so... hmmm.


Sure, I think it would be very easy to do in PHP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] Flash CS5 TLF Engine Causes Errors With Loaded SWFs

2010-05-28 Thread Henrik Andersson

Steven Sacks wrote:

http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/


You cannot use the TLF Engine in swfs that you load into another swf. If
you know somebody at Adobe, please raise this issue.


Long story short: Adobe wanted to hide the separate loading of the TLF 
RSL and as such added their own preloader before the content.


I haven't even tried it myself, but my gut reaction for solving this is: 
get rid of the Adobe preloader and load the RSL yourself. Alternatively, 
ditch the RSL and just embed it in your movie.


I am sure that people will figure out a way to pull this off.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File Downloads

2010-05-28 Thread Henrik Andersson

Karl DeSaulniers wrote:

Hello,
How can I go about restricting the number of downloads of a file on my
server?
For Eg: if I want a music track to only be able to be downloaded by 150
people and thats it.. ever,
how can I go about doing this?



I recommend at the very least using a token system where each downloader 
gets a token granting access to the download. Without one, you could end 
up with an aborted download and no way of resuming it.


That and the fact that clients may be increasing the counter needlessly 
if they do things like segmented downloads.

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


Re: [Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers

Very good point. Thanks for that Henrik.
I was starting to wrap my head around an idea like this.
Where each user was given a list of available downloads and as they  
downloaded, the list got shorter.

Once the list was depleted, no more downloads.
I didn't think about tokens because I have never used them and they  
seem too complicated for such a small task.

Any Tuts?

TIA

Karl


On May 28, 2010, at 4:49 PM, Henrik Andersson wrote:


Karl DeSaulniers wrote:

Hello,
How can I go about restricting the number of downloads of a file  
on my

server?
For Eg: if I want a music track to only be able to be downloaded  
by 150

people and thats it.. ever,
how can I go about doing this?



I recommend at the very least using a token system where each  
downloader gets a token granting access to the download. Without  
one, you could end up with an aborted download and no way of  
resuming it.


That and the fact that clients may be increasing the counter  
needlessly if they do things like segmented downloads.

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] File Downloads

2010-05-28 Thread Dave Watts
 I was starting to wrap my head around an idea like this.
 Where each user was given a list of available downloads and as they
 downloaded, the list got shorter.
 Once the list was depleted, no more downloads.
 I didn't think about tokens because I have never used them and they seem too
 complicated for such a small task.

If you're going to have users log in - which you'd need to track the
downloads available for a given user - why bother limiting the number
of times they can download the file at all?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers

Limited edition releases.


On May 28, 2010, at 5:44 PM, Dave Watts wrote:


I was starting to wrap my head around an idea like this.
Where each user was given a list of available downloads and as they
downloaded, the list got shorter.
Once the list was depleted, no more downloads.
I didn't think about tokens because I have never used them and  
they seem too

complicated for such a small task.


If you're going to have users log in - which you'd need to track the
downloads available for a given user - why bother limiting the number
of times they can download the file at all?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] File Downloads

2010-05-28 Thread Karl DeSaulniers
Yes the users will have gone through a registration and login to get  
to the downloads.

The files will be served from MySQL and output to HTML of Flash.
This is for a small project of limited edition audio or pictures or  
scripts, etc.
Hens, I'd like to limit each user in the allotted 150 to be able to  
download (whatever it is) only once.

But up to 150 users can get in on it kind of thing.

Karl

On May 28, 2010, at 5:44 PM, Dave Watts wrote:


I was starting to wrap my head around an idea like this.
Where each user was given a list of available downloads and as they
downloaded, the list got shorter.
Once the list was depleted, no more downloads.
I didn't think about tokens because I have never used them and  
they seem too

complicated for such a small task.


If you're going to have users log in - which you'd need to track the
downloads available for a given user - why bother limiting the number
of times they can download the file at all?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] GPU, Direct or Normal?

2010-05-28 Thread Kevin Newman
Is that information still current? I was under the impression that much 
of that was dropped from release players (can the Flash Player make a 
Direct3D/OpenGL surface from within a browser plugin?).


The post also says that content should be specifically 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-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 Akhterakhter.fa...@gmail.com  wrote:

   

That makes two of us brother.

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/


On Thu, May 27, 2010 at 9:33 PM, Kevin Newmancapta...@unfocus.com
wrote:

 

I'd like a lot more info on this subject as well - general info - when is
which mode better, what happens if the GPU isn't supported on the
   

particular
 

hardware, how can I take better advantage of GPU, etc.

Kevin N.




On 5/24/10 8:28 AM, Fahim Akhter wrote:

   

Hi,

In a event driven game with lots of graphics (static essentially ) which
mode would you suggest ? Direct/GPU or normal?

Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
___
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 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