Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Jason Van Cleave
My God. I can even commit my deploy folder with Subversive. This has been
killing me for months.



On Sat, Mar 15, 2008 at 6:23 PM, Muzak <[EMAIL PROTECTED]> wrote:

> It allows you to setup projects (workspaces) and administer them easily.
> Assembla uses Trac ;-)
> So whatever comes with Trac, you get with Assembla and you can
> enable/disble features on a project basis.
>
> You can grant other developers access to your projects (again per
> project), which makes it easy to collaborate.
> Access can be set to: none, view, edit.. per user
> And much more..
>
> regards,
> Muzak
>
> - Original Message -
> From: "Hans Wichman" <[EMAIL PROTECTED]>
> To: "Flash Coders List" 
> Sent: Saturday, March 15, 2008 9:46 PM
> Subject: Re: [Flashcoders] Source Control [WAS] to mac or not to mac
>
>
> > Hi Muzak,
> >
> > i thought trac already offered a wiki, svn, emailnotifications and more,
> > could you spare some details on what assembla offers over trac?
> >
> > greetz
> > JC
> >
> > On Sat, Mar 15, 2008 at 8:56 PM, Muzak <[EMAIL PROTECTED]> wrote:
> >
> >> And on a similar note, I use Assembla as an online repository:
> >> http://www.assembla.com/
> >>
> >> It's free (there's a paying version with some extra's)
> >> Setting up a projects is a breeze.
> >> Includes TRAC, Wiki, SVN, email notificiations, and more..
> >>
> >> Whenever I work on a project with other freelancers (who, like me, work
> >> from home) this is invaluable.
> >>
> >> regards,
> >> Muzak
> >>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-15 Thread Jason Van Cleave
Thanks Muzak for looking. However that isn't working for me. I don't get
anything after  trace(data.namespace(""));

On Sat, Mar 15, 2008 at 5:38 AM, Muzak <[EMAIL PROTECTED]> wrote:

> Set the namespace of the loaded xml as default:
>
> function loaderCompleteHandler(evt:Event):void {
>  var data:XML = new XML(evt.currentTarget.data);
>  trace(data.toXMLString());
>  trace(data.namespace(""));
>  default xml namespace = data.namespace("");
>  trace(data.photos.item);
> }
>
>
> - Original Message -
> From: "Jason Van Cleave" <[EMAIL PROTECTED]>
> To: "Flash Coders List" 
> Sent: Saturday, March 15, 2008 5:24 AM
> Subject: [Flashcoders] AS3 XML Namespaces Hell
>
>
> >I have an app that is was pulling some XML like this
> >
> > 
> > 
> >

Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Muzak

It allows you to setup projects (workspaces) and administer them easily.
Assembla uses Trac ;-)
So whatever comes with Trac, you get with Assembla and you can enable/disble 
features on a project basis.

You can grant other developers access to your projects (again per project), 
which makes it easy to collaborate.
Access can be set to: none, view, edit.. per user
And much more..

regards,
Muzak

- Original Message - 
From: "Hans Wichman" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Saturday, March 15, 2008 9:46 PM
Subject: Re: [Flashcoders] Source Control [WAS] to mac or not to mac



Hi Muzak,

i thought trac already offered a wiki, svn, emailnotifications and more,
could you spare some details on what assembla offers over trac?

greetz
JC

On Sat, Mar 15, 2008 at 8:56 PM, Muzak <[EMAIL PROTECTED]> wrote:


And on a similar note, I use Assembla as an online repository:
http://www.assembla.com/

It's free (there's a paying version with some extra's)
Setting up a projects is a breeze.
Includes TRAC, Wiki, SVN, email notificiations, and more..

Whenever I work on a project with other freelancers (who, like me, work
from home) this is invaluable.

regards,
Muzak



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


Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto
...or listen to the "scroll" event and move the Sprite according to the 
scrollPosition.


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:
i want to have the scrollbar as a separate element on the page and not 
along the entire bottom of the scrolling area - i don't think you can do 
this with the scroll pane



On 15 Mar 2008, at 20:35, Kenneth Kawamoto wrote:

I'd use ScrollPane for this scenario - actually I've never encountered 
a situation ScrollBar on its own is required...!


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:

hi all
i'm trying to implement a scrollbar using the built-in 
fl.controls.ScrollBar class but i'm not having much luck
i can get the scrollbar to react to a sprite but there's no built in 
method that will let the sprite react to the scrollbar (i've tried 
scrollTarget and scrollTargetName but they are both undefined in 
ScrollBar)

here is my scrollbar method so far
CODE
package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;
import flash.display.Shape;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.controls.UIScrollBar;
public class TimelineApp extends Sprite
{
// class variable declarations
private var base:Sprite;
private var timelineArea:TimelineArea;
private var cp:CommonProperties;
private var taPanelY:uint;
private var taPanelHeight:uint
   // constructor
public function TimelineApp()
{
setVars();
setFullscreen();
addBaseSprite();
initialiseBackgroundElements();
initialiseMainTimeline();
initialiseEventNavigation();
initialiseTimelineScrollBar();
}
   private function setVars()
{
base = new Sprite()
cp= new CommonProperties();
taPanelY= cp.taTitleBarY;
taPanelHeight= cp.taTitleBarHeight + cp.taPanelHeight;
}
   private function addBaseSprite():void
{
addChild(base);
}
   private function setFullscreen():void
{
trace ("Fullscreen");
stage.displayState= StageDisplayState.FULL_SCREEN;
stage.scaleMode= StageScaleMode.NO_SCALE;
}
   private function initialiseBackgroundElements():void
{
trace ("Background elements initialised");
var backgroundElements:BackgroundElements = new 
BackgroundElements();

base.addChild(backgroundElements);
}
   private function initialiseMainTimeline():void
{
trace ("Main Timeline initialised");
timelineArea = new TimelineArea();
base.addChild(timelineArea);
   // mask
var taMask:Shape = new Shape();
taMask.graphics.beginFill(0xFF);
taMask.graphics.drawRect(0, taPanelY, 800, taPanelHeight);
base.addChild(taMask);
timelineArea.mask = taMask;
}
   private function initialiseEventNavigation():void
{
trace ("Event navigation initialised");
}
   private function initialiseTimelineScrollBar():void
{
trace ("Timeline scrollbar initialised");
var scrollBar:ScrollBar= new ScrollBar();
scrollBar.direction= ScrollBarDirection.HORIZONTAL;
scrollBar.x= 10;
scrollBar.y= 550;
scrollBar.setSize(280, 40);
scrollBar.maxScrollPosition = timelineArea.width;
scrollBar.minScrollPosition = 0;
scrollBar.pageScrollSize = 800;
scrollBar.pageSize = 800;
trace("timelineArea.width is "+timelineArea.width);
addChild(scrollBar);
}
}
}
/CODE
timelineArea and backgroundElements extend Sprite
Do i need to extend the scrollbar class to accept a file or has adobe 
written the class to do it automatically?
if i need to extend it anyway, are there any better skinnable 
scrollbars out there that i can use

hope you can help
a

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


Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto

Then I'd create my own - should not be too complicated ;)

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:
i want to have the scrollbar as a separate element on the page and not 
along the entire bottom of the scrolling area - i don't think you can do 
this with the scroll pane



On 15 Mar 2008, at 20:35, Kenneth Kawamoto wrote:

I'd use ScrollPane for this scenario - actually I've never encountered 
a situation ScrollBar on its own is required...!


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:

hi all
i'm trying to implement a scrollbar using the built-in 
fl.controls.ScrollBar class but i'm not having much luck
i can get the scrollbar to react to a sprite but there's no built in 
method that will let the sprite react to the scrollbar (i've tried 
scrollTarget and scrollTargetName but they are both undefined in 
ScrollBar)

here is my scrollbar method so far
CODE
package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;
import flash.display.Shape;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.controls.UIScrollBar;
public class TimelineApp extends Sprite
{
// class variable declarations
private var base:Sprite;
private var timelineArea:TimelineArea;
private var cp:CommonProperties;
private var taPanelY:uint;
private var taPanelHeight:uint
   // constructor
public function TimelineApp()
{
setVars();
setFullscreen();
addBaseSprite();
initialiseBackgroundElements();
initialiseMainTimeline();
initialiseEventNavigation();
initialiseTimelineScrollBar();
}
   private function setVars()
{
base = new Sprite()
cp= new CommonProperties();
taPanelY= cp.taTitleBarY;
taPanelHeight= cp.taTitleBarHeight + cp.taPanelHeight;
}
   private function addBaseSprite():void
{
addChild(base);
}
   private function setFullscreen():void
{
trace ("Fullscreen");
stage.displayState= StageDisplayState.FULL_SCREEN;
stage.scaleMode= StageScaleMode.NO_SCALE;
}
   private function initialiseBackgroundElements():void
{
trace ("Background elements initialised");
var backgroundElements:BackgroundElements = new 
BackgroundElements();

base.addChild(backgroundElements);
}
   private function initialiseMainTimeline():void
{
trace ("Main Timeline initialised");
timelineArea = new TimelineArea();
base.addChild(timelineArea);
   // mask
var taMask:Shape = new Shape();
taMask.graphics.beginFill(0xFF);
taMask.graphics.drawRect(0, taPanelY, 800, taPanelHeight);
base.addChild(taMask);
timelineArea.mask = taMask;
}
   private function initialiseEventNavigation():void
{
trace ("Event navigation initialised");
}
   private function initialiseTimelineScrollBar():void
{
trace ("Timeline scrollbar initialised");
var scrollBar:ScrollBar= new ScrollBar();
scrollBar.direction= ScrollBarDirection.HORIZONTAL;
scrollBar.x= 10;
scrollBar.y= 550;
scrollBar.setSize(280, 40);
scrollBar.maxScrollPosition = timelineArea.width;
scrollBar.minScrollPosition = 0;
scrollBar.pageScrollSize = 800;
scrollBar.pageSize = 800;
trace("timelineArea.width is "+timelineArea.width);
addChild(scrollBar);
}
}
}
/CODE
timelineArea and backgroundElements extend Sprite
Do i need to extend the scrollbar class to accept a file or has adobe 
written the class to do it automatically?
if i need to extend it anyway, are there any better skinnable 
scrollbars out there that i can use

hope you can help
a



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


Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Allandt Bik-Elliott (Receptacle)
i want to have the scrollbar as a separate element on the page and  
not along the entire bottom of the scrolling area - i don't think you  
can do this with the scroll pane



On 15 Mar 2008, at 20:35, Kenneth Kawamoto wrote:

I'd use ScrollPane for this scenario - actually I've never  
encountered a situation ScrollBar on its own is required...!


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:

hi all
i'm trying to implement a scrollbar using the built-in  
fl.controls.ScrollBar class but i'm not having much luck
i can get the scrollbar to react to a sprite but there's no built  
in method that will let the sprite react to the scrollbar (i've  
tried scrollTarget and scrollTargetName but they are both  
undefined in ScrollBar)

here is my scrollbar method so far
CODE
package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;
import flash.display.Shape;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.controls.UIScrollBar;
public class TimelineApp extends Sprite
{
// class variable declarations
private var base:Sprite;
private var timelineArea:TimelineArea;
private var cp:CommonProperties;
private var taPanelY:uint;
private var taPanelHeight:uint
   // constructor
public function TimelineApp()
{
setVars();
setFullscreen();
addBaseSprite();
initialiseBackgroundElements();
initialiseMainTimeline();
initialiseEventNavigation();
initialiseTimelineScrollBar();
}
   private function setVars()
{
base = new Sprite()
cp= new CommonProperties();
taPanelY= cp.taTitleBarY;
taPanelHeight= cp.taTitleBarHeight +  
cp.taPanelHeight;

}
   private function addBaseSprite():void
{
addChild(base);
}
   private function setFullscreen():void
{
trace ("Fullscreen");
stage.displayState= StageDisplayState.FULL_SCREEN;
stage.scaleMode= StageScaleMode.NO_SCALE;
}
   private function initialiseBackgroundElements():void
{
trace ("Background elements initialised");
var backgroundElements:BackgroundElements = new  
BackgroundElements();

base.addChild(backgroundElements);
}
   private function initialiseMainTimeline():void
{
trace ("Main Timeline initialised");
timelineArea = new TimelineArea();
base.addChild(timelineArea);
   // mask
var taMask:Shape = new Shape();
taMask.graphics.beginFill(0xFF);
taMask.graphics.drawRect(0, taPanelY, 800,  
taPanelHeight);

base.addChild(taMask);
timelineArea.mask = taMask;
}
   private function initialiseEventNavigation():void
{
trace ("Event navigation initialised");
}
   private function initialiseTimelineScrollBar():void
{
trace ("Timeline scrollbar initialised");
var scrollBar:ScrollBar= new ScrollBar();
scrollBar.direction=  
ScrollBarDirection.HORIZONTAL;

scrollBar.x= 10;
scrollBar.y= 550;
scrollBar.setSize(280, 40);
scrollBar.maxScrollPosition = timelineArea.width;
scrollBar.minScrollPosition = 0;
scrollBar.pageScrollSize = 800;
scrollBar.pageSize = 800;
trace("timelineArea.width is "+timelineArea.width);
addChild(scrollBar);
}
}
}
/CODE
timelineArea and backgroundElements extend Sprite
Do i need to extend the scrollbar class to accept a file or has  
adobe written the class to do it automatically?
if i need to extend it anyway, are there any better skinnable  
scrollbars out there that i can use

hope you can help
a

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




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


Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Hans Wichman
Hi Muzak,

i thought trac already offered a wiki, svn, emailnotifications and more,
could you spare some details on what assembla offers over trac?

greetz
JC

On Sat, Mar 15, 2008 at 8:56 PM, Muzak <[EMAIL PROTECTED]> wrote:

> And on a similar note, I use Assembla as an online repository:
> http://www.assembla.com/
>
> It's free (there's a paying version with some extra's)
> Setting up a projects is a breeze.
> Includes TRAC, Wiki, SVN, email notificiations, and more..
>
> Whenever I work on a project with other freelancers (who, like me, work
> from home) this is invaluable.
>
> regards,
> Muzak
>
> - Original Message -
> From: "Jon Bradley" <[EMAIL PROTECTED]>
> To: "Flash Coders List" 
>  Sent: Saturday, March 15, 2008 8:22 PM
> Subject: Re: [Flashcoders] Source Control [WAS] to mac or not to mac
>
>
> >
> > On Mar 15, 2008, at 6:36 AM, Muzak wrote:
> >
> >> There's a new(er) plugin, called subversive that might be worth
> >> looking into.
> >> I haven't tried it yet, but heard good things about it:
> >> http://www.polarion.org/index.php?page=overview&project=subversive
> >> http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-
> >> cid-611.html
> >
> > That's what I use, while running subversion on OS X and a remote
> > linux machine.
> >
> >> Before I used Eclipse as my primary IDE, I used TortoiseSVN, but
> >> having it all in one IDE makes life easier.
> >
> > SVNx on OS X is pretty good. Eclipse does it fairly well too with the
> > subversive pack, but I still like the GUI tool.
> >
> > Of course, you can't beat the command line (I almost always have it
> > open). Just cd'ing to my source directory and running svn on any
> > google code or sourceforge project is priceless, and way faster than
> > opening an application and filling in all the required params to
> > check out a trunk.
> >
> > I just have to get better at actually using the source control for
> > small projects where I'm pretty much the main person working.
> >
> > :)
> >
> > - jon
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Arabic and other character sets text entry

2008-03-15 Thread Piers Cowburn

Hi Karina,

Yeah I was going to try posting on Flash Tiger but it doesn't seem my  
join request has been authorised yet. Thanks very much for the reply,  
that looks really interesting! I'll have a play around with it.


Thanks again,
Piers
[EMAIL PROTECTED]



On 14 Mar 2008, at 19:10, Karina Steffens wrote:


Hey there, I just saw this thread :)

I do tend to hang on Flash Tiger more these days (Hi Kerry!), but I  
was

skimming through some threads here and this has caught my eye.

The Hebrew project has been a total headache, but in the end I  
found one

solution out there that was very helpful as a starting point. It's
programmed for Hebrew, but you can add your own characters, so it  
should
work with Arabic. You can find it here: http://www.electroinn.com/ 
blog/


Basically what it does, it breaks down the text field into a bunch  
of text
fields, and populates them word by word. So it handles a  
combination of RTL

and LTR quite well.
Don't forget that the text field should be using device fonts (non- 
embedded)
and you must have RTL fonts (Arabic in your case) support enabled  
in the

Control Panel for the text to flow in the right direction in the first
place.

The Class is not 100% and you may need to customise it a bit, but  
it's the

best solution I've seen so far.

Hope this helps,
Karina




-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Piers Cowburn
Sent: 13 March 2008 13:42
To: Flash Coders List
Subject: Re: [Flashcoders] Arabic and other character sets text entry

Good point, yes the email will probably be ltr. I'll try posting on
Flash_Tiger in the hope that she's around, thanks very much :)

Piers
[EMAIL PROTECTED]

On 13 Mar 2008, at 13:20, Piers Cowburn wrote:




Begin forwarded message:


From: "Kerry Thompson" <[EMAIL PROTECTED]>
Date: 12 March 2008 17:51:41 GMT
To: "'Flash Coders List'" 
Subject: RE: [Flashcoders] Arabic and other character sets text

entry

Reply-To: Flash Coders List 

Piers Cowburn wrote:



I found one idea online which I thought
might be a shot, see it here:

http://broadcast.artificialcolors.com/

index.php?title=flash_rtl_via_a_simple_hack_non_rhetoric

The only free-text fields I would need are name and email address,
the rest of the options are combo boxes which I could do in arabic
simply by having the letters in there as a graphic.

Do you think I might be able to use something like the idea above
for
a simple name and email address? As I don't think there should be
and
bi-di in there, just rtl.


I'm not sure, but you might be able to get the combo box to
display an
Arabic font. It's worth a try, and make for a lighter download
than using
graphics.

But--won't the e-mail address be ltr? I'm not sure, but I think
most e-mail
servers only handle ltr.

I have an Israeli friend in Dublin who is a Flash genius, and is
currently
working on a Hebrew-language project. She's quite helpful, and
knows a lot
more about bi-di issues than I do

I don't think she's on this list, though--she's on Flash_Tiger.
You might
try posting over there. She might even still be working--I think
it's only
about 7:00 in Dublin. Do it now, though, because St. Patrick's day
is this
weekend ^_^

Cordially,

Kerry Thompson


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




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

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1327 - Release Date:
12/03/2008 13:27



No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1328 - Release Date:  
13/03/2008

11:31


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


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


Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Kenneth Kawamoto
I'd use ScrollPane for this scenario - actually I've never encountered a 
situation ScrollBar on its own is required...!


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Allandt Bik-Elliott (Receptacle) wrote:

hi all

i'm trying to implement a scrollbar using the built-in 
fl.controls.ScrollBar class but i'm not having much luck


i can get the scrollbar to react to a sprite but there's no built in 
method that will let the sprite react to the scrollbar (i've tried 
scrollTarget and scrollTargetName but they are both undefined in ScrollBar)


here is my scrollbar method so far

CODE
package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;
import flash.display.Shape;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.controls.UIScrollBar;

public class TimelineApp extends Sprite

{
// class variable declarations
private var base:Sprite;
private var timelineArea:TimelineArea;
private var cp:CommonProperties;
private var taPanelY:uint;
private var taPanelHeight:uint
   
// constructor

public function TimelineApp()
{
setVars();
setFullscreen();
addBaseSprite();
initialiseBackgroundElements();
initialiseMainTimeline();
initialiseEventNavigation();
initialiseTimelineScrollBar();
}
   
private function setVars()

{
base = new Sprite()
cp= new CommonProperties();
taPanelY= cp.taTitleBarY;
taPanelHeight= cp.taTitleBarHeight + cp.taPanelHeight;

}
   
private function addBaseSprite():void

{
addChild(base);
}
   
private function setFullscreen():void

{
trace ("Fullscreen");
stage.displayState= StageDisplayState.FULL_SCREEN;
stage.scaleMode= StageScaleMode.NO_SCALE;
}
   
private function initialiseBackgroundElements():void

{
trace ("Background elements initialised");
var backgroundElements:BackgroundElements = new 
BackgroundElements();

base.addChild(backgroundElements);
}
   
private function initialiseMainTimeline():void

{
trace ("Main Timeline initialised");
timelineArea = new TimelineArea();
base.addChild(timelineArea);
   
// mask

var taMask:Shape = new Shape();
taMask.graphics.beginFill(0xFF);
taMask.graphics.drawRect(0, taPanelY, 800, taPanelHeight);
base.addChild(taMask);
timelineArea.mask = taMask;
}
   
private function initialiseEventNavigation():void

{
trace ("Event navigation initialised");
}
   
private function initialiseTimelineScrollBar():void

{
trace ("Timeline scrollbar initialised");
var scrollBar:ScrollBar= new ScrollBar();
scrollBar.direction= ScrollBarDirection.HORIZONTAL;
scrollBar.x= 10;
scrollBar.y= 550;
scrollBar.setSize(280, 40);
scrollBar.maxScrollPosition = timelineArea.width;
scrollBar.minScrollPosition = 0;
scrollBar.pageScrollSize = 800;
scrollBar.pageSize = 800;
trace("timelineArea.width is "+timelineArea.width);
addChild(scrollBar);
}
}
}
/CODE

timelineArea and backgroundElements extend Sprite

Do i need to extend the scrollbar class to accept a file or has adobe 
written the class to do it automatically?


if i need to extend it anyway, are there any better skinnable scrollbars 
out there that i can use


hope you can help
a


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


Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Muzak

And on a similar note, I use Assembla as an online repository:
http://www.assembla.com/

It's free (there's a paying version with some extra's)
Setting up a projects is a breeze.
Includes TRAC, Wiki, SVN, email notificiations, and more..

Whenever I work on a project with other freelancers (who, like me, work from 
home) this is invaluable.

regards,
Muzak

- Original Message - 
From: "Jon Bradley" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Saturday, March 15, 2008 8:22 PM
Subject: Re: [Flashcoders] Source Control [WAS] to mac or not to mac




On Mar 15, 2008, at 6:36 AM, Muzak wrote:

There's a new(er) plugin, called subversive that might be worth  
looking into.

I haven't tried it yet, but heard good things about it:
http://www.polarion.org/index.php?page=overview&project=subversive
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink- 
cid-611.html


That's what I use, while running subversion on OS X and a remote  
linux machine.


Before I used Eclipse as my primary IDE, I used TortoiseSVN, but  
having it all in one IDE makes life easier.


SVNx on OS X is pretty good. Eclipse does it fairly well too with the  
subversive pack, but I still like the GUI tool.


Of course, you can't beat the command line (I almost always have it  
open). Just cd'ing to my source directory and running svn on any  
google code or sourceforge project is priceless, and way faster than  
opening an application and filling in all the required params to  
check out a trunk.


I just have to get better at actually using the source control for  
small projects where I'm pretty much the main person working.


:)

- jon


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


Re: [Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Jon Bradley


On Mar 15, 2008, at 6:36 AM, Muzak wrote:

There's a new(er) plugin, called subversive that might be worth  
looking into.

I haven't tried it yet, but heard good things about it:
http://www.polarion.org/index.php?page=overview&project=subversive
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink- 
cid-611.html


That's what I use, while running subversion on OS X and a remote  
linux machine.


Before I used Eclipse as my primary IDE, I used TortoiseSVN, but  
having it all in one IDE makes life easier.


SVNx on OS X is pretty good. Eclipse does it fairly well too with the  
subversive pack, but I still like the GUI tool.


Of course, you can't beat the command line (I almost always have it  
open). Just cd'ing to my source directory and running svn on any  
google code or sourceforge project is priceless, and way faster than  
opening an application and filling in all the required params to  
check out a trunk.


I just have to get better at actually using the source control for  
small projects where I'm pretty much the main person working.


:)

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


[Flashcoders] ScrollBar Class issues

2008-03-15 Thread Allandt Bik-Elliott (Receptacle)

hi all

i'm trying to implement a scrollbar using the built-in  
fl.controls.ScrollBar class but i'm not having much luck


i can get the scrollbar to react to a sprite but there's no built in  
method that will let the sprite react to the scrollbar (i've tried  
scrollTarget and scrollTargetName but they are both undefined in  
ScrollBar)


here is my scrollbar method so far

CODE
package com.receptacle.timeline
{
//package imports
import flash.display.Sprite;
import flash.display.Shape;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import fl.controls.ScrollBar;
import fl.controls.ScrollBarDirection;
import fl.controls.UIScrollBar;

public class TimelineApp extends Sprite
{
// class variable declarations
private var base:Sprite;
private var timelineArea:TimelineArea;
private var cp:CommonProperties;
private var taPanelY:uint;
private var taPanelHeight:uint

// constructor
public function TimelineApp()
{
setVars();
setFullscreen();
addBaseSprite();
initialiseBackgroundElements();
initialiseMainTimeline();
initialiseEventNavigation();
initialiseTimelineScrollBar();
}

private function setVars()
{
base= new Sprite()
cp  = new 
CommonProperties();
taPanelY= cp.taTitleBarY;
taPanelHeight   = cp.taTitleBarHeight + 
cp.taPanelHeight;

}

private function addBaseSprite():void
{
addChild(base);
}

private function setFullscreen():void
{
trace ("Fullscreen");
stage.displayState  = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.NO_SCALE;
}

private function initialiseBackgroundElements():void
{
trace ("Background elements initialised");
var backgroundElements:BackgroundElements = new 
BackgroundElements();
base.addChild(backgroundElements);
}

private function initialiseMainTimeline():void
{
trace ("Main Timeline initialised");
timelineArea = new TimelineArea();
base.addChild(timelineArea);

// mask
var taMask:Shape = new Shape();
taMask.graphics.beginFill(0xFF);
taMask.graphics.drawRect(0, taPanelY, 800, 
taPanelHeight);
base.addChild(taMask);
timelineArea.mask = taMask;
}

private function initialiseEventNavigation():void
{
trace ("Event navigation initialised");
}

private function initialiseTimelineScrollBar():void
{
trace ("Timeline scrollbar initialised");
var scrollBar:ScrollBar = new ScrollBar();
scrollBar.direction = 
ScrollBarDirection.HORIZONTAL;
scrollBar.x = 10;
scrollBar.y = 550;
scrollBar.setSize(280, 40);
scrollBar.maxScrollPosition = timelineArea.width;
scrollBar.minScrollPosition = 0;
scrollBar.pageScrollSize = 800;
scrollBar.pageSize = 800;
trace("timelineArea.width is "+timelineArea.width);
addChild(scrollBar);
}
}
}
/CODE

timelineArea and backgroundElements extend Sprite

Do i need to extend the scrollbar class to accept a file or has adobe  
written the class to do it automatically?


if i need to extend it anyway, are there any better skinnable  
scrollbars out there that i can use


hope you can help
a





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


Re: [Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Omar Fouad
Thanks DUDE!!! The issue was in

DC.name = "dataCard" + i;

Didn't know the name property.

Thanks

On Sat, Mar 15, 2008 at 7:46 PM, Rich Shupe <[EMAIL PROTECTED]> wrote:

> Your code does what you're asking but I suspect you're having trouble with
> the positioning, or something similar. Since DC has no initial y, all
> instances will end up at 30, using the code below.
>
> Here's an adaptation that shows two visual results: position and trace,
> using the instance name request you mentioned. Note that, when adding an
> instance name programmatically, you can't refer that instance by name the
> same way you can when creating the instance name in the IDE. You must use
> getChildByName() instead.
>
> var dataLength:int = 5;
>
> for(var i = 0; i var DC:DataCard = new DataCard();
>  DC.x = Math.random()*550;
> DC.y = Math.random()*400;
> DC.name = "dataCard" + i;
> addChild(DC);
> trace(getChildByName("dataCard"+i).name);
> }
>
> Rich
>
> > In AS3 I tried the follwoing
> >
> > for(var i = 0; i >  var DC:DataCard = new DataCard();
> >  DC.y += 30;
> > }
> >
> > What comes up is an only one instance of the movieClip as in one
> replaces
> > the one before.
> >
> > Is there another way to achieve this? How can I add instance name to the
> > MovieClip using the i from the loop?
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Rich Shupe
Your code does what you're asking but I suspect you're having trouble with
the positioning, or something similar. Since DC has no initial y, all
instances will end up at 30, using the code below.

Here's an adaptation that shows two visual results: position and trace,
using the instance name request you mentioned. Note that, when adding an
instance name programmatically, you can't refer that instance by name the
same way you can when creating the instance name in the IDE. You must use
getChildByName() instead.

var dataLength:int = 5;

for(var i = 0; i In AS3 I tried the follwoing
> 
> for(var i = 0; i  var DC:DataCard = new DataCard();
>  DC.y += 30;
> }
> 
> What comes up is an only one instance of the movieClip as in one replaces
> the one before.
> 
> Is there another way to achieve this? How can I add instance name to the
> MovieClip using the i from the loop?


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


[Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Omar Fouad
In an AS3 Project I have a MovieClip in the Library which class (identifier)
is DataCard.

My project fetches data from a database through a PHP File, and retruns data
in an Array.

Now in this project i wanted to do exactly what I used to do in AS2:

for(i = 0; ihttp://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] need:: Flex 3 & AS3 // tutorials, links, book recs.

2008-03-15 Thread Paul Andrews
- Original Message - 
From: "artur" <[EMAIL PROTECTED]>

To: "flashcoders" 
Sent: Saturday, March 15, 2008 1:36 PM
Subject: [Flashcoders] need:: Flex 3 & AS3 // tutorials, links, book recs.



oh wise list,

i have some off-shore flex developers that are looking to upgrade their 
capabilities from Flex 2+AS2 --> Flex 3+AS3.


Surely any developer that is comfortable with Flex2 is capable of looking up 
their own migration for Flex3?


I haven't met many Flex2 developers using it with AS2..

Paul

any bookmarks, blogs, tutorials, and books recs you can give my would be 
incredibly appreciated.


* if its in spanish..even better ;-)
thanks!
--

*artur :.*

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


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


Re: [Flashcoders] need:: Flex 3 & AS3 // tutorials, links, book recs.

2008-03-15 Thread ekameleon
Hello :)

you can try my opensource Framework with this AS2/AS3/SSAS version (full
compatible)

http://code.google.com/p/vegas/

My framework contains extensions libraries to develop application with Flex
or Flash CS3 with AS3 or AS2 and MTASC and Flash Media Server.

You can find in the google code projects of VEGAS tutorials and examples :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN
http://code.google.com/p/vegas/wiki/TutorialsVEGAS
http://code.google.com/p/andromed-as/wiki/TutorialsAndromedA_IOC

etc...

In the SVN of the project you can find tutorials and examples :

AS2 : http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/bin/
AS3 : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/

With my framework you can use my documentary framework AST'r based on VEGAS
who contains full example applications in AS2 or AS3 :)
http://code.google.com/p/astr/

In the SVN of AST'r you can find examples and in the AS3 version a full
example with IOC/MVC/Frontcontroller implementation and external datas based
on AMFPHP or eden format
http://astr.googlecode.com/svn/trunk/AS3/trunk/

EKA+ :)


2008/3/15, artur <[EMAIL PROTECTED]>:
>
> oh wise list,
>
> i have some off-shore flex developers that are looking to upgrade their
> capabilities from Flex 2+AS2 --> Flex 3+AS3.
>
> any bookmarks, blogs, tutorials, and books recs you can give my would be
> incredibly appreciated.
>
> * if its in spanish..even better ;-)
>
> thanks!
> --
>
> *artur :.*
>
> - *www.artur.com*
> - [EMAIL PROTECTED]
> - *ph:646.797.3320*
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] need:: Flex 3 & AS3 // tutorials, links, book recs.

2008-03-15 Thread artur

oh wise list,

i have some off-shore flex developers that are looking to upgrade their 
capabilities from Flex 2+AS2 --> Flex 3+AS3.


any bookmarks, blogs, tutorials, and books recs you can give my would be 
incredibly appreciated.


* if its in spanish..even better ;-) 


thanks!
--

*artur :.*

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

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


[Flashcoders] Source Control [WAS] to mac or not to mac

2008-03-15 Thread Muzak

Changed the subject.. to not completly hijack the thread ;-)

There's a new(er) plugin, called subversive that might be worth looking into.
I haven't tried it yet, but heard good things about it:
http://www.polarion.org/index.php?page=overview&project=subversive
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-611.html

Before I used Eclipse as my primary IDE, I used TortoiseSVN, but having it all 
in one IDE makes life easier.

regards,
Muzak

- Original Message - 
From: "AJ Canepa" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Saturday, March 15, 2008 10:53 AM
Subject: Re: [Flashcoders] to mac or not to mac


I develop with FlexBuilder and Flash CS3 on the Mac and love it.  I  
tried subclipse though and wasn't a fan.  I prefer managing my source  
control separately with SmartSVN which gives more control and options.


AJ Canepa
Runtime Logic
www.runtimelogic.com


On Mar 14, 2008, at 4:10 PM, Muzak wrote:


I use subclipse with FlexBuilder/Eclipse
http://subclipse.tigris.org/

- Original Message - From: "Claus Wahlers" <[EMAIL PROTECTED] 
>

To: "Flash Coders List" 
Sent: Friday, March 14, 2008 10:27 PM
Subject: Re: [Flashcoders] to mac or not to mac


Dunno if that has been mentioned, but if you are NOT a command line  
guy, like me, and want a kick ass non-CLI SVN client, by far the  
best option is TortoiseSVN, which afaik is only available for  
Windows and beats the crap out of everything else i've seen.
This one tiny software is the main reason i stick to Windows (XP)  
for now. I have three machines here (XP, OSX and Ubuntu), and the  
XP machine is my main dev machine, because i don't wanna miss  
TortoiseSVN.
Otherwise, i'm very, VERY unreligious about operating systems,  
because i frankly think they all suck in one way or another.

Cheers,
Claus.




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


Re: [Flashcoders] to mac or not to mac

2008-03-15 Thread AJ Canepa
I develop with FlexBuilder and Flash CS3 on the Mac and love it.  I  
tried subclipse though and wasn't a fan.  I prefer managing my source  
control separately with SmartSVN which gives more control and options.


AJ Canepa
Runtime Logic
www.runtimelogic.com


On Mar 14, 2008, at 4:10 PM, Muzak wrote:


I use subclipse with FlexBuilder/Eclipse
http://subclipse.tigris.org/

- Original Message - From: "Claus Wahlers" <[EMAIL PROTECTED] 
>

To: "Flash Coders List" 
Sent: Friday, March 14, 2008 10:27 PM
Subject: Re: [Flashcoders] to mac or not to mac


Dunno if that has been mentioned, but if you are NOT a command line  
guy, like me, and want a kick ass non-CLI SVN client, by far the  
best option is TortoiseSVN, which afaik is only available for  
Windows and beats the crap out of everything else i've seen.
This one tiny software is the main reason i stick to Windows (XP)  
for now. I have three machines here (XP, OSX and Ubuntu), and the  
XP machine is my main dev machine, because i don't wanna miss  
TortoiseSVN.
Otherwise, i'm very, VERY unreligious about operating systems,  
because i frankly think they all suck in one way or another.

Cheers,
Claus.


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



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


Re: [Flashcoders] AS3 XML Namespaces Hell

2008-03-15 Thread Muzak

Set the namespace of the loaded xml as default:

function loaderCompleteHandler(evt:Event):void {
var data:XML = new XML(evt.currentTarget.data);
trace(data.toXMLString());
trace(data.namespace(""));
default xml namespace = data.namespace(""); 
trace(data.photos.item);

}


- Original Message - 
From: "Jason Van Cleave" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Saturday, March 15, 2008 5:24 AM
Subject: [Flashcoders] AS3 XML Namespaces Hell



I have an app that is was pulling some XML like this



   
   
   
   


with this i could load xml and eventually get an XMLList with

private function onXMLLoaded(e:Event):void
{
   var xml:XML = new XML(e.target.data);
   var items:XMLList = xml.item;
}



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


Re: [Flashcoders] to mac or not to mac

2008-03-15 Thread Paul Andrews
I disagree - many people are considering using a Mac for flash development, 
so it's far from useless. Useless to you doesn't mean useless to others.


Paul
- Original Message - 
From: "Keith" <[EMAIL PROTECTED]>

To: "Flash Coders List" 
Sent: Saturday, March 15, 2008 3:44 AM
Subject: Re: [Flashcoders] to mac or not to mac



This is a useless topic.
Sorry that I have to put it that way.
-- Keith H --


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



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