Re: [Flashcoders] Microsoft Silverlight ...

2007-04-17 Thread Mick G

I'm going to throw a wild guess out and say that once the penetration begins
Silverfast will be to PC users what quicktime is to mac users... (meaning it
will be used by most PC users, but not as many mac users). With the
Microsoft backing, it will no doubt at some point be part of IE and be
included in Windows Updates.

If you're a fluent actionscript developer, it will be even more job
opportunities which is a good thing - as long as you're open minded to
learning it. It will attract more developers that currently use Visual
Studio/MS developer products.

It's early days yet, the developer application isn't out in public and the
MS push has not even begun.




On 4/16/07, Weyert de Boer [EMAIL PROTECTED] wrote:


I think not everyone wants to install because you would have to
reinstall MacOSX. Because it ain't working for on 10.4.9.
Beside of that it's quite nice. It has the coolness of Apollo but then
inside a browser window...
 What do you make of Microsoft's Silverlight:
http://www.microsoft.com/silverlight/default_01.aspxTheir site sucks for
starters, but anyone have any thoughts on what impact this will have on
Flash ?__


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] flash and Arabic

2007-04-17 Thread Danny Kodicek
  We tried the following:
 (we're embedding fonts in all cases, also we don't have 
 require any input fields...we're just displaying Arabic)

If you don't mind poor antialiasing, you could try not embedding the font -
this fixes all the problems you mention, for dynamic text.
 
 -Copied Arabic text into a static text field...flash actually  
 reverses the characters.  So we copied reversed text a static 
 field.   
 Then when we published, it seems that the characters were not 
 being displayed correctly.  An arabic reader took a look at 
 it and told us  
 that the arabic characters didn't connect to each other correctly!   
 It's as if you took English script characters and broke them apart!

This quite surprises me, I'd have thought static would work fine. You could
try breaking apart the text once you've pasted it in, this should stop Flash
messing about with it.

 
 We then tried a few more experiments...
 - copy and pasted Arabic text (normal order) into a dynamic 
 field...flash flipped it.  But when you publish it for Player 
 8, the order of the text is correct, but the characters 
 looked disjointed again.
 
 -We published it for Player 7 and this time everything looked 
 perfect.  The order of the text was correct and the 
 characters looked connected!!!
 
 We basically have all the text assets in a separate .swf 
 (published for Player 7) and we're using it as a runtime 
 shared library.  Our main app is published as Player 8.
 
 Has anyone else seen this?  Am I not doing something right 
 here? I'm shocked that support for Arabic (and I'm assuming other RTL
 languages) took a step backwards from Player 7 to Player 8.  
 I wonder what it is in Player 9.

Arabic is different from other RTL scripts (well, Hebrew anyway, which is
the only other one I know about) in that it's cursive. Hebrew doesn't suffer
from this complication, so all you have to worry about is bidirectionality. 

All the problems you give, especially variations across Flash versions,
browsers, operating systems etc, were why we ended up going down the
'complete control' route. My system does the whole thing manually, including
BiDi, cursive variations, ligatures and line breaking. It's not easy,
although there was a certain satisfaction in it :)

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread nik crosina

Hi Ivan,

What you are saying is very easy to say if you don't feel the need to
actually comment on a possible solution.

Without wanting to take this thread too OT - what is your suggesiton
to people / companies who have content which they invested
considerable amount ot time and money to create?

Nik


On 4/17/07, Иван Дембицкий [EMAIL PROTECTED] wrote:

Hello Peter,

I think a problem in business idea.
You can compare Microsoft and Google business idea.
And?
Do you like Microsoft direction?
Everybody understand: it's yesterday's business principles.

You need to change your mind for correlation with today's realities.
Problem not in protection problems.
Problem in business idea.

IMHO.

--
iv
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Nik C
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread nik crosina

Hi Weyert,

Can a dongle easily be circumvented then?
What's the best way of protection then, and do you know where I would
find a specialist in this?

Thanks,

Nik

On 4/17/07, Weyert de Boer [EMAIL PROTECTED] wrote:

Hi Nik,

I have done research for my dad a while ago, and I came to the
conclusion that it wasn't worth the effort $$$ wise.
 Not sure whether that is applicable to your project, Pete, but has
 anyone ever used dongle (i.e. hardware) protection for their projects?
 I am currently testing out HASP from Aladdin, and does the job so far
 (have not come very far yet in testing though).
Yes, the problem with dongles is that it's quite hard to implement, right.
Especially, I would like to advice you not take any of the included examples
or even consider build on top of it. The examples are weak. Please rent some
person who is fully into the dongle and encryption. If not, it will be
lost money.

 What do you guys think about this kind of protection? Why isn't it
 used more often?
Because it's a big investment to implement.

Yours,
Weyert de Boer

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Nik C
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Danny Kodicek
 
 Hi Nik,
 
 I have done research for my dad a while ago, and I came to 
 the conclusion that it wasn't worth the effort $$$ wise.
  Not sure whether that is applicable to your project, Pete, but has 
  anyone ever used dongle (i.e. hardware) protection for 
 their projects?
  I am currently testing out HASP from Aladdin, and does the 
 job so far 
  (have not come very far yet in testing though).
 Yes, the problem with dongles is that it's quite hard to 
 implement, right.
 Especially, I would like to advice you not take any of the 
 included examples or even consider build on top of it. The 
 examples are weak. Please rent some person who is fully into 
 the dongle and encryption. If not, it will be lost money.
 
  What do you guys think about this kind of protection? Why isn't it 
  used more often?
 Because it's a big investment to implement.

Absolutely - distribution costs, particularly, especially as each dongle has
to be unique. We've decided against using them for this reason.

I think there are also cultural differences, though. Some of our
international partners insist that dongle protection is the most common form
in their countries. A lot depends on reliability of internet access for
systems based on online activation (the only other method that seems
genuinely secure). 

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread nik crosina

The circumstances of the particular project I am quoting for would
require the content to be almost exclusively off-line, diskbased, and
to be used in a class room environment. So I explicitly do not want to
rely in any way on authentiofication over on-line resources, as this
will open up a minefield of getting it through various school, college
and corporate fierwalls.

Re the cost aspect , I think, this could be built into the courses as
I imagine they would sell them much miore expdensively than the cost
of a dongle (whcih averages out at about £20.00 (if memory serves
correctly)

Nik

On 4/17/07, Danny Kodicek [EMAIL PROTECTED] wrote:


 Hi Nik,

 I have done research for my dad a while ago, and I came to
 the conclusion that it wasn't worth the effort $$$ wise.
  Not sure whether that is applicable to your project, Pete, but has
  anyone ever used dongle (i.e. hardware) protection for
 their projects?
  I am currently testing out HASP from Aladdin, and does the
 job so far
  (have not come very far yet in testing though).
 Yes, the problem with dongles is that it's quite hard to
 implement, right.
 Especially, I would like to advice you not take any of the
 included examples or even consider build on top of it. The
 examples are weak. Please rent some person who is fully into
 the dongle and encryption. If not, it will be lost money.

  What do you guys think about this kind of protection? Why isn't it
  used more often?
 Because it's a big investment to implement.

Absolutely - distribution costs, particularly, especially as each dongle has
to be unique. We've decided against using them for this reason.

I think there are also cultural differences, though. Some of our
international partners insist that dongle protection is the most common form
in their countries. A lot depends on reliability of internet access for
systems based on online activation (the only other method that seems
genuinely secure).

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Nik C
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] preloader and cacheing problem

2007-04-17 Thread John Cowles
We have been supplied with Flash files that include a preloader, a small
flash file that then gets a large flash file. The way it works bypasses both
browser and server caching rules.  Every time the page is refreshed it
downloads the entire fileset again. This accounts for about 20% of monthly
bandwidth and it seems completely unecessary.  We have the FLA file and
although we are PHP, Javascript programmers, we have no experience of Flash
and action script. Can someone advise or direct us to a site to understand
how we can set some conditional logic within the Flash preloader to only
fetch the rest of the Flash if it hasn't already been downloaded in that
session.
Thanks
 
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] setNewTextFormat

2007-04-17 Thread Danny Kodicek

Hopefully a quickie:

Am I the only person that can never get setNewTextFormat to work? When I
change the text of a field, I always seem to have to run setTextFormat, even
if I've setNewTextFormat to the format I want. Is there some foolproof
system for getting this working without having to keep running setTextFormat
over and over again?

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] setNewTextFormat

2007-04-17 Thread Matthias Dittgen

What do you want to achieve, Danny?


AFAIK setNewTextFormat is meant for user entered text, like mentioned
in the LiveDocs, which works well for me.

public setNewTextFormat(tf:TextFormat) : Void

Sets the default new text format of a text field. The default new text
format is the new text format used for newly inserted text such as
text inserted with the replaceSel() method or text entered by a user.
When text is inserted, the newly inserted text is assigned the default
new text format.



2007/4/17, Danny Kodicek [EMAIL PROTECTED]:


Hopefully a quickie:

Am I the only person that can never get setNewTextFormat to work? When I
change the text of a field, I always seem to have to run setTextFormat, even
if I've setNewTextFormat to the format I want. Is there some foolproof
system for getting this working without having to keep running setTextFormat
over and over again?

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] xmlsa with xmlsocket

2007-04-17 Thread Chris Tague

Does anyone know if it is possible to use XMLSocket xml with XMLSA, instead
of laoding an XML file?

How would i go about it?

thanks!
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] setNewTextFormat

2007-04-17 Thread Danny Kodicek
  What do you want to achieve, Danny?
 
 
 AFAIK setNewTextFormat is meant for user entered text, like 
 mentioned in the LiveDocs, which works well for me.
 
 public setNewTextFormat(tf:TextFormat) : Void
 
 Sets the default new text format of a text field. The default 
 new text format is the new text format used for newly 
 inserted text such as text inserted with the replaceSel() 
 method or text entered by a user.

What I want to be able to do is to change the text dynamically, and have the
new text come in with the same format as what's already there. For some
reason, this never seems to work reliably. Right now I'm writing a text
layout system which entails writing successive words to a field and testing
its height; at the moment, after each insertion I have to run setTextFormat
again, which seems very wasteful to me.

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] preloader and cacheing problem

2007-04-17 Thread R�kos Attila

In general Flash has no control over caching, it will depend on the
browser's settings. However there is a commonly used method for
forcing download on each request (not only in Flash movies) and
avoiding content stored in the cache: this is appending a unique
parameter to the URL on each request (preferably a timestamp). E.g.:

http://foo.com/flash.swf?2313434324
http://foo.com/flash.swf?5465654645
http://foo.com/flash.swf?6564645556
etc.

Probably your Flash movie uses this method.

  Attila

JC We have been supplied with Flash files that include a preloader, a small
JC flash file that then gets a large flash file. The way it works bypasses both
JC browser and server caching rules.  Every time the page is refreshed it
JC downloads the entire fileset again. This accounts for about 20% of monthly
JC bandwidth and it seems completely unecessary.  We have the FLA file and
JC although we are PHP, Javascript programmers, we have no experience of Flash
JC and action script. Can someone advise or direct us to a site to understand
JC how we can set some conditional logic within the Flash preloader to only
JC fetch the rest of the Flash if it hasn't already been downloaded in that
JC session.
JC Thanks

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Date Chooser

2007-04-17 Thread Laurent CUCHET
Using thr DateChooser component :

How can I do to have mutiple date colored, not only the cuurent day thank
you

Laurent
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] gotoandlearn.com down

2007-04-17 Thread Ravi Marella
Try this:

http://www.gotoandlearn.com/download.php

this is working for me...I've just downloaded the tree component
tutorial...

Ravi

 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Lynch
Sent: Tuesday, April 17, 2007 9:00 PM
To: Flashcoders
Subject: [Flashcoders] gotoandlearn.com down

I can't get to gotoandlearn.com, anyone else having the same problem?

I'm after the carousel tutorial, does anyone have the files to hand?

Ta.

Adrian Lynch
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Re : memory issue

2007-04-17 Thread Parvaiz Patel
Thanks Danny,

The problem was lies somewhere else but your below suggestion help me to
avoid some future problem. 

Thanks very much for your help  prompt reply.

P.P.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: Monday, April 16, 2007 7:08 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Re : memory issue

  Hi Friends,
 
 I have developed the following script for scrolling 
 dynamically loaded content in the movie clip. 
 
 The script is working fine. I just wanted to know is it 
 consuming lot of memory? Because when I load this movie onto 
 another movie. The first movie become slower.

Yes: you're doing an awful lot of createEmptyMovieClips:

 leftmenu_downbtn.onRollOver = function(){
   scrollingspeed = 4;
   leftscrollup=true;
   leftscrolling_fn();
 }

 function leftscrolling_fn(){
   var test =
 this.createEmptyMovieClip(test,this.getNextHighestDepth());
...
 }

Looks to me like you should move the creation of your test movieClip out
of
the leftscrolling_fn function. 

Best
Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Problems extending the WebServiceConnector Class

2007-04-17 Thread Alistair Colling

Hi there, this is my first post so hi everyone:)
I am trying to extend the WSC Class into a class that will call a web  
service at a set interval so i can just create an instance of it in  
any of my movies and a listener and it will just keep sending info to  
the web service or trying to retrieve information from it. I am  
trying to access the super class of my custom class to set the vars  
but I cant seem to get it to work, plus the ws only triggers once and  
then doesn't seem to trigger again although the sendLog function is  
called.

if anyone has any ideas, I would be really glad to hear them.
Thanks :)
Ali

AS
class CheckChat extends WebServiceConnector {
var active:Boolean;
//interval vars
private var checkInterval:Number;
private var checkFreq:Number;
private var log:String;
//constructor:
	public function CheckChat(WSDLURL, operation, suppressInvalidCalls,  
frequency:Number) {

super(WSDLURL, operation, suppressInvalidCalls);
checkFreq = frequency;
}
// methods:
function sendLog():Void {
trace(sendLog called);
//could be used to send data
//this.params = [log];
myWSC.trigger();
//return log;
}
//switches the function on and off
function activate(myBoo:Boolean):Void {
clearInterval(checkInterval);
if (myBoo) {
trace(interval set);
sendLog();
checkInterval = setInterval(sendLog, checkFreq);
} else {
}
}
//this is used to add info to the log
	function addToLog(time:Date, type:String, info:String,  
id:String):Void {

trace(add to log:+time+:+type+:+info+:+id);
log += \r+type+: +info+:+id+  +time;
trace(log is now:+log);
}
// events:
}
-FLA
import mx.data.components.WebServiceConnector;
import CheckChat;
var myChecker:CheckChat = new CheckChat(http://myweburl/ 
webservice.asmx?WSDL, GetServerStatus, true, 3000);

var res:Function = function (evt:Object) {
trace(+evt.target.results);
};
myChecker.addEventListener(result, res);
myChecker.activate(true);

///

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread eric e. dolecki

Flash Player 9 r45 executable
AS2

I am attaching 3 movieclips, then later need to remove them. No dice. This
seems SO noob, but its not happening:

for( var i=0; i3; i++)
{
  var clip:MovieClip = _root.attachMovie( object_3D, object_3D_ + i,
i+40 );
  // other normal stuff
}

then later I run this function:

killCamera = function():Void
{
   for( var i=0; i3; i++ )
   {
   _root[object_3D_+i].removeMovieClip();  //Does nothing... clips
remain
   }

   // Hmm... lets try this  make sure they are really there:
   for (prop in _root)
   {
   if( typeof( _root[prop] ) == movieclip )
   {
   if( _root[prop]._name.indexOf(object_3D) != -1 )
   {
   trace( _root[prop]._name );  // traces the instance
name just fine...
   _root[prop].removeMovieClip();  // Does nothing...
   }
   }
   }
};

These freaking clips stick around for some reason. ???
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] preloader and cacheing problem

2007-04-17 Thread John Cowles
Hi
Here is the javascript that loads the initial flash file - if javascript
isn't enabled then a static image is shown (hence the document.write)
function flash_write(file, width, height) {

document.write('object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,0,0 width='+width+' height='+height+' id=movie 
param name=movie value='+file+' /
param name=wrmode value=transparent /
param name=menu value=false /
!--[if !IE] -- 
object type=application/x-shockwave-flash data='+file+'
width='+width+' height='+height+'/object!-- 
![endif]--
/object');

}
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Nils Millahn
Sent: 17 April 2007 10:04
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] preloader and cacheing problem


Hi John,

this shouldn't actually happen, unless the url to the SWF that's being
loaded in is modified to make it 'unique' each time the swf is loaded. That
can be done, for example, by appending a random number to the end, so you
get urls like myfile.swf?0.123347575.

This might have been the intention of the original developer, I guess.

Other than that, the swf should be cached. You could also post the loading
code, that might shed further light on the issue. 

- Nils.



On 17/04/07, John Cowles [EMAIL PROTECTED] wrote: 

We have been supplied with Flash files that include a preloader, a small
flash file that then gets a large flash file. The way it works bypasses both
browser and server caching rules.  Every time the page is refreshed it 
downloads the entire fileset again. This accounts for about 20% of monthly
bandwidth and it seems completely unecessary.  We have the FLA file and
although we are PHP, Javascript programmers, we have no experience of Flash 
and action script. Can someone advise or direct us to a site to understand
how we can set some conditional logic within the Flash preloader to only
fetch the rest of the Flash if it hasn't already been downloaded in that 
session.
Thanks

___
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
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com
http://training.figleaf.com



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread eric e. dolecki

It seems that I might have a timing problem... I am running very large
(1920x1080) and I guess its taking quite a while to destroy the clips. I've
made some workarounds, but there is still a clip I cannot seem to destroy
here. Fun stuff :/

On 4/17/07, Norman Cousineau [EMAIL PROTECTED] wrote:


I had the same problem.  In my case, the code was in a class the did not
extend MovieClip.  Extending it fixed the problem.  Other people have
suggested using the DepthManager class, but that did not work for me.

-Original Message-
From: eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 8:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Weird removeMovieClip problem


Flash Player 9 r45 executable
AS2

I am attaching 3 movieclips, then later need to remove them. No dice. This
seems SO noob, but its not happening:

for( var i=0; i3; i++)
{
   var clip:MovieClip = _root.attachMovie( object_3D, object_3D_ + i,
i+40 );
   // other normal stuff
}

then later I run this function:

killCamera = function():Void
{
for( var i=0; i3; i++ )
{
_root[object_3D_+i].removeMovieClip();  //Does nothing... clips
remain
}

// Hmm... lets try this  make sure they are really there:
for (prop in _root)
{
if( typeof( _root[prop] ) == movieclip )
{
if( _root[prop]._name.indexOf(object_3D) != -1 )
{
trace( _root[prop]._name );  // traces the
instance
name just fine...
_root[prop].removeMovieClip();  // Does nothing...
}
}
}
};

These freaking clips stick around for some reason. ???


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash 8 Trial

2007-04-17 Thread Adrian Lynch
Maybe it's just me, but I can't find any Flash trials on adobe.com. Are any
available?

Does anyone have a trial copy of Flash 8 I could get hold of if not?

Cheers all.

Adrian Lynch

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread eric e. dolecki

umm - thats strange - I think that DID work.

On 4/17/07, laurent untereiner [EMAIL PROTECTED] wrote:


and with this code ?:

_root[object_3D_+i].swapDepths(104);
_root[object_3D_+i].removeMovieClip();

does it work?


--
Laurent Untereiner

 skype : laurentuntereiner
 aim   : luntereiner
 icq   : 294429730
 msn   : [EMAIL PROTECTED]

 http://www.untereiner.com 

mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116
Selon Norman Cousineau [EMAIL PROTECTED]:

 I had the same problem.  In my case, the code was in a class the did not
extend MovieClip.
 Extending it fixed the problem.  Other people have suggested using the
DepthManager class, but
 that did not work for me.

 -Original Message-
 From: eric e. dolecki [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 17, 2007 8:53 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Weird removeMovieClip problem


 Flash Player 9 r45 executable
 AS2

 I am attaching 3 movieclips, then later need to remove them. No dice.
This
 seems SO noob, but its not happening:

 for( var i=0; i3; i++)
 {
var clip:MovieClip = _root.attachMovie( object_3D, object_3D_ +
i,
 i+40 );
// other normal stuff
 }

 then later I run this function:

 killCamera = function():Void
 {
 for( var i=0; i3; i++ )
 {
 _root[object_3D_+i].removeMovieClip();  //Does nothing...
clips
 remain
 }

 // Hmm... lets try this  make sure they are really there:
 for (prop in _root)
 {
 if( typeof( _root[prop] ) == movieclip )
 {
 if( _root[prop]._name.indexOf(object_3D) != -1 )
 {
 trace( _root[prop]._name );  // traces the
instance
 name just fine...
 _root[prop].removeMovieClip();  // Does nothing...
 }
 }
 }
 };

 These freaking clips stick around for some reason. ???




___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread Gilles Roquefeuil

Hi Eric,

i often got the same problem, which I usually resolve with these  
basic  rules :


- when creating MCs inside a loop, first create an empty movieClip  
before the loop to contain the other clips :
		 var containerMc:MovieClip = _root.createEmptyMovieClip 
(containerMc, 10);

for (var i=0;i3;i++)
{
var clip:MovieClip = containerMc.attachMovie()
}
	then, when you need to remove them, juste invoke  
containerMc.removeMovieClip();


- do not use getNextHighestDepth()

- keep on _root a manageable array of attached MCs

- do not attach on _root.

The weird thing is, using your script on an almost empty movie, the  
removeMovieClip method works allright...
maybe you can try using _level0 instead of _root, or try the  
container trick above.


Hope this helps,


Gilles

Le 17 avr. 07 à 15:49, eric e. dolecki a écrit :


It seems that I might have a timing problem... I am running very large
(1920x1080) and I guess its taking quite a while to destroy the  
clips. I've
made some workarounds, but there is still a clip I cannot seem to  
destroy

here. Fun stuff :/

On 4/17/07, Norman Cousineau [EMAIL PROTECTED] wrote:


I had the same problem.  In my case, the code was in a class the  
did not

extend MovieClip.  Extending it fixed the problem.  Other people have
suggested using the DepthManager class, but that did not work for me.

-Original Message-
From: eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 8:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Weird removeMovieClip problem


Flash Player 9 r45 executable
AS2

I am attaching 3 movieclips, then later need to remove them. No  
dice. This

seems SO noob, but its not happening:

for( var i=0; i3; i++)
{
   var clip:MovieClip = _root.attachMovie( object_3D,  
object_3D_ + i,

i+40 );
   // other normal stuff
}

then later I run this function:

killCamera = function():Void
{
for( var i=0; i3; i++ )
{
_root[object_3D_+i].removeMovieClip();  //Does  
nothing... clips

remain
}

// Hmm... lets try this  make sure they are really there:
for (prop in _root)
{
if( typeof( _root[prop] ) == movieclip )
{
if( _root[prop]._name.indexOf(object_3D) != -1 )
{
trace( _root[prop]._name );  // traces the
instance
name just fine...
_root[prop].removeMovieClip();  // Does nothing...
}
}
}
};

These freaking clips stick around for some reason. ???


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Why does this work?!

2007-04-17 Thread Andy Herrman

I just realized that there are a number of switch statements in my
code which probably shouldn't work, yet appear to, and I'm wondering
why.

Here's a really simple example.  I have a class that tracks the
connection state of my app, with the following values used as the
states (read-only attributes simulating constants):

 public static function get CONNECTED():String { return CONNECTED; }
 public static function get FAILURE():String { return FAILURE; }
 public static function get NOT_CONNECTED():String { return NOT_CONNECTED; }

In the code that lets you set the state to a particular value it does
a sanity check to make sure the state value is one that's expected
(since in theory the user could provide any string value):

 public function setConnectionState(cs:String):Void {
   switch(cs) {
 case ConnectionState.CONNECTED:
 case ConnectionState.FAILURE:
 case ConnectionState.NOT_CONNECTED:
   break;
 default:
   cs = ConnectionState.NOT_CONNECTED;
   break;
   }
   this._connectionState = cs;
 }

Now in Java switch statements must use constants for the case values.
You can do something like I just did, but the variables being
referenced must be declared final (so the compiler knows they won't
change).  There isn't any equivalent to this in Flash (I simulate
constants by doing read only properties), so why does the case
statement work?  Does flash actually execute the stuff after the
'case' keyword?  What happens if multiple of those things return the
same value (for instance, say both CONNECTED and FAILURE returned
foo)?

  -Andy
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread nik crosina

I am aware that it's not a bad comment, Ron (Thanks for your thoughts
on dongles, btw). I was interested in finding out what Ivan thought
would be an alternative to trying to protect content.

I am 'only' a developer working for various people and companies, but
I am not sure at this point what the way forward is in situations like
training and educational content? Is all of thi smade to be 'free'
like music will be in a short while (few years, that is)?

Also, what are content owners supposed to to 'in the meantime'?

Nik

On 4/17/07, Ron Wheeler [EMAIL PROTECTED] wrote:

This is not a bad comment.
What I gather that he is saying is that we are perhaps looking for a
technical solution when we should be looking at the source of the need.

If you believe that your customers will steal from you and try to make
money from redistributing your product behind your back, then getting
better customers is a better solution.
If you think that potential customers will base their businesses on
stolen goods, you probably should look at a different market or take the
Microsoft approach
If they are going to steal software, I want them to steal mine - Bill
Gates

If every potential customer steals your product and you come to dominate
the market in your area, you will find lots of lawyers ready to help you
collect your rightful license fees plus damages.

In the meantime, make sure that your license agreement and contracts are
clear. You are permitting use - not transferring ownership. The
conditions under which they can use the product should be clear and the
fact that they can not make copies or redistribute it (for free or for
profit) should be in the license that they sign.

Ron


nik crosina wrote:
 Hi Ivan,

 What you are saying is very easy to say if you don't feel the need to
 actually comment on a possible solution.

 Without wanting to take this thread too OT - what is your suggesiton
 to people / companies who have content which they invested
 considerable amount ot time and money to create?

 Nik


 On 4/17/07, Иван Дембицкий [EMAIL PROTECTED] wrote:
 Hello Peter,

 I think a problem in business idea.
 You can compare Microsoft and Google business idea.
 And?
 Do you like Microsoft direction?
 Everybody understand: it's yesterday's business principles.

 You need to change your mind for correlation with today's realities.
 Problem not in protection problems.
 Problem in business idea.

 IMHO.

 --
 iv
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 

 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Nik C
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] gotoandlearn.com down

2007-04-17 Thread Adrian Lynch
I can't get to gotoandlearn.com, anyone else having the same problem?

I'm after the carousel tutorial, does anyone have the files to hand?

Ta.

Adrian Lynch
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Why does this work?!

2007-04-17 Thread Hans Wichman

Hi,
what were your own test results? :)

Yes you can do this, and flash will execute the first matching case
statement. Any other matches will be ignored.

greetz
JC


On 4/17/07, Andy Herrman [EMAIL PROTECTED] wrote:


I just realized that there are a number of switch statements in my
code which probably shouldn't work, yet appear to, and I'm wondering
why.

Here's a really simple example.  I have a class that tracks the
connection state of my app, with the following values used as the
states (read-only attributes simulating constants):

public static function get CONNECTED():String { return CONNECTED; }
public static function get FAILURE():String { return FAILURE; }
public static function get NOT_CONNECTED():String { return
NOT_CONNECTED; }

In the code that lets you set the state to a particular value it does
a sanity check to make sure the state value is one that's expected
(since in theory the user could provide any string value):

public function setConnectionState(cs:String):Void {
   switch(cs) {
 case ConnectionState.CONNECTED:
 case ConnectionState.FAILURE:
 case ConnectionState.NOT_CONNECTED:
   break;
 default:
   cs = ConnectionState.NOT_CONNECTED;
   break;
   }
   this._connectionState = cs;
}

Now in Java switch statements must use constants for the case values.
You can do something like I just did, but the variables being
referenced must be declared final (so the compiler knows they won't
change).  There isn't any equivalent to this in Flash (I simulate
constants by doing read only properties), so why does the case
statement work?  Does flash actually execute the stuff after the
'case' keyword?  What happens if multiple of those things return the
same value (for instance, say both CONNECTED and FAILURE returned
foo)?

  -Andy
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3 Socket class security

2007-04-17 Thread Andrés González Aragón

Try with 8080 and 3000, I use it and works well in most of countries.

2007/4/14, Michael Mudge [EMAIL PROTECTED]:


Thanks for the help.  Apparently, 5554 was a special port and was
firewalled.  I switched to a lower port and it works now.

- Kipp

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Andrés González  Aragón
 Sent: Friday, April 13, 2007 7:24 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] AS3 Socket class security


 Hi Michael,

 Are you sure the crossdomain.xml is correct in biability server?

 I was working in a as2-xmlsocket/as3-binarysocket conversion
 recently and flash throwsme IOErrors when the message hasn't
 well parsed or if the socket server hasn't connected.

 Post the 'text' property of your IOError, it must have an
 Error Number like #2031 (Socket Error)

 --
 Andrés González Aragón
 Desarrollador Multimedia
 http://www.quantium.com.mx



 2007/4/13, Michael Mudge [EMAIL PROTECTED]:

  I wrote an app in AS3, served from
  http://www.biality.com/tubes/as3/tubes.swf, which makes a socket
  connection back to www.biality.com, port 5554.  I also have an AS2
  version of this app at http://www.biality.com/tubes/tubes.swf.
 
  The other person I'm working with is able to use the AS2
 version, but
  not the AS3 version -- he is running the latest Flash
 Player 9.  The
  AS3 version is firing an IOError (not a security error).
 Can anyone
  else report on who can connect, who can't, and what player you're
  using?
 
  Any thoughts on why the connection can't be established?
 Obviously,
  firewall settings and whatnot can play a role -- although his AS2
  version (which uses a different port) is working fine.  Is there
  something special about port 5554?  Is there something I
 can set-up on
  the www.biality.com server to fix this?
 
  - Kipp
 
  ___
  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
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com http://training.figleaf.com
 
 ___
 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
 Premier
 Authorized Adobe Consulting and Training
 http://www.figleaf.com  http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Andrés González Aragón
Desarrollador Multimedia
http://www.quantium.com.mx
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Why does this work?!

2007-04-17 Thread eka

Hello :)

in AS2 you can create constants with the ASSetProgFlags global method :

public static var CONNECTED:String =  CONNECTED ;
public static var FAILURE:String= FAILURE ;
public static var NOT_CONNECTED:String = NOT_CONNECTED;

private static var __ASPF__ = _global.ASSetPropFlags( ConnectionState ,
null , 7, 7 ) ;

ConnectionState is the name of your enumeration static class :)

For me.. your code is ok :

public function setConnectionState(cs:String):Void
{
switch(cs)
{
 case ConnectionState.CONNECTED :
 case ConnectionState.FAILURE :
 {
 break;
 }

 default :
 {
  cs = ConnectionState.NOT_CONNECTED ;
 }
  }
  this._connectionState = cs ;
}

EKA+ :)


2007/4/17, Andy Herrman [EMAIL PROTECTED]:


I just realized that there are a number of switch statements in my
code which probably shouldn't work, yet appear to, and I'm wondering
why.

Here's a really simple example.  I have a class that tracks the
connection state of my app, with the following values used as the
states (read-only attributes simulating constants):

  public static function get CONNECTED():String { return CONNECTED; }
  public static function get FAILURE():String { return FAILURE; }
  public static function get NOT_CONNECTED():String { return
NOT_CONNECTED; }

In the code that lets you set the state to a particular value it does
a sanity check to make sure the state value is one that's expected
(since in theory the user could provide any string value):

  public function setConnectionState(cs:String):Void {
switch(cs) {
  case ConnectionState.CONNECTED:
  case ConnectionState.FAILURE:
  case ConnectionState.NOT_CONNECTED:
break;
  default:
cs = ConnectionState.NOT_CONNECTED;
break;
}
this._connectionState = cs;
  }

Now in Java switch statements must use constants for the case values.
You can do something like I just did, but the variables being
referenced must be declared final (so the compiler knows they won't
change).  There isn't any equivalent to this in Flash (I simulate
constants by doing read only properties), so why does the case
statement work?  Does flash actually execute the stuff after the
'case' keyword?  What happens if multiple of those things return the
same value (for instance, say both CONNECTED and FAILURE returned
foo)?

   -Andy
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread Norman Cousineau
I had the same problem.  In my case, the code was in a class the did not extend 
MovieClip.  Extending it fixed the problem.  Other people have suggested using 
the DepthManager class, but that did not work for me.

-Original Message-
From: eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 8:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Weird removeMovieClip problem


Flash Player 9 r45 executable
AS2

I am attaching 3 movieclips, then later need to remove them. No dice. This
seems SO noob, but its not happening:

for( var i=0; i3; i++)
{
   var clip:MovieClip = _root.attachMovie( object_3D, object_3D_ + i,
i+40 );
   // other normal stuff
}

then later I run this function:

killCamera = function():Void
{
for( var i=0; i3; i++ )
{
_root[object_3D_+i].removeMovieClip();  //Does nothing... clips
remain
}

// Hmm... lets try this  make sure they are really there:
for (prop in _root)
{
if( typeof( _root[prop] ) == movieclip )
{
if( _root[prop]._name.indexOf(object_3D) != -1 )
{
trace( _root[prop]._name );  // traces the instance
name just fine...
_root[prop].removeMovieClip();  // Does nothing...
}
}
}
};

These freaking clips stick around for some reason. ???

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] preloader and cacheing problem

2007-04-17 Thread Andy Herrman

What's the value that replaces +file+?  That's where the unique
identifier would appear if there was one, but that would just handle
the preloader file.

If you have the FLA for the preloader movie then you should be able to
take a look at the code and see if it's appending a unique identifier
to the lager movie's URL as well.  You'll need to dig through the code
to find it, but look for things like 'loadMovie' or 'MovieClipLoader'

  -Andy

On 4/17/07, John Cowles [EMAIL PROTECTED] wrote:

Hi
Here is the javascript that loads the initial flash file - if javascript
isn't enabled then a static image is shown (hence the document.write)
function flash_write(file, width, height) {

document.write('object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,0,0 width='+width+' height='+height+' id=movie 
param name=movie value='+file+' /
param name=wrmode value=transparent /
param name=menu value=false /
!--[if !IE] --
object type=application/x-shockwave-flash data='+file+'
width='+width+' height='+height+'/object!--
![endif]--
/object');

}


  _

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Nils Millahn
Sent: 17 April 2007 10:04
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] preloader and cacheing problem


Hi John,

this shouldn't actually happen, unless the url to the SWF that's being
loaded in is modified to make it 'unique' each time the swf is loaded. That
can be done, for example, by appending a random number to the end, so you
get urls like myfile.swf?0.123347575.

This might have been the intention of the original developer, I guess.

Other than that, the swf should be cached. You could also post the loading
code, that might shed further light on the issue.

- Nils.



On 17/04/07, John Cowles [EMAIL PROTECTED] wrote:

We have been supplied with Flash files that include a preloader, a small
flash file that then gets a large flash file. The way it works bypasses both
browser and server caching rules.  Every time the page is refreshed it
downloads the entire fileset again. This accounts for about 20% of monthly
bandwidth and it seems completely unecessary.  We have the FLA file and
although we are PHP, Javascript programmers, we have no experience of Flash
and action script. Can someone advise or direct us to a site to understand
how we can set some conditional logic within the Flash preloader to only
fetch the rest of the Flash if it hasn't already been downloaded in that
session.
Thanks

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread David Cohn

Nik,

I missed the beginning of this thread (on vacation), so forgive me if  
I misunderstand the premises... but we've had a good experience using  
CrypKey Instant to wrap applications (http://www.crypkey.com/),  
which then require a software key to unlock for specific machine(s)  
only (it allows transfer of that license to another machine).   
CrypKey provides various solutions-- such as free (timed or usage)  
trials, network licensing, etc...   We've had good experiences with  
tech support as well.


The only gotcha with Flash is that you may have to embed it in a  
Director shell to wrap it.  I forget why, but stand-alone Flash  
Projectors didn't work-- although maybe they do now (there's been a  
new release).


--Dave



The circumstances of the particular project I am quoting for would
require the content to be almost exclusively off-line, diskbased, and
to be used in a class room environment. So I explicitly do not want to
rely in any way on authentiofication over on-line resources, as this
will open up a minefield of getting it through various school, college
and corporate fierwalls.

Re the cost aspect , I think, this could be built into the courses as
I imagine they would sell them much miore expdensively than the cost
of a dongle (whcih averages out at about £20.00 (if memory serves
correctly)

Nik


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread Muzak

 - do not use getNextHighestDepth()

Always use getNextHighestDepth() unless when using the v2 Components.
When using v2 Components, the first call to getNextHighestDepth() will return 
1048576 and when using that it may result in 
movieclips not being removable.
With v2 components, use the DepthManager (mx.managers.DepthManager) instead.

 - keep on _root a manageable array of attached MCs
 - do not attach on _root.

Don't use _root at all.

regards,
Muzak





___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] gotoandlearn.com down

2007-04-17 Thread Eric Walton

Thanks for a great link!



On 4/17/07, Ravi Marella [EMAIL PROTECTED] wrote:


Try this:

http://www.gotoandlearn.com/download.php

this is working for me...I've just downloaded the tree component
tutorial...

Ravi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Lynch
Sent: Tuesday, April 17, 2007 9:00 PM
To: Flashcoders
Subject: [Flashcoders] gotoandlearn.com down

I can't get to gotoandlearn.com, anyone else having the same problem?

I'm after the carousel tutorial, does anyone have the files to hand?

Ta.

Adrian Lynch
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Eric Walton 9 / Edub9

To view more about
The Artwork of Eric Walton 9 / Edub9
please visit the following:
www.hollywoodfineart.com
www.myspace.com/ericwalton9_edub9
Providentia Marketing LLC
754-246-7620 Cel
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: Re[2]: [Flashcoders] preloader and cacheing problem

2007-04-17 Thread John Cowles
Hi
Here is the flash script:

flash_loader.swf loads timeline7_lowres.swf into an empty movie clip with
the following script:

loadMovie(templates/images/flash/timeline7_lowres.swf,
empty_mc);

__


timeline7_lowres.swf preloader script is as follows:

// this will be called when the preloader finishes animating out function
onPreloaderOut(){
preloader_mc.removeEventListener(onPreloaderOut, this);
gotoAndPlay(SITE);
}

// add this timeline as a listener to listen for the 'onPreloaderOut' 
event
preloader_mc.addEventListener(onPreloaderOut, this);

// tell the preloader to start preloading this timeline
preloader_mc.startPreload(this); 


John Cowles
Director
T: +44 (0)1736 368254
F: +44 (0)1736 368260
E: [EMAIL PROTECTED]
altcom Ltd, 13 North Parade, Penzance, Cornwall, UK, TR18 4SL, United
Kingdom


-Original Message-
From: Rákos Attila [mailto:[EMAIL PROTECTED] 
Sent: 17 April 2007 14:00
To: John Cowles
Subject: Re[2]: [Flashcoders] preloader and cacheing problem


JC Here is the javascript that loads the initial flash file - if 
JC javascript isn't enabled then a static image is shown (hence the 
JC document.write) function flash_write(file, width, height) {

I think Nils meant the ActionScript code (inside the FLA) loading the swf,
which is not cached.

  Attila

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Weird removeMovieClip problem

2007-04-17 Thread Norman Cousineau
Clarification of my last post:

I was trying to remove a symbol from the stage that was associated with a 
class.  That class did not extend MovieClip. Extending that class allowed me to 
successfully call removeMovieClip.

-Original Message-
From: eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 8:53 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Weird removeMovieClip problem


Flash Player 9 r45 executable
AS2

I am attaching 3 movieclips, then later need to remove them. No dice. This
seems SO noob, but its not happening:

for( var i=0; i3; i++)
{
   var clip:MovieClip = _root.attachMovie( object_3D, object_3D_ + i,
i+40 );
   // other normal stuff
}

then later I run this function:

killCamera = function():Void
{
for( var i=0; i3; i++ )
{
_root[object_3D_+i].removeMovieClip();  //Does nothing... clips
remain
}

// Hmm... lets try this  make sure they are really there:
for (prop in _root)
{
if( typeof( _root[prop] ) == movieclip )
{
if( _root[prop]._name.indexOf(object_3D) != -1 )
{
trace( _root[prop]._name );  // traces the instance
name just fine...
_root[prop].removeMovieClip();  // Does nothing...
}
}
}
};

These freaking clips stick around for some reason. ???

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Ron Wheeler

This is not a bad comment.
What I gather that he is saying is that we are perhaps looking for a 
technical solution when we should be looking at the source of the need.


If you believe that your customers will steal from you and try to make 
money from redistributing your product behind your back, then getting 
better customers is a better solution.
If you think that potential customers will base their businesses on 
stolen goods, you probably should look at a different market or take the 
Microsoft approach
If they are going to steal software, I want them to steal mine - Bill 
Gates


If every potential customer steals your product and you come to dominate 
the market in your area, you will find lots of lawyers ready to help you 
collect your rightful license fees plus damages.


In the meantime, make sure that your license agreement and contracts are 
clear. You are permitting use - not transferring ownership. The 
conditions under which they can use the product should be clear and the 
fact that they can not make copies or redistribute it (for free or for 
profit) should be in the license that they sign.


Ron


nik crosina wrote:

Hi Ivan,

What you are saying is very easy to say if you don't feel the need to
actually comment on a possible solution.

Without wanting to take this thread too OT - what is your suggesiton
to people / companies who have content which they invested
considerable amount ot time and money to create?

Nik


On 4/17/07, Иван Дембицкий [EMAIL PROTECTED] wrote:

Hello Peter,

I think a problem in business idea.
You can compare Microsoft and Google business idea.
And?
Do you like Microsoft direction?
Everybody understand: it's yesterday's business principles.

You need to change your mind for correlation with today's realities.
Problem not in protection problems.
Problem in business idea.

IMHO.

--
iv
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Ron Wheeler

Dongles would be pretty hard to control in a classroom.
1)They would disappear (practical jokes or wanting to run the software 
on different machines and not returning them, etc.).
2)The administration of many sets of dongles required to support 
different applications would make the Tech support people reject 
products that require them in a classroom setting.
3)Replacing lost dongles for legitimate customers would make the 
administrative burden for the software/courseware supplier much larger.


Ron

nik crosina wrote:

The circumstances of the particular project I am quoting for would
require the content to be almost exclusively off-line, diskbased, and
to be used in a class room environment. So I explicitly do not want to
rely in any way on authentiofication over on-line resources, as this
will open up a minefield of getting it through various school, college
and corporate fierwalls.

Re the cost aspect , I think, this could be built into the courses as
I imagine they would sell them much miore expdensively than the cost
of a dongle (whcih averages out at about £20.00 (if memory serves
correctly)

Nik

On 4/17/07, Danny Kodicek [EMAIL PROTECTED] wrote:


 Hi Nik,

 I have done research for my dad a while ago, and I came to
 the conclusion that it wasn't worth the effort $$$ wise.
  Not sure whether that is applicable to your project, Pete, but has
  anyone ever used dongle (i.e. hardware) protection for
 their projects?
  I am currently testing out HASP from Aladdin, and does the
 job so far
  (have not come very far yet in testing though).
 Yes, the problem with dongles is that it's quite hard to
 implement, right.
 Especially, I would like to advice you not take any of the
 included examples or even consider build on top of it. The
 examples are weak. Please rent some person who is fully into
 the dongle and encryption. If not, it will be lost money.

  What do you guys think about this kind of protection? Why isn't it
  used more often?
 Because it's a big investment to implement.

Absolutely - distribution costs, particularly, especially as each 
dongle has

to be unique. We've decided against using them for this reason.

I think there are also cultural differences, though. Some of our
international partners insist that dongle protection is the most 
common form

in their countries. A lot depends on reliability of internet access for
systems based on online activation (the only other method that seems
genuinely secure).

Danny

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Why does this work?!

2007-04-17 Thread Andy Herrman

Oh, the code is OK, and it works.  I'm just surprised Flash lets you
have case statements with non-constant values.  Since the case values
are actually functions that are evaluated it's possible that you can
have multiple case statements of the same value.  I'm not used to
languages/compilers allowing those situations.

  -Andy

On 4/17/07, eka [EMAIL PROTECTED] wrote:

Hello :)

in AS2 you can create constants with the ASSetProgFlags global method :

 public static var CONNECTED:String =  CONNECTED ;
 public static var FAILURE:String= FAILURE ;
 public static var NOT_CONNECTED:String = NOT_CONNECTED;

 private static var __ASPF__ = _global.ASSetPropFlags( ConnectionState ,
null , 7, 7 ) ;

ConnectionState is the name of your enumeration static class :)

For me.. your code is ok :

public function setConnectionState(cs:String):Void
{
 switch(cs)
 {
  case ConnectionState.CONNECTED :
  case ConnectionState.FAILURE :
  {
  break;
  }

  default :
  {
   cs = ConnectionState.NOT_CONNECTED ;
  }
   }
   this._connectionState = cs ;
 }

EKA+ :)


2007/4/17, Andy Herrman [EMAIL PROTECTED]:

 I just realized that there are a number of switch statements in my
 code which probably shouldn't work, yet appear to, and I'm wondering
 why.

 Here's a really simple example.  I have a class that tracks the
 connection state of my app, with the following values used as the
 states (read-only attributes simulating constants):

   public static function get CONNECTED():String { return CONNECTED; }
   public static function get FAILURE():String { return FAILURE; }
   public static function get NOT_CONNECTED():String { return
 NOT_CONNECTED; }

 In the code that lets you set the state to a particular value it does
 a sanity check to make sure the state value is one that's expected
 (since in theory the user could provide any string value):

   public function setConnectionState(cs:String):Void {
 switch(cs) {
   case ConnectionState.CONNECTED:
   case ConnectionState.FAILURE:
   case ConnectionState.NOT_CONNECTED:
 break;
   default:
 cs = ConnectionState.NOT_CONNECTED;
 break;
 }
 this._connectionState = cs;
   }

 Now in Java switch statements must use constants for the case values.
 You can do something like I just did, but the variables being
 referenced must be declared final (so the compiler knows they won't
 change).  There isn't any equivalent to this in Flash (I simulate
 constants by doing read only properties), so why does the case
 statement work?  Does flash actually execute the stuff after the
 'case' keyword?  What happens if multiple of those things return the
 same value (for instance, say both CONNECTED and FAILURE returned
 foo)?

-Andy
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Beatport.com is hiring Flash/Flex Developers

2007-04-17 Thread Lloyd Starr
Beatport: Flex/Flash User Interface Developer (ActionScript 2,3)

Location: This position is based in Denver, CO

Company: Beatport (https://www.beatport.com)

Beatport is seeking talented, enterprising engineers to be a part of our
rapidly expanding user interface development team. Beatport is an
incredibly unique company and our culture is as brilliant as it gets;
our employees have a voice, innovation is rewarded and you will work in
one of the most dynamic yet relaxed environments you could imagine. Join
one of the fastest growing companies in the music space and make a
difference. 

What we offer:
- Relocation Allowance
- Medical, Dental, Vision
- 401k
- 2 weeks paid vacation, plus holidays
- Casual, flexible work environment and room for promotion
- Exciting projects in a fast growing company

Position:
Fulltime mid - senior level User Interface Developer (ActionScript)

Description:
The individual will be responsible for the development, implementation,
and maintenance of our scalable, reusable, web/software based user
interfaces. You must be familiar with design patterns and be able to
write abstract classes that adhere to standard OOP methodologies.
Experience with ActionScript 2.0-3.0, PHP, Eclipse or Flex Builder a
plus.


Required Experience:
- HTML, JavaScript and CCS
- OOP, event based programming methodologies
- Graphical User Interfaces
- Experience with Adobe Illustrator, Adobe Photoshop applications
- XML
- ActionScript 2.0

Desirable Skills:
- AJAX
- PHP
- ActionScript 3.0
- Flex Builder 2
- JAVA
- Knowledge of CVS or Subversion, a plus
- Experience in a team development environment
- Some creative background
- Insight into the dance music industry is a plus, but not required
- Ability to balance design and functionality 

About Beatport: 
Beatport has become the recognized leader of electronic music downloads,
delivering content in premium encoded formats that match the
professional performance quality standards of the world's leading sound
systems. Launched in 2004 by a group of DJs that simply wanted to
perform with digital files instead of vinyl, Beatport now gives
customers legal and secure access to 140,000 tracks from over 3,800 of
the world's leading independent labels. Privately held and headquartered
in Denver, Colorado, USA, Beatport has offices in New York and Berlin
and will open an office in Tokyo in 2007.

To Apply: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
0User%20Interface%20Developer%20%28Action%20Script%202,3%29  
For immediate consideration, please send us a text (ASCII) or PDF
version of your resume, portfolio links, code examples and your salary
requirements. Please include the job you are applying for in the subject
line.

 

 

 

++

Beatport DIGITAL DOWNLOAD NETWORK(tm)
Lloyd Starr - VP of User Interface Development
Access the world of club music(tm)


http://www.linkedin.com/in/lloydstarr 

 

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Michael Mudge
I can make a cheap, cryptographically secure USB or Serial dongle no
problem.

However, the issue with any kind of software-based security is that once
the software is on a client's machine, the client can do whatever he
wants with it; modify it not to use the dongle.

But you CAN make it a serious pain in the ass.  In unmanaged languages
like C, it is especially helpful to make the program inherently
incapable of running without the dongle -- by using the dongle to
perform some essential calculation that isn't in your program, or by
sending the dongle pieces of your program's code to verify that it's
been unaltered.  Sometimes making a checksum of your own code works, but
then sometimes a hacker can use your own checksum algorithm to hack in a
new checksum...

...so how far do you want to go with this?

- Kipp

 Hi Weyert,
 
 Can a dongle easily be circumvented then?
 What's the best way of protection then, and do you know where 
 I would find a specialist in this?
 
 Thanks,
 
 Nik
 
 On 4/17/07, Weyert de Boer [EMAIL PROTECTED] wrote:
  Hi Nik,
 
  I have done research for my dad a while ago, and I came to the 
  conclusion that it wasn't worth the effort $$$ wise.
   Not sure whether that is applicable to your project, 
 Pete, but has 
   anyone ever used dongle (i.e. hardware) protection for their 
   projects? I am currently testing out HASP from Aladdin, 
 and does the 
   job so far (have not come very far yet in testing though).
  Yes, the problem with dongles is that it's quite hard to implement, 
  right. Especially, I would like to advice you not take any of the 
  included examples or even consider build on top of it. The examples 
  are weak. Please rent some person who is fully into the dongle and 
  encryption. If not, it will be lost money.
 
   What do you guys think about this kind of protection? Why 
 isn't it 
   used more often?
  Because it's a big investment to implement.
 
  Yours,
  Weyert de Boer
 
  ___
  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
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 
 
 
 -- 
 Nik C
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Why does this work?!

2007-04-17 Thread Andy Herrman

Oh, it works correctly, assuming I'm not dumb and give a couple
constants the same values.  It just seems strange for this to be
allowed.  Thus the question why does this work.  I would think it
shouldn't even compile.

 -Andy

On 4/17/07, Hans Wichman [EMAIL PROTECTED] wrote:

Hi,
what were your own test results? :)

Yes you can do this, and flash will execute the first matching case
statement. Any other matches will be ignored.

greetz
JC


On 4/17/07, Andy Herrman [EMAIL PROTECTED] wrote:

 I just realized that there are a number of switch statements in my
 code which probably shouldn't work, yet appear to, and I'm wondering
 why.

 Here's a really simple example.  I have a class that tracks the
 connection state of my app, with the following values used as the
 states (read-only attributes simulating constants):

 public static function get CONNECTED():String { return CONNECTED; }
 public static function get FAILURE():String { return FAILURE; }
 public static function get NOT_CONNECTED():String { return
 NOT_CONNECTED; }

 In the code that lets you set the state to a particular value it does
 a sanity check to make sure the state value is one that's expected
 (since in theory the user could provide any string value):

 public function setConnectionState(cs:String):Void {
switch(cs) {
  case ConnectionState.CONNECTED:
  case ConnectionState.FAILURE:
  case ConnectionState.NOT_CONNECTED:
break;
  default:
cs = ConnectionState.NOT_CONNECTED;
break;
}
this._connectionState = cs;
 }

 Now in Java switch statements must use constants for the case values.
 You can do something like I just did, but the variables being
 referenced must be declared final (so the compiler knows they won't
 change).  There isn't any equivalent to this in Flash (I simulate
 constants by doing read only properties), so why does the case
 statement work?  Does flash actually execute the stuff after the
 'case' keyword?  What happens if multiple of those things return the
 same value (for instance, say both CONNECTED and FAILURE returned
 foo)?

   -Andy
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash 8 Trial

2007-04-17 Thread John Dowdell
Adrian Lynch wrote: 
 Maybe it's just me, but I can't find any Flash trials on adobe.com.
 Are any available?

My apologies... it looks like many of the older trial versions were removed 
from the main listing when the CS3 announcements arrived, but new trials of 
individual tools won't be on the site for a few weeks yet. I've escalated this 
internally, but have not yet received staff reply.

Last week I heard that you can still access some of the older Macromedia Studio 
trials by going through the link for FreeHand MX, but I have not confirmed 
today that this path is still available. Worth a shot...?

jd/adobe



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Salary Questions

2007-04-17 Thread Kelly Smith

Here in the SF Bay Area, the skillset you describe above would net you
between 100 - 120k a year. Bosses love people who can do database, buisness
logic, AND presentation work. Don't settle.

- k

On 4/16/07, Jordan Snyder [EMAIL PROTECTED] wrote:


Hello,

I'm in Oklahoma City, so it's a bit harder sometimes for me to gauge
how much compensation I should receive.  If anyone has any comments on
the following information, please let me know.  I won't disclose my
exact salary, but you can email me offlist if you're curious.

My title is Application Developer, but I am the only person here (and
always have been) that knows the difference between a boolean and a
string.  I am the only technical person and I often take on
experienced IT-related roles such as web server configuration, shell
scripting, server monitoring/management, etc (mostly Unix-based, some
Windows 2000).

I architect and build all backend solutions (PHP, mySQL, CF, RoR,
J2EE) and desktop solutions (Cocoa, Java, Flash/mProjector).  I have
extensive knowledge of media streaming and FCS/FMS application
development.

I also architect all web-based applications and provide diagrams and
documentation for them, after meeting with clients or upper management
directly to translate business objectives into software tools.

I then sit down and do ALL of the development work.  I work with one
designer but I do all UI/interactivity design.

I also manage a small team of interactive designers and producers.

My title does not reflect these duties, but it is difficult to
communicate to my boss what I do.  I am getting roughly what a junior
Actionscript developer would make, and I'm fed up.  There are also no
stock options, no profit sharing, no retirement (401K), no vision nor
dental.  We get a very simple medical insurance plan.

I am looking for advice on this matter.  Do I expect too much if I
demand at least $90K a year?  How do I better inform management as to
what I actually do on a daily basis?  If I'm right in thinking that
I'm getting screwed, is anyone hiring?  ;)

Cheers!

--
Jordan Snyder
[EMAIL PROTECTED]
(Company Undisclosed)
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash 8 Trial

2007-04-17 Thread Julien Vignali

Hey, got the same problem recently...
I've found a direct link that still works :
https://www.adobe.com/cfusion/tdrc/index.cfm?product=flashpro

2007/4/17, John Dowdell [EMAIL PROTECTED]:

Adrian Lynch wrote:
 Maybe it's just me, but I can't find any Flash trials on adobe.com.
 Are any available?

My apologies... it looks like many of the older trial versions were removed 
from the main listing when the CS3 announcements arrived, but new trials of 
individual tools won't be on the site for a few weeks yet. I've escalated this 
internally, but have not yet received staff reply.

Last week I heard that you can still access some of the older Macromedia Studio 
trials by going through the link for FreeHand MX, but I have not confirmed 
today that this path is still available. Worth a shot...?

jd/adobe



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Julien Vignali
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] OT - best AJAX SITES

2007-04-17 Thread [p e r c e p t i c o n]

can anyone provide links to some of the best ajax sites

thanks
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT - best AJAX SITES

2007-04-17 Thread leolea

http://www.gucci.com/



On 4/17/07 2:43 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 can anyone provide links to some of the best ajax sites
 
 thanks
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Shared Font Symbol

2007-04-17 Thread Matheus Araujo

Hi,

Is there any way to select which caracters to embed into a shared font
symbol?
A don't use all the caracters that it´s being embeded and I need my file to
be smaller...

thx in advance
Matheus
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT - best AJAX SITES

2007-04-17 Thread Jeff Harrington
http://netflix.com

jeff
http://jeffharrington.org

[p e r c e p t i c o n] wrote:
 can anyone provide links to some of the best ajax sites

 thanks
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] OT: Salary Questions

2007-04-17 Thread Jesse Graupmann
More orientated to designers  front end developers - but still interesting:

AIGA|Aquent Salary Survey 
http://www.aiga.org/content.cfm/salary-survey




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly Smith
Sent: Tuesday, April 17, 2007 11:37 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] OT: Salary Questions

Here in the SF Bay Area, the skillset you describe above would net you
between 100 - 120k a year. Bosses love people who can do database, buisness
logic, AND presentation work. Don't settle.

- k

On 4/16/07, Jordan Snyder [EMAIL PROTECTED] wrote:

 Hello,

 I'm in Oklahoma City, so it's a bit harder sometimes for me to gauge
 how much compensation I should receive.  If anyone has any comments on
 the following information, please let me know.  I won't disclose my
 exact salary, but you can email me offlist if you're curious.

 My title is Application Developer, but I am the only person here (and
 always have been) that knows the difference between a boolean and a
 string.  I am the only technical person and I often take on
 experienced IT-related roles such as web server configuration, shell
 scripting, server monitoring/management, etc (mostly Unix-based, some
 Windows 2000).

 I architect and build all backend solutions (PHP, mySQL, CF, RoR,
 J2EE) and desktop solutions (Cocoa, Java, Flash/mProjector).  I have
 extensive knowledge of media streaming and FCS/FMS application
 development.

 I also architect all web-based applications and provide diagrams and
 documentation for them, after meeting with clients or upper management
 directly to translate business objectives into software tools.

 I then sit down and do ALL of the development work.  I work with one
 designer but I do all UI/interactivity design.

 I also manage a small team of interactive designers and producers.

 My title does not reflect these duties, but it is difficult to
 communicate to my boss what I do.  I am getting roughly what a junior
 Actionscript developer would make, and I'm fed up.  There are also no
 stock options, no profit sharing, no retirement (401K), no vision nor
 dental.  We get a very simple medical insurance plan.

 I am looking for advice on this matter.  Do I expect too much if I
 demand at least $90K a year?  How do I better inform management as to
 what I actually do on a daily basis?  If I'm right in thinking that
 I'm getting screwed, is anyone hiring?  ;)

 Cheers!

 --
 Jordan Snyder
 [EMAIL PROTECTED]
 (Company Undisclosed)
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Shared Font Symbol

2007-04-17 Thread Иван Дембицкий

Hello Matheus,

http://www.sharedfonts.com/eng/faq.html#include


A don't use all the caracters that it´s being embeded and I need my file to
be smaller...


--
iv
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] positioning a movie clip called from loadMovieNum

2007-04-17 Thread Gustavo Duenas

Hi, I have this code.

var poaMovie= loadMovieNum(POA.swf, 30, POST);

poaMovie._x=-100;
poaMovie._y=20;

so far it can call the movie and it loads, but when I try to have  
this in the position I'd like for...nothing happens?

do you know why?
Ok I know I'd be using something else instead of loadmovienum but the  
first time when I've try to read my swf inside a movie clip loader  
component,
the dynamic content(a txt file) didn't load, so  after some try- 
outs , I just decided to use loadMovieNum because this works.


I know this a pretty dumb questions, but I know that there should be  
a way to do that.





Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] List component redraw bug

2007-04-17 Thread Merrill, Jason
Has anyone seen the v2 List component bug where sometimes items in a
list will render OUTSIDE the list?  Is there a fix or workaround?  I can
send a screenshot offlist if it's not clear, but basically my list
component show a series of data, but at the bottom, after the list is
scrolled down, some of the data remains drawn on screen and outside
(below) the list component - like text that has been cut in half
horizontally.  Anyone ever seen this or found a fix?

Jason Merrill
Bank of America  
GTO Learning  Leadership Development
eTools  Multimedia Team


 
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash 8 Trial

2007-04-17 Thread Adrian Lynch
Cheers John.

Julien, you're a star! Downloading as I type :O)

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Julien
Vignali
Sent: 17 April 2007 19:40
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash 8 Trial


Hey, got the same problem recently...
I've found a direct link that still works :
https://www.adobe.com/cfusion/tdrc/index.cfm?product=flashpro

2007/4/17, John Dowdell [EMAIL PROTECTED]:
 Adrian Lynch wrote:
  Maybe it's just me, but I can't find any Flash trials on adobe.com.
  Are any available?

 My apologies... it looks like many of the older trial versions were
removed from the main listing when the CS3 announcements arrived, but new
trials of individual tools won't be on the site for a few weeks yet. I've
escalated this internally, but have not yet received staff reply.

 Last week I heard that you can still access some of the older Macromedia
Studio trials by going through the link for FreeHand MX, but I have not
confirmed today that this path is still available. Worth a shot...?

 jd/adobe



 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



--
Julien Vignali
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread nik crosina

Hi Kipp,

that sounds exactly like the strategies recommended to me by the
Aladdin guys, and their manuals. And it also sounds logical to me. The
question to me is now whether I can tie a dongle into actions script
and then e.g. obfuscate the code to a high enough degree that it would
be above the pain level of most crackers hackers and pirates.

I do understand that it is impossible to create something bullet
proof, but some big pain in the ass is what (and I guess most)
developers are after. At least it prevents the layman user from just
making a copy for their colleague, etc.

Nik C

On 4/17/07, Michael Mudge [EMAIL PROTECTED] wrote:

I can make a cheap, cryptographically secure USB or Serial dongle no
problem.

However, the issue with any kind of software-based security is that once
the software is on a client's machine, the client can do whatever he
wants with it; modify it not to use the dongle.

But you CAN make it a serious pain in the ass.  In unmanaged languages
like C, it is especially helpful to make the program inherently
incapable of running without the dongle -- by using the dongle to
perform some essential calculation that isn't in your program, or by
sending the dongle pieces of your program's code to verify that it's
been unaltered.  Sometimes making a checksum of your own code works, but
then sometimes a hacker can use your own checksum algorithm to hack in a
new checksum...

...so how far do you want to go with this?

- Kipp

 Hi Weyert,

 Can a dongle easily be circumvented then?
 What's the best way of protection then, and do you know where
 I would find a specialist in this?

 Thanks,

 Nik

 On 4/17/07, Weyert de Boer [EMAIL PROTECTED] wrote:
  Hi Nik,
 
  I have done research for my dad a while ago, and I came to the
  conclusion that it wasn't worth the effort $$$ wise.
   Not sure whether that is applicable to your project,
 Pete, but has
   anyone ever used dongle (i.e. hardware) protection for their
   projects? I am currently testing out HASP from Aladdin,
 and does the
   job so far (have not come very far yet in testing though).
  Yes, the problem with dongles is that it's quite hard to implement,
  right. Especially, I would like to advice you not take any of the
  included examples or even consider build on top of it. The examples
  are weak. Please rent some person who is fully into the dongle and
  encryption. If not, it will be lost money.
 
   What do you guys think about this kind of protection? Why
 isn't it
   used more often?
  Because it's a big investment to implement.
 
  Yours,
  Weyert de Boer
 
  ___
  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
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com http://training.figleaf.com
 


 --
 Nik C
 ___
 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
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Nik C
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Salary Questions

2007-04-17 Thread Weyert de Boer

100-120K nice...
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] UNSUBRSCRIBE

2007-04-17 Thread Blaine Fisher
I've unsubscribed countless times, and been told I was taken off the list.
This is the fourth time I've replied to the mail list, asking to be taken off 
the list.
I have also blocked a ton of people who contribute, trying to stop the list 
from coming to me, but as the list is not sent directly from 
chattyfig.figleaf.com, I can't block the list.
That, and I have an insanely long block list now, which I don't really need.
So, for the love of God, take me off this time.
I am seriously sick of this.
I can't find a damn thing in my Pending box.
This list is fucking over my e-mail account.
And I really shouldn't have to change my e-mail account just because one 
mailing list can't figure out how to unsubscribe people who no longer want to 
be included.
The whole thing is ridiculous.

Sorry for the rant, to all the people reading this now who are not involved.
It's being sent to the list and to the owner.
This isn't the first time I have e-mailed the list, e-mailed the owner, or used 
the automated unsubscriber, so most likely nothing will change.
But it is definitely bullshit.

Have a nice day.
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] UNSUBRSCRIBE

2007-04-17 Thread Muzak
All you need to do is set up a rule in your mail client to check for messages 
containing the word [Flashcoders] in the subject 
line (without the quotes) and do whatever you want with it (delete, move to 
folder, etc..).

If you move them to a seperate folder (like I do) it wont flood your Pending 
Box.

regards,
Muzak

- Original Message - 
From: Blaine Fisher [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007 1:45 AM
Subject: [Flashcoders] UNSUBRSCRIBE


 I've unsubscribed countless times, and been told I was taken off the list.
 This is the fourth time I've replied to the mail list, asking to be taken off 
 the list.
 I have also blocked a ton of people who contribute, trying to stop the list 
 from coming to me, but as the list is not sent 
 directly from chattyfig.figleaf.com, I can't block the list.
 That, and I have an insanely long block list now, which I don't really need.
 So, for the love of God, take me off this time.
 I am seriously sick of this.
 I can't find a damn thing in my Pending box.
 This list is fucking over my e-mail account.
 And I really shouldn't have to change my e-mail account just because one 
 mailing list can't figure out how to unsubscribe people 
 who no longer want to be included.
 The whole thing is ridiculous.

 Sorry for the rant, to all the people reading this now who are not involved.
 It's being sent to the list and to the owner.
 This isn't the first time I have e-mailed the list, e-mailed the owner, or 
 used the automated unsubscriber, so most likely nothing 
 will change.
 But it is definitely bullshit.

 Have a nice day.


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] List component redraw bug

2007-04-17 Thread Muzak
I've seen this before, but can't remember what caused it though (let alone what 
fixes it).
It sounds like a masking/font problem.

Can you reproduce it in a seperate fla?
Got a sample we can take a look at?

regards,
Muzak

- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 17, 2007 10:33 PM
Subject: [Flashcoders] List component redraw bug


 Has anyone seen the v2 List component bug where sometimes items in a
 list will render OUTSIDE the list?  Is there a fix or workaround?  I can
 send a screenshot offlist if it's not clear, but basically my list
 component show a series of data, but at the bottom, after the list is
 scrolled down, some of the data remains drawn on screen and outside
 (below) the list component - like text that has been cut in half
 horizontally.  Anyone ever seen this or found a fix?

 Jason Merrill


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] UNSUBRSCRIBE

2007-04-17 Thread Hairy Dog Digital
But setting up a rule would be far too easy as an interim fix, and much less
satisfying. Blowing a gasket and violently attacking one's keyboard
composing a rant (and revealing one's own ignorance regarding creating rules
in their mail program) is much more cathartic than you might realize.

How many lumps Doc? Oh, errr, threee or four, heee!

Wouldn't it be awesome if the most annoying issue of our day was a mail list
whose unsubscribe didn't respond properly? 

-Original Message-
From: Muzak [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 8:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] UNSUBRSCRIBE

All you need to do is set up a rule in your mail client to check for
messages containing the word [Flashcoders] in the subject line (without
the quotes) and do whatever you want with it (delete, move to folder,
etc..).

If you move them to a seperate folder (like I do) it wont flood your Pending
Box.

regards,
Muzak


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Michael Mudge
If you want to verify that a genuine dongle is present, that's easy, but
I have no idea how you would communicate with the dongle from
ActionScript... You would almost definitely have to use an external
program.  I can think of a few Flash-drive-like dongle designs, but the
development cost may be very near the development cost of your entire
application.

Honestly, the best thing might be to go with a commercial anti-piracy
package.  These packages have already had the cost distributed over
multiple sales.  You won't have to reinvent the wheel, and you will have
a reasonable balance between price and effectiveness.

Now that the topic has come up though, I just might persue making such a
dongle... Hmm.

- Kipp

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of nik crosina
 Sent: Tuesday, April 17, 2007 4:52 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] [semi-OT] - Preventing Software Piracy
 
 
 Hi Kipp,
 
 that sounds exactly like the strategies recommended to me by 
 the Aladdin guys, and their manuals. And it also sounds 
 logical to me. The question to me is now whether I can tie a 
 dongle into actions script and then e.g. obfuscate the code 
 to a high enough degree that it would be above the pain level 
 of most crackers hackers and pirates.
 
 I do understand that it is impossible to create something 
 bullet proof, but some big pain in the ass is what (and I 
 guess most) developers are after. At least it prevents the 
 layman user from just making a copy for their colleague, etc.
 
 Nik C
 
 On 4/17/07, Michael Mudge [EMAIL PROTECTED] wrote:
  I can make a cheap, cryptographically secure USB or Serial 
 dongle no 
  problem.
 
  However, the issue with any kind of software-based security is that 
  once the software is on a client's machine, the client can 
 do whatever 
  he wants with it; modify it not to use the dongle.
 
  But you CAN make it a serious pain in the ass.  In 
 unmanaged languages 
  like C, it is especially helpful to make the program inherently 
  incapable of running without the dongle -- by using the dongle to 
  perform some essential calculation that isn't in your 
 program, or by 
  sending the dongle pieces of your program's code to 
 verify that it's 
  been unaltered.  Sometimes making a checksum of your own 
 code works, 
  but then sometimes a hacker can use your own checksum algorithm to 
  hack in a new checksum...
 
  ...so how far do you want to go with this?
 
  - Kipp
 
   Hi Weyert,
  
   Can a dongle easily be circumvented then?
   What's the best way of protection then, and do you know where I 
   would find a specialist in this?
  
   Thanks,
  
   Nik
  
   On 4/17/07, Weyert de Boer [EMAIL PROTECTED] wrote:
Hi Nik,
   
I have done research for my dad a while ago, and I came to the 
conclusion that it wasn't worth the effort $$$ wise.
 Not sure whether that is applicable to your project,
   Pete, but has
 anyone ever used dongle (i.e. hardware) protection for their 
 projects? I am currently testing out HASP from Aladdin,
   and does the
 job so far (have not come very far yet in testing though).
Yes, the problem with dongles is that it's quite hard to 
implement, right. Especially, I would like to advice 
 you not take 
any of the included examples or even consider build on 
 top of it. 
The examples are weak. Please rent some person who is 
 fully into 
the dongle and encryption. If not, it will be lost money.
   
 What do you guys think about this kind of protection? Why
   isn't it
 used more often?
Because it's a big investment to implement.
   
Yours,
Weyert de Boer
   
___
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
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com
   
  
  
   --
   Nik C
   ___
   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
   Premier Authorized Adobe Consulting and Training 
   http://www.figleaf.com http://training.figleaf.com
  
 
  ___
  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
  Premier Authorized Adobe Consulting and Training 
  http://www.figleaf.com http://training.figleaf.com
 
 
 
 -- 
 Nik C
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the 

[Flashcoders] ArgumentError: Error #2126: NetConnection object must be connected - this is killing me

2007-04-17 Thread Robin Burrer

Hi there,

I want to build a flv player in AS3. 

However once I try the net connection object Flex Builder decides to
screw up my entire project and refuses to compile it again regardless
what I do.

Even if I delete all the code in my base class Flex builder still gives
me that error message:

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/flash.net:NetStream::construct()
at flash.net::NetStream$iinit()
at
VideoPlayer/VideoPlayer::initVideoConnnect()[E:\vss_data\HUBB\HUBB
Investor\videoPlayer2\VideoPlayer.as:54]
at VideoPlayer$iinit()[E:\vss_data\HUBB\HUBB
Investor\videoPlayer2\VideoPlayer.as:35]

 
I physically have to delete my project and create it again to compile
it.

Any ideas?


Robin

// init video connection
private function initVideoConnnect():void
{
// create netStream 

var myConnection:NetConnection  =  new
NetConnection();

// these two lines kill my project 
myConnection.connect(null);
myStream = new NetStream(myConnection);
myStream.play(temp/video.flv);

// add listener

//myConnection.addEventListener(NetStatusEvent.NET_STATUS,onNetStaus);





}



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] coverting video to flv on the server

2007-04-17 Thread Robin Burrer
Thanks Ian!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Monday, 26 March 2007 5:35 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] coverting video to flv on the server

Hi Robin,
  Take a look at ffmpeg.

http://ffmpeg.mplayerhq.hu/

HTH,
   Ian

On 3/26/07, Robin Burrer [EMAIL PROTECTED] wrote:
 Hi there,

 Somebody told me the other day there are tools that can convert the
most
 common video formats to flvs. Unfortunately I can't remeber the names
of
 these products.

 My company wants to create a youTube like web application where the
user
 can upload a video which then gets converted to an flv.

 Any recommendations and/or thoughts?

 Cheers

 Robin
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] [semi-OT] - Preventing Software Piracy

2007-04-17 Thread Weyert de Boer
Genuine Dongles? What about dumping dongle data and then use a dongle 
emulator?


Yours,
Weyert
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] positioning a movie clip called from loadMovieNum

2007-04-17 Thread Erich Erlangga
Gustavo,
  that's because you set the _x and _y without knowing whether POA.swf is 
already downloaded or not. Firstly, it's better using createEmptyMovieClip 
methods for referencing any clip on stage. the same situation also works well 
for attachMovieMethod. as for AC 2.0:
  //===
  var depth:Number = this.getNextHighestDepth();
  var poaMovie:MovieClip = this.createEmptyMovieClip(loader_mc, depth)   
//==
  if you insist to load using loadMovieNum method, then u should load poa.swf 
into poaMovie variables, which now hold the reference to newly created mc named 
loader_mc.
   
  to control the event, MovieClip Loader class will give you more control to 
the loading and unloading process of your application. 
   
  var depth:Number = this.getNextHighestDepth();
  var poaMovie:MovieClip = this.createEmptyMovieClip(loader_mc, depth)   

  var mclLoader:MovieClipLoader = new MovieClipLoader();
  mclLoader.onLoad = function(success:Boolean){
  if(success){
  //now you ready to play with the mc
  poaMovie._x=-100;
poaMovie._y=20;
  }
  }
  mclLoader.loadClip(POA.swf, poaMovie);
   
  hope that will help
   
  
Gustavo Duenas [EMAIL PROTECTED] wrote:
  Hi, I have this code.

var poaMovie= loadMovieNum(POA.swf, 30, POST);

poaMovie._x=-100;
poaMovie._y=20;

so far it can call the movie and it loads, but when I try to have 
this in the position I'd like for...nothing happens?
do you know why?
Ok I know I'd be using something else instead of loadmovienum but the 
first time when I've try to read my swf inside a movie clip loader 
component,
the dynamic content(a txt file) didn't load, so after some try- 
outs , I just decided to use loadMovieNum because this works.

I know this a pretty dumb questions, but I know that there should be 
a way to do that.




Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ArgumentError: Error #2126: NetConnection object mustbe connected - this is killing me

2007-04-17 Thread Robin Burrer
I restarted my computer twice now it seems to work fine...

Robin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin
Burrer
Sent: Wednesday, 18 April 2007 12:47 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ArgumentError: Error #2126: NetConnection object
mustbe connected - this is killing me


Hi there,

I want to build a flv player in AS3. 

However once I try the net connection object Flex Builder decides to
screw up my entire project and refuses to compile it again regardless
what I do.

Even if I delete all the code in my base class Flex builder still gives
me that error message:

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/flash.net:NetStream::construct()
at flash.net::NetStream$iinit()
at
VideoPlayer/VideoPlayer::initVideoConnnect()[E:\vss_data\HUBB\HUBB
Investor\videoPlayer2\VideoPlayer.as:54]
at VideoPlayer$iinit()[E:\vss_data\HUBB\HUBB
Investor\videoPlayer2\VideoPlayer.as:35]

 
I physically have to delete my project and create it again to compile
it.

Any ideas?


Robin

// init video connection
private function initVideoConnnect():void
{
// create netStream 

var myConnection:NetConnection  =  new
NetConnection();

// these two lines kill my project 
myConnection.connect(null);
myStream = new NetStream(myConnection);
myStream.play(temp/video.flv);

// add listener

//myConnection.addEventListener(NetStatusEvent.NET_STATUS,onNetStaus);





}



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com