RE: [Flashcoders] ScrollPane Pain

2006-04-06 Thread Lieven Cardoen
Try attaching an empty movieclip to the scrollPane, and then attach your
movieclip to that empty movieclip.

lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 
T +32 (0)56/361 197
// communicatie bij voorkeur op [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan
Efergan
Sent: donderdag 6 april 2006 17:59
To: Flashcoders mailing list
Subject: [Flashcoders] ScrollPane Pain

Hello All,

I've been having a nightmare with the standard ScrollPane Component  
in Flash 8, can't find anything useful online, so thought to try the  
collective brain...

What's happening:
The Content is attached to a Movieclip in the Library.
ScrollPane is not seeming to 'connect' with it's Content.  The  
ScrollPane size is 200x100, and this is shown by it's Border, but the  
content is always shown as the Default size (The default when  
dragging a ScrollPane on: 100x100).
The problem is based around the fact this is all happening inside a  
movie that has a Class attached.  Removing this Class allows the  
ScrollPane to work.

What I know:
The ScrollPane is finding it's content.  Using ScrollPane.content  
properties read out fine.
The ScrollPane + Movie work normally outside of the movieclip, or  
when I remove the Class linkage form that movieclip.

Anyone got any ideas how to make the scrollpane happy? How could a  
Class be interfering with the ScrollPane?

Thanks

Dan Efergan
[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] 10th April Sydney Developers study group

2006-04-06 Thread Chris Velevitch
Monday 10th April is the next meeting of the study group. We will be
studying parts of the Flash 8 API. Please read the articles prior to
the meeting (see http://www.flashdev.org.au/program). At the meeting,
the moderator will lead discussion and with questions about the topic.
The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm.

Details about the group, venue and program are available from
http://www.flashdev.org.au. Please note, whilst the meetings and the
use of the club are free, the club does require us to purchase
beverages and/or snacks in exchange.

Please RSVP at http://www.flashdev.org.au/rsvp.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
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] allowing slow animation

2006-04-06 Thread Grant Cox
I just gave this a go, and I see exactly the same behaviour on F7 and 
F8.  If the text is a dynamic textfield then it snaps to pixels, if it's 
static it moves smoothly.  But this is the same in F7 and F8.


I animated the textfield to move 10 pixels in 100 frames, with just a 
linear motion tween.


Regards,
Grant Cox


PR Durand wrote:


Snap to pixel ???
Thanks for your answer but I thought it was just for the flash IDE, to 
place the object... however I can't see any difference in the 
animation with or without the pixel snaping enabled.
Till there, the only difference from the same .fla is the player 
version. f7 : smooth, f8 : broken


PiR

Mike Mountain a écrit :


I think you have snap to pixels enabled:

View/snapping/snap to pixels

M

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of PR 
Durand

Sent: 04 April 2006 14:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] allowing slow animation

thanks too for your answer, Zeh,
but we've talked about this case with Ian Thomas, so I've made tests 
with all different aliasig parameters, and also with a drawn shape 
instead of text. the problem remains the same I've made a html page 
holding 2 swf, one in flash 7 and the other in flash 8 in each swf, 
the content was the same:
3 100 pixel animations on _x in 10 frames, one with a flash ide 
motion tween, one with a onEnterFrame and the last one with the 
Tween class.
all 3 methods are still smoothed in the flash 7 animation, not in 
the 8 version...


PiR





___
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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

It explains all...

Two references from adobe
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14157
and from 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=4da116d3


"Running regsvr32 on a flash*.ocx file returns the following error: 
DllRegisterServer in flash.ocx failed...
The currently registered control is locked and attempts to register an 
alternate version of the player without unlocking the registered player 
will fail."


Thanks!

:-)

John Dowdell wrote:

I'm not sure of the question, but if it's close to "What can prevent 
plugin-switchers in Microsoft's browser for Windows?", then there was 
a recent change in procedure for such utilities... source links here:

http://weblogs.macromedia.com/jd/archives/2006/03/players_v8024_v.cfm

Is this the same type of issue you're encountering...?

jd







___
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] unFocus.History.Keeper

2006-04-06 Thread elibol
Hi Kevin,

Looks good on IE 6 and FF 1.5, both on player 8.5.

I agree, it should be on osflash.

Keep up the good work big guy,

M.

On 4/6/06, Michael Stuhr <[EMAIL PROTECTED]> wrote:
>
> Kevin Newman schrieb:
> > done. ;-)
> >
> > Michael Stuhr wrote:
> >> nevermind. just write exactly THAT on that page you linked and
> >> everything should be fine. and google will find you :-)
> >>
> >> micha
> >
> >
> > ___
> > 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
> >
> well, now that i know what this does i must say:
> it works for me:
> on:
> winxp:
> FF 1.5.01   fp:8.5beta,
> IE6 fp:8.0.24
> but on:
> OSX:
> safari 2.03 fp:8.0.24
> flash's not showing up.
> it might be related to the fact i'm using this machine through vnc only.
>
>
> An d the only thing i can see right now is, that if i trigger the pulldown
> (arrow) back and
> forward button i only see the same page again and again ... but that's a
> rather little
> problem i guess.
>
> nice to hear from such a project.
>
> did you already post this to osflash.org ?
>
> micha
> ___
> 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] Flex 2 SDK Sample Files crash 8.5 Player on OSX

2006-04-06 Thread Michael Bedar
I've encountered the 'you-suck-cause-you're-on-a-mac-and-can't-really- 
use-Flex 2'  problem, but after 3? alpha/beta releases of Flex for  
windows only i'm getting used to it


Michael


On Apr 6, 2006, at 4:58 PM, bryan.rice wrote:


Hi All,

I guess the subject pretty much covers it.  I downloaded the Flex 2  
SDK (FlexSDK2_B2_03-16) and (after having to re-save the shell  
script as a unix file to get rid of window line returns) I compiled  
the sample files.  Although it took a while, it seemed to work and  
now I have a bunch of new swfs in the sample directories.


The problem is that when I try to run the sample files in the 8.5  
player it crashes the player.  Other people's Flex-created swfs  
available on the web have NOT crashed the player.  SWFs I create  
with the Flash 8 IDE do NOT seem to crash the player.


When I try to view a swf that is compiled on my machine - it  
crashes the entire browser (both Safari and Firefox).


Can anyone point me to solutions or help with this issue?  Since  
this is the only way I can learn Flex on my Mac, I would really  
like to figure out why the hell it is not working.


This whole 'you-suck-cause-you're-on-a-mac-and-can't-really-use- 
Flex 2' thing has me just about ready to throw in the towel -  
seriously.


Anyone run into this problem?

blue skies,
bryan
___
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] Flex 2 SDK Sample Files crash 8.5 Player on OSX

2006-04-06 Thread bryan.rice

Hi All,

I guess the subject pretty much covers it.  I downloaded the Flex 2  
SDK (FlexSDK2_B2_03-16) and (after having to re-save the shell script  
as a unix file to get rid of window line returns) I compiled the  
sample files.  Although it took a while, it seemed to work and now I  
have a bunch of new swfs in the sample directories.


The problem is that when I try to run the sample files in the 8.5  
player it crashes the player.  Other people's Flex-created swfs  
available on the web have NOT crashed the player.  SWFs I create with  
the Flash 8 IDE do NOT seem to crash the player.


When I try to view a swf that is compiled on my machine - it crashes  
the entire browser (both Safari and Firefox).


Can anyone point me to solutions or help with this issue?  Since this  
is the only way I can learn Flex on my Mac, I would really like to  
figure out why the hell it is not working.


This whole 'you-suck-cause-you're-on-a-mac-and-can't-really-use-Flex  
2' thing has me just about ready to throw in the towel - seriously.


Anyone run into this problem?

blue skies,
bryan
___
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] unFocus.History.Keeper

2006-04-06 Thread Kevin Newman

Michael Stuhr wrote:

well, now that i know what this does i must say:
it works for me:
on:
winxp:
FF 1.5.01fp:8.5beta,
IE6   fp:8.0.24
but on:
OSX:
safari 2.03fp:8.0.24
flash's not showing up.
it might be related to the fact i'm using this machine through vnc only.


An d the only thing i can see right now is, that if i trigger the 
pulldown (arrow) back and forward button i only see the same page 
again and again ... but that's a rather little problem i guess.


nice to hear from such a project.

did you already post this to osflash.org ?
It should work in Safari 1.1+ (even the history thanks to Sooty from the 
forums on my site). I'll check it later if I get a chance - it's 
possible that I broke the code that outputs the html last week.


It should also work in IE 5.5+, (and even on 5.0 on Windows, but there 
is a mysterious problem that crops up every so often, that is keeping it 
from working atm).


I have not posted it to osflash.org yet, but I plan to at some point.

BTW, the pulldown menu on the back button would display the last title 
of each history state. The current app doesn't update the title, I 
figure that's up to the actual app implementor to do manually (I'll see 
if I can add it at some point to this test app).


Thanks,

Kevin N.



___
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] IE Flash plugin bug

2006-04-06 Thread John Dowdell
I'm not sure of the question, but if it's close to "What can prevent 
plugin-switchers in Microsoft's browser for Windows?", then there was a 
recent change in procedure for such utilities... source links here:

http://weblogs.macromedia.com/jd/archives/2006/03/players_v8024_v.cfm

Is this the same type of issue you're encountering...?

jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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] unFocus.History.Keeper

2006-04-06 Thread Michael Stuhr

Kevin Newman schrieb:

done. ;-)

Michael Stuhr wrote:
nevermind. just write exactly THAT on that page you linked and 
everything should be fine. and google will find you :-)


micha 



___
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


well, now that i know what this does i must say:
it works for me:
on:
winxp:
FF 1.5.01   fp:8.5beta,
IE6 fp:8.0.24
but on:
OSX:
safari 2.03 fp:8.0.24
flash's not showing up.
it might be related to the fact i'm using this machine through vnc only.


An d the only thing i can see right now is, that if i trigger the pulldown (arrow) back and 
forward button i only see the same page again and again ... but that's a rather little 
problem i guess.


nice to hear from such a project.

did you already post this to osflash.org ?

micha
___
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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault
After 3 installations (via adobe's site) and renaming of the ocx file 
inside the system32/macromed/flash folder... everything is back to 
normal... Even the activeX installation inside the Flash installation 
Folder was not working (unable to register ocx blabla...).


A+

Éric Thibault wrote:


I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the 
FlashpluginSwitcher... but now my IE still play Flash movies but when 
I try to detect the presence and version of that plugin, it return 0, 
as no plugin was installed thus the UFO integration kit just tells me 
to install or upgrade my plogin I have 8.0.24 installed (right 
click on a Flash movie...)


Can someone point me in the right direction... I still need that &*?% 
IE browser!


Thanks a million.

Éric
___
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] static variable in class to keep an array of members

2006-04-06 Thread Manuel Saint-Victor
Is there any reason not to create a static array in a class that is inited
when the first instance is created and then keeps an array of all of the
class members?  I am currently using a helper class to manage that but was
looking for a convenient way to serialize the stack of members after  some
had been removed .  I figured that I could have a static saveAllInstances()
method that would run through the array and tell each one to save itself.
Any best practice on this?

Mani
___
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] Can You Extend a Swc Component?

2006-04-06 Thread Lanny McNie
A SWC is only a zipped up component.  Once you put it in your movie, it
becomes a compiled clip, or component.  From my tests, you CAN extend a
component, as long as the component you are extending is in your library.
Additionally, it looks like any assets inside the component can also be
used. I didn't try extending a class that the component itself extended (for
example extending UIComponent, instead of Button)

The example I used was a simple component I created a while ago which I knew
the classes would not be available for (eg: not the V2 components, which has
class files in the classes folder) -- I created an empty movieclip, and
attached a class which extended the component's class.  I added a trace in
the constructor (and called super()), and added some timeline code calling
methods in the super class.  It worked fine.

If you would like an example I can send it to you.  Just email me off list.

On 4/6/06, Shaw, Matt (MTVN) <[EMAIL PROTECTED]> wrote:
>
> Not one comment? I know someone else has tried this also.
>
> Mike Chambers, what's the official word?
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Shaw,
> Matt (MTVN)
> Sent: Wednesday, April 05, 2006 10:48 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Can You Extend a Swc Component?
>
> I'm trying to use a component's intrinsic class as a super class.
>
> I have a component installed. I unzipped the .swc files and "stole" the
> intrinsic classes so I could get proper code checking in Eclipse. This
> works fine. Then I attempted to extend one of the intrinsic classes.
> Flash compiles with no complaints but an instance of my subclass doesn't
> actually seem to inherit anything from the super class. If I delete the
> intrinsic classes, Flash will compile, with no complaints, and then
> inheritance works! It seems that the "compiled" aso intrinsic class
> satisfies the compiler. If I then delete my aso cache, then the Flash
> compiler complains it can't find the super class.
>
> I tried all sorts of weird things in-between each of these steps to make
> the compiler happy but maybe I'm not supposed to be doing this in the
> first place. And no, I'm not going to touch prototype.
>
> 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
>



--
-
Lanny McNie
___
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] SharedObject always undefined

2006-04-06 Thread Jeff Mastropietro

Lanny,

D'oh.  You're a life saver.  I sure wish Flash threw an error or 
something on that one.


Thanks,
Jeff


Lanny McNie wrote:


try "SharedObject" instead of "ShareObject" (note the 'd')


On 4/6/06, Jeff Mastropietro <[EMAIL PROTECTED]> wrote:
 


I'm trying to use a SharedObject to save and restore the state of my
flash movie.  However, everytime I try to create a SharedObject, it
returns undefined.  Does anyone have any experience using
SharedObjects?  Have any ideas what could be causing getLocal to return
undefined?

var player_so:SharedObject= ShareObject.getLocal("player", "/");
trace(player_so);

The trace prints "undefined"

I'm publishing my movie for Flash 6, and I have Optimize for Flash
Player 6 r65 enabled.  I've tried publishing in Flash 7, and I have the
same trouble.

Thanks,
Jeff
___
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

   





--
-
Lanny McNie
___
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] IE Flash plugin bug

2006-04-06 Thread Éric Thibault

I all!

I've been doing tests with detection of Flash plugin and the UFO 
integration kit.  Everything worked just fine with both IE and FireFox!


To go back to previous Flash versions, I used the FlashpluginSwitcher... 
but now my IE still play Flash movies but when I try to detect the 
presence and version of that plugin, it return 0, as no plugin was 
installed thus the UFO integration kit just tells me to install or 
upgrade my plogin I have 8.0.24 installed (right click on a Flash 
movie...)


Can someone point me in the right direction... I still need that &*?% IE 
browser!


Thanks a million.

Éric
___
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] unFocus.History.Keeper

2006-04-06 Thread Kevin Newman

done. ;-)

Michael Stuhr wrote:
nevermind. just write exactly THAT on that page you linked and 
everything should be fine. and google will find you :-)


micha 



___
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] SharedObject always undefined

2006-04-06 Thread Lanny McNie
try "SharedObject" instead of "ShareObject" (note the 'd')


On 4/6/06, Jeff Mastropietro <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use a SharedObject to save and restore the state of my
> flash movie.  However, everytime I try to create a SharedObject, it
> returns undefined.  Does anyone have any experience using
> SharedObjects?  Have any ideas what could be causing getLocal to return
> undefined?
>
> var player_so:SharedObject= ShareObject.getLocal("player", "/");
> trace(player_so);
>
> The trace prints "undefined"
>
> I'm publishing my movie for Flash 6, and I have Optimize for Flash
> Player 6 r65 enabled.  I've tried publishing in Flash 7, and I have the
> same trouble.
>
> Thanks,
> Jeff
> ___
> 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
>



--
-
Lanny McNie
___
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] SharedObject always undefined

2006-04-06 Thread Jeff Mastropietro
I'm trying to use a SharedObject to save and restore the state of my 
flash movie.  However, everytime I try to create a SharedObject, it 
returns undefined.  Does anyone have any experience using 
SharedObjects?  Have any ideas what could be causing getLocal to return 
undefined?


var player_so:SharedObject= ShareObject.getLocal("player", "/");
trace(player_so);

The trace prints "undefined"

I'm publishing my movie for Flash 6, and I have Optimize for Flash 
Player 6 r65 enabled.  I've tried publishing in Flash 7, and I have the 
same trouble.


Thanks,
Jeff
___
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] Find Nearest Color?

2006-04-06 Thread Boon Chew

^ is xor in C and Java as well.


elibol <[EMAIL PROTECTED]> wrote: This post is in spite of the discussion, I 
had adapted this function from
before, but originally I decided to not post it. I liked the problem so I
spent some time on it. I noticed Joshua that you used ^ in place of Math.pow,
while ^ maybe pow in C or maybe even Java, ^ is the xor operator in
Actionscript. So, the following code is a set of different methods to
getting the closest color with the non-pythagoras technique preceding the
pythagoras technique.

function getClosestHex(a:Number, b:Array){
var c=-1, d=b.length, e=768, f, a = [a>>>16, a>>>8&0x00FF, a&0xFF];
while(++c
Math.abs(a[0]-(b[c]>>>16))+Math.abs(a[1]-(b[c]>>>8&0x00FF))+Math.abs(a[2]-(b[c]&0xFF))
) )) f=c;
return b[f];
}

var a = 0x80807f;
var hexPalette:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF,
0x00, 0xFF00FF, 0x00];
var getA = getClosestHex(a, hexPalette);
trace(getA.toString(16));

The former would be the method for hex numbers, however using RGB arrays is
quicker, I found converting the palette values to RGB arrays beforehand
would eliminate the redundancies of extracting color values, the following
code assumes the hexPalette array in the former code is defined.

function buildRGB(palette:Array){
var a=[], i=-1, l=palette.length;
while(++i>>16, palette[i]>>>8&0x00FF,
palette[i]&0xFF];
return a;
}

function getClosestColor(color:Array, palette:Array){
var c=-1, d=palette.length, e=768, f;
while(++c
Math.abs(color[0]-palette[c][0])+Math.abs(color[1]-palette[c][1])+Math.abs(color[2]-palette[c][2]
f=c;
return palette[f];
}

var b = [128, 128, 127];
var rgbPalette:Array = buildRGB(hexPalette);
var getB = getClosestColor(b, rgbPalette);
trace(getB);

This is what the code would look like using pythagoras:

function getClosestHex(a:Number, b:Array){
var c=-1, d=b.length, e=256, f, g, h, a = [a>>>16, a>>>8&0x00FF,
a&0xFF];
while(++c
g=0, h=-1;
while(++h<3) g+= Math.abs(Math.pow(a[h]-(b[c]<<8<<(h*8)>>>24), 2));
if(e!=(e=Math.min(e, Math.sqrt(g f=c;
}
return b[f];
}

var b = 0x80807f;
var hexPalette:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF,
0x00, 0xFF00FF, 0x00];
var getB = getClosestHex(b, hexPalette);
trace(getB.toString(16));

function buildRGB(palette:Array){
var a=[], i=-1, l=palette.length;
while(++i>>16, palette[i]>>>8&0x00FF,
palette[i]&0xFF];
return a;
}

function getClosestColor(color:Array, palette:Array){
var c=-1, d=palette.length, e=256, f, w, z, x=color.length;
while(++c
w=0, z=-1;
while(++z
if(e!=(e=Math.min( e, Math.sqrt(w f=c;
}
return palette[f];
}

var a = [255, 128, 127];
var hexPalette:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF,
0x00, 0xFF00FF, 0x00];
var rgbPalette:Array = buildRGB(hexPalette);
var getA = getClosestColor(a, rgbPalette);
trace(getA);

So, like Darren mentions, you could drop pythagoras and it would still be
accurate.

M.

On 4/4/06, Ron Wheeler  wrote:
>
> Another minor optimization
>
> Initialize tempDistance to a huge number (greater than the distance from
> ff000 toff) and then simplify the if
>
> Ron
>
> Darren Cook wrote:
> > Hi,
> > A minor optimization, but you can drop the Math.sqrt(). I.e.
> >x^2 > y^2  == x > y
> >
> > for all positive values of x and y.
> >
> > Darren
> >
> >
> >
> >> That's what I actually ended up doing, and it worked out pretty good:
> >>
> >> private function getClosest (red1:Number, green1:Number,
> >> blue1:Number):Number {
> >>
> >> var totalColors:Number = __palette.length;
> >> var tempDistance:Number;
> >> var closestColor:Number;
> >>
> >> for (var i:Number = 0; i < totalColors; i++) {
> >> // first, break up the color to check
> >> var red2:Number = (__palette[i] & 0xFF) >>> 16;
> >> var green2:Number = (__palette[i] & 0x00FF00) >>> 8;
> >> var blue2:Number = __palette[i] & 0xFF;
> >>
> >> // now, get the distance from the source
> >> var tempD:Number = Math.sqrt ((Math.abs(red1 - red2) ^ 2) +
> >> (Math.abs(green1 - green2) ^ 2) + (Math.abs(blue1 - blue2) ^ 2));
> >>
> >> if ((tempD <= tempDistance) || tempDistance == undefined) {
> >> tempDistance = tempD;
> >> closestColor = __palette[i];
> >> }
> >> }
> >>
> >> return closestColor;
> >> }
> >>
> >>
> >> - Josh
> >>
> >>
> >> On Mar 16, 2006, at 7:59 PM, Ron Wheeler wrote:
> >>
> >>
> >>> If a color can be treated as a point in a 3-d cube 256 units on  each
> >>> side, you can use the formula in this reference
> >>> http://www.uwm.edu/~ericskey/TANOTES/Ageometry/node10.html
> >>> to calculate the "distance" between 2 colors.
> >>>
> >>> I have not tried this but it would seem logical that this would work
> >>>
> >>> Ron
> >>>
>

Re: [Flashcoders] unFocus.History.Keeper

2006-04-06 Thread Michael Stuhr

Kevin Newman schrieb:
It's a utility to generate a browser history, and provide support for 
Deep linking within a Javascript or Flash app primarily. This example 
mini app also uses an (less robust) alternative to Macromedia's Flash JS 
Integration kit to provide communication between Javascript and 
Actionscript.


I probably should have mentioned that. :-)


nevermind. just write exactly THAT on that page you linked and everything should be fine. 
and google will find you :-)


micha
___
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] Find Nearest Color?

2006-04-06 Thread elibol
This post is in spite of the discussion, I had adapted this function from
before, but originally I decided to not post it. I liked the problem so I
spent some time on it. I noticed Joshua that you used ^ in place of Math.pow,
while ^ maybe pow in C or maybe even Java, ^ is the xor operator in
Actionscript. So, the following code is a set of different methods to
getting the closest color with the non-pythagoras technique preceding the
pythagoras technique.

function getClosestHex(a:Number, b:Array){
var c=-1, d=b.length, e=768, f, a = [a>>>16, a>>>8&0x00FF, a&0xFF];
while(++c>>16))+Math.abs(a[1]-(b[c]>>>8&0x00FF))+Math.abs(a[2]-(b[c]&0xFF))
) )) f=c;
return b[f];
}

var a = 0x80807f;
var hexPalette:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF,
0x00, 0xFF00FF, 0x00];
var getA = getClosestHex(a, hexPalette);
trace(getA.toString(16));

The former would be the method for hex numbers, however using RGB arrays is
quicker, I found converting the palette values to RGB arrays beforehand
would eliminate the redundancies of extracting color values, the following
code assumes the hexPalette array in the former code is defined.

function buildRGB(palette:Array){
var a=[], i=-1, l=palette.length;
while(++i>>16, palette[i]>>>8&0x00FF,
palette[i]&0xFF];
return a;
}

function getClosestColor(color:Array, palette:Array){
var c=-1, d=palette.length, e=768, f;
while(++c>>16, a>>>8&0x00FF,
a&0xFF];
while(++c>>24), 2));
if(e!=(e=Math.min(e, Math.sqrt(g f=c;
}
return b[f];
}

var b = 0x80807f;
var hexPalette:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF,
0x00, 0xFF00FF, 0x00];
var getB = getClosestHex(b, hexPalette);
trace(getB.toString(16));

function buildRGB(palette:Array){
var a=[], i=-1, l=palette.length;
while(++i>>16, palette[i]>>>8&0x00FF,
palette[i]&0xFF];
return a;
}

function getClosestColor(color:Array, palette:Array){
var c=-1, d=palette.length, e=256, f, w, z, x=color.length;
while(++c wrote:
>
> Another minor optimization
>
> Initialize tempDistance to a huge number (greater than the distance from
> ff000 toff) and then simplify the if
>
> Ron
>
> Darren Cook wrote:
> > Hi,
> > A minor optimization, but you can drop the Math.sqrt(). I.e.
> >x^2 > y^2  == x > y
> >
> > for all positive values of x and y.
> >
> > Darren
> >
> >
> >
> >> That's what I actually ended up doing, and it worked out pretty good:
> >>
> >> private function getClosest (red1:Number, green1:Number,
> >> blue1:Number):Number {
> >>
> >> var totalColors:Number = __palette.length;
> >> var tempDistance:Number;
> >> var closestColor:Number;
> >>
> >> for (var i:Number = 0; i < totalColors; i++) {
> >> // first, break up the color to check
> >> var red2:Number = (__palette[i] & 0xFF) >>> 16;
> >> var green2:Number = (__palette[i] & 0x00FF00) >>> 8;
> >> var blue2:Number = __palette[i] & 0xFF;
> >>
> >> // now, get the distance from the source
> >> var tempD:Number = Math.sqrt ((Math.abs(red1 - red2) ^ 2) +
> >> (Math.abs(green1 - green2) ^ 2) + (Math.abs(blue1 - blue2) ^ 2));
> >>
> >> if ((tempD <= tempDistance) || tempDistance == undefined) {
> >> tempDistance = tempD;
> >> closestColor = __palette[i];
> >> }
> >> }
> >>
> >> return closestColor;
> >> }
> >>
> >>
> >> - Josh
> >>
> >>
> >> On Mar 16, 2006, at 7:59 PM, Ron Wheeler wrote:
> >>
> >>
> >>> If a color can be treated as a point in a 3-d cube 256 units on  each
> >>> side, you can use the formula in this reference
> >>> http://www.uwm.edu/~ericskey/TANOTES/Ageometry/node10.html
> >>> to calculate the "distance" between 2 colors.
> >>>
> >>> I have not tried this but it would seem logical that this would work
> >>>
> >>> Ron
> >>>
> >>> elibol wrote:
> >>>
> >>>
>  K, here is some better math for getRGB, performance will probably be
>  important:
> 
>  return [c>>>16, c>>8&~0xFF00, c&~0xF00];
> 
>  You can also try using the ColorTransform or Color class to get  the
> rgb
>  values, except they might be slower than getting the raw math right.
> 
>  M.
> 
>  On 3/15/06, Josh Buhler <[EMAIL PROTECTED]> wrote:
> 
> 
> > Thanks - I'll give it a shot and see how it goes.
> >
> >
> > - Josh
> >
> > On Mar 15, 2006, at 3:10 PM, elibol wrote:
> >
> >
> >
> >> I tried comparing the hex values directly, but there were
> >> inaccuracies,
> >> maybe the same ones you've been having. I think since the value  of
> a
> >> particular color precedes with a 0 even when it's below 17(0F), the
> >> preceding 0 causes a shifting in the comparison. It would, for
> >> example,
> >> cause 0x00 to seem farther to 0x123456 than 0x00FF00, where
> >> visually 

Re: [Flashcoders] Use Microsoft CRM .NET Webservice through Flash

2006-04-06 Thread Chris Hill
I use .NET services on a daily basis with flash. Flash can accept a 
dataset, but doesn't really know what to do with it so it just returns 
it to you as basic xml. I've got a DotNetDataBinder class that takes 
that info and turns it into a native flash object.


So even if it was a dataset it should work fine.

I really recommend using something like Charles to check the 
communication between flash and the server. One of the problems I've had 
is that servers like to send a 500 error when a soap fault occurs, and 
flash will never receive the soap fault and instead state something 
about a version mismatch. This and pretty much any connectivity problem 
is instantly visible using something like Charles.


http://www.xk72.com/charles/
http://ubergeek.tv/article.php?pid=92 ( note: shameless self plug )

Peace
C

Kevin Newman wrote:
I think .NET webservices usually return a WSDL if you ask for it on the 
query string:


http://www.example.com/webservice.asmx?WSDL

I have successfully used WebServices from .NET in Flash, but there are 
some things that .NET devs tend to want to put in their web services 
(like a .NET DataSet object) which afaik Flash cannot accept. As long as 
those proprietary Data Types are not being used, there should be no 
problem though, generally speaking.


Kevin N.


Ashwan Wadhwa wrote:


Has anyone tried to connect to a .NET webservice. This URI that I was
provided does return a WSDL file, so the webservice connector component
fails.  Is there any other method?
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] unFocus.History.Keeper

2006-04-06 Thread Kevin Newman
It's a utility to generate a browser history, and provide support for 
Deep linking within a Javascript or Flash app primarily. This example 
mini app also uses an (less robust) alternative to Macromedia's Flash JS 
Integration kit to provide communication between Javascript and 
Actionscript.


I probably should have mentioned that. :-)

Kevin N.



Michael Stuhr wrote:

Kevin Newman schrieb:

What do you guys think of this?

http://www.unfocus.com/projects/source/#Contact


what is it good for ?

micha
___
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] Use Microsoft CRM .NET Webservice through Flash

2006-04-06 Thread Kevin Newman
I think .NET webservices usually return a WSDL if you ask for it on the 
query string:


http://www.example.com/webservice.asmx?WSDL

I have successfully used WebServices from .NET in Flash, but there are 
some things that .NET devs tend to want to put in their web services 
(like a .NET DataSet object) which afaik Flash cannot accept. As long as 
those proprietary Data Types are not being used, there should be no 
problem though, generally speaking.


Kevin N.


Ashwan Wadhwa wrote:

Has anyone tried to connect to a .NET webservice. This URI that I was
provided does return a WSDL file, so the webservice connector component
fails.  Is there any other method?
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] Use Microsoft CRM .NET Webservice through Flash

2006-04-06 Thread Johannes Nel
i have used .net WS without  a problem

On 4/6/06, Ashwan Wadhwa <[EMAIL PROTECTED]> wrote:
>
> Has anyone tried to connect to a .NET webservice. This URI that I was
> provided does return a WSDL file, so the webservice connector component
> fails.  Is there any other method?
> 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
>



--
j:pn
http://www.lennel.org
___
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] unFocus.History.Keeper

2006-04-06 Thread Michael Stuhr

Kevin Newman schrieb:

What do you guys think of this?

http://www.unfocus.com/projects/source/#Contact


what is it good for ?

micha
___
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] Use Microsoft CRM .NET Webservice through Flash

2006-04-06 Thread Ashwan Wadhwa
Has anyone tried to connect to a .NET webservice. This URI that I was
provided does return a WSDL file, so the webservice connector component
fails.  Is there any other method?
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] unFocus.History.Keeper

2006-04-06 Thread Kevin Newman

What do you guys think of this?

http://www.unfocus.com/projects/source/#Contact

It's still WIP, but I wanted to get some feedback, and this seems like 
to place to get it.


I'll take all forms of criticism on anything - coding style, usefulness, 
etc. ;-)


Thanks,

Kevin N.

___
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] Can You Extend a Swc Component?

2006-04-06 Thread Shaw, Matt (MTVN)
Not one comment? I know someone else has tried this also.

Mike Chambers, what's the official word? 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shaw,
Matt (MTVN)
Sent: Wednesday, April 05, 2006 10:48 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Can You Extend a Swc Component?

I'm trying to use a component's intrinsic class as a super class.

I have a component installed. I unzipped the .swc files and "stole" the
intrinsic classes so I could get proper code checking in Eclipse. This
works fine. Then I attempted to extend one of the intrinsic classes.
Flash compiles with no complaints but an instance of my subclass doesn't
actually seem to inherit anything from the super class. If I delete the
intrinsic classes, Flash will compile, with no complaints, and then
inheritance works! It seems that the "compiled" aso intrinsic class
satisfies the compiler. If I then delete my aso cache, then the Flash
compiler complains it can't find the super class.

I tried all sorts of weird things in-between each of these steps to make
the compiler happy but maybe I'm not supposed to be doing this in the
first place. And no, I'm not going to touch prototype.

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


Re: [Flashcoders] ASDT 0.0.8b5

2006-04-06 Thread Chris Allen
It works fine for me on my Powerbook. Perhaps you should dump the
previous installation of ASDT before adding the newer version.  Also,
the ASDT version 0.0.8b5 now has a ActionScript Project type. I don't
remember if the older one was missing that or not.  You may need to
redo your project and make it be a ActionScript 2 type, setting the
class path etc.. before this will work properly for you.  Before you
do that though, make sure to setup the MTASC stuff and the MM classes
directory in Windows-> Preferences ->ActionSctipt 2 before creating
the project.

As a side note, ASDT doesn't work correctly on the new Intel Macs. I
was trying to setup one of the new MacBook Pros as my main machine at
my new job, but quickly decided that I was running into too many
problems to make it viable.

I hope that helps.

-Chris

On 4/5/06, Honeyghan <[EMAIL PROTECTED]> wrote:
> Has anyone else successfully updated from ASDT 0.0.7.1 to 0.0.8b5?
>
> I'm on the MAC platform. Eclipse 3.1.2.
>
> Removed the old version, updated Eclipse with the update site URL.
> Everything installs. Restart Eclipse, nada. No code folding, doesn't even
> recognize the AS files in my projects.
>
> What has your experience been?
>
>
> Stay well,
> Honeyghan
> ___
> 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] loading Flash Paper SWF into project

2006-04-06 Thread Chad Vavra
I am working on a Flash project that will be run in a program called Proscape 
and would like to use Flash Paper SWFs within for displaying PDF reprints.

The issue is that I need everything within on library for proscape, it cannot 
easily load external data because of the way it is deployed.

Has anyone ever gotten a FlashPaper SWF imported into it's own movieclip?

--chad

___
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] ScrollPane Pain

2006-04-06 Thread Lee McColl-Sylvester
I built one yesterday you could use.  They're simple controls to build

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan
Efergan
Sent: 06 April 2006 16:59
To: Flashcoders mailing list
Subject: [Flashcoders] ScrollPane Pain

Hello All,

I've been having a nightmare with the standard ScrollPane Component  
in Flash 8, can't find anything useful online, so thought to try the  
collective brain...

What's happening:
The Content is attached to a Movieclip in the Library.
ScrollPane is not seeming to 'connect' with it's Content.  The  
ScrollPane size is 200x100, and this is shown by it's Border, but the  
content is always shown as the Default size (The default when  
dragging a ScrollPane on: 100x100).
The problem is based around the fact this is all happening inside a  
movie that has a Class attached.  Removing this Class allows the  
ScrollPane to work.

What I know:
The ScrollPane is finding it's content.  Using ScrollPane.content  
properties read out fine.
The ScrollPane + Movie work normally outside of the movieclip, or  
when I remove the Class linkage form that movieclip.

Anyone got any ideas how to make the scrollpane happy? How could a  
Class be interfering with the ScrollPane?

Thanks

Dan Efergan
[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


RE: [Flashcoders] Any Montreal-based companies around?

2006-04-06 Thread Merrill, Jason
Scott - check out Isacsoft / Bigknowledge - http://www.isacsoft.com
e-mail: [EMAIL PROTECTED] they are in Montreal and were looking for
some Flash programmers back in February - don't know if they still are.
They posted on this list back then, so job info might be in the archives
as well.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Scott Hyndman
>>Sent: Thursday, April 06, 2006 11:54 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Any Montreal-based companies around?
>>
>>Hi everyone,
>>
>>I realize I run the risk of becoming very unpopular by posting this. I
>>apologize. I'm in a bit of a bind, and I thought that since I am
pretty
>>involved with the community you'd find it in your hearts to let this
>>slide. :)
>>
>>I was wondering if any Montreal-based companies were looking for
summer
>>employees. A job that I was relying on fell through, so I'm a bit
stuck.
>>Full-time, part-time or contract work are all fine.
>>
>>So now a bit about me.
>>
>>I attend the University of Toronto and am working towards a computer
>>science degree. I'm well-versed in all that is Flash. I've worked on
>>successful major projects, have built many custom components, and have
>>been working on an OSS application framework called ActionStep for the
>>past year. I'm also experienced in popular backend technologies
>>(ASP.NET, Java Servlets and JSP, PHP) as well as common RDBMSes. I
love
>>Flash and I'd love to help you work on your Flash-based projects (or
>>just about anything else).
>>
>>That's about it. If you're interested please email me off-list.
>>
>>Thanks,
>>
>>Scott Hyndman
>>___
>>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
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
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] ScrollPane Pain

2006-04-06 Thread Dan Efergan

Hello All,

I've been having a nightmare with the standard ScrollPane Component  
in Flash 8, can't find anything useful online, so thought to try the  
collective brain...


What's happening:
The Content is attached to a Movieclip in the Library.
ScrollPane is not seeming to 'connect' with it's Content.  The  
ScrollPane size is 200x100, and this is shown by it's Border, but the  
content is always shown as the Default size (The default when  
dragging a ScrollPane on: 100x100).
The problem is based around the fact this is all happening inside a  
movie that has a Class attached.  Removing this Class allows the  
ScrollPane to work.


What I know:
The ScrollPane is finding it's content.  Using ScrollPane.content  
properties read out fine.
The ScrollPane + Movie work normally outside of the movieclip, or  
when I remove the Class linkage form that movieclip.


Anyone got any ideas how to make the scrollpane happy? How could a  
Class be interfering with the ScrollPane?


Thanks

Dan Efergan
[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] Any Montreal-based companies around?

2006-04-06 Thread Scott Hyndman
Hi everyone,

I realize I run the risk of becoming very unpopular by posting this. I
apologize. I'm in a bit of a bind, and I thought that since I am pretty
involved with the community you'd find it in your hearts to let this
slide. :)

I was wondering if any Montreal-based companies were looking for summer
employees. A job that I was relying on fell through, so I'm a bit stuck.
Full-time, part-time or contract work are all fine.

So now a bit about me.

I attend the University of Toronto and am working towards a computer
science degree. I'm well-versed in all that is Flash. I've worked on
successful major projects, have built many custom components, and have
been working on an OSS application framework called ActionStep for the
past year. I'm also experienced in popular backend technologies
(ASP.NET, Java Servlets and JSP, PHP) as well as common RDBMSes. I love
Flash and I'd love to help you work on your Flash-based projects (or
just about anything else).

That's about it. If you're interested please email me off-list.

Thanks,

Scott Hyndman
___
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] Split Pane component??

2006-04-06 Thread Scott Hyndman
You can't even compile this using the Flash IDE. ActionStep only works
with MTASC (and it's a good thing, it would probably take MMC a few
minutes to compile the framework).

Unfortunately, it is incompatible with V2 or any other
MovieClip-inherited components. Maybe not impossible, but it would make
your life quite a bit tougher. ActionStep works in a very different way,
but it's far more flexible. If you're comfortable with code, you should
definitely check it out on your next project. We're still in alpha, but
very close to breaking out!

If you need more information, feel free to contact me.

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: April 5, 2006 11:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Split Pane component??

Thanks for the reply Scott - 

Actually, I work very little using the Flash IDE - just long enough to
position some of my visual controls - but the rest is 100% Class Files
external to Flash.

So, if you have something that you could throw my way that could help
out, I'd be very grateful.  I am no stranger to code - in fact, I make a
point of doing everything in code whenever possible.

Thanks again - and if you want to post back to the list, or directly to
me, I'd greatly appreciate it.

Take Care,

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Wednesday, April 05, 2006 9:45 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Split Pane component??

ActionStep has one...but it probably isn't usable from your prespective,
since you won't be able to use it from within the Flash IDE like you
would be familiar. Code only. :)

If you (or anyone else reading this thread) would like to see it in
action, here is something I'm writing that uses it. It even supports
more interesting things (like collapsing).

http://scottyh.is-a-geek.net/actionstep/ASExplorer.swf (it's big so give
it a second to load)

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: April 5, 2006 10:17 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Split Pane component??

Yes, this is the one I was talking about in my initial post.

It looks as if it's really mature, and has LOTS of great comments
regarding it.  But when you have certain animated controls within each
Pane (i.e. accordion) it flips out.

I should e-mail the person who wrote the app, but I know there is a
slight language barrier.  I was just hoping that I could track down
another control, written by another developer.

I am amazed though, that this is the ONLY control of this type floating
around.  Especially since this is such a unique and beneficial control -
usually only found inside of Flex or other advanced programming
environments (VB, Java, Delphi, etc.)

If anybody knows of another one, please let me know - 

Thanks!!

Mike 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ing.
Mario Falomir
Sent: Wednesday, April 05, 2006 7:16 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Split Pane component??

here is a good one:

http://www.joangarnet.com/blog/archives/2005/07/release_v2_fram_1.php

On 4/5/06, Mike Anderson <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I am trying like crazy, to find a Split Pane Component that works as 
> well as Flex's version.
>
> I found one (and only ONE) somewhere on the Flash Exchange, but the 
> docs are mostly in another language, and it's really buggy.  The one I

> found is actually free, and has a high rating level - but I am just 
> not having good luck with it.
>
> Thanks for all your help on this,
>
> Mike
>
> ___
> 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 yo

Re: [Flashcoders] relative path issue

2006-04-06 Thread elr

Yes, I finally see this approach:

1 - as you suggest, make child.swf detect its "running mode" (embedded or not)
2 - pass relative path to main.swf through a flashvar

I 'll have a look at System.capabilities lib.

Thx to all of you for your fast answers ;-)

Eric



At 2006-04-06   10:23, you wrote:
I think he says that when testing the child.swf 
there is no error but when loaded inside the parent SWF the error shows...


The only way I manage to come over this is to 
test inside the child.swf if it is embeded 
inside another swf... if so, I modify my path to the xml.


You can also put inside the parent SWF a 
variable telling where is the XML folder... and 
if the child.swf can read that "parent" variable than set the path accordingly.


//if you have _lockroot inside your child.swf... 
check the synthaxe before use ;-) ...


var AppendPathFolder:String = "";

if(_root._parent.PathToFolderXML != undefined)
   AppendPathFolder = _root._parent.PathToFolderXML;

MyXML.load(AppendPathFolder+ "/child.xml");

A+

Éric.

Manuel Saint-Victor wrote:


did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:



Hi all,

As many before me, I can't get rid of a "Error opening URL "file:"
message...
I set up a small swf that locally access to an xml file ( these two
files are in the same dirB)

Now using a loadMovie command,I try to load this small swf module
into a main one that is located in a parent dirA
//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate
child.xml into dirA.
Is there a clean (easy?) way to make child module recover access to its
xml ?

Thank you !

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



___
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] OT: Flash to ASP to Word or Excel ?????

2006-04-06 Thread Merrill, Jason
The .ASP to Excel or Word is not really a question for here - though
wouldn't surprise me if someone knew the answer either (I don't mean you
were wrong for asking here, but you might find better help on an .ASP
list).  As for Flash to ASP, you can do that several ways.  One of the
best ways is using Flash Remoting.  Lots of info on that on
Macromedia.com and on the web.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Gaia-Tek
>>Sent: Thursday, April 06, 2006 5:57 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] OT: Flash to ASP to Word or Excel ?
>>
>>Hi Group,
>>
>>I need some info...
>>My client wants me to create an online form in Flash, which, when
filled
>>out and submitted, is captured into a Word doc and an Excel
spreadsheet...
>>
>>They are on a windows server, so it'll have to be done in ASP.
>>
>>Anyone had any experience with this, can anyone give me any tips, or
>>pitfalls??
>>
>>Many thanks
>>
>>Don
>>
>>
>>
>>
>>___
>>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
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
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] relative path issue

2006-04-06 Thread Adrian Lynch
You can create your own variable based on:

System.capabilities.playerType

It will be "External" when in the IDE. Other values include "ActiveX",
"PlugIn" and one other which I can't remember.

So something like:

if (System.capabilities.playerType == "External") {
path = "../";
} else {
path = "../../../../../../../";
}

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of elr
Sent: 06 April 2006 15:28
To: Flashcoders mailing list
Subject: Re: [Flashcoders] relative path issue


yes, Manuel,  ./dirB/"./dirB/child.xml" works but it prevents any
relocation of files without code update. :(
Can't we imagine a kind of  environment variable returning swf's
path? A kind of ?


Eric


At 2006-04-06   10:08, you wrote:
>did you try the path "./dirB/child.xml"?
>
>
>On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi all,
> >
> > As many before me, I can't get rid of a "Error opening URL "file:"
> > message...
> > I set up a small swf that locally access to an xml file ( these two
> > files are in the same dirB)
> >
> > Now using a loadMovie command,I try to load this small swf module
> > into a main one that is located in a parent dirA
> > //dirA/main.swf
> > //dirA/dirB/child.swf
> > //dirA/dirB/child.xml
> >
> >
> > I don't want any absolute path into child.swf  neither to relocate
> > child.xml into dirA.
> > Is there a clean (easy?) way to make child module recover access to its
> > xml ?
> >
> > Thank you !
> >
> > 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
> >
>___
>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] relative path issue

2006-04-06 Thread elr
yes, Manuel,  ./dirB/"./dirB/child.xml" works but it prevents any 
relocation of files without code update. :(
Can't we imagine a kind of  environment variable returning swf's 
path? A kind of ?



Eric


At 2006-04-06   10:08, you wrote:

did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> As many before me, I can't get rid of a "Error opening URL "file:"
> message...
> I set up a small swf that locally access to an xml file ( these two
> files are in the same dirB)
>
> Now using a loadMovie command,I try to load this small swf module
> into a main one that is located in a parent dirA
> //dirA/main.swf
> //dirA/dirB/child.swf
> //dirA/dirB/child.xml
>
>
> I don't want any absolute path into child.swf  neither to relocate
> child.xml into dirA.
> Is there a clean (easy?) way to make child module recover access to its
> xml ?
>
> Thank you !
>
> 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
>
___
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] relative path issue

2006-04-06 Thread Éric Thibault

OUPS...

Change this line : MyXML.load(AppendPathFolder+ "/child.xml");

to this : MyXML.load(AppendPathFolder+ "child.xml");

and put the "/" inside the parent's PathToFolderXML variable!

Éric Thibault wrote:

I think he says that when testing the child.swf there is no error but 
when loaded inside the parent SWF the error shows...


The only way I manage to come over this is to test inside the 
child.swf if it is embeded inside another swf... if so, I modify my 
path to the xml.


You can also put inside the parent SWF a variable telling where is the 
XML folder... and if the child.swf can read that "parent" variable 
than set the path accordingly.


//if you have _lockroot inside your child.swf... check the synthaxe 
before use ;-) ...


var AppendPathFolder:String = "";

if(_root._parent.PathToFolderXML != undefined)
   AppendPathFolder = _root._parent.PathToFolderXML;

MyXML.load(AppendPathFolder+ "/child.xml");

A+

Éric.

Manuel Saint-Victor wrote:


did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
 


Hi all,

As many before me, I can't get rid of a "Error opening URL "file:"
message...
I set up a small swf that locally access to an xml file ( these two
files are in the same dirB)

Now using a loadMovie command,I try to load this small swf module
into a main one that is located in a parent dirA
//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate
child.xml into dirA.
Is there a clean (easy?) way to make child module recover access to its
xml ?

Thank you !

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

  


___
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] relative path issue

2006-04-06 Thread Éric Thibault
I think he says that when testing the child.swf there is no error but 
when loaded inside the parent SWF the error shows...


The only way I manage to come over this is to test inside the child.swf 
if it is embeded inside another swf... if so, I modify my path to the xml.


You can also put inside the parent SWF a variable telling where is the 
XML folder... and if the child.swf can read that "parent" variable than 
set the path accordingly.


//if you have _lockroot inside your child.swf... check the synthaxe 
before use ;-) ...


var AppendPathFolder:String = "";

if(_root._parent.PathToFolderXML != undefined)
   AppendPathFolder = _root._parent.PathToFolderXML;

MyXML.load(AppendPathFolder+ "/child.xml");

A+

Éric.

Manuel Saint-Victor wrote:


did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
 


Hi all,

As many before me, I can't get rid of a "Error opening URL "file:"
message...
I set up a small swf that locally access to an xml file ( these two
files are in the same dirB)

Now using a loadMovie command,I try to load this small swf module
into a main one that is located in a parent dirA
//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate
child.xml into dirA.
Is there a clean (easy?) way to make child module recover access to its
xml ?

Thank you !

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

   


___
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] Saving a DataSet to LSO

2006-04-06 Thread Manuel Saint-Victor
does saving a DataSet component to LSO save everything about it- so
therefore if I have a Class called Project that I plan to store in a
SharedObject is it acceptable to store a Dataset component as one of its
attributes?

Thanks,

Mani
___
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] relative path issue

2006-04-06 Thread Manuel Saint-Victor
did you try the path "./dirB/child.xml"?


On 4/6/06, elr <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> As many before me, I can't get rid of a "Error opening URL "file:"
> message...
> I set up a small swf that locally access to an xml file ( these two
> files are in the same dirB)
>
> Now using a loadMovie command,I try to load this small swf module
> into a main one that is located in a parent dirA
> //dirA/main.swf
> //dirA/dirB/child.swf
> //dirA/dirB/child.xml
>
>
> I don't want any absolute path into child.swf  neither to relocate
> child.xml into dirA.
> Is there a clean (easy?) way to make child module recover access to its
> xml ?
>
> Thank you !
>
> 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
>
___
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] relative path issue

2006-04-06 Thread elr


Hi all,

As many before me, I can't get rid of a "Error opening URL "file:" message...
I set up a small swf that locally access to an xml file ( these two 
files are in the same dirB)


Now using a loadMovie command,I try to load this small swf module 
into a main one that is located in a parent dirA

//dirA/main.swf
//dirA/dirB/child.swf
//dirA/dirB/child.xml


I don't want any absolute path into child.swf  neither to relocate 
child.xml into dirA.

Is there a clean (easy?) way to make child module recover access to its xml ?

Thank you !

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] "There is no method with the name 'Math'."

2006-04-06 Thread Mike Mountain
It's an odd one, I commented out, saved, uncommented and saved and it
worked - ten minutes later it happened again - whilst working in another
class that imports this one. Same solution fixed it - I suspect clearing
the ASO files would've done too.

Still doesn't really explain it.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Yotam Laufer
> Sent: 06 April 2006 13:26
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] "There is no method with the name 'Math'."
> 
> clear the .aso files?
> 
> On 06/04/06, Weldon MacDonald <[EMAIL PROTECTED]> wrote:
> >
> > it works for me. the only thing I can think of is it's not 
> finding the 
> > class. Does syntax coloring recognise it? Did you modify class path?
> >
> > On 4/6/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
> > > Why on earth would the compiler be telling me
> > >
> > > "There is no method with the name 'Math'."
> > > iNumber = Math.floor(iNumber/2);
> > >
> > > ?
> > >
> > > M
___
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] Rich Text Editor, visibl image in textFormat mode

2006-04-06 Thread Martin Weiser

Hello,

i'm building text editor, and rushed into big problem, if i want to insert 
image, it is not possible unless text is in html mode?
all other stuff, font, colors, url, size is visible, because of editing thru 
textFormat, but img tag has no equivalent, has it ?


thanks much in advance

MartinW 


___
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] "There is no method with the name 'Math'."

2006-04-06 Thread Yotam Laufer
clear the .aso files?

On 06/04/06, Weldon MacDonald <[EMAIL PROTECTED]> wrote:
>
> it works for me. the only thing I can think of is it's not finding the
> class. Does syntax coloring recognise it? Did you modify class path?
>
> On 4/6/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
> > Why on earth would the compiler be telling me
> >
> > "There is no method with the name 'Math'."
> > iNumber = Math.floor(iNumber/2);
> >
> > ?
> >
> > M
> >
> > ___
> > 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
> >
>
>
> --
> Weldon Mac Donald
> ___
> 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
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
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] "There is no method with the name 'Math'."

2006-04-06 Thread Weldon MacDonald
it works for me. the only thing I can think of is it's not finding the
class. Does syntax coloring recognise it? Did you modify class path?

On 4/6/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
> Why on earth would the compiler be telling me
>
> "There is no method with the name 'Math'."
> iNumber = Math.floor(iNumber/2);
>
> ?
>
> M
>
> ___
> 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
>


--
Weldon Mac Donald
___
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] recording arbitrary SWF playback to bitmap sequence/avi

2006-04-06 Thread Сергей Тулаев
Hello,

Has anyone found a solution to this problem?

Not only I need to record a swf with all the script actions, but it has to be 
scripted/done from command line, and all I can find are gui based tools and 
that’s a no-no.

 

- Serge

___
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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
Because that's the one I clicked on! :OD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 13:34
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


ok.
just wondering how Grant Skinner is related to that?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 12:23
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  When I clicked on the row in the datagrid, the next thing to load with the
  extended info was extended off screen to the right rather than being a
fixed
  width. It works now though.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 13:00
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  "The Grant Skinner, Stolen Code one was extending off to the
  right by quite a way" ?
  what do you mean?=

  ___
  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] MXNA posts feeder - Flex application

2006-04-06 Thread matti bar zeev
ok.
just wondering how Grant Skinner is related to that?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 12:23
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  When I clicked on the row in the datagrid, the next thing to load with the
  extended info was extended off screen to the right rather than being a
fixed
  width. It works now though.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 13:00
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  "The Grant Skinner, Stolen Code one was extending off to the
  right by quite a way" ?
  what do you mean?=

  ___
  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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
When I clicked on the row in the datagrid, the next thing to load with the
extended info was extended off screen to the right rather than being a fixed
width. It works now though.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 13:00
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


"The Grant Skinner, Stolen Code one was extending off to the
right by quite a way" ?
what do you mean?=

___
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] "There is no method with the name 'Math'."

2006-04-06 Thread Mike Mountain
Why on earth would the compiler be telling me 

"There is no method with the name 'Math'."
iNumber = Math.floor(iNumber/2);

?

M

___
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] Hi! Problems with Amfphp Authenticate class !

2006-04-06 Thread Pau Ramon
Hi! i'm new here and i have my first problem.

I'm testing the roles in one method :


*methodTable = array(
"hola" => array(
"description" => "Prova",
"access" => "remote",
"roles" => "admin",
   )
  );*
*function _authenticate($user,  $pass) {
  $pass=md5($pass);
  if(!$conn_id = connect()){
   return false;
  }
 $query = "SELECT `permisos` FROM `usuaris` WHERE `name` LIKE
'".$user."' AND `pass` LIKE '".$pass."';";
 $result = mysql_query ($query);
 if ($data = mysql_fetch_assoc($result)) {
  return $data['permisos'];
 } else {
  return false;
 }
 }*
*function hola(){
  return "hola";
 }
 }*
**

But when i test it in flash the netdebugger shows this fatal error:
*Error enquestes: Fatal error: Undefined class name 'authenticate' in
/home/virtual/site224/fst/var/www/html/yup/flashservices/amf-core/app/Actions.php
on line 260*
...
What happens? how can i solve this problem?
The class Authenticate.php exists and the Actions.php seems to be correct...

Sorry for my english, i'm spanish!
Thnk's !
___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Dan Efergan
I've found that Attach and Removing Movieclips runs slower than  
hiding things off stage.  But the hassle is only worth it when  
working on performance critical work, such as games.


Also, _visible=false still referencing the object more so when on- 
screen than off.


There's a load of information in the mammoth forum post:
http://www.flashkit.com/board/showthread.php?t=434875

On 6 Apr 2006, at 09:20, Kalle Thyselius, Inlovewith wrote:


but probably attachMovie and removeMovieClip is the best way to go at
this problem, in order to get the best performance?


Dan Efergan
[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] MXNA posts feeder - Flex application

2006-04-06 Thread matti bar zeev
"The Grant Skinner, Stolen Code one was extending off to the
right by quite a way" ?
what do you mean?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 11:57
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  It's ok now. The Grant Skinner, Stolen Code one was extending off to the
  right by quite a way. Now it's ok :O)

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 12:51
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  >From what I know - it extends down. nothing is extending across...
  or maybe I didn't get what you meant?
-Original Message-
From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
  mailing list
Sent: Thursday, April 06, 2006 11:47
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


And... when you drill down to the details of the post, the panel it very
wide. Could it extend down rather than across?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 10:47
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's
really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is "more..."  it is opened in same
window.
  I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
  >
  > Hey List,
  > Just wanted to get feedbacks on a small application I did using the
  last
  > version of Flex Builder 2.0
  > It's a posts feeder, using MXNA WebSevices, and will keep user
updated
  > only
  > on new posts arrival.
  > You will need the last version of the player (beta 2)
  > you can see it here: http://www.flashoo.co.il/matti/webServices.swf
  > thnx for your time.
  >
  > Flashmattic
  >
  >
  > ___
  > 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

___
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] rss feed

2006-04-06 Thread MetaArt
I have dev a full Flash website, and I need to add the chance to access to
RSS for users.
So, what I need is a 'clean' way to give (quickly) the feed rss URL within
Flash movie.
Any suggest?

 Enrico Tomaselli
  +> web designer <+
  [EMAIL PROTECTED]
http://www.metatad.it

___
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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
It's ok now. The Grant Skinner, Stolen Code one was extending off to the
right by quite a way. Now it's ok :O)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 12:51
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


>From what I know - it extends down. nothing is extending across...
or maybe I didn't get what you meant?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 11:47
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  And... when you drill down to the details of the post, the panel it very
  wide. Could it extend down rather than across?

  Adrian

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 10:47
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  Yep... working on that as well on some other features.
  thnx :)
-Original Message-
From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
  mailing list
Sent: Thursday, April 06, 2006 09:44
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
Importance: Low


Hey,

it looks nice, i was starting play with Flex2 yesterday, and it's really
great.
I want make such application as you did :) hehe, im late

it's nice, till now i got one comment:
when i read article and there is "more..."  it is opened in same window.
I
preffer new window, because then i have to start our app again
and it takes same time to load feed list

Best regards,
Franto

On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
>
> Hey List,
> Just wanted to get feedbacks on a small application I did using the
last
> version of Flex Builder 2.0
> It's a posts feeder, using MXNA WebSevices, and will keep user updated
> only
> on new posts arrival.
> You will need the last version of the player (beta 2)
> you can see it here: http://www.flashoo.co.il/matti/webServices.swf
> thnx for your time.
>
> Flashmattic
>
>
> ___
> 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] MXNA posts feeder - Flex application

2006-04-06 Thread matti bar zeev
>From what I know - it extends down. nothing is extending across...
or maybe I didn't get what you meant?
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 11:47
  To: flashcoders@chattyfig.figleaf.com
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  And... when you drill down to the details of the post, the panel it very
  wide. Could it extend down rather than across?

  Adrian

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of matti bar
  zeev
  Sent: 06 April 2006 10:47
  To: 'Flashcoders mailing list'
  Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


  Yep... working on that as well on some other features.
  thnx :)
-Original Message-
From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
  mailing list
Sent: Thursday, April 06, 2006 09:44
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
Importance: Low


Hey,

it looks nice, i was starting play with Flex2 yesterday, and it's really
great.
I want make such application as you did :) hehe, im late

it's nice, till now i got one comment:
when i read article and there is "more..."  it is opened in same window.
I
preffer new window, because then i have to start our app again
and it takes same time to load feed list

Best regards,
Franto

On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
>
> Hey List,
> Just wanted to get feedbacks on a small application I did using the
last
> version of Flex Builder 2.0
> It's a posts feeder, using MXNA WebSevices, and will keep user updated
> only
> on new posts arrival.
> You will need the last version of the player (beta 2)
> you can see it here: http://www.flashoo.co.il/matti/webServices.swf
> thnx for your time.
>
> Flashmattic
>
>
> ___
> 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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
Now it's not working for me. It hangs and then I get a button with no label
and a tooltip with no tip. Not sure what's wrong, it worked the first time.

After clearing my cache it now works. :O)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 10:47
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is "more..."  it is opened in same window. I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
  >
  > Hey List,
  > Just wanted to get feedbacks on a small application I did using the last
  > version of Flex Builder 2.0
  > It's a posts feeder, using MXNA WebSevices, and will keep user updated
  > only
  > on new posts arrival.
  > You will need the last version of the player (beta 2)
  > you can see it here: http://www.flashoo.co.il/matti/webServices.swf
  > thnx for your time.
  >
  > Flashmattic
  >
  >
  > ___
  > 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
  >



  --
  --

---
  Franto

  http://blog.franto.com
  http://www.flashcoders.sk
  ___
  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] MXNA posts feeder - Flex application

2006-04-06 Thread Adrian Lynch
And... when you drill down to the details of the post, the panel it very
wide. Could it extend down rather than across?

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of matti bar
zeev
Sent: 06 April 2006 10:47
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] MXNA posts feeder - Flex application


Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is "more..."  it is opened in same window. I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
  >
  > Hey List,
  > Just wanted to get feedbacks on a small application I did using the last
  > version of Flex Builder 2.0
  > It's a posts feeder, using MXNA WebSevices, and will keep user updated
  > only
  > on new posts arrival.
  > You will need the last version of the player (beta 2)
  > you can see it here: http://www.flashoo.co.il/matti/webServices.swf
  > thnx for your time.
  >
  > Flashmattic
  >
  >
  > ___
  > 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] (no subject)

2006-04-06 Thread dobrisa

___
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: Flash to ASP to Word or Excel ?????

2006-04-06 Thread Gaia-Tek

Hi Group,

I need some info...
My client wants me to create an online form in Flash, which, when filled 
out and submitted, is captured into a Word doc and an Excel spreadsheet...


They are on a windows server, so it'll have to be done in ASP.

Anyone had any experience with this, can anyone give me any tips, or 
pitfalls??


Many thanks

Don




___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Kalle Thyselius, Inlovewith
yeah sure, but performance wise, how much slower could _visible = false be?

"if on frame where the MovieClip is not present, nothing of its property is
accessible"

yes, but does that mean that everything else can get more attantion
from cpu, graphics etc?

thanks,

kalle


On 4/6/06, Martin Weiser <[EMAIL PROTECTED]> wrote:
> when only setting _visible to flase., all other belongings are accessible,
> all properties methods if it is forinstance subClass of MovieClip
> if on frame where the MovieClip is not present, nothing of its property is
> accessible
> so big difference, visualy almost none, though
>
> MW
>
>
> - Original Message -
> From: "Kalle Thyselius, Inlovewith" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Thursday, April 06, 2006 10:20 AM
> Subject: Re: [Flashcoders] What's different between _alpha=0 and _visible
> =flase;
>
>
> >i have a related question
> >
> > what is the difference between
> > - setting _visible = false on a clip
> > and
> > - structuring the flash movie so i go to a frame where that same
> > movieclip is removed.
> >
> >
> > see what i mean? i always have a pretty massice _root.content_mc with,
> > say,  intro_mc, section1_mc, section2_mc inside it.
> >
> > i always set _visible = false on all the clips i'm not currently
> > using, but it's sometimes tempting to have multiple frames in
> > _root.content_mc, one frame for intro_mc, one for section1_mc etc. to
> > save cpu.
> >
> > does anyone know the difference between _visible = false and going to
> > a frame that hasn't got the clip.
> >
> >
> > ps. i have noticed how
> > intro_mc._y = - 2000
> > together with
> > intro_mc._visible = false
> >
> > often gives better performance when showing for instance section1_mc.
> >
> > but probably attachMovie and removeMovieClip is the best way to go at
> > this problem, in order to get the best performance?
> >
> > thanks,
> >
> > kalle
> >
> >
> >
> > On 4/6/06, Ian Thomas <[EMAIL PROTECTED]> wrote:
> >> The other major difference is easily shown:
> >> Place a movieClip on stage.
> >> Give it an onRelease handler:
> >> clip.onRelease=function(){trace("Release!");}
> >>
> >> Test your movie - click on it, and Release! is traced.
> >>
> >> Set clip._alpha to 0
> >>
> >> Test the movie - click on where the clip should be, and Release! is
> >> traced.
> >>
> >> Set clip._visible=false
> >> Test the movie - click on where the clip should be, and nothing
> >> happens. The clip has effectively been removed from the drawing
> >> heirarchy completely.
> >>
> >> Cheers,
> >>   Ian
> >>
> >>
> >> On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:
> >> > I kown that one different between _alpha=0 and _visible =flase.
> >> >
> >> > when we load a picture or swf ,like this:
> >> >
> >> > this.createEmptyMovieClip("container_mc",0);
> >> > container_mc.loadMovie("test.jpg");
> >> > container_mc._alpha =0 ;
> >> > you can see nothing in the scene.because of ._alpha
> >> > =0;
> >> > but if you
> >> > container_mc_visible=false ;
> >> > you can see the test.jpg on the scene._visible =
> >> > false
> >> > do nothing.
> >> >
> >> > i want to kown ,what the other different between them.
> >> >
> >> ___
> >> 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
> >>
> >
> >
> > --
> > inlovewith.com
> > inlovewith ltd.
> > kalle thyselius
> > linnégatan 76, stockholm, sweden
> > + 46 707 602 600
> > inlovewith you
> > ___
> > 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
>


--
inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith you
___
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] MXNA posts feeder - Flex application

2006-04-06 Thread matti bar zeev
Yep... working on that as well on some other features.
thnx :)
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Flashcoders
mailing list
  Sent: Thursday, April 06, 2006 09:44
  To: flashcoders@chattyfig.figleaf.com
  Subject: Re: [Flashcoders] MXNA posts feeder - Flex application
  Importance: Low


  Hey,

  it looks nice, i was starting play with Flex2 yesterday, and it's really
  great.
  I want make such application as you did :) hehe, im late

  it's nice, till now i got one comment:
  when i read article and there is "more..."  it is opened in same window. I
  preffer new window, because then i have to start our app again
  and it takes same time to load feed list

  Best regards,
  Franto

  On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
  >
  > Hey List,
  > Just wanted to get feedbacks on a small application I did using the last
  > version of Flex Builder 2.0
  > It's a posts feeder, using MXNA WebSevices, and will keep user updated
  > only
  > on new posts arrival.
  > You will need the last version of the player (beta 2)
  > you can see it here: http://www.flashoo.co.il/matti/webServices.swf
  > thnx for your time.
  >
  > Flashmattic
  >
  >
  > ___
  > 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
  >



  --
  --

---
  Franto

  http://blog.franto.com
  http://www.flashcoders.sk
  ___
  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] Crossing of two lines

2006-04-06 Thread Lieven Cardoen
Got it right now!

public static function cross(point1a:Point, point1b:Point,
point2a:Point, point2b:Point):Boolean{
var deltaXi:Number;
var deltaYi:Number;
var i2:Number;
var deltaXi2:Number;
var deltaYi2:Number;
var determ:Number;
var snijpunt:Boolean = false;
var lambda:Number;
var mu:Number;

deltaXi = point1a.x - point1b.x;  //blauwxi - roodxi
deltaYi = point1a.y - point1b.y;  //blauwyi - roodyi

//while(!snijpunt){
deltaXi2 = point2a.x - point2b.x;  //blauwxi2 - roodxi2
deltaYi2 = point2a.y - point2b.y;  //blauwyi2 - roodyi2

determ = deltaXi * deltaYi2 - deltaYi * deltaXi2;
trace("determ : " + determ);
if(determ != 0){
mu = ((point2b.x - point1b.x) * deltaYi
-(point2b.y - point1b.y) * deltaXi) / determ;
lambda = ((point2b.x - point1b.x) * deltaYi2
-(point2b.y - point1b.y) * deltaXi2) / determ;
trace("mu : " + mu);
trace("lambda : " + lambda);
if ((mu >= 0) && (mu <= 1) && (lambda >= 0) &&
(lambda <= 1)){
return true;
}
}   
//}

return false;
}

lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 
T +32 (0)56/361 197
// communicatie bij voorkeur op [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: donderdag 6 april 2006 10:38
To: Flashcoders mailing list
Subject: [Flashcoders] Crossing of two lines

Does anybody have a piece of code to check whether two Lines cross with
each other.

 

At the moment I have this, but it doesn't seem to work : 

 

public static function cross(point1a:Point, point1b:Point,
point2a:Point, point2b:Point):Boolean{

var deltaXi:Number;

var deltaYi:Number;

var i2:Number;

var deltaXi2:Number;

var deltaYi2:Number;

var determ:Number;

var snijpunt:Boolean = false;

var lambda:Number;

var mu:Number;



deltaXi = point2a.x - point1a.x;

deltaYi = point2a.y - point1a.y;



//while(!snijpunt){

deltaXi2 = point2b.x - point2a.x;

deltaYi2 = point2b.y - point2b.y;



determ = deltaXi * deltaYi2 - deltaYi *
deltaXi2;

trace("determ : " + determ);

if(determ != 0){

   mu = ((point1b.x - point1a.x) *
deltaYi -(point1b.y - point1a.y) * deltaXi) / determ;

   lambda = ((point1b.x - point1a.x) *
deltaYi2 -(point1b.y - point1a.y) * deltaXi2) / determ;

   trace("mu : " + mu);

   trace("lambda : " + lambda);

   if ((mu >= 0) && (mu <= 1) && (lambda
>= 0) && (lambda <= 1)){

   return true;

   }

}   

//}



return false;

}

 

lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 
T +32 (0)56/361 197
// communicatie bij voorkeur op [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


Re: [Flashcoders] MXNA posts feeder - Flex application

2006-04-06 Thread franto
Hey,

it looks nice, i was starting play with Flex2 yesterday, and it's really
great.
I want make such application as you did :) hehe, im late

it's nice, till now i got one comment:
when i read article and there is "more..."  it is opened in same window. I
preffer new window, because then i have to start our app again
and it takes same time to load feed list

Best regards,
Franto

On 4/6/06, matti bar zeev <[EMAIL PROTECTED]> wrote:
>
> Hey List,
> Just wanted to get feedbacks on a small application I did using the last
> version of Flex Builder 2.0
> It's a posts feeder, using MXNA WebSevices, and will keep user updated
> only
> on new posts arrival.
> You will need the last version of the player (beta 2)
> you can see it here: http://www.flashoo.co.il/matti/webServices.swf
> thnx for your time.
>
> Flashmattic
>
>
> ___
> 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
>



--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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] Crossing of two lines

2006-04-06 Thread Lieven Cardoen
Does anybody have a piece of code to check whether two Lines cross with
each other.

 

At the moment I have this, but it doesn't seem to work : 

 

public static function cross(point1a:Point, point1b:Point,
point2a:Point, point2b:Point):Boolean{

var deltaXi:Number;

var deltaYi:Number;

var i2:Number;

var deltaXi2:Number;

var deltaYi2:Number;

var determ:Number;

var snijpunt:Boolean = false;

var lambda:Number;

var mu:Number;



deltaXi = point2a.x - point1a.x;

deltaYi = point2a.y - point1a.y;



//while(!snijpunt){

deltaXi2 = point2b.x - point2a.x;

deltaYi2 = point2b.y - point2b.y;



determ = deltaXi * deltaYi2 - deltaYi *
deltaXi2;

trace("determ : " + determ);

if(determ != 0){

   mu = ((point1b.x - point1a.x) *
deltaYi -(point1b.y - point1a.y) * deltaXi) / determ;

   lambda = ((point1b.x - point1a.x) *
deltaYi2 -(point1b.y - point1a.y) * deltaXi2) / determ;

   trace("mu : " + mu);

   trace("lambda : " + lambda);

   if ((mu >= 0) && (mu <= 1) && (lambda
>= 0) && (lambda <= 1)){

   return true;

   }

}   

//}



return false;

}

 

lieven cardoen

indiegroup
interactive digital experience
engelse wandeling 2 k18 
b8500 kortrijk 
T +32 (0)56/361 197
// communicatie bij voorkeur op [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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Martin Weiser
when only setting _visible to flase., all other belongings are accessible, 
all properties methods if it is forinstance subClass of MovieClip
if on frame where the MovieClip is not present, nothing of its property is 
accessible

so big difference, visualy almost none, though

MW


- Original Message - 
From: "Kalle Thyselius, Inlovewith" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Thursday, April 06, 2006 10:20 AM
Subject: Re: [Flashcoders] What's different between _alpha=0 and _visible 
=flase;




i have a related question

what is the difference between
- setting _visible = false on a clip
and
- structuring the flash movie so i go to a frame where that same
movieclip is removed.


see what i mean? i always have a pretty massice _root.content_mc with,
say,  intro_mc, section1_mc, section2_mc inside it.

i always set _visible = false on all the clips i'm not currently
using, but it's sometimes tempting to have multiple frames in
_root.content_mc, one frame for intro_mc, one for section1_mc etc. to
save cpu.

does anyone know the difference between _visible = false and going to
a frame that hasn't got the clip.


ps. i have noticed how
intro_mc._y = - 2000
together with
intro_mc._visible = false

often gives better performance when showing for instance section1_mc.

but probably attachMovie and removeMovieClip is the best way to go at
this problem, in order to get the best performance?

thanks,

kalle



On 4/6/06, Ian Thomas <[EMAIL PROTECTED]> wrote:

The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace("Release!");}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is 
traced.


Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
  Ian


On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:
> I kown that one different between _alpha=0 and _visible =flase.
>
> when we load a picture or swf ,like this:
>
> this.createEmptyMovieClip("container_mc",0);
> container_mc.loadMovie("test.jpg");
> container_mc._alpha =0 ;
> you can see nothing in the scene.because of ._alpha 
> =0;

> but if you
> container_mc_visible=false ;
> you can see the test.jpg on the scene._visible = 
> false

> do nothing.
>
> i want to kown ,what the other different between them.
>
___
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




--
inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith you
___
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] allowing slow animation

2006-04-06 Thread PR Durand

Snap to pixel ???
Thanks for your answer but I thought it was just for the flash IDE, to 
place the object... however I can't see any difference in the animation 
with or without the pixel snaping enabled.
Till there, the only difference from the same .fla is the player 
version. f7 : smooth, f8 : broken


PiR

Mike Mountain a écrit :

I think you have snap to pixels enabled:

View/snapping/snap to pixels

M

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of PR Durand

Sent: 04 April 2006 14:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] allowing slow animation

thanks too for your answer, Zeh,
but we've talked about this case with Ian Thomas, so I've 
made tests with all different aliasig parameters, and also 
with a drawn shape instead of text. the problem remains the 
same I've made a html page holding 2 swf, one in flash 7 and 
the other in flash 8 in each swf, the content was the same:
3 100 pixel animations on _x in 10 frames, one with a flash 
ide motion tween, one with a onEnterFrame and the last one 
with the Tween class.
all 3 methods are still smoothed in the flash 7 animation, 
not in the 8 version...


PiR




___
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] MXNA posts feeder - Flex application

2006-04-06 Thread matti bar zeev
Hey List,
Just wanted to get feedbacks on a small application I did using the last
version of Flex Builder 2.0
It's a posts feeder, using MXNA WebSevices, and will keep user updated only
on new posts arrival.
You will need the last version of the player (beta 2)
you can see it here: http://www.flashoo.co.il/matti/webServices.swf
thnx for your time.

Flashmattic


___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Kalle Thyselius, Inlovewith
i have a related question

what is the difference between
- setting _visible = false on a clip
and
- structuring the flash movie so i go to a frame where that same
movieclip is removed.


see what i mean? i always have a pretty massice _root.content_mc with,
say,  intro_mc, section1_mc, section2_mc inside it.

i always set _visible = false on all the clips i'm not currently
using, but it's sometimes tempting to have multiple frames in
_root.content_mc, one frame for intro_mc, one for section1_mc etc. to
save cpu.

does anyone know the difference between _visible = false and going to
a frame that hasn't got the clip.


ps. i have noticed how
intro_mc._y = - 2000
together with
intro_mc._visible = false

often gives better performance when showing for instance section1_mc.

but probably attachMovie and removeMovieClip is the best way to go at
this problem, in order to get the best performance?

thanks,

kalle



On 4/6/06, Ian Thomas <[EMAIL PROTECTED]> wrote:
> The other major difference is easily shown:
> Place a movieClip on stage.
> Give it an onRelease handler:
> clip.onRelease=function(){trace("Release!");}
>
> Test your movie - click on it, and Release! is traced.
>
> Set clip._alpha to 0
>
> Test the movie - click on where the clip should be, and Release! is traced.
>
> Set clip._visible=false
> Test the movie - click on where the clip should be, and nothing
> happens. The clip has effectively been removed from the drawing
> heirarchy completely.
>
> Cheers,
>   Ian
>
>
> On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:
> > I kown that one different between _alpha=0 and _visible =flase.
> >
> > when we load a picture or swf ,like this:
> >
> > this.createEmptyMovieClip("container_mc",0);
> > container_mc.loadMovie("test.jpg");
> > container_mc._alpha =0 ;
> > you can see nothing in the scene.because of ._alpha =0;
> > but if you
> > container_mc_visible=false ;
> > you can see the test.jpg on the scene._visible = false
> > do nothing.
> >
> > i want to kown ,what the other different between them.
> >
> ___
> 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
>


--
inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith you
___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Martin Weiser

same with, hitTest

MW
- Original Message - 
From: "Ian Thomas" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Thursday, April 06, 2006 9:10 AM
Subject: Re: [Flashcoders] What's different between _alpha=0 and _visible 
=flase;




The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace("Release!");}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is 
traced.


Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
 Ian


On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:

I kown that one different between _alpha=0 and _visible =flase.

when we load a picture or swf ,like this:

this.createEmptyMovieClip("container_mc",0);
container_mc.loadMovie("test.jpg");
container_mc._alpha =0 ;
you can see nothing in the scene.because of ._alpha 
=0;

but if you
container_mc_visible=false ;
you can see the test.jpg on the scene._visible = 
false

do nothing.

i want to kown ,what the other different between them.


___
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] Flex Apps versus Flash Projector apps

2006-04-06 Thread Sönke Rohde
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of JesterXL
> Sent: Wednesday, April 05, 2006 7:05 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Flex Apps versus Flash Projector apps

> The only reason Flex 2 isn't realistic for creating desktop 
> applications 
> currently is:
> - it's in beta
> - mProjector, SWFStudio, Zinc, and Screenweaver haven't made 
> a wrapper for 
> Flash Player 8.5 yet
> 
What about wrapping the Flash Player 8.5 ActiveX within .NET building a
custom wrapper and using External Interface to call from Flex to .NET and
vice versa.
I haven't tried it with FP8.5 but this works with FP8 and there should be no
difference.
Anyone already tried it?

Cheers,
Sönke

___
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] What's different between _alpha=0 and _visible =flase;

2006-04-06 Thread Ian Thomas
The other major difference is easily shown:
Place a movieClip on stage.
Give it an onRelease handler:
clip.onRelease=function(){trace("Release!");}

Test your movie - click on it, and Release! is traced.

Set clip._alpha to 0

Test the movie - click on where the clip should be, and Release! is traced.

Set clip._visible=false
Test the movie - click on where the clip should be, and nothing
happens. The clip has effectively been removed from the drawing
heirarchy completely.

Cheers,
  Ian


On 4/6/06, zikey Han <[EMAIL PROTECTED]> wrote:
> I kown that one different between _alpha=0 and _visible =flase.
>
> when we load a picture or swf ,like this:
>
> this.createEmptyMovieClip("container_mc",0);
> container_mc.loadMovie("test.jpg");
> container_mc._alpha =0 ;
> you can see nothing in the scene.because of ._alpha =0;
> but if you
> container_mc_visible=false ;
> you can see the test.jpg on the scene._visible = false
> do nothing.
>
> i want to kown ,what the other different between them.
>
___
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