Re: [Flashcoders] Flash CS3 an Mac - compiler errors with SVN-folders

2007-08-30 Thread christian


Hi,

I have the same problem and it's not a GUI issue ... The problem is  
that Flash CS 3 doesn't find any classes - i.e. the document class of  
the FLA or classes imported in the timeline. Nobody using the IDE  
anymore? ;-)


Best,
Christian

Am 31.08.2007 um 07:29 schrieb Nick Johnston:

You can filter out the .svn files using gProject (http:// 
gskinner.com/products/gProject/). In the settings you can filter  
out single character strings (such as the "." in .svn)


I hope this helps, as it has helped me in development.

Cheers,
Nick

mathis wrote:

Hi there,

anybody found a workaround for the following scenario? When  
checking out larger svn-projects, Flash CS3 on Mac OSX seems to  
get confused by the .svn-folders. E.g. it doesn't find classes.  
When removing those .svn-folders, everything works fine - but this  
isn't an option for working professionally... :)


Any help would be greatly appreciated.
Thanks,
Mathis

Btw. - is there a bugzilla for the Adobe Suite?

___
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] How to get the MD5 hash value of a file

2007-08-30 Thread Paul Steven
Thanks for the reply Jim

I am using Zinc and have managed to get it working so I can drag and drop
the file onto the application.

I have found a MD5 class now but the value it is giving me does not match
the value the client is comparing it against.

Here is a snippit of my code

ByteLoader = new URLLoader();
ByteLoader.dataFormat = URLLoaderDataFormat.BINARY;
ByteLoader.addEventListener (Event.COMPLETE, loadFileComplete);

FileRequest = new URLRequest (passed_File_Path);
ByteLoader.load (FileRequest);

}


public function loadFileComplete(event:Event){

trace ("loadFileComplete");

var md5Value = MD5.encrypt (ByteLoader.data); 

This is the MD5 Class

http://gsolofp.blogspot.com/2006/01/actionscript-3-md5-and-sha1.html

Any idea why I am not getting the same MD5 value? Is it something to do with
how I am reading in the file data?

Thanks

Paul 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Cheng
Sent: 31 August 2007 00:32
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] How to get the MD5 hash value of a file

Paul Steven wrote:

> Is there a built in function that will provide me with the MD5 value for a
> file? I have seen some examples online that provide a MD5 value for a
string
> but I need it for a file.

Nothing built in, though if you can read the file into a ByteArray, it's 
fairly simple to modify one of the existing MD5 hash routines to take in 
a ByteArray instead.  For example, if you were using the open-source 
as3corelib project's MD5 class you can just change in the parameter type 
to a ByteArray, and then modify the createBlocks() method to do the same 
and read in the i'th byte rather than calling s.charCodeAt().

However, there's a big caveat--unless you're planning on doing this from 
an Adobe AIR (formerly Apollo) application or a third-party projector 
(e.g. Zinc, SWF Studio, SWHX and the like), you're probably out of luck.

As far as I know neither the standalone or plugin Flash Player, nor the 
standard web browsers allow programmatic access to client-side files 
scheduled for upload--typically, you'd need to have the user actually 
upload them and then round-trip the file back from the server to have 
access to the content. :(

You might be able to do it via an ActiveX control or a Java applet that 
has the appropriate permissions, though this may require an additional 
dialog requesting the user to grant escalated privileges.

Jim
___
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] Issue with Removing a Movie

2007-08-30 Thread elibol
You have menuExit_mc in quotes, it's being passed as a string. You need to
pass a reference to the movieclip.

On 8/30/07, Lord, Susan Ms. (CONTR) <[EMAIL PROTECTED]> wrote:
>
> Hi there, I have a set of buttons (menuExit_mc) that I load after I load
> an external swf (movie). When I click my main menu button, enacting
> mainMenu(), I want the menuExit_mc to be removed from the screen.  I am
> not sure why this is not working for me.
>
> Any ideas? Below is my code. Any help you can provide is appreciated.
> Thanks!
>
>
> load(movie, myLoadedClip_mc);
> attachMovie("mcMenuExit", "menuExit_mc", getNextHighestDepth(),
> {_x:637.3, _y:559.8});
>
> function mainMenu() {
> trace("bing");
> unloadMovie(myLoadedClip_mc);
> gotoAndPlay("mainMenu");
> removeMovieClip("menuExit_mc");
> }
>
> ___
> 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] Hand Cursor for Slider Component

2007-08-30 Thread Paul Chang

I have a rather simple dilemma. I've been trying to get the hand
cursor to appear when rolling over the thumb dragger of the Slider
component.

For other components, setting buttonMode and/or useHandCursor to true
seams to take care of that. With the Slider Component, it's not the
case.

I was able to see a hand cursor if I set the mouseChildren to false,
but of course then I can't slide the thumb dragger.

Any ideas?

Thanks,
Paul



___
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 CS3 an Mac - compiler errors with SVN-folders

2007-08-30 Thread Nick Johnston
You can filter out the .svn files using gProject 
(http://gskinner.com/products/gProject/). In the settings you can filter 
out single character strings (such as the "." in .svn)


I hope this helps, as it has helped me in development.

Cheers,
Nick

mathis wrote:

Hi there,

anybody found a workaround for the following scenario? When checking out larger 
svn-projects, Flash CS3 on Mac OSX seems to get confused by the .svn-folders. 
E.g. it doesn't find classes. When removing those .svn-folders, everything 
works fine - but this isn't an option for working professionally... :)

Any help would be greatly appreciated.
Thanks,
Mathis

Btw. - is there a bugzilla for the Adobe Suite?

___
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] Tween removal...

2007-08-30 Thread Matt White
I always push all my tweens into an array so that when i want to stop
all of them I just do this:

while(tweens.length > 0) {
tweens.pop().stop();
}

Calling the stop method on a tween should stop it immediately...

Hope this helps, and that I correctly understood the issue :)

matt

On 8/30/07, Van Tuck <[EMAIL PROTECTED]> wrote:
> List ->
>
> Has anyone had difficulty removing AS assigned tweens?  I have an
> issue that I can't seem to get rid of - and I've tried everything I
> know to try at this point.  Attachments are attached and assigned to
> an array, and looping / deleting everything from the array doesn't
> remove the tweens.  I've tried " delete objectBeingTweened.tweens
> [this]   " with no result.  I've found deleting the onMotionFishished
> will stop them, but when the page is revisited and the _mc is
> rebuilt, the old tweens seem to be chewing processor resources
> still.  Any ideas are a huge help - running AS2 over CS3 -
>
> Thanks ->
>
>
> Van R Tuck
> Director of Web Development
>
> Cause Design Group
> 1519 Stanford Street Suite 6
> Santa Monica, CA  90404
>
>   t:  310.430.5369
> www.causedesigngroup.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
>


-- 
Matt White
---
Thermal Creative
http://blog.thermalcreative.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] Animate dynamic text

2007-08-30 Thread Eric Walton
I would go to flashkit and look there,  also if you google "flash
extensions"  you will find an extension that will do the trick.

Edub9
www.HollywoodFineART.com



On 8/29/07, Waseem Shahzad <[EMAIL PROTECTED]> wrote:
>
> Hello
> I want to know that there is any way of animating a text which we load
> from
> an external file .txt and then animate this text. Like we do with static
> text which is inside the .fla.
> Please help if any ideas.
> Thanx
> chand
> ___
> 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: [Flashcoders] Iterator question

2007-08-30 Thread Austin Kottke

Hey eka,

In the vegas framework there is a mention of #ASTr'O.

It says it does templates however I dont understand what you mean here.

Can you elaborate with a code example?

Best, Austin

eka wrote:

Hello :)

You can use if you want my opensource framework and all this ADT (abstract
data type) :

In VEGAS you can find the package vegas.data.* with an ADT library based on
the JAVA Collections and the Jakarta Collections Framework.

Page of the project : http://code.google.com/p/vegas/
Install tutorial :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN

Example to use my ADT in AS2 in the SVN directory :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/data/

The documentation : http://vegas.ekameleon.net/ (see vegas.data package)

See the vegas.data.iterator and vegas.data.map packages ;)

EKA+ :)


2007/8/27, Andy Herrman <[EMAIL PROTECTED]>:
  

Why not use a hashtable instead of an array?  Give your elements all
unique IDs (you could even just do an incrementing integer).  A
hashtable would give you faster lookup (don't have to iterate over the
array searching for it) and you can remove hashtable entries without
messing up any kind of ordering.

  -Andy

On 8/27/07, dr.ache <[EMAIL PROTECTED]> wrote:


hi.
dont delete the elements from your array.
when you call page.destroy() method generate another array in which you
push a "true",
whenever onElementKilled is called.Check also, if the array contains as
much elements
as your children array contains.
If true, delete the whole array with childs.

possible?

dr.ache

Jiri Heitlager | dadata.org schrieb:
  

Hello list,

i have a page object that contains has a Array that holds
pageElements. This is a storage for elements with an iPageElement
interface.
The page object has an destroy() method. When page.destroy() is
called, it will loop trough the page.pageElements Array using an
iterator. Every iPageElement broadcasts an onElementKilled message
when is has been destroyed. When a pageElement broadcast this message,
the page need to continue in deleting the next element in the
page.pageElement Array.
The callback method onElementKilled in the page instance, searches for
the element that has been deleted and then removes it from the
page.pageElements Array. This is where i think a problem rises,
because if the page.pageElements array is updated during the process,
the index does not match the element to remove anymore. How can I
solve this potential risk?

Another question, the array that is passes into the iterator is a
reference to the pageElements Array. Does this mean, that if I delete
an element from this array from within the iterator, the
page.pageElements array is modified?

I hope my question is clear..

thank you in advance.

Jiri


Below a snippet:

private function getPageElementIterator() : Void
{
return new PageElementIterator(this.pageElements)
}

//initiated the deleting proces, by starting with the first


element.


public function destroyPageElements() : Void
{
destroyElement(this.pageElements[0]);
}

private function destroyElement(element:iPageElement) : Void
{
curElement.addEventListener('onElementKilled' , this)
curElement.destroy();

}
private function onElementKilled(eventObj:Object) : Void
{
var killElement:iPageElement = eventObj.target;

var iter:PageElementIterator = this.getPageElementIterator();

while(iter.hasNext()){
var curElement:iPage = iPage (iter.next());

if(killElement == curElement) {

//deleted the element now clear the listener and


continue


killElement.removeEventListener('onElementKilled' ,


this)


/*
* POTENTIAL RISK, if a new element is added, then the
index, does not match the right element anymore
*
* get the current index from the deleted element by
checking what
* the currentIndex of the iterator is, and remove it
from this.pageElements Array
*/
this.pageElements =
this.pageElements.splice((iter.getCurrentIndex() , 0)

//get the next element in the iterator array
if(iter.hasNext()) this.destroyElement(
iPage(iter.next()) );
delete killedElement;
break;
}
}
}
if(this.pageElements.length == 0){
trace('all page elements have been removed')
}
}

___
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



___
Flashcoder

Re: [Flashcoders] What open source utility to convert video to FLV or SWF ?

2007-08-30 Thread richard carr
Try SUPER
 http://www.erightsoft.com/SUPER.html

On 8/30/07, Martin Miller <[EMAIL PROTECTED]> wrote:
>
> I know this is slightly off the main topic lines.
>
> What open source utility to convert video to FLV or SWF ?
>
> I have clips in dv, mpeg-1, mpeg-2, and avi formats to convert.
>
> Thx
>
> Martin
> ___
> 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] AIR from Flash CS3 IDE...

2007-08-30 Thread eric e. dolecki
thanks mesh, but that doesn't seem to work. the window resizing screws
things up (without coding up a liquid layout) & setting the width and height
doesnt solve the comboBox opening down (hiding all elements in its list)
without even resizing the app window first. its like it ignores the stage at
that point.
- eric

On 8/30/07, Mike Chambers <[EMAIL PROTECTED]> wrote:
>
> Just set the initial height and width in the app descriptor / xml file.
>
> This is all covered in the air docs.
>
> Hope that helps...
>
> Mike Chambers.
>
>
> Sent by GoodLink (www.good.com)
>
>
> -Original Message-
> From:   eric e. dolecki [mailto:[EMAIL PROTECTED]
> Sent:   Thursday, August 30, 2007 02:15 PM Pacific Standard Time
> To: Flashcoders mailing list
> Subject:[Flashcoders] AIR from Flash CS3 IDE...
>
> The ability to fire off an AIR application from a FLA quickly is very
> nice,
> but I noticed something... nowhere are the dimensions of the thing set
> (that
> I can see anyway).
>
> So that means my app allowed to resize (don't like that), and because the
> size isn't set, a comboBox set at the bottom edge of the app opens *down*
> which means items are hidden.
>
> I should dig some more about this, but for now its not allowing me to
> deploy
> an AIR application that I would like to use myself.
>
> Anyone have ideas about this?
> ___
> 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] AS3 font2swf

2007-08-30 Thread Ruslan Shestopal
Hi list!
Trying to implement TTF fonts loading in Flash app. (Like Font viewer)  
Anyone with the same activity?
Or maybe with ready to go solution?


___
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 / Accessing functions in a Loaded SWF

2007-08-30 Thread eric e. dolecki
load the SWF into a mc with an instance name and then after its ready
mcinstance.method();

On 8/28/07, Eric Lee <[EMAIL PROTECTED]> wrote:
>
> Hey List,
>
>
>
> I'm have a swf that contains several functions, and I'm loading it into
> another swf like this:
>
>
>
> var ldr:Loader = new Loader();
> var url:String = "content.swf";
> var urlReq:URLRequest = new URLRequest(url);
> ldr.load(urlReq);
> addChild(ldr);
>
>
>
> When it try to access a function by saying ldr.content.testFunction();,
> it throws an error for the possibly undefined function. Same applies
> when I'm trying to access variables within the loaded swf.
>
>
>
> Is there a way for me to gain access to functions/variables in the
> loaded swf? Or is there a better strategy for me to organize my website
> structure?
>
>
>
> Thanks!
>
>
>
> -Eric
>
>
>
> [EMAIL PROTECTED]
>
> ___
> 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] Tween removal...

2007-08-30 Thread Van Tuck

List ->

Has anyone had difficulty removing AS assigned tweens?  I have an  
issue that I can't seem to get rid of - and I've tried everything I  
know to try at this point.  Attachments are attached and assigned to  
an array, and looping / deleting everything from the array doesn't  
remove the tweens.  I've tried " delete objectBeingTweened.tweens 
[this]   " with no result.  I've found deleting the onMotionFishished  
will stop them, but when the page is revisited and the _mc is  
rebuilt, the old tweens seem to be chewing processor resources  
still.  Any ideas are a huge help - running AS2 over CS3 -


Thanks ->


Van R Tuck
Director of Web Development

Cause Design Group
1519 Stanford Street Suite 6
Santa Monica, CA  90404

 t:  310.430.5369
www.causedesigngroup.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] How to get the MD5 hash value of a file

2007-08-30 Thread Jim Cheng

Paul Steven wrote:


Is there a built in function that will provide me with the MD5 value for a
file? I have seen some examples online that provide a MD5 value for a string
but I need it for a file.


Nothing built in, though if you can read the file into a ByteArray, it's 
fairly simple to modify one of the existing MD5 hash routines to take in 
a ByteArray instead.  For example, if you were using the open-source 
as3corelib project's MD5 class you can just change in the parameter type 
to a ByteArray, and then modify the createBlocks() method to do the same 
and read in the i'th byte rather than calling s.charCodeAt().


However, there's a big caveat--unless you're planning on doing this from 
an Adobe AIR (formerly Apollo) application or a third-party projector 
(e.g. Zinc, SWF Studio, SWHX and the like), you're probably out of luck.


As far as I know neither the standalone or plugin Flash Player, nor the 
standard web browsers allow programmatic access to client-side files 
scheduled for upload--typically, you'd need to have the user actually 
upload them and then round-trip the file back from the server to have 
access to the content. :(


You might be able to do it via an ActiveX control or a Java applet that 
has the appropriate permissions, though this may require an additional 
dialog requesting the user to grant escalated privileges.


Jim
___
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] Obfuscating SWFs with Amayeta SWF Encrypt

2007-08-30 Thread Burak KALAYCI

Hi,

I would also be very interested if ASV 5.28 is NOT working for SWF Encrypt 
4.04, because it should.


We bypass obfuscations that our customers request (as much as possible), but 
we wait around at least 3 months.


Best regards,
Burak
www.asvguy.com

Burak KALAYCI, Manitu Group
http://www.buraks.com
http://www.manitugroup.com

- Original Message - 
From: "Bob Schmitt" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 27, 2007 8:49 PM
Subject: [Flashcoders] [OT] Obfuscating SWFs with Amayeta SWF Encrypt



Hi all,

Not sure if this would be considered off topic or not, hope not. Doesn't
have anything to do with coding, but it does have something to do with 
code!


I'm wondering if anyone on the list uses Amayeta's SWF Encrypt to 
obfuscate
code in your SWF files. Recently, I noticed that with the latest version 
of

ActionScript Viewer (version 5.28) you can view the code of a previously
encrypted/obfuscated file. In fact, you can view the un-obfuscated code of 
a

file encrypted with the latest version of SWF Encrypt (4.0.4), basically
rendering it useless. Amayeta has told me that the issue is isolated to me
alone and that if it was a problem they would have heard about it from 
their

thousands of users (myself not included).

Anyway, I'm wondering if there are any other Amayeta SWF Encrypt users out
there and if you can view your files in ASV 5.28 and let me know if they
appear obfuscated or not.

Also, are there other programs out there that do this sort of obfuscation 
or

are there other recommended methods for obfuscating code?

Thanks!
Bob

___
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] Rotate, Scale and _x, _y

2007-08-30 Thread Jack Doyle
Not sure if it'll help, but check out
http://www.greensock.com/ActionScript/TransformManager. It'll let the user
scale, rotate, or move any MovieClip regardless of where its registration
point is. Again, this might not be exactly what you're looking for but you
could at least get some ideas from it.

Jack

-Original Message-
Date: Wed, 29 Aug 2007 08:19:58 +0200
From: "julian atienza" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Rotate, Scale and _x, _y
To: flashcoders@chattyfig.figleaf.com
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8

Hello everybody.

I'm ending one small project that handle images and make possible to
do zoom, rotate (from 90 degrees to 90 degrees) and move this images
by drag&drop when images are bigger than screen.

I have a problem with rotate. Zooming is easy thus this doesn't change
my _x and _y, but yes my _width and _height. But everytime i rotate,
it changes my _x and _y and is a little confused to make operations
that i used to do like localToGlobal (to know center of screen respect
image and zoom from there), startDrag (to mark limits), and a much
more... there is anyway to rotate without changing _x and _y??? i
tried to copy image with bitmapData and apply a matrix with rotation,
but is the same situation...

I'm using this classes from Darron Schall:
http://www.darronschall.com/weblog/archives/54.cfm

It helps me to move my Dynamic Registration (center of movieclip) and
zoom or rotate from there but... _x (and _x2 in the case) also
change...

any help? thanks in advance...




___
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] Dynamically Loading Sound Files from external SWFs

2007-08-30 Thread eka
Hello :)

in my experience i prefere create a fla with all sounds ... i compile the
swf of all sounds (the sound library) and i load this swf in the main swf of
my application... after when i want use a sound i call my sound in the
library of sounds.

To manage all this sounds i use a model in my opensource framework and an
easy MVC implementation :

1 - install my opensource project : http://code.google.com/p/vegas/

Tutorial to install it :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN

2 - Test the example  in the svn directory :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/andromeda/media

3 - you can too test my opensource template based on VEGAS (AST'r) who use a
full implementation of my SoundLibrary model in a full MVC application :
http://code.google.com/p/astr

In AST'r you can find for the moment two AS2 templates :

3-1 The more easy template is the astro package :
http://astr.googlecode.com/svn/trunk/AS2/trunk/src/astro/
3-2 The more complete template is the eGallery example :
http://astr.googlecode.com/svn/trunk/AS2/trunk/examples/egallery/trunk/

EKA+ :)


2007/8/29, Shawn Steward <[EMAIL PROTECTED]>:
>
> I have a project that has one main container SWF, that loads in multiple
> child SWFs to play.  If I try to have the child SWF's play a sound file
> using attachSound, it will not play the sound file unless I have it in
> the container SWF.  I have it in the child SWF set to export for AS in
> the 1st frame, but it will not play.  Is there another way to do this?
> I'm trying to keep the container SWF very small.  Thanks.
>
> Shawn
> ___
> 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: [OT] Improve my design skills

2007-08-30 Thread Bob Wohl
Love it! Thanks Helmut!


B.

On 8/28/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
>
> Hello Helmut,
>
>
> Deseloper...
>
> http://www.deseloper.com/
> http://en.wikipedia.org/wiki
> >
> > /Deseloper
> >
> > The term was created years ago by *Jen deHaan which hasn't catch on yet
> (
> > that's why we have this thread ;) ).*
>
>
>
> Good to know! Like the term. I've also found "Devigner" to be used too.
>
> Cheers!
>
> Marcelo.
>
> On 8/19/07, Helmut Granda <[EMAIL PROTECTED]> wrote:
> >
> > On 8/18/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> > >
> > > Hey guys,
> > >
> > > How would we call someone who likes both coding and graphics (design)
> ?
> > A
> > > Graphics Coder ?
> >
> >
> > Deseloper...
> >
> > http://www.deseloper.com/
> > http://en.wikipedia.org/wiki/Deseloper
> >
> > The term was created years ago by *Jen deHaan which hasn't catch on yet
> (
> > that's why we have this thread ;) ).*
> >
> > I love programming but I also love graphics design - I can see art in
> code
> > > and logic in design! I like mixing both worlds and creating amazing
> > things
> > > (that's why I love the flash platform, it makes it easy and obvious
> this
> > > aspect of design and code being inter-mixed).
> > >
> > > On 8/17/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello folks,
> > > >
> > > > I'm currently mainly a coder, but I also love graphics design and
> > design
> > > > in general. I would love to improve my overall design awareness.
> Does
> > > anyone
> > > > have any book (or any other resource such as website, magazine,
> > mailing
> > > > list, whatever) to recommend ? If so, I would be grateful!
> > > >
> > > > Thanks,
> > > >
> > > > Marcelo.
> > > >
> > > ___
> > > 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@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] Iterator question

2007-08-30 Thread eka
Hello :)

You can use if you want my opensource framework and all this ADT (abstract
data type) :

In VEGAS you can find the package vegas.data.* with an ADT library based on
the JAVA Collections and the Jakarta Collections Framework.

Page of the project : http://code.google.com/p/vegas/
Install tutorial :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN

Example to use my ADT in AS2 in the SVN directory :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/data/

The documentation : http://vegas.ekameleon.net/ (see vegas.data package)

See the vegas.data.iterator and vegas.data.map packages ;)

EKA+ :)


2007/8/27, Andy Herrman <[EMAIL PROTECTED]>:
>
> Why not use a hashtable instead of an array?  Give your elements all
> unique IDs (you could even just do an incrementing integer).  A
> hashtable would give you faster lookup (don't have to iterate over the
> array searching for it) and you can remove hashtable entries without
> messing up any kind of ordering.
>
>   -Andy
>
> On 8/27/07, dr.ache <[EMAIL PROTECTED]> wrote:
> > hi.
> > dont delete the elements from your array.
> > when you call page.destroy() method generate another array in which you
> > push a "true",
> > whenever onElementKilled is called.Check also, if the array contains as
> > much elements
> > as your children array contains.
> > If true, delete the whole array with childs.
> >
> > possible?
> >
> > dr.ache
> >
> > Jiri Heitlager | dadata.org schrieb:
> > > Hello list,
> > >
> > > i have a page object that contains has a Array that holds
> > > pageElements. This is a storage for elements with an iPageElement
> > > interface.
> > > The page object has an destroy() method. When page.destroy() is
> > > called, it will loop trough the page.pageElements Array using an
> > > iterator. Every iPageElement broadcasts an onElementKilled message
> > > when is has been destroyed. When a pageElement broadcast this message,
> > > the page need to continue in deleting the next element in the
> > > page.pageElement Array.
> > > The callback method onElementKilled in the page instance, searches for
> > > the element that has been deleted and then removes it from the
> > > page.pageElements Array. This is where i think a problem rises,
> > > because if the page.pageElements array is updated during the process,
> > > the index does not match the element to remove anymore. How can I
> > > solve this potential risk?
> > >
> > > Another question, the array that is passes into the iterator is a
> > > reference to the pageElements Array. Does this mean, that if I delete
> > > an element from this array from within the iterator, the
> > > page.pageElements array is modified?
> > >
> > > I hope my question is clear..
> > >
> > > thank you in advance.
> > >
> > > Jiri
> > >
> > >
> > > Below a snippet:
> > >
> > > private function getPageElementIterator() : Void
> > > {
> > > return new PageElementIterator(this.pageElements)
> > > }
> > >
> > > //initiated the deleting proces, by starting with the first
> element.
> > > public function destroyPageElements() : Void
> > > {
> > > destroyElement(this.pageElements[0]);
> > > }
> > >
> > > private function destroyElement(element:iPageElement) : Void
> > > {
> > > curElement.addEventListener('onElementKilled' , this)
> > > curElement.destroy();
> > >
> > > }
> > > private function onElementKilled(eventObj:Object) : Void
> > > {
> > > var killElement:iPageElement = eventObj.target;
> > >
> > > var iter:PageElementIterator = this.getPageElementIterator();
> > >
> > > while(iter.hasNext()){
> > > var curElement:iPage = iPage (iter.next());
> > >
> > > if(killElement == curElement) {
> > >
> > > //deleted the element now clear the listener and
> continue
> > > killElement.removeEventListener('onElementKilled' ,
> this)
> > >
> > > /*
> > > * POTENTIAL RISK, if a new element is added, then the
> > > index, does not match the right element anymore
> > > *
> > > * get the current index from the deleted element by
> > > checking what
> > > * the currentIndex of the iterator is, and remove it
> > > from this.pageElements Array
> > > */
> > > this.pageElements =
> > > this.pageElements.splice((iter.getCurrentIndex() , 0)
> > >
> > > //get the next element in the iterator array
> > > if(iter.hasNext()) this.destroyElement(
> > > iPage(iter.next()) );
> > > delete killedElement;
> > > break;
> > > }
> > > }
> > > }
> > > if(this.pageElements.length == 0){
> > > trace('all page elements have been removed')
> > > }
> > > }
> > >
> > > ___
> > > Flashcoders@chattyfig.figlea

[Flashcoders] Issue with Removing a Movie

2007-08-30 Thread Lord, Susan Ms. (CONTR)
Hi there, I have a set of buttons (menuExit_mc) that I load after I load
an external swf (movie). When I click my main menu button, enacting
mainMenu(), I want the menuExit_mc to be removed from the screen.  I am
not sure why this is not working for me.

Any ideas? Below is my code. Any help you can provide is appreciated.
Thanks!


load(movie, myLoadedClip_mc);
attachMovie("mcMenuExit", "menuExit_mc", getNextHighestDepth(),
{_x:637.3, _y:559.8});

function mainMenu() {
trace("bing");
unloadMovie(myLoadedClip_mc);
gotoAndPlay("mainMenu");
removeMovieClip("menuExit_mc");
}
 
___
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] What open source utility to convert video to FLV or SWF ?

2007-08-30 Thread Martin Miller
I know this is slightly off the main topic lines.

What open source utility to convert video to FLV or SWF ?

I have clips in dv, mpeg-1, mpeg-2, and avi formats to convert.

Thx

Martin
___
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] Animate dynamic text

2007-08-30 Thread eric e. dolecki
short answer: yes.
:)

On 8/29/07, Waseem Shahzad <[EMAIL PROTECTED]> wrote:
>
> Hello
> I want to know that there is any way of animating a text which we load
> from
> an external file .txt and then animate this text. Like we do with static
> text which is inside the .fla.
> Please help if any ideas.
> Thanx
> chand
> ___
> 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] AIR from Flash CS3 IDE...

2007-08-30 Thread Mike Chambers
Just set the initial height and width in the app descriptor / xml file.

This is all covered in the air docs.

Hope that helps...

Mike Chambers.


Sent by GoodLink (www.good.com)


 -Original Message-
From:   eric e. dolecki [mailto:[EMAIL PROTECTED]
Sent:   Thursday, August 30, 2007 02:15 PM Pacific Standard Time
To: Flashcoders mailing list
Subject:[Flashcoders] AIR from Flash CS3 IDE...

The ability to fire off an AIR application from a FLA quickly is very nice,
but I noticed something... nowhere are the dimensions of the thing set (that
I can see anyway).

So that means my app allowed to resize (don't like that), and because the
size isn't set, a comboBox set at the bottom edge of the app opens *down*
which means items are hidden.

I should dig some more about this, but for now its not allowing me to deploy
an AIR application that I would like to use myself.

Anyone have ideas about this?
___
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] creating variable names dynamically in AS3

2007-08-30 Thread Geografiek

Hi,
In AS2 in a for loop I would create a variable dynamically with:
var this[nsPrefix + "NS"]:Namespace = new Namespace(ns.uri);

In AS3 I get an error:
"1084: Syntax Error: expecting identifier before this".
How would I name this variable dynamically in AS3?
thanks,
Willem van den Goorbergh


=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31) 
30-2719512 or cell phone: (+31)6-26372378

or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


___
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] timeline creating Tween objects from MCs

2007-08-30 Thread Jason Van Pelt


Hello all,

We're creating some rather complex timeline-based animations for a project
i'm working on and I have run into an odd problem. All of my assets are on
their own layer, and they are all movieclips. However, when tweening some
of the movieclips, Flash is creating Tween 1, Tween 2... graphics as if
they were not already symbols. It does not appear to be random, as it only
seems to happen with two of my elements -- but there is nothing different
about those elements from any other.

Has anyone else come across this, with Flash creating Tween symbols out of
elements that are _already_ symbols?

My only resolution is to go in and swap the Tween symbol back to the right
symbol, place it where it is supposed to go, and give it back it's correct
instance name on EVERY keyframe.

Please email me directly if you have any insights...  I get daily digests
from this list.

Thanks in advance,

Jason Van Pelt
Interactive Developer
504.210.1232 (p) / 504.581.2731 (f)
Peter A. Mayer Advertising, Inc.
www.peteramayer.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] HTML 4.0 parsing

2007-08-30 Thread elibol
You can parse it as an xml object, but other than that, I'm not sure what
you would parse it to. You cannot parse it to a DOM, but since as3
implements E4X, xml objects are very easy to work with.

On 8/27/07, Davor Bauk <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Is it possible to parse HTML 4.0 natively in AS3 or  do I need to write
> (or find) a custom parser?
>
> cheers,
> Davor
> ___
> 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] Live Preview communicating with Flash

2007-08-30 Thread Rob Romanek
I'm playing around with components some more in Flash and am trying to  
figure out a way for the live preview to get the file name of the  
currently active document in Flash. I was wondering if this might be  
doable using the ExternalInterface class. While I can get the live preview  
to tell be that an external interface is available I can't work out what  
functions I can call to the application hosting that live preview(i'm  
assuming that is Flash itself) and if there is a call that would return  
the file name of the current document.


Any thoughts? Is there an easier way to do this?

thanks,

Rob
___
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] flv playback speed control

2007-08-30 Thread sean
There is no built in functionality for this, however, you could use the
NetStream.seek() function and call that in an Interval. By changing the
interval call time and by changing the seek location integer from an
incremented one to a decremented one, you'll be able to speed up the play
back going forwards or backwards. This is effectively the method we use to
create a Fast Forward and Rewind function for video.

Hope that helps (and that I explained it clearly). If not, then let me
know and I'll clarify with some example code

Sean
www.flashcoder.net

> can flv's be slowed down and or sped up programmatically?
>
> any thoughts, directions or brain storms would be beneficial.
>
> thanks,
> ./james
>
> { primaxSTUDIO : http://primaxSTUDIO.com : 513.772.1223 }
>
>
>
> ___
> 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] Test message

2007-08-30 Thread Dave Watts
test

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] AS3 / Accessing functions in a Loaded SWF

2007-08-30 Thread Eric Lee
Hey List,

 

I'm have a swf that contains several functions, and I'm loading it into
another swf like this:

 

var ldr:Loader = new Loader();
var url:String = "content.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
addChild(ldr);

 

When it try to access a function by saying ldr.content.testFunction();,
it throws an error for the possibly undefined function. Same applies
when I'm trying to access variables within the loaded swf. 

 

Is there a way for me to gain access to functions/variables in the
loaded swf? Or is there a better strategy for me to organize my website
structure?

 

Thanks!

 

-Eric

 

[EMAIL PROTECTED]

___
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] HTML 4.0 parsing

2007-08-30 Thread Peter Hall
Unless it's an AIR app, you'll need to write a custom parser. HTML4 is
not necessarily even well-formed XML, so you'll be starting at the
basics...

If it's a browser-based application, you might be able to have the
HTML rendered in a hidden browser frame, and then use FABridge to
communicate with JavaScript to navigate the resulting DOM. I don't
think there are many other decent options.

Peter

On 8/27/07, Davor Bauk <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is it possible to parse HTML 4.0 natively in AS3 or  do I need to write
> (or find) a custom parser?
>
> cheers,
> Davor
> ___
> 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] Site effect

2007-08-30 Thread eric e. dolecki
http://www.checklandkindleysides.com/

those paper things are amazing looking... think they were done via 3D? or
what? Incredibly nice...

- eric
___
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 Events, Delegates and passing parameters

2007-08-30 Thread elibol
You can also use the Loader.name property to identify the image you're
loading.

To get a nicely encapsulated solution, you might want to consider
instantiating a new Loader object for each image. I would use weak
references (addEventListener("event", method, false, 0, true)). This way,
when the calling function is complete, there will be no references to the
Loader once the load method dispatches an event, and it will be marked for
garbage collection.

On 8/27/07, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
>
> Of course!
>
> I can't believe it was that simple. I guess I wasn't used subclassing
> native
> classes so much.
>
> Thanks a lot Muzak. Troy, thanks for your reply too, I think what Muzak
> said
> was what I was looking for.
>
> Best regards,
> Dimitrios
>
>
>
> - Original Message -
> From: "Muzak" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, August 25, 2007 1:56 AM
> Subject: Re: [Flashcoders] AS3 Events, Delegates and passing parameters
>
>
> > Create a custom class, extending Loader, that has an .id property.
> >
> > regards,
> > Muzak
> >
> > - Original Message -
> > From: "Dimitrios Bendilas" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Friday, August 24, 2007 9:42 PM
> > Subject: [Flashcoders] AS3 Events, Delegates and passing parameters
> >
> >
> >> Hello everyone,
> >>
> >> I am just starting working with AS3 after many years working with AS1
> and
> >> AS2.
> >>
> >> I am trying to rebuild a Game/App development framework I had built in
> >> AS2 into AS3
> >> and I want to make sure I get it right from scratch.
> >>
> >> All these years I had been working with Delegates and specifically a
> >> custom Delegate class I had writen
> >> which allowed the user to pass extra parameters.
> >>
> >> Now for my new framework, I want to use the new extended event model of
> >> AS3, with addEventListener
> >> and subclassed Event objects. The problem is that I cannot find a
> >> solution that does not uses a Delegate object.
> >> I know that in AS3 callbacks are now executed with the proper scope, so
> >> this does not require a delegate as before,
> >> but I still haven't figured out how to pass parameters.
> >>
> >> Specifically, I cannot do this in situations like the following:
> >> Thank you,
> >>
> >> Dimitrios
> >
> >
> > ___
> > 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] Fwd: swf obfuscator

2007-08-30 Thread Andrei Thomaz
hello list,

I looked at the list archive, and it seems that this message hasn't arrived
to you. So, I am sending it again. Excuse me if you receive it twice.

andrei


-- Forwarded message --
From: Andrei Thomaz <[EMAIL PROTECTED]>
Date: Aug 27, 2007 3:41 PM
Subject: swf obfuscator
To: Flashcoders mailing list 

hello list,

I am looking at some swf obfuscators, and I have some doubts about them. I
would like to ask if you have some opinion about some of these obfuscators,
and if you can recommend one of them:

http://www.genable.com/buyaso.html  US$ 85,00
http://www.amayeta.com/software/swfencrypt/ US$ 125,00
http://www.kindisoft.com/products.aspx US$ 70,00
http://www.swfprotect.net/order.htm US$ 30,00

[]'s
andrei
___
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} simple math problem (cubic easing)

2007-08-30 Thread Roy Pardi
At 11:30 AM -0400 8/27/07, Mendelsohn, Michael wrote:
>Hi Roy...
>
>How ya been?  You could perhaps try something like this.
>
>- Michael M.

hey Michael~

Things are good; hope all is well with you! The end code for this will be
in the C-like language that the Wiring microcontroller uses but I'm
modeling it in Flash because it's faster to rough out the code (compared to
compiling + downloading it to the board each time I want to run it) so I
can't use Flash specific stuff. (though I guess the Tween class is based on
the Penner easing stuff I am using).

Rich Shupe gave me a good push and I was able to get a workable routine
together. On another list someone suggested using a bezier curve to handle
the easing - and I think that has promise since I can control the easing
rate based on distance traveled more directly.

--Roy


>import mx.transitions.Tween;
>import mx.transitions.easing.*;
>
>var YourDuration:Number = 25
>var rampUp:Object = new Tween(_root.mc, "_x", Regular.easeIn, 0,100,20,
>false);
>rampUp.onMotionFinished = function():Void{
>   var continueTo:Object = new Tween(_root.mc, "_x", None.easeNone,
>100, 300, YourDuration, false);
>   continueTo.onMotionFinished = function():Void{
>   var rampDown:Object = new Tween(_root.mc, "_x",
>Regular.easeOut, 300, 400, 20, false);
>   }
>}
>
>___
>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

-- 
-
Studio Site Updated!
http://www.roypardi.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] bitmap import and loading efficiency

2007-08-30 Thread Eduardo Barbosa
Hi list!

(made a quick search in the archive as i guess this must be a
recurrent/basic question but found nothing. hope one of you won't mind
quickly helping me)

About loading external bitmaps: If I want to compose a lettering in flash
where each letter is a bitmap what would be more efficient strategy since
there are repeating letters:

a) load the same bitmap everytime?

b) load only unique bitmaps and then duplicate them using
duplicateMovieClip?

c) something it hasn't occurred to me?

Thank you for your time!

P.S. any more detailed info on how flash manages the memory on this case
will be very welcome.

Eduardo
___
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] Using a .SWC in flash cs3

2007-08-30 Thread Matt Muller
Hi does anyone know how to use a .SWC in flash CS3? I have included it in my
classpath but flash says it cant be found when i try to instantiate a class
obj.

Thanks,

MaTT
___
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] How to get the MD5 hash value of a file

2007-08-30 Thread Paul Steven
I am creating an app that uploads files to a server and the client requires
that I send a MD5 hash value with the file so they can do a check on the
server that the file is valid.

Is there a built in function that will provide me with the MD5 value for a
file? I have seen some examples online that provide a MD5 value for a string
but I need it for a file.

Any advice much appreciated.

Thanks

Paul

___
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 CS3 an Mac - compiler errors with SVN-folders

2007-08-30 Thread mathis

Hi there,

anybody found a workaround for the following scenario? When checking out larger 
svn-projects, Flash CS3 on Mac OSX seems to get confused by the .svn-folders. 
E.g. it doesn't find classes. When removing those .svn-folders, everything 
works fine - but this isn't an option for working professionally... :)

Any help would be greatly appreciated.
Thanks,
Mathis

Btw. - is there a bugzilla for the Adobe Suite?

___
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] ExternalInterface & .Net Question

2007-08-30 Thread Steve Mathews
Hi Ben,

I am working on a project where we are doing a lot of C# <-> SWF
communication. I am not the person who implemented it, but glancing at
the code it seems that we do not use the returntype attribute. You
might give that a test.

Steve

On 8/28/07, Schmidtke, Ben <[EMAIL PROTECTED]> wrote:
> I'm working with .Net client app wrapping a swf calling functions back
> and forth on a project. Does anyone have any suggestions on how to get
> .Net passing parameters into your callback function? I've done it
> successfully with JavaScript in the browser on other projects, but we
> have run into a hang-up on this outside the browser with parameters.
>
> In the little documentation available on such a process everything I've
> tried should work but no parameters are being passed back in, arguments
> array is undefined when doing a cross check. I read a something about a
> bug where you can not do this with projects built in VS2005, although
> I'm not sure if that is true or not. Everything on the .Net side looks
> ok, same on the flash side. The callbacks work fine, but the parameters
> are mia.
>
> .Net call :
> axShockwaveFlash.CallFunction(" name=\"onImportConversionSuccess\"
> returntype=\"Void\"/>somestring_uri.png uments>");
>
> AS
>
> ExternalInterface.addCallback("onImportConversionSuccess", this,
> this.onImportConversionSuccess);
>
> function onImportConversionSuccess(uri:String):Void
> {
>trace("Conversion uri: " + uri);
>trace("arguments len : " + arguments.length);
> }
>
> A decent reference :
> http://www.codeproject.com/cs/media/flashexternalapi.asp?df=100&forumid=
> 226349&exp=0&select=1518421
>
> Any suggestions?
>
> Thanks,
>
> Ben Schmidtke
>
> ___
> 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] test

2007-08-30 Thread Thuy

Ignore me plz

--
Thuy Nguyen
Web Developer
Angus Journal
816.383.5228

___
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] Test message

2007-08-30 Thread Dave Watts
test

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] Re: How do you delete child movieclips?

2007-08-30 Thread Alexander Farber
I think I've figured it out now -
I was assigning negative depth to
some of the attached movies...

On 8/27/07, Alexander Farber <[EMAIL PROTECTED]> wrote:
> I get ghost movieclips, but can't localize why it's happenning :-(
___
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] Images get disappearing when reloading scrollpane content

2007-08-30 Thread Ritesh Jariwala
Hi All,

 

I am facing really strange  problem regarding loading images again in the
scrollpane content.

 

I have scrollpane with the few movieclips loaded.

 

I am loading images in into one of movieclip of main movieclips inside the
scroll content dynamically.

 

I am able to load the images into movieclip that create inside the
scrollpane content firsttime.but when on again refresh scrollpane content
and creating all movieclips and loading images into one of movieclip is not
showing up.

 

Can anybody have a solution for it or noticed such kind of behaviors of
scrollpane component?

 

Thanks!

 

- Ritesh

 



Ritesh Jariwala



www.actkid.com

  Email: [EMAIL PROTECTED]

Yahoo IM: rock22k

 

___
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] Obfuscating SWFs with Amayeta SWF Encrypt

2007-08-30 Thread Bob Schmitt
Hi all,

Not sure if this would be considered off topic or not, hope not. Doesn't
have anything to do with coding, but it does have something to do with code!

I'm wondering if anyone on the list uses Amayeta's SWF Encrypt to obfuscate
code in your SWF files. Recently, I noticed that with the latest version of
ActionScript Viewer (version 5.28) you can view the code of a previously
encrypted/obfuscated file. In fact, you can view the un-obfuscated code of a
file encrypted with the latest version of SWF Encrypt (4.0.4), basically
rendering it useless. Amayeta has told me that the issue is isolated to me
alone and that if it was a problem they would have heard about it from their
thousands of users (myself not included).

Anyway, I'm wondering if there are any other Amayeta SWF Encrypt users out
there and if you can view your files in ASV 5.28 and let me know if they
appear obfuscated or not.

Also, are there other programs out there that do this sort of obfuscation or
are there other recommended methods for obfuscating code?

Thanks!
Bob

___
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: Need 2 Flash Developers with AS2/AS3

2007-08-30 Thread Martin Miller
Sorry to spray this here...

I am looking to hire 2 Flash Developers with AS2/3 experience, will relo USA
citizens or legal residents.

Email me at [EMAIL PROTECTED] or ping me on IM for more info:

AIM/YIM:  meebothis

Best !

Martin
___
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] Re: How do you delete child movieclips?

2007-08-30 Thread Alexander Farber
Here you can see my problem:
http://preferans.de/flash/Ellipse.gif

Sorry for a bit chaotic mail.

I get ghost movieclips, but can't localize why it's happenning :-(

Regards
Alex

On 8/27/07, Alexander Farber <[EMAIL PROTECTED]> wrote:
> I suspect, that the method I'm using:
>
> public function reset():Void {
> for (var key:String in this)
> if (typeof(this[key]) == 'movieclip')
> this[key].removeMovieClip();
> ntables = 0;
> }
>
> is no good because it runs through the list
> and modifies it at the same time...
>
> I'm asking because I get "ghost movieclips"
> in my MC at http://preferans.de/flash/Ellipse.swf
> and can't find the reason for that :-(
>
> I haven't found a good test case either
> (i.e. you won't see the problem in the above .swf)
___
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] How do you delete child movieclips?

2007-08-30 Thread Alexander Farber
Hello flash coders,

what is your usual method for deleting child movieclips
(which were previously attached by attachMovie)?

I suspect, that the method I'm using:

public function reset():Void {
for (var key:String in this)
if (typeof(this[key]) == 'movieclip')
this[key].removeMovieClip();
ntables = 0;
}

is no good because it runs through the list
and modifies it at the same time...

I'm asking because I get "ghost movieclips"
in my MC at http://preferans.de/flash/Ellipse.swf
and can't find the reason for that :-(

I haven't found a good test case either
(i.e. you want see the problem in the above .swf)

Regards
Alex

-- 
http://preferans.de
___
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] RESUME: Senior OO Flash Developer

2007-08-30 Thread Beau Gould
My candidate is a Senior Object-Oriented Flash Developer currently working
as a Team Lead for an online gaming software company.  He has 4+ years
experience working with ActionScript 1.0, 2.0, 3.0 and is familiar with Flex
2.0 and Apollo. 

He's asking 90-100k + relocation assistance. 

If you would like to see his resume, let me know.  It doesn't cost anything
to look. 

Thank you, 
Beau J. Gould 
 
Open Source Staffing 
www.open-source-staffing.com 
[EMAIL PROTECTED] 

___
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] Dynamically Loading Sound Files from external SWFs

2007-08-30 Thread Shawn Steward
I have a project that has one main container SWF, that loads in multiple
child SWFs to play.  If I try to have the child SWF's play a sound file
using attachSound, it will not play the sound file unless I have it in
the container SWF.  I have it in the child SWF set to export for AS in
the 1st frame, but it will not play.  Is there another way to do this?
I'm trying to keep the container SWF very small.  Thanks.

Shawn
___
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] swf obfuscator

2007-08-30 Thread Andrei Thomaz
hello list,

I am looking at some swf obfuscators, and I have some doubts about them. I
would like to ask if you have some opinion about some of these obfuscators,
and if you can recommend one of them:

http://www.genable.com/buyaso.html  US$ 85,00
http://www.amayeta.com/software/swfencrypt/ US$ 125,00
http://www.kindisoft.com/products.aspx US$ 70,00
http://www.swfprotect.net/order.htm US$ 30,00

[]'s
andrei
___
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] Animate dynamic text

2007-08-30 Thread Waseem Shahzad
Hello
I want to know that there is any way of animating a text which we load from
an external file .txt and then animate this text. Like we do with static
text which is inside the .fla.
Please help if any ideas.
Thanx
chand
___
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] DropShadowFilter rendering issue

2007-08-30 Thread Peter Hall
Try a much lower strength. Note that the default strength is 1, so try
values nearer to that.

Peter


On 8/24/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
> After I create a clip with attachMovieClip, I attempt to write a
> DropShadowFilter to it using the following code:
>
> var shadow:DropShadowFilter = new DropShadowFilter(
> 5,// distance
> 45,// angle
> 0x66,// color
> 75,// alpha
> 10,// blurX
> 10,// blurY
> 100// strength
> );
> myClip.filters = new Array(shadow);
>
> Instead of a proper bitmap drop shadow, this is producing a solid gray
> area where the shadow gradient would normally appear. Any tips? Flash 8,
> targeting Flash 8. Authoring-time drop shadows have the same settings
> and work fine. I was originally doing this with FuseFMP, but tried the
> raw AS syntax to make sure it was a Flash issue.
>
> ___
> 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] Iterator question

2007-08-30 Thread Andy Herrman
Why not use a hashtable instead of an array?  Give your elements all
unique IDs (you could even just do an incrementing integer).  A
hashtable would give you faster lookup (don't have to iterate over the
array searching for it) and you can remove hashtable entries without
messing up any kind of ordering.

  -Andy

On 8/27/07, dr.ache <[EMAIL PROTECTED]> wrote:
> hi.
> dont delete the elements from your array.
> when you call page.destroy() method generate another array in which you
> push a "true",
> whenever onElementKilled is called.Check also, if the array contains as
> much elements
> as your children array contains.
> If true, delete the whole array with childs.
>
> possible?
>
> dr.ache
>
> Jiri Heitlager | dadata.org schrieb:
> > Hello list,
> >
> > i have a page object that contains has a Array that holds
> > pageElements. This is a storage for elements with an iPageElement
> > interface.
> > The page object has an destroy() method. When page.destroy() is
> > called, it will loop trough the page.pageElements Array using an
> > iterator. Every iPageElement broadcasts an onElementKilled message
> > when is has been destroyed. When a pageElement broadcast this message,
> > the page need to continue in deleting the next element in the
> > page.pageElement Array.
> > The callback method onElementKilled in the page instance, searches for
> > the element that has been deleted and then removes it from the
> > page.pageElements Array. This is where i think a problem rises,
> > because if the page.pageElements array is updated during the process,
> > the index does not match the element to remove anymore. How can I
> > solve this potential risk?
> >
> > Another question, the array that is passes into the iterator is a
> > reference to the pageElements Array. Does this mean, that if I delete
> > an element from this array from within the iterator, the
> > page.pageElements array is modified?
> >
> > I hope my question is clear..
> >
> > thank you in advance.
> >
> > Jiri
> >
> >
> > Below a snippet:
> >
> > private function getPageElementIterator() : Void
> > {
> > return new PageElementIterator(this.pageElements)
> > }
> >
> > //initiated the deleting proces, by starting with the first element.
> > public function destroyPageElements() : Void
> > {
> > destroyElement(this.pageElements[0]);
> > }
> >
> > private function destroyElement(element:iPageElement) : Void
> > {
> > curElement.addEventListener('onElementKilled' , this)
> > curElement.destroy();
> >
> > }
> > private function onElementKilled(eventObj:Object) : Void
> > {
> > var killElement:iPageElement = eventObj.target;
> >
> > var iter:PageElementIterator = this.getPageElementIterator();
> >
> > while(iter.hasNext()){
> > var curElement:iPage = iPage (iter.next());
> >
> > if(killElement == curElement) {
> >
> > //deleted the element now clear the listener and continue
> > killElement.removeEventListener('onElementKilled' , this)
> >
> > /*
> > * POTENTIAL RISK, if a new element is added, then the
> > index, does not match the right element anymore
> > *
> > * get the current index from the deleted element by
> > checking what
> > * the currentIndex of the iterator is, and remove it
> > from this.pageElements Array
> > */
> > this.pageElements =
> > this.pageElements.splice((iter.getCurrentIndex() , 0)
> >
> > //get the next element in the iterator array
> > if(iter.hasNext()) this.destroyElement(
> > iPage(iter.next()) );
> > delete killedElement;
> > break;
> > }
> > }
> > }
> > if(this.pageElements.length == 0){
> > trace('all page elements have been removed')
> > }
> > }
> >
> > ___
> > 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 Consulti

Re: [Flashcoders] Re: [OT] Improve my design skills

2007-08-30 Thread Marcelo de Moraes Serpa
Hello Helmut,


Deseloper...

http://www.deseloper.com/
http://en.wikipedia.org/wiki
>
> /Deseloper
>
> The term was created years ago by *Jen deHaan which hasn't catch on yet (
> that's why we have this thread ;) ).*



Good to know! Like the term. I've also found "Devigner" to be used too.

Cheers!

Marcelo.

On 8/19/07, Helmut Granda <[EMAIL PROTECTED]> wrote:
>
> On 8/18/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > How would we call someone who likes both coding and graphics (design) ?
> A
> > Graphics Coder ?
>
>
> Deseloper...
>
> http://www.deseloper.com/
> http://en.wikipedia.org/wiki/Deseloper
>
> The term was created years ago by *Jen deHaan which hasn't catch on yet (
> that's why we have this thread ;) ).*
>
> I love programming but I also love graphics design - I can see art in code
> > and logic in design! I like mixing both worlds and creating amazing
> things
> > (that's why I love the flash platform, it makes it easy and obvious this
> > aspect of design and code being inter-mixed).
> >
> > On 8/17/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello folks,
> > >
> > > I'm currently mainly a coder, but I also love graphics design and
> design
> > > in general. I would love to improve my overall design awareness. Does
> > anyone
> > > have any book (or any other resource such as website, magazine,
> mailing
> > > list, whatever) to recommend ? If so, I would be grateful!
> > >
> > > Thanks,
> > >
> > > Marcelo.
> > >
> > ___
> > 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] FlashProxy on subDomain talking to SWF

2007-08-30 Thread eric e. dolecki
Some older code, trying to see what can be done (besides ExternalInterface):

1. FlashProxy (js) is on domain http://foo.com
2. SWF is on http://www.foo.com

HTML page cannot communicate with the SWF. Have tried allowDomain and policy
files to no avail. Can this not be done using the old FlashProxy across
domain/subdomain?

Would it be better to just upgrade things to use ExternalInterface?

danke,
eric
___
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 would this happen?

2007-08-30 Thread mario gonzalez
Well I'm calling getObjectsUnderPoint from the TileEngine. I could see 
if i was calling it from the parent, or the document class, because 
TileEngine would be a child of it.
However calling getObjectsUnderPoint, shouldn't return the calling 
object since that object is not a child of itself.


Anyone have any idea why this is?
___
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] AIR from Flash CS3 IDE...

2007-08-30 Thread eric e. dolecki
The ability to fire off an AIR application from a FLA quickly is very nice,
but I noticed something... nowhere are the dimensions of the thing set (that
I can see anyway).

So that means my app allowed to resize (don't like that), and because the
size isn't set, a comboBox set at the bottom edge of the app opens *down*
which means items are hidden.

I should dig some more about this, but for now its not allowing me to deploy
an AIR application that I would like to use myself.

Anyone have ideas about this?
___
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