Hey all,

A quick question; has anyone ever had problems creating a sharedObject that
uses a variable as a part of the name? I've a scenario with multiple groups
of mapping data (saving coordinates, and items for each). I've programmed
the sharedObject to contain a group of arrays that hold each required bit of
info. When I saw that I'd forgotten to accommodate for multiple maps (load
toggled with a pulldown menu), I figured an easy fix would be to just use
multiple sharedObjects - as the map data is only relevant to the loaded map.

mySO = SharedObject.getLocal("mapPoints"); // has no problems
mySO = SharedObject.getLocal("mapPoints"+5); // has no problems

...but...

mySO = SharedObject.getLocal("mapPoints"+_root.loadedRegion); // where the
loadedRegion is numeric, seems to be stubborn. I'm tracing that variable,
and the numbers show fine...just doesn't create the object.

Any thoughts and guidance is appreciated :)

Clayton

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 11:00 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Flashcoders Digest, Vol 20, Issue 28

Send Flashcoders mailing list submissions to
        flashcoders@chattyfig.figleaf.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Flashcoders digest..."


Today's Topics:

   1. Re: scrollpane not showing scrollbars -> dynamic content (dnk)
   2. Re: scrollpane not showing scrollbars -> dynamic content (dnk)
   3. Selection.getIndex() on textfield with a button? (grimmwerks)
   4. integrating flash with java  (ozzy osbourne)
   5. All shared objects accessed at same time - you too?
      (dave matthews)
   6. Using a multiple layered movieclip as a mask
      (Marcelo de Moraes Serpa)
   7. Re: Creating a scrollable list: adding components (Matt Bennett)
   8. New Australian and New Zealand mailing (Chris Velevitch)
   9. Re: integrating flash with java (Arul Prasad M L)
  10. Re: weird htmlText problem... (Kenneth Kawamoto)
  11. Re: scrollpane not showing scrollbars -> dynamic content
      (Adrian Ionut Beschea)
  12. Re: Re: Re: Re: Re: Re: Re: new logger for as 2 (Hans Wichman)
  13. Re: weird htmlText problem... (GregoryN)
  14. fp xhtml render (Hans Wichman)
  15. local NetStream play with playlists  (Andreas R)
  16. Re: Using a multiple layered movieclip as a mask
      (Marcelo de Moraes Serpa)
  17. Click drag to control a MC? ([EMAIL PROTECTED])
  18. Re: Re: [Flashcoders] weird htmlText problem... (grimmwerks)
  19. Re: Re: Using a multiple layered movieclip as a mask
      (Zeh Fernando)
  20. Re: Click drag to control a MC? (Zeh Fernando)
  21. way to get textFileld's line count? (grimmwerks)
  22. Q: Strange error'Enhanced fill not supported in current
      player version ([EMAIL PROTECTED])
  23. RE: Q: Strange error'Enhanced fill not supported in       current
      player version (Kevin Aebig)
  24. classes vs external .as files  (Adrian Ionut Beschea)


----------------------------------------------------------------------

Message: 1
Date: Sun, 10 Sep 2006 09:02:11 -0700
From: dnk <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] scrollpane not showing scrollbars ->
        dynamic content
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

eric dolecki wrote:
> force the scrollpane to .invalidate() or .redraw() or something like 
> that. I
> forget which one exactly at the moment.
>
> - e.
>
I had tried that.  Neither seems to work.

Just leaves the content identical.

D


------------------------------

Message: 2
Date: Sun, 10 Sep 2006 09:18:23 -0700
From: dnk <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] scrollpane not showing scrollbars ->
        dynamic content
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

dnk wrote:
> eric dolecki wrote:
>> force the scrollpane to .invalidate() or .redraw() or something like 
>> that. I
>> forget which one exactly at the moment.
>>
>> - e.
>>
Ok - to further expand on my last post....

I had changed my structure a little to try this.

So in my main movie there is a MC in which there is a scrollpane (called 
"scroller"). For that scrollpane I attach a dynamic MC (empty) holder 
from the library. Now in my MC (that is in my main movie - which 
contains the scrollpane) I have the following code:

FRAME 1

this.scroller.contentPath = "dynSubMenu";

FRAME 2

//remoting
import com.includingatree.dkcms.MenuData;
var myUserMenu:MenuData = new MenuData(this.scroller.spContentHolder);
myUserMenu.getUsers("Artismo");
//heard resetting the "auto" helps
this.scroller.vScrollPolicy = "auto";
//tried both redraw and invalidate here.
//this.scroller.invalidate();
this.scroller.redraw(true);

FRAME 3

//have a frame 3 as I read invalidate forces the redraw on the next frame.
stop();

Now all my data is populating great - it is just the scroll bars.


Thanks!

d


------------------------------

Message: 3
Date: Sun, 10 Sep 2006 13:09:48 -0400
From: grimmwerks <[EMAIL PROTECTED]>
Subject: [Flashcoders] Selection.getIndex() on textfield with a
        button?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hey again

How does one get the Selection of a textfield with a button?  Seems
everytime I click a button, it loses the original TextField's
selection/focus, so both begin and end indices come back as -1.

Any help appreciated.


------------------------------

Message: 4
Date: Sun, 10 Sep 2006 10:14:23 -0700 (PDT)
From: ozzy osbourne <[EMAIL PROTECTED]>
Subject: [Flashcoders] integrating flash with java 
To: flash coders <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

hi everyone ,

i  have a flash work which i want to work as a stand alone application ie i
want it to work like a light weight appln which will create files 
the only problem is that i cannot save the work done in that appln as we do
in paint or text editors 

is there a way to integrate flash with java, or dotnet to save the work done
in the flash appln 
                
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2"/min or less.

------------------------------

Message: 5
Date: Sun, 10 Sep 2006 15:13:17 -0500
From: "dave matthews" <[EMAIL PROTECTED]>
Subject: [Flashcoders] All shared objects accessed at same time - you
        too?
To: flashcoders@chattyfig.figleaf.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed

just noticed,

   Tested this several times, using XPhome + IE7rc1.

  All the shared objects on this computer have been accessed at exactly the 
same time by a visit to a single site...

  Look here:  your_boot_disc:\Documents and Settings\your_name\Application 
Data\Macromedia\Flash Player\#SharedObjects.  Remember the 'last accessed' 
time stamps.

  Clear cache/cookies/history.

  Reboot, you may have to reset your cable modem by unplugging it to make it

retrieve a new routing address.

  Then visit an Adobe blog site, try:  http://weblogs.macromedia.com/jd/

  Now, check the 'last accessed' column in the shared objects file.  Be sure

to refresh the page or open a new explorer window.

  Does this mean all those shared objects are actually being poled or read 
by the company... or what?

Dave Matthews




------------------------------

Message: 6
Date: Sun, 10 Sep 2006 21:29:33 -0300
From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Using a multiple layered movieclip as a mask
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

It seems that you can't use a multi-layered MovieClip as a mask in Flash
(I'm using Flash 8). When you try to use it, Flash only uses one of the
layers as the mask and not the whole movieclip as I expected.

Take a look at these two screenshots:

* http://chapeco-online.com.br/sshot1.JPG - the movieclip that is used as a
mask is opened. You can see the two layers, one for each of the tweened
shapes (shape tween)
* http://chapeco-online.com.br/sshot2.JPG - the mask applied. You can see
that only one of the shapes has been applied, the other didn't. Why?

Thanks in advance,

Marcelo.


------------------------------

Message: 7
Date: Sun, 10 Sep 2006 19:51:23 -0500
From: "Matt Bennett" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Creating a scrollable list: adding
        components
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello folks,

Sorry it's taken such a long time to get back to you - our server was
down for a number of days.

Just wanted to say that the DepthManager solution fixed it.

Cheers!
Matt.

------------------------------------------------

> the problem I think is related to

>> var item = listContainer.createClassObject(symbolName,
>> instanceName,
>> this.getNextHighestDepth(), props);

> you shoul let DepthManager manage the Depth

> var item = listContainer.createClassChildAtDepth(symbolName, instanceName,
> DepthManager.kTop, props);


----- Original Message -----
From: "Jeroen Beckers" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Saturday, September 02, 2006 9:38 AM
Subject: Re: [Flashcoders] Creating a scrollable list: adding components
tothe scrollpane contents


> Couldn't you put the list component in a movieclip and add attach the
> movieclip to the scrollPane (which is a lot easier).
> Also, what is  your 'createUniqueInstanceName()' function ?
>
> Matt Bennett wrote:
>> Hello Flashcoders,
>>
>> I'm building a scrollable list, and I keep track of the list items
>> with a Collection. I'm having trouble adding items to it - I think I'm
>> overwriting some instance variables somewhere.
>>
>> In the code below, listContainer is a reference to the contents of a
>> ScrollPane component:
>>
>> var listContainer = scrollPane.content;
>>
>> Here's my function to add a list item:
>>
>>       function addListItem(symbolName, props)
>>       {
>>               // Create the content (instance name: _itemX)
>>               var instanceName = this.createUniqueInstanceName();
>>               var item = listContainer.createClassObject(symbolName,
>> instanceName,
>> this.getNextHighestDepth(), props);
>>
>>               //add to list items
>>               listItems.addItem(item);
>>
>>               trace("////////////////////////////////////////////");
>>               trace("debugging addItem");
>>               var iterator = listItems.getIterator();
>>               while(iterator.hasNext()) {
>>                       var thisitem = iterator.next();
>>                       trace("this item: "+thisitem+"; type:
>> "+thisitem.className);
>>               }
>>               trace("////////////////////////////////////////////");
>>
>>               return item;
>>       }
>>
>>
>> After adding 3 items, the debug trace looks like this:
>>
>> ////////////////////////////////////////////
>> debugging addItem
>> this item: ; type: undefined
>> this item: ; type: undefined
>> this item: _level0.QUESTION
>> PAD.contentWidget.questionList.scrollPane.spContentHolder._item2;
>> type: View
>> ////////////////////////////////////////////
>>
>> I assumed that I was overwriting an instance name somewhere, but I
>> also traced the contents of listContainer with a for-in loop. This is
>> the output after the first item is added:
>>
>> ////////////////////////////////////////////
>> this item: 2441; type: undefined; text: undefined
>> ...other irrelevant stuff
>> this item: true; type: undefined; text: undefined
>> this item: _level0.QUESTION
>> PAD.contentWidget.questionList.scrollPane.spContentHolder._item0;
>> type: View; text: question 1
>> ////////////////////////////////////////////
>>
>> And this the output after the second item is added:
>>
>> ////////////////////////////////////////////
>> this item: 2441; type: undefined; text: undefined
>> ...other irrelevant stuff
>> this item: true; type: undefined; text: undefined
>> this item: _level0.QUESTION
>> PAD.contentWidget.questionList.scrollPane.spContentHolder._item1;
>> type: View; text: question 2
>> ////////////////////////////////////////////
>>
>> So it looks to me like I'm actually overwriting each _itemX instance
>> on listContainer - and hence the references in the Collection become
>> null pointers.
>>
>> Does anyone have any experience with this?
>>
>> Many thanks,
>> Matt.


------------------------------

Message: 8
Date: Mon, 11 Sep 2006 13:53:36 +1000
From: "Chris Velevitch" <[EMAIL PROTECTED]>
Subject: [Flashcoders] New Australian and New Zealand mailing
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

There is a new list call http://groups.google.com/group/flashaussie
that has been set up to replace the failed lists.daemon.com.au server
that had previously hosted the fugli list.


Chris
-- 
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au


------------------------------

Message: 9
Date: Mon, 11 Sep 2006 12:57:47 +0530
From: "Arul Prasad M L" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] integrating flash with java
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Check out the following:
http://screenweaver.org/
http://www.multidmedia.com/software/zinc/

~Arul Prasad.


On 9/10/06, ozzy osbourne <[EMAIL PROTECTED]> wrote:
>
> hi everyone ,
>
> i  have a flash work which i want to work as a stand alone application ie
> i want it to work like a light weight appln which will create files
> the only problem is that i cannot save the work done in that appln as we
> do in paint or text editors
>
> is there a way to integrate flash with java, or dotnet to save the work
> done in the flash appln
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2"/min or less.
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


------------------------------

Message: 10
Date: Mon, 11 Sep 2006 11:34:49 +0100
From: Kenneth Kawamoto <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] weird htmlText problem...
To: flashcoders@chattyfig.figleaf.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

At least you need to add this:

mTitle.multiline = true;

-- 
// Kenneth Kawamoto (on the road)
// materia prima limited
// [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
// www.materiaprima.co.uk <http://www.materiaprima.co.uk>

<quote>
Ok, I've got a class that I've used that all it does is take in a
string of htmlText, create a textfield and apply it. But something is
happening that is killing the text for some reason;
</quote>





------------------------------

Message: 11
Date: Mon, 11 Sep 2006 03:54:45 -0700 (PDT)
From: Adrian Ionut Beschea <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] scrollpane not showing scrollbars ->
        dynamic content
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

happened to me some time ago but I can't remember exactly what solved it. 
It might be one of this things : 
   - call redraw(true) before you start working with it 
   - before you set the contentPath, wait a few frames to make sure your
scrollpane is fully loaded (use doLater if you can) 
   -  I case you use getNextHighestDepth(), don't leave any component on
stage , try and nest them into a movieclip and attach that on a specific
depth. 





dnk <[EMAIL PROTECTED]> wrote: Hi there - I am having an
issue where I have a scrollpane component on my stage that
loads and uses an empty movie clip from my library. Now that clip (from the
library) has
a few remoting calls in it that dynamically populate the MovieClip with text
fields,
etc. These text fields are then populated with results from my database. The
scroll pane
is set to "auto" for the vertical scrollbar.

Now my issue is that when the content is loaded, a vertical scroll bar does
not show
even though it should in this case (I know there are many results from the
database).

Now i am pretty sure that my issue is that when my contentPath is set for
the
scrollpane, there has not yet been any content created in the MovieClip -
hence no
scrollbar. My data does in fact populate, and all of it is there - but the
scrollbar
just does not show up when it should.

Any ideas?


d
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


                
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail.

------------------------------

Message: 12
Date: Mon, 11 Sep 2006 13:13:39 +0200
From: "Hans Wichman" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Re: Re: Re: Re: Re: Re: new logger for as 2
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi peeps,
this project now has a page on osflash: http://www.osflash.org/xflas2

greetz
JC


On 9/6/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
>
>  Soo... all the important data has been recovered:) and after my next
> deadline I'm back on this proejct as well. Did anyone have time to look at
> it since I was gone:)?
>
>
> On 8/23/06, henrik weber (freemind-design) <[EMAIL PROTECTED]> wrote:
> >
> > hi hans,
> >
> > i'm eager to see your project evolve ;)
> > i can't say whether your observation concerning
> > zeroi (mtasc-only) is correct *g* i use mtasc
> > most of the time; so never tried it without
> > it (it's just a few days out now...)
> >
> > concerning your hd-problems:  :-!  but sometimes
> > yelling and banging your head on the keyboard
> > helps *just kidding*
> >
> > i hope you can recover the important data and
> > you can soon get back to normal... wish you
> > luck!
> >
> > cu
> >
> > henrik
> >
> >
> > On 8/23/06, Hans Wichman < [EMAIL PROTECTED]> wrote:
> >
> > Hi Henrik,
> > I've looked at it, and it seems pretty cool, however I'm not sure if
> > it's
> > really zero impact:).
> > I need to look into it, but i think it only works with mtasc? Ruling out
> > the
> > flash ide, seems a bit of an impact to me:).
> > But like I said i really need to look into real good first.
> >
> > Thanks for the tip on the project page I'll do that.
> > Right now, my HD just crashed on me, so i'm kinda busy atm hehehe (* i
> > have
> > to laugh madly or ill start crying instead i think).
> >
> > I'll let you know when the page is up.
> >
> > greetz
> > Hans
> >
> >
> > On 8/23/06, henrik weber (freemind-design) < [EMAIL PROTECTED]>
> > wrote:
> >
> > > >
> > > > that's good news hans! maybe an introduction-post at osflash might
> > speed
> > > > up the request... btw (from the wiki-instructions): <snip> You do
> > not
> > > > have to wait for a project's SVN and mailing lists to be created in
> > > > order to create your project's web page on the OSFlash wiki.
> > </snip>  8-)
> > > > cu! henrik p.s. have you already looked at zeroi
> > > > <http://www.osflash.org/zeroi>?
> > > >
> > > > On 8/23/06, Hans Wichman <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Hi, John, tnx, but I'm ok, i used my screatoris page for now located
> > at
> > > > my workplace, but i might take you up on your offer once i'm further
> > > > along;), thanks again. Henrik, thanks! Take a look here:
> > > >
> > http://osflash.org/admin/new_project#project_hosting_request_for_xflas2
> > > > working on it:). greetz Hans
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>


------------------------------

Message: 13
Date: Mon, 11 Sep 2006 15:49:16 +0400
From: GregoryN <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] weird htmlText problem...
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


Seems this problem is quite the same as I described  recently in my
"Textfield optimizes itself in a weird way" thread in August. It was
about Flash eating out the space between <B> or <I> etc tags...

I've ended up considering it as a bug and created my own
"optimization" (based on split().join() ) .

Also, in my case a guy named "m-e-" wrote that this bug appears only
if you publish SWF from Flash MX 2004. He said that if you publish in
Flash 8 and then play in Flash Player v8.0.22 or later, the bug won't
appear...
However, I didn't tested all this, as I prefer to create a work-around
in such a case :-).

  

-- 
Best regards,
 GregoryN                        
================================
http://GOusable.com
Flash components development.
Usability services.

> =========== grimmwerks wrote:
> 
> Ok, I've got a class that I've used that all it does is take in a
> string of htmlText, create a textfield and apply it. But something is
> happening that is killing the text for some reason;
> 
> If I send INTO the function this htmlText:
> 
> <TEXTFORMAT LEADING="-5"><P ALIGN="RIGHT"><FONT
> FACE="QuadraatSans-Regular" SIZE="30" COLOR="#000000"
> LETTERSPACING="0"
KERNING="0">>whatever</FONT></P></TEXTFORMAT><TEXTFORMAT
LEADING="-5">><P ALIGN="RIGHT"><FONT FACE="QuadraatSans-Regular"
> SIZE="30" COLOR="#000000" LETTERSPACING="0"
KERNING="0">>man</FONT></P></TEXTFORMAT>
> 
> A textfield is created and applied, but then it turns into:
> 
> <TEXTFORMAT LEADING="-5"><P ALIGN="RIGHT"><FONT
> FACE="QUADRAATSANS-REGULAR" SIZE="30" COLOR="#000000"
> LETTERSPACING="0" KERNING="0">WHATEVERMAN</FONT></P></TEXTFORMAT>
> 
> and I can't figure out why.




------------------------------

Message: 14
Date: Mon, 11 Sep 2006 14:14:52 +0200
From: "Hans Wichman" <[EMAIL PROTECTED]>
Subject: [Flashcoders] fp xhtml render
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi list,
i was wondering if any of you have experience with fp_xhtml_render?
I am looking for an easy way to include forms in my html etc, for exampe
radio buttons, by simple loading a html page containing them.

Has anybody tried this?

kind regards
JC


------------------------------

Message: 15
Date: Mon, 11 Sep 2006 15:28:28 +0200
From: Andreas R <[EMAIL PROTECTED]>
Subject: [Flashcoders] local NetStream play with playlists 
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Is there any reason why local NetStreams won't accept playlists such as

ns.play("test.flv",-1,0,false);
ns.play("test.flv",-1,0,false);

?

Is this only serverside? If so, how else can i easily set up seamless 
playlists locally?

- A




------------------------------

Message: 16
Date: Mon, 11 Sep 2006 10:53:14 -0300
From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Re: Using a multiple layered movieclip as a
        mask
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

No hints on that? :(

On 9/10/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
>
> It seems that you can't use a multi-layered MovieClip as a mask in Flash
> (I'm using Flash 8). When you try to use it, Flash only uses one of the
> layers as the mask and not the whole movieclip as I expected.
>
> Take a look at these two screenshots:
>
> * http://chapeco-online.com.br/sshot1.JPG - the movieclip that is used as
> a mask is opened. You can see the two layers, one for each of the tweened
> shapes (shape tween)
> * http://chapeco-online.com.br/sshot2.JPG - the mask applied. You can see
> that only one of the shapes has been applied, the other didn't. Why?
>
> Thanks in advance,
>
> Marcelo.
>
>


------------------------------

Message: 17
Date: Mon, 11 Sep 2006 10:36:49 -0400
From: [EMAIL PROTECTED]
Subject: [Flashcoders] Click drag to control a MC?
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Message-ID:
        
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

Hello everyone.

I posted this earlier but received no response so perhaps I didn't phrase 
my question very well.

I have a sequence of 3D bitmaps - its an object rotating 360 degrees.
I've put the frames in a MC.
Right now I have code that tracks the mouse and depending on if the mouse 
moves in +x or -x the frames go forward or backward.

But, what I really want is for the MC to be controlled by a click drag - 
so it looks like you are rotating the object with the mouse.

Can anyone give any advice?  It seems like a very simple thing to 
accomplish, but I'm a 3D animator, not an actionscripter and I just can't 
wrap my brain around this one.

Thanks

Paul


------------------------------

Message: 18
Date: Mon, 11 Sep 2006 11:25:46 -0400
From: grimmwerks <[EMAIL PROTECTED]>
Subject: Re: Re: [Flashcoders] weird htmlText problem...
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Yeah, turns out that it was something simple - multiline I believe.

It's been a VERY long weekend of sleepless coding.


------------------------------

Message: 19
Date: Mon, 11 Sep 2006 12:23:38 -0300
From: "Zeh Fernando" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Re: Using a multiple layered movieclip as a
        mask
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
        reply-type=response

You actually can do it, it's just that the preview is always wrong (uses 
only one of the layers). Have you tried compiling it?

Maybe there's something else that causes problems (ie, using layer masks 
instead of setMask), but I've already used multi-layered movieclips as masks

several times.


Zeh

> No hints on that? :(
>
> On 9/10/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
>>
>> It seems that you can't use a multi-layered MovieClip as a mask in Flash
>> (I'm using Flash 8). When you try to use it, Flash only uses one of the
>> layers as the mask and not the whole movieclip as I expected.
>>
>> Take a look at these two screenshots:
>>
>> * http://chapeco-online.com.br/sshot1.JPG - the movieclip that is used as
>> a mask is opened. You can see the two layers, one for each of the tweened
>> shapes (shape tween)
>> * http://chapeco-online.com.br/sshot2.JPG - the mask applied. You can see
>> that only one of the shapes has been applied, the other didn't. Why?
>>
>> Thanks in advance,
>>
>> Marcelo.
>>
>>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com 



------------------------------

Message: 20
Date: Mon, 11 Sep 2006 12:26:36 -0300
From: "Zeh Fernando" <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Click drag to control a MC?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
        reply-type=original

> I have a sequence of 3D bitmaps - its an object rotating 360 degrees.
> I've put the frames in a MC.
> Right now I have code that tracks the mouse and depending on if the mouse
> moves in +x or -x the frames go forward or backward.
> But, what I really want is for the MC to be controlled by a click drag -
> so it looks like you are rotating the object with the mouse.
> Can anyone give any advice?  It seems like a very simple thing to
> accomplish, but I'm a 3D animator, not an actionscripter and I just can't
> wrap my brain around this one.

When the user clicks the area, you save the main stage _xmouse to any other 
auxiliary variable. Then, when the user moves the mouse, if you subtract the

saved/original _xmouse from the current new _xmouse, you will get the 
ammount of 'pixels' it should move (then you have to translate that to how 
many frames you want your animation to skip forward/backward).


Zeh 



------------------------------

Message: 21
Date: Mon, 11 Sep 2006 11:28:36 -0400
From: grimmwerks <[EMAIL PROTECTED]>
Subject: [Flashcoders] way to get textFileld's line count?
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I've got textFields using html text that I need to get an accurate way
of finding the line count...I got it working when I knew the size of
the font attributed to that textField, but with one field it can have
multiple formats.

It's been a long tired weekend of sleepless coding, so I'm going to
try doing it myself, but if someone has an answer...

I thought that after I set the htmlText, I originally was going to try
to get the newlines, but just realized that's not going to work....

thoughts?


------------------------------

Message: 22
Date: Mon, 11 Sep 2006 11:30:40 -0400
From: [EMAIL PROTECTED]
Subject: [Flashcoders] Q: Strange error'Enhanced fill not supported in
        current player version
To: flashcoders@chattyfig.figleaf.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi
I'm creating some banner ads with some simple gradient fills and targeting
FP7.

When publishing I get the following error:
Enhanced fill not supported in current player version

Even if I cut and paste the same gradient from a FLA that does not give me
this error I still have problems


Any ideas??


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
             - Bruce Mau,'LifeStyle'


------------------------------

Message: 23
Date: Mon, 11 Sep 2006 09:41:21 -0600
From: "Kevin Aebig" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] Q: Strange error'Enhanced fill not
        supported in    current player version
To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

I'm guessing that you copied the artwork from an Illustrator file and that
you're outputting to version 7 or less. Open the artwork, select all and
change the lines to fill in the Modify>Shape menu.

!k

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 9:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q: Strange error'Enhanced fill not supported in
current player version

Hi
I'm creating some banner ads with some simple gradient fills and targeting
FP7.

When publishing I get the following error:
Enhanced fill not supported in current player version

Even if I cut and paste the same gradient from a FLA that does not give me
this error I still have problems


Any ideas??


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
             - Bruce Mau,'LifeStyle'
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




------------------------------

Message: 24
Date: Mon, 11 Sep 2006 08:43:13 -0700 (PDT)
From: Adrian Ionut Beschea <[EMAIL PROTECTED]>
Subject: [Flashcoders] classes vs external .as files 
To: flashcoders@chattyfig.figleaf.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

Hello, 

I've just had a debate with a colleague of mine about the some of the as 2.0
best practice. 
We both like to separate design from code, but we have slightly different
ways of doing it. 

This is what he does :
He leaves design elements on stage and includes and external .as file to
handle the logic. 
#include 'script.as'

I like to think in terms of oop. 
So instead of including a script, I write something use:
SampleClass.main(this) 

main is something like this : 
public static function main(target_mc:MovieClip) {
    instance = new SampleClass(target_mc);
}

What do you guys think ? Which method is more of your taste and why ? 








                
---------------------------------
How low will we go? Check out Yahoo! Messengers low  PC-to-Phone call
rates.

------------------------------

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

End of Flashcoders Digest, Vol 20, Issue 28
*******************************************


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to