RE: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread Karan Mehra
Hi Sumeet,

I tried Stage.Width & Stage.Height but coz we are using 
Stage.ScaleMode = "showall" the Stage's height & width remains same
irrespective of Fullscreen or not.

I tried detecting the keys like ctrl-F which is used for making the
flash window fullscreen and also used for disabling fullsceen but then
user can also use the menu option available in the flash window to make
it fullscreen and I was unable to trap the flash menu clicks.

Thanx,
Karan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Basak
Sent: Monday, April 24, 2006 10:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the swf
file

Hi Karan,
Try using the Stage.Width and Stage.Height methods.
U will be returned with the dimensions the flash player is using.
You need to compare the returned value to the array of of existing
screen
reolutions. You could find one from the intel graphic driver.
Google one, I m sure u would get one.


Thanks
Sumeet Basak
CTO
Renaissance Legal & Learning Systems Pvt. Ltd.
Cell: + 91 9223214301

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karan
Mehra
Sent: Monday, April 24, 2006 8:39 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How To Detect the FullScreen mode of the swf file

Hi,

 

How to detect whether the swf is playing in fullscreen mode in Flash
player or not?

 

Thanks in Advance.

 

Regards,

Karan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] wikipedia webservices

2006-04-24 Thread elibol
I like Rorexes find, while this is quick and dirty, I think his would be the
better solution.

On 4/24/06, elibol <[EMAIL PROTECTED]> wrote:
>
> let's see, first a little script to grab the data:
>
> var loadWiki = new XML();
>
> loadWiki.onLoad = function(success){
> trace(this);
> }
>
> loadWiki.load('http://en.wikipedia.org/wiki/Special:Search?search=parsing&fulltext=fulltext&sourceid=mozilla-search'
> );
>
> The relevent part of the query:
>
> 
>
> Results 1-20 of 1928<
> div style="text-align: center;">1 <
> a 
> href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=20&limit=20">2 a>  href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=40&limit=20"
> >3  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=60&limit=20"
> >4  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=80&limit=20"
> >5  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=100&limit=20"
> >6  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=120&limit=20"
> >7  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=140&limit=20"
> >8  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=160&limit=20"
> >9  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=180&limit=20"
> >10  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=200&limit=20"
> >11  >href="/w/index.php?title=Special:Search&search=parsing&fulltext=Search&offset=20&limit=20"
> >Next &
> #x00BB;  "padding-bottom: 1em;"> ="Parse">Parse  style="color: green; font-size: small;">Relevancy: 100.0% -  - 
>
>  ="/wiki/Parsing" title="Parsing">Parsing<
> br/> >Relevancy: 95.0% -  - 
>
>  "padding-bottom: 1em;"> ="Parse table">Parse table<
> span style="color: green; font-size: small;">Relevancy: 63.6% -  -  li>
>
>   href="/wiki/Shallow_parsing" title="Shallow parsing">Shallow parsing a> >Relevancy: 60.3% -  - 
>
>  "padding-bottom: 1em;"> ="Parse tree">Parse tree<
> span style="color: green; font-size: small;">Relevancy: 60.2% -  -  li>
> ...
> ...
> ...
>
> and so on,
>
> So you would look for the most significant pieces of this string, be it the 
> string 'Result' and grab every li tag there after to get the search result. 
> I'm pretty sure you could even throw it right into an html text if you got 
> the right tags. Just need to do some careful string parsing.
>
>
> And btw, I apologize, the google text editor is just no good =[
>
> Hope this helps,
>
> M.
>
> On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
> >
> > How would you parse out these results?
> >
> >
> > On Apr 24, 2006, at 4:08 PM, elibol wrote:
> >
> > > Hmm, I don't know of the WSDL, but if worse comes to worse, you
> > > could always
> > > run a query by URI and parse out the results...
> > >
> > > M
> > >
> > > On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Does anyone know if there's a WSDL for Wikipedia, I want to be able
> > >> to show search results from wikipedia in my flash app. But I can't
> > >> find the available web service for it.
> > >>
> > >> thanks,
> > >>
> > >> g
> > >> ___
> > >> Flashcoders@chattyfig.figleaf.com
> > >> To change your subscription options or search the archive:
> > >> http://chattyfig.figleaf.com/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] wikipedia webservices

2006-04-24 Thread elibol
let's see, first a little script to grab the data:

var loadWiki = new XML();

loadWiki.onLoad = function(success){
trace(this);
}

loadWiki.load('
http://en.wikipedia.org/wiki/Special:Search?search=parsing&fulltext=fulltext&sourceid=mozilla-search'
);

The relevent part of the query:


Results 1-20 of 19281 2
3
4
5
6
7
8
9
10
11
Next » ParseRelevancy: 100.0% -  - 

ParsingRelevancy: 95.0% -  - 

Parse tableRelevancy: 63.6% -  - 

Shallow parsingRelevancy: 60.3% -  - 

Parse treeRelevancy: 60.2% -  - 
...
...
...

and so on,

So you would look for the most significant pieces of this string, be
it the string 'Result' and grab every li tag there after to get the
search result. I'm pretty sure you could even throw it right into an
html text if you got the right tags. Just need to do some careful
string parsing.

And btw, I apologize, the google text editor is just no good =[

Hope this helps,

M.

On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
>
> How would you parse out these results?
>
>
> On Apr 24, 2006, at 4:08 PM, elibol wrote:
>
> > Hmm, I don't know of the WSDL, but if worse comes to worse, you
> > could always
> > run a query by URI and parse out the results...
> >
> > M
> >
> > On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
> >>
> >> Does anyone know if there's a WSDL for Wikipedia, I want to be able
> >> to show search results from wikipedia in my flash app. But I can't
> >> find the available web service for it.
> >>
> >> thanks,
> >>
> >> g
> >> ___
> >> Flashcoders@chattyfig.figleaf.com
> >> To change your subscription options or search the archive:
> >> http://chattyfig.figleaf.com/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] wikipedia webservices

2006-04-24 Thread Guillermo Torres Troconis

How would you parse out these results?


On Apr 24, 2006, at 4:08 PM, elibol wrote:

Hmm, I don't know of the WSDL, but if worse comes to worse, you  
could always

run a query by URI and parse out the results...

M

On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:


Does anyone know if there's a WSDL for Wikipedia, I want to be able
to show search results from wikipedia in my flash app. But I can't
find the available web service for it.

thanks,

g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] wikipedia webservices

2006-04-24 Thread David Rorex
a quick google found this:
http://www.ontok.com/wiki/index.php/Wikipedia

On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
>
> Does anyone know if there's a WSDL for Wikipedia, I want to be able
> to show search results from wikipedia in my flash app. But I can't
> find the available web service for 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] wikipedia webservices

2006-04-24 Thread elibol
Hmm, I don't know of the WSDL, but if worse comes to worse, you could always
run a query by URI and parse out the results...

M

On 4/24/06, Guillermo Torres Troconis <[EMAIL PROTECTED]> wrote:
>
> Does anyone know if there's a WSDL for Wikipedia, I want to be able
> to show search results from wikipedia in my flash app. But I can't
> find the available web service for it.
>
> thanks,
>
> g
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] wikipedia webservices

2006-04-24 Thread Guillermo Torres Troconis
Does anyone know if there's a WSDL for Wikipedia, I want to be able  
to show search results from wikipedia in my flash app. But I can't  
find the available web service for it.


thanks,

g
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] excluding children from setTransform

2006-04-24 Thread elibol
There is a function I have handy that you could use to solve this. Instead
of using setTransform on your entire movie, you could do it to all
movieclips except ones that contain the images. You could do this by giving
image clips a special flag that your function will ignore.

function getClips(target:MovieClip):Array {
var r = [], i, child, childChildren;
for(i in target){
child = target[i];
if(child instanceof MovieClip){
if(!child.__hasImage){
r.push(child);
childChildren = getClips(child);
if(childChildren.length>0)
r = r.concat(childChildren);
}
}
}
return r;
}

Where __hasImage would be set to true for movieclips that contain images,
this function will return all movieclips that do not contain images.

Hope this helps,

M.

On 4/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am trying to do a setTransform on my whole movieclip to invert the
> colours to
> give a high-resolution scheme for people with seeing difficulties. The
> problem
> is, there are a few graphics (photos) in the app which I do not want to be
> inverted. i tried changing their indiviudal transformations back to normal
> but
> they are still inverted. How can I not apply the transform to those
> objects??
>
> This is all done on the fly, in code, by the way.
>
> Thanks
>
> Kev
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] DateChooser selected date.

2006-04-24 Thread matt ganz
hey. 

don't know if the DateChooser component for flash 8 was updated or not but i'm 
trying to highlight a few days in each month. i can see the 'selectedDate' 
property does this but it doesn't appear to be able to for more than one date 
in each month. anyone know of a workaround?

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] Not all MCs get onEnterFrame

2006-04-24 Thread Johannes Nel
it looks like it should work, i would however refactor. in one place you use
the return of attchMovie anotherplace you access the movie via root. have
you go anything else in that movie you are attaching it to, maybe you are
overriding a depth? try getNextHighestDepth instead of handing out depths
yourself...

On 4/24/06, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:
>
> Hi list...
>
> I am creating a bunch of MCs on the stage that should each get an
> onEnterFrame function defined, but only the first one created in the
> loop is getting that function, and I don't see why.  Any ideas?
>
> Thanks,
> - Michael M.
>
> private function mLanguages(attachToWhat):Void {
> attachToWhat.attachMovie("languages", "langTest", 10,
> {_x:50, _y:50});
> var totalFrames =
> _root.theContent.langTest._totalframes;
> _root.theContent.langTest.removeMovieClip();
> for (var i:Number = 1; i <= totalFrames; i++) {
> var hitherYon:Number = Math.round(Math.random()
> * (150 - 60) + 60);
> var riseSpeed:Number = ((0.03 * hitherYon) -
> 1.5);
> var newClip:MovieClip =
> _root.theContent.attachMovie("languages", String("lang" + i), (i + 5),
> {_x:50, _y:50});
> newClip.gotoAndStop(i);
> newClip.onEnterFrame = function():Void {
> newClip._y -= riseSpeed;
> };
> }
> }
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Not all MCs get onEnterFrame

2006-04-24 Thread Johannes Nel
you don't need that, it will be availible because its an anon function
inside another function, therefore all variables inside the containing
function will be availible.
put this in frame 1 of a movie to test
function containing ():Void
{
var p:Number = 8;
this.onEnterFrame = function ()
{
trace(p);
};
}
containing ();

On 4/24/06, Geoff Stearns <[EMAIL PROTECTED]> wrote:
>
> for this part:
>
> newClip.onEnterFrame = function():Void {
> newClip._y -= riseSpeed;
> };
>
>
> you should set riseSpeed inside the newClip, and then apply the
> onenterframe to the clip's _y, like this:
>
> newClip.riseSpeed = ((0.03 * hitherYon) - 1.5);
> newClip.onEnterFrame = function():Void {
> this._y -= this.riseSpeed;
> };
>
>
>
> On Apr 24, 2006, at 4:24 PM, Mendelsohn, Michael wrote:
>
> >   newClip.onEnterFrame = function():Void {
> >   newClip._y -= riseSpeed;
> >   };
> >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Not all MCs get onEnterFrame

2006-04-24 Thread Mendelsohn, Michael
That worked perfectly.  Thanks, Geoff.

- MM


you should set riseSpeed inside the newClip, and then apply the  
onenterframe to the clip's _y, like this:

newClip.riseSpeed = ((0.03 * hitherYon) - 1.5);
newClip.onEnterFrame = function():Void {
this._y -= this.riseSpeed;
};

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

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


[Flashcoders] Live Video Encoder

2006-04-24 Thread Christian

Hey Everyone,

I've been trying to look through the archives with out much luck, and 
Flash-Comm archives are pw protected, so here I am with a question.  
Does anyone have either tutorials or example code of a live video 
encoder for flash?


I have a rudimentary one, but I'm trying to understand what's possible 
and really how to do this the right way instead of the hack way.


Any and All help would be much appreciated.

Thanks,

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

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


Re: [Flashcoders] FLV Playback Issue From Network Path

2006-04-24 Thread JesterXL
Have you tried asking this question on Flashcom?  A lot of video + server 
heads there; maybe they'd have some suggestions.

- Original Message - 
From: "Scott Brantley" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Monday, April 24, 2006 3:41 PM
Subject: RE: [Flashcoders] FLV Playback Issue From Network Path



Yes, we read and tried the livedocs article about using a .cfg file and
that is still no solution for us. The application we are trying to build
will run in a WAN. This means that the .cfg file will have to be
installed on many users' computers.  This is completely out of the
question.

As far as the player, we are using a version 7 .exe. The client is
limiting us to UNC paths. This is killing the whole deal because it
seems that .flvs and the components and stuff that were built to play
them only work locally (on your computer) or over http.

We have been researching and experimenting with this problem for a long
time and I don't think there is an answer. Macromedia has screwed us
again.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Monday, April 24, 2006 3:08 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FLV Playback Issue From Network Path

Regarding Flash 8, I'm sure you've followed the awesome suggestion here
on
creating a .cfg file:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w
whelp.htm?context=LiveDocs_Parts&file=1611.html

Since the global security settings won't really mean anything in this
case
since you are running local, perhaps the .cfg +/- the registry
suggestions
are ok.

Regarding Flash Player 7, that's f'd up, no clue.  Is it Flash Player 7
SWF
running in Flash Player 8?


- Original Message - 
From: "Scott Brantley" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 24, 2006 2:40 PM
Subject: [Flashcoders] FLV Playback Issue From Network Path


FLV Playback Issue From Network Path





We are developing an application that due to network bandwidth concerns
pulls FLV files from different network paths based on a user.  This
information must be pulled via a UNC path (\\server\folder\file.flv
 )



Using contentPath, .setMedia, & netstream we have tried to make this
work.  Flash 8 shut us out due to the new security model / sandbox
issue.  Now using Flash 7 we have ran into a new issue.  The flv works
correctly as long as only one person is accessing the file.  If another
person opens the application and calls the same flv file it fails to
load.



We have enabled the MIME types on our Windows Server 2003 for the FLV
extension.



We're completely stumped on this one..  as others have obviously been:



http://labs.blitzagency.com/?p=80



This may be a limitation of flash, a bug or a general mystery. We've
thought about diving into the world of third party apps such as Zinc.



Does anyone have any thoughts or a workaround/solution?  If not does
anyone have suggestions on how to use a third party app to attain the
same results?



Thanks in advance for any advice...



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Not all MCs get onEnterFrame

2006-04-24 Thread Geoff Stearns

for this part:

newClip.onEnterFrame = function():Void {
newClip._y -= riseSpeed;
};


you should set riseSpeed inside the newClip, and then apply the  
onenterframe to the clip's _y, like this:


newClip.riseSpeed = ((0.03 * hitherYon) - 1.5);
newClip.onEnterFrame = function():Void {
this._y -= this.riseSpeed;
};



On Apr 24, 2006, at 4:24 PM, Mendelsohn, Michael wrote:


newClip.onEnterFrame = function():Void {
newClip._y -= riseSpeed;
};



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Not all MCs get onEnterFrame

2006-04-24 Thread Mendelsohn, Michael
Hi list...

I am creating a bunch of MCs on the stage that should each get an
onEnterFrame function defined, but only the first one created in the
loop is getting that function, and I don't see why.  Any ideas?

Thanks,
- Michael M.

private function mLanguages(attachToWhat):Void {
attachToWhat.attachMovie("languages", "langTest", 10,
{_x:50, _y:50});
var totalFrames =
_root.theContent.langTest._totalframes;
_root.theContent.langTest.removeMovieClip();
for (var i:Number = 1; i <= totalFrames; i++) {
var hitherYon:Number = Math.round(Math.random()
* (150 - 60) + 60);
var riseSpeed:Number = ((0.03 * hitherYon) -
1.5);
var newClip:MovieClip =
_root.theContent.attachMovie("languages", String("lang" + i), (i + 5),
{_x:50, _y:50});
newClip.gotoAndStop(i);
newClip.onEnterFrame = function():Void {
newClip._y -= riseSpeed;
};
}
}

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

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


[Flashcoders] Re: Adobes ActiveX fix breaking js communication in firefox?

2006-04-24 Thread Calv J
Hi jd,

Well I've had another play around with this, and I've
got it to work, if not quite as nicely as I'd hope.

I tried adding the "swLiveConnect" parameter - it had
no effect at all. With the 'normal' (or 'old') way of
putting the movie in the page (OBJECT/EMBED tags) - it
works with or without "swLiveConnect"
With the new way - still no go.

And yep, I was trying this out with an html link, so
the timing isn't an issue.

So I fired up the DOM inspector in firefox, and just
got a handle on the flash movie there and used that.
So what I found is that whereas

function foo(){
var movie = window.document.movie_name;
movie.LoadMovie(1, "loadMe.swf");
}

works fine with the OBJECT/EMBED way, it just wont
work with the dynamic tag writing.

What does work is using document.embeds for firefox.
So though I was hoping I wouldn't have to change any
other code to implement this activeX 'fix', it looks
like I'm out of luck.

So using something like

function foo(){
 var movie;
 if(window.document.all){
  movie = document.getElementById("movie_name");
 } else {
  movie = document.embeds["movie_name"]; 
 }
 movie.LoadMovie(1, "loadMe.swf");
}

does the trick. Bit weird and I don't know why it's
required, but there you go, that's what I came up with
at least. Obviously you'd make a more generally usable
function to grab a handle on the movie rather than
this hard coded example, but you get the idea.

Cheers.

jd wrote:

> I'm not sure yet, and I'd like to research this more
today... here are 
> some of the things I think of offhand:
> 
> --  As Stan noted, the "swLiveConnect" parameter
needs to be set... this 
> was originally added to avoid unnecessary Java VM
initialization and may 
> not be necessary for current browsers, but this is a
possible candidate 
> for breakage.
> 
> --  I haven't heard of this symptom yet, which
doesn't mean anything, 
> but which does suggest that it may be a "some-or-all
files" kind of issue.
> 
> --  Another possibility depends on the timing of the
communication 
> call... it takes a moment for a SWF to start up and
to be able to catch 
> messages from the browser, and any dynamic
tag-writing could extend that 
> time... you mentioned that your triggering message
was from an HTML 
> link, which makes me disinclined to credit this
hypothesis, but it's 
> still a possibility.
> 
> Do you have a way to check what markup the browser
actually processes, 
> after the JavaScript finishes changing the markup?
Awhile ago a 
> "viewsource:" protocol would reveal this, but I'm
not sure whether they 
> support this anymore... if we had just the relevant
fragment in a 
> simpler HTML file then it would be more accurate to
test.
> 
> Sorry I don't know yet, but the above is what I have
at the moment, and 
> I'll ask other staffers throughout the day today if
they have leads. Do 
> any of the above potential hypotheses allow for more
targeted testing in 
> the meantime...?
> 
> tx,
> jd

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Re: Flashcoders Digest, Vol 15, Issue 77Re: Adobes ActiveX fix breaking js communication in firefox?

2006-04-24 Thread Calv J
Hi jd,

Well I've had another play around with this, and I've
got it to work, if not quite as nicely as I'd hope.

I tried adding the "swLiveConnect" parameter - it had
no effect at all. With the 'normal' (or 'old') way of
putting the movie in the page (OBJECT/EMBED tags) - it
works with or without "swLiveConnect"
With the new way - still no go.

And yep, I was trying this out with an html link, so
the timing isn't an issue.

So I fired up the DOM inspector in firefox, and just
got a handle on the flash movie there and used that.
So what I found is that whereas

function foo(){
var movie = window.document.movie_name;
movie.LoadMovie(1, "loadMe.swf");
}

works fine with the OBJECT/EMBED way, it just wont
work with the dynamic tag writing.

What does work is using document.embeds for firefox.
So though I was hoping I wouldn't have to change any
other code to implement this activeX 'fix', it looks
like I'm out of luck.

So using something like

function foo(){
 var movie;
 if(window.document.all){
  movie = document.getElementById("movie_name");
 } else {
  movie = document.embeds["movie_name"]; 
 }
 movie.LoadMovie(1, "loadMe.swf");
}

does the trick. Bit weird and I don't know why it's
required, but there you go, that's what I came up with
at least. Obviously you'd make a more generally usable
function to grab a handle on the movie rather than
this hard coded example, but you get the idea.

Cheers.

jd wrote:

> I'm not sure yet, and I'd like to research this more
today... here are 
> some of the things I think of offhand:
> 
> --  As Stan noted, the "swLiveConnect" parameter
needs to be set... this 
> was originally added to avoid unnecessary Java VM
initialization and may 
> not be necessary for current browsers, but this is a
possible candidate 
> for breakage.
> 
> --  I haven't heard of this symptom yet, which
doesn't mean anything, 
> but which does suggest that it may be a "some-or-all
files" kind of issue.
> 
> --  Another possibility depends on the timing of the
communication 
> call... it takes a moment for a SWF to start up and
to be able to catch 
> messages from the browser, and any dynamic
tag-writing could extend that 
> time... you mentioned that your triggering message
was from an HTML 
> link, which makes me disinclined to credit this
hypothesis, but it's 
> still a possibility.
> 
> Do you have a way to check what markup the browser
actually processes, 
> after the JavaScript finishes changing the markup?
Awhile ago a 
> "viewsource:" protocol would reveal this, but I'm
not sure whether they 
> support this anymore... if we had just the relevant
fragment in a 
> simpler HTML file then it would be more accurate to
test.
> 
> Sorry I don't know yet, but the above is what I have
at the moment, and 
> I'll ask other staffers throughout the day today if
they have leads. Do 
> any of the above potential hypotheses allow for more
targeted testing in 
> the meantime...?
> 
> tx,
> jd

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash and IE update question

2006-04-24 Thread Kevin Newman

Have you tried this one:

http://www.unfocus.com/projects/PatentMagic/

Kevin N.


Michael F. Hiatt wrote:

All,

I'm trying to implement the fix to take care of the ActiveX/Flash activate
issue (using the code found on Amara's site:)

http://www.amarasoftware.com/flash-problem.htm

---
To fix the problem, please follow these steps:

1) Just below the last  in your HTML page, insert the following
Javascript:



2) Open a new document in Notepad or your HTML editor, and copy & paste the
following content into it: 


theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) { theObjects[i].outerHTML =
theObjects[i].outerHTML; }

3) Save this file as ieupdate.js

-

This is working fine except when the swf is in a layer. The swf shows up for
a second and then is replaced with "undefined"

Any ideas on how to make this fix work for swfs in layers would be
appreciated.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FLV Playback Issue From Network Path

2006-04-24 Thread Scott Brantley

Yes, we read and tried the livedocs article about using a .cfg file and
that is still no solution for us. The application we are trying to build
will run in a WAN. This means that the .cfg file will have to be
installed on many users' computers.  This is completely out of the
question. 

As far as the player, we are using a version 7 .exe. The client is
limiting us to UNC paths. This is killing the whole deal because it
seems that .flvs and the components and stuff that were built to play
them only work locally (on your computer) or over http. 

We have been researching and experimenting with this problem for a long
time and I don't think there is an answer. Macromedia has screwed us
again. 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Monday, April 24, 2006 3:08 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FLV Playback Issue From Network Path

Regarding Flash 8, I'm sure you've followed the awesome suggestion here
on 
creating a .cfg file:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w
whelp.htm?context=LiveDocs_Parts&file=1611.html

Since the global security settings won't really mean anything in this
case 
since you are running local, perhaps the .cfg +/- the registry
suggestions 
are ok.

Regarding Flash Player 7, that's f'd up, no clue.  Is it Flash Player 7
SWF 
running in Flash Player 8?


- Original Message - 
From: "Scott Brantley" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 24, 2006 2:40 PM
Subject: [Flashcoders] FLV Playback Issue From Network Path


FLV Playback Issue From Network Path





We are developing an application that due to network bandwidth concerns
pulls FLV files from different network paths based on a user.  This
information must be pulled via a UNC path (\\server\folder\file.flv
 )



Using contentPath, .setMedia, & netstream we have tried to make this
work.  Flash 8 shut us out due to the new security model / sandbox
issue.  Now using Flash 7 we have ran into a new issue.  The flv works
correctly as long as only one person is accessing the file.  If another
person opens the application and calls the same flv file it fails to
load.



We have enabled the MIME types on our Windows Server 2003 for the FLV
extension.



We're completely stumped on this one..  as others have obviously been:



http://labs.blitzagency.com/?p=80



This may be a limitation of flash, a bug or a general mystery. We've
thought about diving into the world of third party apps such as Zinc.



Does anyone have any thoughts or a workaround/solution?  If not does
anyone have suggestions on how to use a third party app to attain the
same results?



Thanks in advance for any advice...



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] RootkitRevealer flagging shared object... :(

2006-04-24 Thread David Rorex
On 4/24/06, dave matthews <[EMAIL PROTECTED]> wrote:
>
> hi all,
>
>   RootkitRevealer flagged this file as a problem:
>
>   c:\Documents and Settings\myUserName\Application Data\Macromedia\Flash
> Player\macromedia.com\support\flashplayer\sys\#name.com.
>
>   Was able to delete all other files in this folder, this one resists
> deletion and renaming.  Tried deleting it using safe mode too... no luck.
>
>   Please notice the 'period' at the end of the file name, seems unique and
> no other files in the folder have one at the end of "com".
>
>   Googled the real company name and they seem to be a reputable Flash
> component seller, so i changed it to  "#name.com."  for this post.



How does RootkitRevealer work?

I think it scans your entire hard drive, once using standard windows calls,
and once using low level disk access. It then compares the two scans, to
look for files that are different between the two, which shows possibly that
a rootkit is trying to hide something.

However, this could produce false positives (ie, flag files that are
innocent), if the file changes inbetween the two scans. For example, say you
have a chat program, which logs to disk all incoming messages. If someone
sends you a message, after the first scan, but before the second, then
RootkitRevealer will detect a difference in the two scans, and flag your
chat file as something wrong with it.

However, the inability to delete/rename it seems odd. Try downloading
Process Explorer
http://www.sysinternals.com/Utilities/ProcessExplorer.htmland
searching to see what process is accessing that file. That might give
some further clues.

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

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


Re: [Flashcoders] Flash and IE update question

2006-04-24 Thread Geoff Stearns
you could just use SWFObject - it will work with flash stuff in  
layers/divs/whatever.


http://blog.deconcept.com/swfobject/

(that amerasoftware page links to my blog at the bottom as well as an  
alternative)



On Apr 24, 2006, at 2:20 PM, Michael F. Hiatt wrote:


All,

I'm trying to implement the fix to take care of the ActiveX/Flash  
activate

issue (using the code found on Amara's site:)

http://www.amarasoftware.com/flash-problem.htm

---
To fix the problem, please follow these steps:

1) Just below the last  in your HTML page, insert the  
following

Javascript:



2) Open a new document in Notepad or your HTML editor, and copy &  
paste the

following content into it:

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) { theObjects 
[i].outerHTML =

theObjects[i].outerHTML; }

3) Save this file as ieupdate.js

-

This is working fine except when the swf is in a layer. The swf  
shows up for

a second and then is replaced with "undefined"

Any ideas on how to make this fix work for swfs in layers would be
appreciated.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FLV Playback Issue From Network Path

2006-04-24 Thread JesterXL
Regarding Flash 8, I'm sure you've followed the awesome suggestion here on 
creating a .cfg file:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1611.html

Since the global security settings won't really mean anything in this case 
since you are running local, perhaps the .cfg +/- the registry suggestions 
are ok.

Regarding Flash Player 7, that's f'd up, no clue.  Is it Flash Player 7 SWF 
running in Flash Player 8?


- Original Message - 
From: "Scott Brantley" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 24, 2006 2:40 PM
Subject: [Flashcoders] FLV Playback Issue From Network Path


FLV Playback Issue From Network Path





We are developing an application that due to network bandwidth concerns
pulls FLV files from different network paths based on a user.  This
information must be pulled via a UNC path (\\server\folder\file.flv
 )



Using contentPath, .setMedia, & netstream we have tried to make this
work.  Flash 8 shut us out due to the new security model / sandbox
issue.  Now using Flash 7 we have ran into a new issue.  The flv works
correctly as long as only one person is accessing the file.  If another
person opens the application and calls the same flv file it fails to
load.



We have enabled the MIME types on our Windows Server 2003 for the FLV
extension.



We're completely stumped on this one..  as others have obviously been:



http://labs.blitzagency.com/?p=80



This may be a limitation of flash, a bug or a general mystery. We've
thought about diving into the world of third party apps such as Zinc.



Does anyone have any thoughts or a workaround/solution?  If not does
anyone have suggestions on how to use a third party app to attain the
same results?



Thanks in advance for any advice...



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Adobes ActiveX fix breaking js communication in firefox?

2006-04-24 Thread John Dowdell

Calv J wrote:

[I see that the dynamic JavaScript write of OBJECT/EMBED tags

>  makes my Flash/JavaScript communication fail... how can I
>  troubleshoot this?]

I'm not sure yet, and I'd like to research this more today... here are 
some of the things I think of offhand:


--  As Stan noted, the "swLiveConnect" parameter needs to be set... this 
was originally added to avoid unnecessary Java VM initialization and may 
not be necessary for current browsers, but this is a possible candidate 
for breakage.


--  I haven't heard of this symptom yet, which doesn't mean anything, 
but which does suggest that it may be a "some-or-all files" kind of issue.


--  Another possibility depends on the timing of the communication 
call... it takes a moment for a SWF to start up and to be able to catch 
messages from the browser, and any dynamic tag-writing could extend that 
time... you mentioned that your triggering message was from an HTML 
link, which makes me disinclined to credit this hypothesis, but it's 
still a possibility.


Do you have a way to check what markup the browser actually processes, 
after the JavaScript finishes changing the markup? Awhile ago a 
"viewsource:" protocol would reveal this, but I'm not sure whether they 
support this anymore... if we had just the relevant fragment in a 
simpler HTML file then it would be more accurate to test.


Sorry I don't know yet, but the above is what I have at the moment, and 
I'll ask other staffers throughout the day today if they have leads. Do 
any of the above potential hypotheses allow for more targeted testing in 
the meantime...?


tx,
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


[Flashcoders] FLV Playback Issue From Network Path

2006-04-24 Thread Scott Brantley
FLV Playback Issue From Network Path

 

 

We are developing an application that due to network bandwidth concerns
pulls FLV files from different network paths based on a user.  This
information must be pulled via a UNC path (\\server\folder\file.flv
 )  

 

Using contentPath, .setMedia, & netstream we have tried to make this
work.  Flash 8 shut us out due to the new security model / sandbox
issue.  Now using Flash 7 we have ran into a new issue.  The flv works
correctly as long as only one person is accessing the file.  If another
person opens the application and calls the same flv file it fails to
load.

 

We have enabled the MIME types on our Windows Server 2003 for the FLV
extension.

 

We're completely stumped on this one..  as others have obviously been:

 

http://labs.blitzagency.com/?p=80

 

This may be a limitation of flash, a bug or a general mystery. We've
thought about diving into the world of third party apps such as Zinc.

 

Does anyone have any thoughts or a workaround/solution?  If not does
anyone have suggestions on how to use a third party app to attain the
same results?

 

Thanks in advance for any advice...

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FW: SourceSafe??? Recommendations needed.

2006-04-24 Thread Bernard Poulin
In our case, all the events are hooked from within ActionScript classes:
There are no explicit code in "frames" or "symbols". Example: When we want
to attach code to MovieClip (symbol) events - we attach a ActionScript class
to a library symbol that extends MovieClip. So really, we only need a single
"import" statement in the first frame - just enough so the "compiler"
includes the "Main class" which in turn initializes everything.

import com.mycorp.Main;

Depending on how you work, this might not be suitable.

hope that helps,
B.


2006/4/24, Loren R. Elks <[EMAIL PROTECTED]>:
>
>
>
> Can someone send me an example of an FLA with only the code in the .AS
> file?
>
>
> Sincerely,
> Loren
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Flash and IE update question

2006-04-24 Thread Michael F. Hiatt
All,

I'm trying to implement the fix to take care of the ActiveX/Flash activate
issue (using the code found on Amara's site:)

http://www.amarasoftware.com/flash-problem.htm

---
To fix the problem, please follow these steps:

1) Just below the last  in your HTML page, insert the following
Javascript:



2) Open a new document in Notepad or your HTML editor, and copy & paste the
following content into it: 

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) { theObjects[i].outerHTML =
theObjects[i].outerHTML; }

3) Save this file as ieupdate.js

-

This is working fine except when the swf is in a layer. The swf shows up for
a second and then is replaced with "undefined"

Any ideas on how to make this fix work for swfs in layers would be
appreciated.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Bernard Poulin
Hey!  I may have found a simpler version:  MovieClip.getBounds seems to have
a parameter for the "target space". Example:

var bounds = mc.getBounds(_root);

..which, I believe, should convert the bounding rectangle automatically to
the _root coordinates. (I think it uses localToGlobal and globalToLocal
internally).

cheers,
B.



2006/4/24, Zeh Fernando <[EMAIL PROTECTED]>:
>
> > When I found this out It confused the hell out of me as
> > localToGlobal had never worked like that before - I just
> > assumed I'd never used it with anything scaled by hand before
> > and wrote that off as the reason.
> > Now if what you're saying is true then it gets even more confusing.
> >
> > One difference may be that I'm actually attaching an MC to point MC and
> > trying to get it's coords? I bet when you attach an MC it doesn't
> > inherit the transform matrix info from its parent.
>
> Maybe - or maybe because you're loading content from an outside SWF.
>
> I've never tested localToGlobal with both attaching and loading; I'd guess
> it should work, but I can't test it right now to really know. I'll keep it
> in mind if I have problems with localToGlobal in the future though; thanks
> for the info, it has made me curious.
>
>
> - Zeh
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Project 3:16

2006-04-24 Thread JesterXL
Amen.  Bring forth the apocolyspe; I didn't want to work today anyway.

- Original Message - 
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Monday, April 24, 2006 1:27 PM
Subject: [Flashcoders] Project 3:16


Project 3:16 - For Client so loved the work, that he told his one and only
Designer, that whosoever listens to him shall not finish, but have eternal
changes.

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread Sumeet Basak
Hi Karan,
Try using the Stage.Width and Stage.Height methods.
U will be returned with the dimensions the flash player is using.
You need to compare the returned value to the array of of existing screen
reolutions. You could find one from the intel graphic driver.
Google one, I m sure u would get one.


Thanks
Sumeet Basak
CTO
Renaissance Legal & Learning Systems Pvt. Ltd.
Cell: + 91 9223214301

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karan Mehra
Sent: Monday, April 24, 2006 8:39 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] How To Detect the FullScreen mode of the swf file

Hi,

 

How to detect whether the swf is playing in fullscreen mode in Flash
player or not?

 

Thanks in Advance.

 

Regards,

Karan

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Project 3:16

2006-04-24 Thread Steven Sacks
Project 3:16 - For Client so loved the work, that he told his one and only
Designer, that whosoever listens to him shall not finish, but have eternal
changes.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Can anyone offer assistance for using color picker in Drawing Application.

2006-04-24 Thread artkast
I am using Flash 8 and trying to use a color picker to change the  
stroke color. Can anyone offer any examples of a pre-made application  
using such functions? Thanks.


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

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



Re: [Flashcoders] Forcing XML connection closed from SWF

2006-04-24 Thread erixtekila


Le 23 avr. 06, à 20:26, Bernard Poulin a écrit :

- I do not know if we can control the HTTP Headers from within flash - 
if
you can, try to "modify the headers" to shutoff the keep-alive option. 
It

*might* be possible with the recent flash player 8 (raw sockets).


Should be :
Take a look at XML.addRequestHeader method.

It's only possible with XML and LoadVars, not MovieClip type… 
unfortunatly.


---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] hitTest difference between attached mcandoneplacedon stage in authoring

2006-04-24 Thread Paul Steven
OK I think I have cracked it! I was going in the right direction earlier
with the localToGlobal thing

This is what I have done to fix it

[code]
var myPoint = new Object();
myPoint.x = _parent.game_mc.player_mc._x;
myPoint.y = _parent.game_mc.player_mc._y;

trace ("myPoint.x before = " + myPoint.x);
trace ("myPoint.y before = " + myPoint.y);

_parent.game_mc.localToGlobal(myPoint);

trace ("myPoint.x after = " + myPoint.x);
trace ("myPoint.y after = " + myPoint.y);

if (_level0.game_mc.bg_mc.hitTest(myPoint.x, myPoint.y, 
true)) {
trace ("HIT RIVER BANK ");
}

[/code]

Thanks for all the help. What a waste of a day trying to fix one bug!!



Hi Paul,

The problem is that you attach it as Player_Object and refer to it as
mcDolphin.

Changing:
if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true))
{
Into:
if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x,
game_mc.Player_Object._y, true)) {

Solves the problem.

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Paul Steven
> Verzonden: maandag 24 april 2006 16:37
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] hitTest difference between attached
> mc and one placedon stage in authoring
>
> I am having problems making the hitTest function work with a
> movie clip attached from the library
>
> Basically I am making a game that involves a dolphin swimming
> up a river and I want to detect when the dolphin hits the river bank.
>
> The following works fine when the dolphin is placed on stage
> in authoring mode
>
> if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){
>
> //doplhin has hit
>
> }
>
> See http://www.mediakitchen.co.uk/dolphin.html
>
> Whereas when I attach the dolphin using attachMovie it does
> not work and infact detects a collision at all times:
>
> See See http://www.mediakitchen.co.uk/dolphin_new.html
>
> Any ideas why this should not work when the dolphin is attached.
>
> Here is a link to the fla incase you should want to see the code
>
> http://www.mediakitchen.co.uk/dolphin_new.zip
>
> Any advice much appreciated
>
> Thanks
>
> Paul
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hitTest difference between attached mc andoneplacedon stage in authoring

2006-04-24 Thread Paul Steven
Here is the test movie to illustrate the problem

http://www.mediakitchen.co.uk/dolphin_new.html

I have stopped the scrolling to make it easier to see the problem. It is
detecting a hit when the dolphin is not touching a river bank.

Do I need to do some sort of localToGlobal conversion?

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Steven
Sent: 24 April 2006 17:55
To: Flashcoders mailing list
Subject: RE: [Flashcoders] hitTest difference between attached mc
andoneplacedon stage in authoring


Thanks Bernard - well spotted! I discovered this too but unfortunately this
is only a test movie to try and work out why my main game movie is not
working.

With the test movie - I can replicate the problem if I move the game_mc
movie clip across to the left. Currently it is positioned with an x position
of -105.6

However if you move the game_mc over to the left so it is -235.6 then the
collision detection stops working. I believe the problem with my main movie
is something to do with this.

Any ideas?

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bernard
Visscher
Sent: 24 April 2006 17:00
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] hitTest difference between attached mc and
oneplacedon stage in authoring


Hi Paul,

The problem is that you attach it as Player_Object and refer to it as
mcDolphin.

Changing:
if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true))
{
Into:
if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x,
game_mc.Player_Object._y, true)) {

Solves the problem.

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Paul Steven
> Verzonden: maandag 24 april 2006 16:37
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] hitTest difference between attached
> mc and one placedon stage in authoring
>
> I am having problems making the hitTest function work with a
> movie clip attached from the library
>
> Basically I am making a game that involves a dolphin swimming
> up a river and I want to detect when the dolphin hits the river bank.
>
> The following works fine when the dolphin is placed on stage
> in authoring mode
>
> if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){
>
> //doplhin has hit
>
> }
>
> See http://www.mediakitchen.co.uk/dolphin.html
>
> Whereas when I attach the dolphin using attachMovie it does
> not work and infact detects a collision at all times:
>
> See See http://www.mediakitchen.co.uk/dolphin_new.html
>
> Any ideas why this should not work when the dolphin is attached.
>
> Here is a link to the fla incase you should want to see the code
>
> http://www.mediakitchen.co.uk/dolphin_new.zip
>
> Any advice much appreciated
>
> Thanks
>
> Paul
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hitTest difference between attached mc and oneplacedon stage in authoring

2006-04-24 Thread Paul Steven
Thanks Bernard - well spotted! I discovered this too but unfortunately this
is only a test movie to try and work out why my main game movie is not
working.

With the test movie - I can replicate the problem if I move the game_mc
movie clip across to the left. Currently it is positioned with an x position
of -105.6

However if you move the game_mc over to the left so it is -235.6 then the
collision detection stops working. I believe the problem with my main movie
is something to do with this.

Any ideas?

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bernard
Visscher
Sent: 24 April 2006 17:00
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] hitTest difference between attached mc and
oneplacedon stage in authoring


Hi Paul,

The problem is that you attach it as Player_Object and refer to it as
mcDolphin.

Changing:
if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true))
{
Into:
if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x,
game_mc.Player_Object._y, true)) {

Solves the problem.

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Paul Steven
> Verzonden: maandag 24 april 2006 16:37
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] hitTest difference between attached
> mc and one placedon stage in authoring
>
> I am having problems making the hitTest function work with a
> movie clip attached from the library
>
> Basically I am making a game that involves a dolphin swimming
> up a river and I want to detect when the dolphin hits the river bank.
>
> The following works fine when the dolphin is placed on stage
> in authoring mode
>
> if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){
>
> //doplhin has hit
>
> }
>
> See http://www.mediakitchen.co.uk/dolphin.html
>
> Whereas when I attach the dolphin using attachMovie it does
> not work and infact detects a collision at all times:
>
> See See http://www.mediakitchen.co.uk/dolphin_new.html
>
> Any ideas why this should not work when the dolphin is attached.
>
> Here is a link to the fla incase you should want to see the code
>
> http://www.mediakitchen.co.uk/dolphin_new.zip
>
> Any advice much appreciated
>
> Thanks
>
> Paul
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Component resizing problems

2006-04-24 Thread Jamie Owen
Hi,

 

I am having problems with the resizing of a component...

 

The resizing works fine through the livePreview in the IDE but goes a
bit pear-shaped when published.

 

The problem is that the width & height values that I'm receiving through
the setSize() method are different from the _width & _height properties
of the actual clip when traced first in the constructor.  The setSize()
ones are correct and the ones in the constructor are about 20% bigger.  

 

I'm not extending the UIObject, just MovieClip and I'm calling the
setSize function from the constructor to do the positioning.  Also, the
initial graphic for the component is quite large, around 1200x750
pixels.

 

Has anyone had this problem before or know what it might be?

 

Cheers!

 

Jamie



Proximity London Limited
191 Old Marylebone Road
London
NW1 5DW
United Kingdom
Registered number: 2617496
Registered in England
Tel: +44 (0) 20 7298 1000
Fax: +44 (0) 20 7298 1001

This email its contents and any files or images with it are intended solely for 
the
addressee(s) and are confidential. If you have received this email in error you 
may
not copy or use the contents, attachments or information in any way. Please 
destroy
it and contact the sender on the number printed above, via the Proximity London
switchboard or via email return.

DISCLAIMER
Material contained in this email may be copyright material of Proximity London 
or protected
by other intellectual property rights. It may only be reproduced with the 
express
permission of Proximity London. Proximity London does not accept responsibility 
for any changes
made to this email by unauthorised parties after it was sent. Whilst Proximity 
London runs 
antivirus software on all Internet emails it is not liable for any loss or 
damage caused by
an infected email. The recipient is advised to run their own antivirus 
software. 
All information contained in this email has been prepared using information 
believed by the
author to be reliable and accurate, but Proximity London makes no warranty as 
to accuracy and
completeness. Any opinions expressed in this email are those of the author and 
do not 
necessarily reflect the opinions of Proximity London or its affiliates.

=
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-04-24 Thread Van De Velde Hans
You get your text from the textarea and you do this:

Dynamically attach a movieclip from the library with a preformatted
textfield that exactly fits an A4 page (set movieclip to _visible = false to
do it invisibly)
and fill the textfield up with the text from your textarea until the
textfield is full.

Then you add to movieclip to the printjob and push the reference to the
movieclip to an array. 

Cut the remaining text and fill up the next one...
Create a loop of this to write out all your text.

After all text is written out, you execute the printjob and remove all 
the movieclips with removeMovieClip by looping the array of movieclips.

NOTE : this is easier than it seems.


Been there, done that,

Regards,

Hans.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of julian
atienza
Sent: maandag 24 april 2006 17:26
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

Hi.
I wanted to Print contents of a long Scrollable textArea  with Flash, but
it's a kind of nightmare.

I tried to made a class to manage Printing (with a PrintJob object inside) ,
and one empty swf that Creates Dynamically the TextArea and the Class to
ManagePrinting, who feeds textArea with contents and scroll TextArea adding
page by page contents.

Problems:

- The Scrolled area in Screen doesn't appeared to be the same than the
printable area (each Page, i see repeated contents... why? i just don't know
. IT's like the scroll doesn't scroll propertly).

- Of course, sometimes, appeared incomplete text (with a cut at the middle)
because i don't know any mechanism to avoid it at the moment.


Somebody have any idea -> the contents to print will be sometimes of 5 or 6
pages DIN A-4

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FW: SourceSafe??? Recommendations needed.

2006-04-24 Thread Loren R. Elks


Can someone send me an example of an FLA with only the code in the .AS
file?


Sincerely,
Loren
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hitTest difference between attached mc and one placedon stage in authoring

2006-04-24 Thread Bernard Visscher
Hi Paul,

The problem is that you attach it as Player_Object and refer to it as
mcDolphin.

Changing:
if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true))
{
Into:
if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x,
game_mc.Player_Object._y, true)) { 

Solves the problem.

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Paul Steven
> Verzonden: maandag 24 april 2006 16:37
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] hitTest difference between attached 
> mc and one placedon stage in authoring
> 
> I am having problems making the hitTest function work with a 
> movie clip attached from the library
> 
> Basically I am making a game that involves a dolphin swimming 
> up a river and I want to detect when the dolphin hits the river bank.
> 
> The following works fine when the dolphin is placed on stage 
> in authoring mode
> 
> if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){
> 
> //doplhin has hit
> 
> }
> 
> See http://www.mediakitchen.co.uk/dolphin.html
> 
> Whereas when I attach the dolphin using attachMovie it does 
> not work and infact detects a collision at all times:
> 
> See See http://www.mediakitchen.co.uk/dolphin_new.html
> 
> Any ideas why this should not work when the dolphin is attached.
> 
> Here is a link to the fla incase you should want to see the code
> 
> http://www.mediakitchen.co.uk/dolphin_new.zip
> 
> Any advice much appreciated
> 
> Thanks
> 
> Paul
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] excluding children from setTransform

2006-04-24 Thread lists
Hi all,

 I am trying to do a setTransform on my whole movieclip to invert the colours to
give a high-resolution scheme for people with seeing difficulties. The problem
is, there are a few graphics (photos) in the app which I do not want to be
inverted. i tried changing their indiviudal transformations back to normal but
they are still inverted. How can I not apply the transform to those objects??

 This is all done on the fly, in code, by the way.

Thanks

Kev

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-04-24 Thread julian atienza
Hi.
I wanted to Print contents of a long Scrollable textArea  with Flash, but
it's a kind of nightmare.

I tried to made a class to manage Printing (with a PrintJob object inside) ,
and one empty swf that Creates Dynamically the TextArea and the Class to
ManagePrinting, who feeds textArea with contents and scroll TextArea adding
page by page contents.

Problems:

- The Scrolled area in Screen doesn't appeared to be the same than the
printable area (each Page, i see repeated contents... why? i just don't know
. IT's like the scroll doesn't scroll propertly).

- Of course, sometimes, appeared incomplete text (with a cut at the middle)
because i don't know any mechanism to avoid it at the moment.


Somebody have any idea -> the contents to print will be sometimes of 5 or 6
pages DIN A-4

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

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


Re: [Flashcoders] Q: FlexBuilder for AS development

2006-04-24 Thread JesterXL
If you are doing AS3 development, it rocks.  Having an IDE give you code & 
import hints for your own classes is great.  This thing was built for 
ActionScript development.  Combined with ANT, you can do some really cool & 
automated stuff.  Definately a must have for any AS developer (or must try 
at least).

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 24, 2006 10:26 AM
Subject: [Flashcoders] Q: FlexBuilder for AS development


Hi
After watching Colin Moock's presentation yesterday at FITC, I'm interested 
in using FlexBuilder for my AS development.

Currently there is both a trial (time restricted) version avilable and a 
beta version available on Adobe labs.

Is anyone using Flexbuilder for AS as opposed to Flex coding? What are your 
thoughts?
Thanks
Jim Bachalo

[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 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] hitTest difference between attached mc and one placed on stage in authoring

2006-04-24 Thread Paul Steven
I am having problems making the hitTest function work with a movie clip
attached from the library

Basically I am making a game that involves a dolphin swimming up a river and
I want to detect when the dolphin hits the river bank.

The following works fine when the dolphin is placed on stage in authoring
mode

if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){

//doplhin has hit

}

See http://www.mediakitchen.co.uk/dolphin.html

Whereas when I attach the dolphin using attachMovie it does not work and
infact detects a collision at all times:

See See http://www.mediakitchen.co.uk/dolphin_new.html

Any ideas why this should not work when the dolphin is attached.

Here is a link to the fla incase you should want to see the code

http://www.mediakitchen.co.uk/dolphin_new.zip

Any advice much appreciated

Thanks

Paul

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

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


[Flashcoders] Q: FlexBuilder for AS development

2006-04-24 Thread bitstreams
Hi
After watching Colin Moock's presentation yesterday at FITC, I'm interested in 
using FlexBuilder for my AS development.

Currently there is both a trial (time restricted) version avilable and a beta 
version available on Adobe labs.

Is anyone using Flexbuilder for AS as opposed to Flex coding? What are your 
thoughts?
Thanks
Jim Bachalo

[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


Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando

When I found this out It confused the hell out of me as
localToGlobal had never worked like that before - I just
assumed I'd never used it with anything scaled by hand before
and wrote that off as the reason.
Now if what you're saying is true then it gets even more confusing.

One difference may be that I'm actually attaching an MC to point MC and
trying to get it's coords? I bet when you attach an MC it doesn't
inherit the transform matrix info from its parent.


Maybe - or maybe because you're loading content from an outside SWF.

I've never tested localToGlobal with both attaching and loading; I'd guess 
it should work, but I can't test it right now to really know. I'll keep it 
in mind if I have problems with localToGlobal in the future though; thanks 
for the info, it has made me curious.



- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mike Mountain

> Well I can honestly say mine isn't working that way at all - 
> I have an empty MC, nested into a scaled MC, this is 
> contained within a holder mc.
> This swf is loaded into a container MC. localToGlobal gives 
> the correct coords for the 'unscaled' mc's.
> 
> container_mc.holder_mc.scaler_mc.point_mc
> 
> The code which works out the point locations is in the scope 
> of holder_mc. But as holder isn't scaled and loaded in at 0,0 
> it shouldn't make a blind bit of difference.
> 
> If I want to get the 'real' stage coord for point_mc then I 
> have to apply a scaler factor from it's _parent.
> 
> When I found this out It confused the hell out of me as 
> localToGlobal had never worked like that before - I just 
> assumed I'd never used it with anything scaled by hand before 
> and wrote that off as the reason.
> Now if what you're saying is true then it gets even more confusing.
> 


One difference may be that I'm actually attaching an MC to point MC and
trying to get it's coords? I bet when you attach an MC it doesn't
inherit the transform matrix info from its parent.

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] RootkitRevealer flagging shared object... :(

2006-04-24 Thread dave matthews

hi all,

 RootkitRevealer flagged this file as a problem:

 c:\Documents and Settings\myUserName\Application Data\Macromedia\Flash 
Player\macromedia.com\support\flashplayer\sys\#name.com.


 Was able to delete all other files in this folder, this one resists 
deletion and renaming.  Tried deleting it using safe mode too... no luck.


 Please notice the 'period' at the end of the file name, seems unique and 
no other files in the folder have one at the end of "com".


 Googled the real company name and they seem to be a reputable Flash 
component seller, so i changed it to  "#name.com."  for this post.


 Anyone else unable to delete a file in this space?

 Anyone got a clue?

getting ready to reformat,

Dave Matthews


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mike Mountain

> That's strange, because I've just done that to test and it's 
> definitely working - even within a timeline tweening, and 
> taking scaling, rotation and skewing into account; it's 
> properly reading an arbitray point on the movieclip and 
> moving a crosshair on the main stage to that same point position.
> 
> Maybe I'm missing something big that you're having to deal 
> with, but I have no doubt localToGlobal works as designed.
> 
> 
> - Zeh 

Well I can honestly say mine isn't working that way at all - I have an
empty MC, nested into a scaled MC, this is contained within a holder mc.
This swf is loaded into a container MC. localToGlobal gives the correct
coords for the 'unscaled' mc's.

container_mc.holder_mc.scaler_mc.point_mc

The code which works out the point locations is in the scope of
holder_mc. But as holder isn't scaled and loaded in at 0,0 it shouldn't
make a blind bit of difference.

If I want to get the 'real' stage coord for point_mc then I have to
apply a scaler factor from it's _parent.

When I found this out It confused the hell out of me as localToGlobal
had never worked like that before - I just assumed I'd never used it
with anything scaled by hand before and wrote that off as the reason.
Now if what you're saying is true then it gets even more confusing.

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


Re: [Flashcoders] shared objects wrong needed size

2006-04-24 Thread Christian Giordano

JesterXL wrote:

Nope.  Just because it asks for a meg doesn't mean it'll use a meg.


Ok but if I were a user I would think: "What a f*** does he want to save 
on my PC of a meg size?" when unfortunately it is *only* 100 kb.


chr
--
___
{ Christian Giordano's site and blog @ http://cgws.nuthinking.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] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando

> actually, I'm not sure if localToGlobal does anything with
the scaling.
> I have the feeling it simply adds coordinates of parent
movieclips to
> the local ones..

I'm not sure what you're doing and how, but it *does* take
into consideration the whole movieclip matrix info -
rotation, scaling, skewing, etc. It's really the best way to
translate a position from one movieclip to another.



This may be the case if you've transformed it in code, but definitely
not the case if you've scaled something on the timeline.


That's strange, because I've just done that to test and it's definitely 
working - even within a timeline tweening, and taking scaling, rotation and 
skewing into account; it's properly reading an arbitray point on the 
movieclip and moving a crosshair on the main stage to that same point 
position.


Maybe I'm missing something big that you're having to deal with, but I have 
no doubt localToGlobal works as designed.



- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
allright, thanks, I'll check into it. On the long run perhaps
moving things out of the timeline saves quite alot of time
(sounds trivial typed down ;) ).

thanks,
Meinte

ps. it's good to know localToGlobal takes away alot of work, I
always found it quite the opposite, now I can honoustly say
I'm a changed man :).

On 4/24/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
>
>
> > > actually, I'm not sure if localToGlobal does anything with
> > the scaling.
> > > I have the feeling it simply adds coordinates of parent
> > movieclips to
> > > the local ones..
> >
> > I'm not sure what you're doing and how, but it *does* take
> > into consideration the whole movieclip matrix info -
> > rotation, scaling, skewing, etc. It's really the best way to
> > translate a position from one movieclip to another.
>
> This may be the case if you've transformed it in code, but definitely
> not the case if you've scaled something on the timeline.
>
> 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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mike Mountain

> > actually, I'm not sure if localToGlobal does anything with 
> the scaling.
> > I have the feeling it simply adds coordinates of parent 
> movieclips to 
> > the local ones..
> 
> I'm not sure what you're doing and how, but it *does* take 
> into consideration the whole movieclip matrix info - 
> rotation, scaling, skewing, etc. It's really the best way to 
> translate a position from one movieclip to another.

This may be the case if you've transformed it in code, but definitely
not the case if you've scaled something on the timeline.

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


RE: [Flashcoders] > Looking for tester (PPC/Flash)

2006-04-24 Thread Weyert de Boer
Sorry, girls and guys should have gone to him privately...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] > Looking for tester (PPC/Flash)

2006-04-24 Thread Weyert de Boer

> Hi Weyert
>
> We're looking at doing something similar with Win CE, would you mind
> letting me know how it goes?

Sure, if you want you can try it out! Would you be interested? I am not
sure if it will work on a WinCE though. Not sure, if I would need to make
a different project for it.


-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Zeh Fernando

actually, I'm not sure if localToGlobal does anything with the scaling.
I have the feeling it simply adds coordinates of parent movieclips to the
local
ones..


I'm not sure what you're doing and how, but it *does* take into 
consideration the whole movieclip matrix info - rotation, scaling, skewing, 
etc. It's really the best way to translate a position from one movieclip to 
another.



- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] > Looking for tester (PPC/Flash)

2006-04-24 Thread Mike Mountain
Hi Weyert 

We're looking at doing something similar with Win CE, would you mind
letting me know how it goes?

Thanks

Mike
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Weyert de Boer
> Sent: 24 April 2006 13:06
> To: flashcoders@chattyfig.figleaf.com
> Cc: [EMAIL PROTECTED]
> Subject: [Flashcoders] > Looking for tester (PPC/Flash)
> 
> Hi
> 
> I am looking for some testers who can help me test some proof 
> of o cncept I made. It's a simple xmlsocket server written in 
> C#, which makes it possible to access native functionality of 
> the pocketpc.
> 
> Now I only would like to test this on other pda's too, so if 
> you have the Flash Player, .NET Compact Framework 1+ 
> installed... And you don't mind to help please tell me!
> 
> --
> Yours,
> 
> Weyert de Boer ([EMAIL PROTECTED])
> innerfuse*
> 
> http://www.innerfuse.biz/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mike Mountain
 


> actually, I'm not sure if localToGlobal does anything with 
> the scaling.
> I have the feeling it simply adds coordinates of parent 
> movieclips to the local ones..

You're right, it doesn't - you have to factor in the multiplier yourself

Something like this (for proportional scaling)
[as]

function getCoordsOfScaledMCOnStage(mc) {
var scaler = dobmc._parent._parent._xscale/100;
var point:Object = {x:mc._x*scaler, y:mc._y*scaler};
dobmc.localToGlobal(point);
return point;
}

[/as]

Obviously this implies it's not nested deep within tens of other scaled
mc'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] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
actually, I'm not sure if localToGlobal does anything with the scaling.
I have the feeling it simply adds coordinates of parent movieclips to the
local
ones..

On 4/24/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
>
> getBounds doesn't really help, as I'm also tracing it, and it doesn't seem
> to change one way or the other. (same
> with getRect)
>
>  to Bernard: I have tried using localToGlobal and the other variant, but
> no matter what I do
> it doesn't really change values somehow (or maybe i'm doing it wrong).
> Could you post
> an example as to where, in the boxscaling example, localtoglobal actually
> outputs
> something different than say the common _x coordinate?
>
> Actually the bigger scope of the problem is finding out the positions of
> movieclips within a
> parent movieclip which is scaled, I've twidled with some options, but none
> seem to work :(.
>
> and to Mark: I didn't actually mean to sound sarcastic, I really did
> thought that perhaps
> using the coordinates of the centerpoint in the algorithm would do
> something meaningfull,
> but alas, it didnt, but no hard feelings :).
>
> thanks for the help,
> Meinte
>
>
> On 4/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > When the registration point is not the top-left corner of your clip, you
> > might
> > want to check the MovieClip.getBounds() method, it's very handy.
> >
> > Tim.
> >
> >
> > On Mon, 24 April 2006 18:45, Meinte van't Kruis wrote:
> > > Hi folks,
> > >
> > > I have a problem correctly figuring out the actual x value of the
> > top-left
> > > corner of a movieclip when scaling it.
> > > To demonstrate to this:
> > >
> > > put movieclip t on stage(a black box). Edit it, so that it's left top
> > > corner isn't on the movieclip centerpoint.
> > >
> > > this code on stage:
> > >
> > > onEnterFrame=function(){
> > > t._xscale++;
> > > trace(t._x);
> > > trace(t.getBounds().xMin);
> > > trace(t.getRect().xMin);
> > > }
> > >
> > > if you execute it, you can clearly see the top-left corner is in fact
> > > moving, due to the scaling.
> > > But the values never change. So my question is:
> > >
> > > how do I know the coordinates of the topleft corner of an
> > (off-centered)
> > > movieclip, or
> > > the coordinates of the topright corner of a centered movieclip while
> > > scaling it?
> > >
> > > I'm really stuck on this, help would be very much appreciated.
> > >
> > > greetings,
> > > Meinte
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
getBounds doesn't really help, as I'm also tracing it, and it doesn't seem
to change one way or the other. (same
with getRect)

 to Bernard: I have tried using localToGlobal and the other variant, but no
matter what I do
it doesn't really change values somehow (or maybe i'm doing it wrong). Could
you post
an example as to where, in the boxscaling example, localtoglobal actually
outputs
something different than say the common _x coordinate?

Actually the bigger scope of the problem is finding out the positions of
movieclips within a
parent movieclip which is scaled, I've twidled with some options, but none
seem to work :(.

and to Mark: I didn't actually mean to sound sarcastic, I really did thought
that perhaps
using the coordinates of the centerpoint in the algorithm would do something
meaningfull,
but alas, it didnt, but no hard feelings :).

thanks for the help,
Meinte

On 4/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> When the registration point is not the top-left corner of your clip, you
> might
> want to check the MovieClip.getBounds() method, it's very handy.
>
> Tim.
>
>
> On Mon, 24 April 2006 18:45, Meinte van't Kruis wrote:
> > Hi folks,
> >
> > I have a problem correctly figuring out the actual x value of the
> top-left
> > corner of a movieclip when scaling it.
> > To demonstrate to this:
> >
> > put movieclip t on stage(a black box). Edit it, so that it's left top
> > corner isn't on the movieclip centerpoint.
> >
> > this code on stage:
> >
> > onEnterFrame=function(){
> > t._xscale++;
> > trace(t._x);
> > trace(t.getBounds().xMin);
> > trace(t.getRect().xMin);
> > }
> >
> > if you execute it, you can clearly see the top-left corner is in fact
> > moving, due to the scaling.
> > But the values never change. So my question is:
> >
> > how do I know the coordinates of the topleft corner of an (off-centered)
> > movieclip, or
> > the coordinates of the topright corner of a centered movieclip while
> > scaling it?
> >
> > I'm really stuck on this, help would be very much appreciated.
> >
> > greetings,
> > Meinte
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Large video and the Camera class

2006-04-24 Thread Sam Thorne

Hi List,

We're trying to integrate large amounts of video (hi def) through a  
Flash UI to control the streams.
We can't encode to flv because of other constraints, and using C# to  
composite knockout areas in flash is causing a lot of flicker.


Has anyone tried using the Camera object to deal with large amounts  
of video, are there any limitations on the Camera object that might  
stop this?
Could we fool flash into thinking the video stream it's getting is  
from a web cam?


This seems like a possible work around, it'd be great if anyone could  
confirm it, thanks!



Regards,

Sam Thorne
Interaction Design

Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread flash
When the registration point is not the top-left corner of your clip, you might 
want to check the MovieClip.getBounds() method, it's very handy.

Tim.


On Mon, 24 April 2006 18:45, Meinte van't Kruis wrote:
> Hi folks,
>
> I have a problem correctly figuring out the actual x value of the top-left
> corner of a movieclip when scaling it.
> To demonstrate to this:
>
> put movieclip t on stage(a black box). Edit it, so that it's left top
> corner isn't on the movieclip centerpoint.
>
> this code on stage:
>
> onEnterFrame=function(){
> t._xscale++;
> trace(t._x);
> trace(t.getBounds().xMin);
> trace(t.getRect().xMin);
> }
>
> if you execute it, you can clearly see the top-left corner is in fact
> moving, due to the scaling.
> But the values never change. So my question is:
>
> how do I know the coordinates of the topleft corner of an (off-centered)
> movieclip, or
> the coordinates of the topright corner of a centered movieclip while
> scaling it?
>
> I'm really stuck on this, help would be very much appreciated.
>
> greetings,
> Meinte

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] > Looking for tester (PPC/Flash)

2006-04-24 Thread Weyert de Boer
Hi

I am looking for some testers who can help me test some proof of o cncept 
I made. It's a simple xmlsocket server written in C#, which makes it
possible to access native functionality of the pocketpc.

Now I only would like to test this on other pda's too, so if you have the
Flash Player, .NET Compact Framework 1+ installed... And you don't mind to
help please tell me!

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Embedded fonts not showing up on Mac

2006-04-24 Thread Danny Kodicek
I've done a bit of Googling on this, but haven't managed to find a 
definitive answer. Anyone have an idea why our font is not showing up 
correctly when the movie (played through Director) is viewed on a Mac?


Thanks
Danny

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

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


Re: [Flashcoders] coordinates of a scaled movieclip

2006-04-24 Thread Bernard Poulin
The problem is that even if you change the scaling, you are not changing the
position of the black box in relation of your "local" movieclip. Your black
box is only "moving" in relation to the movieclip parent.

What you seem to want are the coordinates in relation to the parent
movieclip.

To get that, you have to "convert" the coordinates values from your local
movie-clip to its parent.  In short: get the bounding rectangle and convert
xMin,xMax, etc.  There are methods specifically for that
(localToGlobal/GlobalToLocal). It will do all the dirty computation
(translation, scaling, rotation).

good luck!
B.

2006/4/24, Mark Winterhalder <[EMAIL PROTECTED]>:
>
> Hi,
>
> as far as I know, there is no clean solution to this problem.
>
> However, if you feel hackish, this /could/ work:
>
> var w = myClip._width;
> var h = myClip._height;
> var clip = myClip.createEmptyMovieClip( "foobar",
> myClip.getNextHighestDepth() );
> with( clip ) {
> beginFill( 0x00ff00, 100 ) {
> lineTo( w, 0 );
> lineTo( w, h );
> endFill();
> }
> var x = myClip._width - w;
> var y = myClip._height - h;
> clip.removeMovieClip();
>
> Now, (x, y) should be the coordinates of your origin (i.e., top left
> is at (-x, -y)).
>
> Maybe. I haven't tested it.
>
> Good luck...
> Mark
>
>
>
> On 4/24/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > I have a problem correctly figuring out the actual x value of the
> top-left
> > corner of a movieclip when scaling it.
> > To demonstrate to this:
> >
> > put movieclip t on stage(a black box). Edit it, so that it's left top
> corner
> > isn't on the movieclip centerpoint.
> >
> > this code on stage:
> >
> > onEnterFrame=function(){
> > t._xscale++;
> > trace(t._x);
> > trace(t.getBounds().xMin);
> > trace(t.getRect().xMin);
> > }
> >
> > if you execute it, you can clearly see the top-left corner is in fact
> > moving, due to the scaling.
> > But the values never change. So my question is:
> >
> > how do I know the coordinates of the topleft corner of an (off-centered)
> > movieclip, or
> > the coordinates of the topright corner of a centered movieclip while
> scaling
> > it?
> >
> > I'm really stuck on this, help would be very much appreciated.
> >
> > greetings,
> > Meinte
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> http://snafoo.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
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mark Winterhalder
Erm... never mind. I guess I should have slept last night after all...

Sorry,
Mark



On 4/24/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
> Hi,
>
> as far as I know, there is no clean solution to this problem.
>
> However, if you feel hackish, this /could/ work:
>
> var w = myClip._width;
> var h = myClip._height;
> var clip = myClip.createEmptyMovieClip( "foobar",
> myClip.getNextHighestDepth() );
> with( clip ) {
>   beginFill( 0x00ff00, 100 ) {
>   lineTo( w, 0 );
>   lineTo( w, h );
>   endFill();
> }
> var x = myClip._width - w;
> var y = myClip._height - h;
> clip.removeMovieClip();
>
> Now, (x, y) should be the coordinates of your origin (i.e., top left
> is at (-x, -y)).
>
> Maybe. I haven't tested it.
>
> Good luck...
> Mark
>
>
>
> On 4/24/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > I have a problem correctly figuring out the actual x value of the top-left
> > corner of a movieclip when scaling it.
> > To demonstrate to this:
> >
> > put movieclip t on stage(a black box). Edit it, so that it's left top corner
> > isn't on the movieclip centerpoint.
> >
> > this code on stage:
> >
> > onEnterFrame=function(){
> > t._xscale++;
> > trace(t._x);
> > trace(t.getBounds().xMin);
> > trace(t.getRect().xMin);
> > }
> >
> > if you execute it, you can clearly see the top-left corner is in fact
> > moving, due to the scaling.
> > But the values never change. So my question is:
> >
> > how do I know the coordinates of the topleft corner of an (off-centered)
> > movieclip, or
> > the coordinates of the topright corner of a centered movieclip while scaling
> > it?
> >
> > I'm really stuck on this, help would be very much appreciated.
> >
> > greetings,
> > Meinte
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> http://snafoo.org/
>


--
http://snafoo.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] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
thanks!
you're right, that does pin down the centerpoints' coordinates, should
hopefully get my problem fixed.

On 4/24/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> as far as I know, there is no clean solution to this problem.
>
> However, if you feel hackish, this /could/ work:
>
> var w = myClip._width;
> var h = myClip._height;
> var clip = myClip.createEmptyMovieClip( "foobar",
> myClip.getNextHighestDepth() );
> with( clip ) {
>   beginFill( 0x00ff00, 100 ) {
>   lineTo( w, 0 );
>   lineTo( w, h );
>   endFill();
> }
> var x = myClip._width - w;
> var y = myClip._height - h;
> clip.removeMovieClip();
>
> Now, (x, y) should be the coordinates of your origin (i.e., top left
> is at (-x, -y)).
>
> Maybe. I haven't tested it.
>
> Good luck...
> Mark
>
>
>
> On 4/24/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > I have a problem correctly figuring out the actual x value of the
> top-left
> > corner of a movieclip when scaling it.
> > To demonstrate to this:
> >
> > put movieclip t on stage(a black box). Edit it, so that it's left top
> corner
> > isn't on the movieclip centerpoint.
> >
> > this code on stage:
> >
> > onEnterFrame=function(){
> > t._xscale++;
> > trace(t._x);
> > trace(t.getBounds().xMin);
> > trace(t.getRect().xMin);
> > }
> >
> > if you execute it, you can clearly see the top-left corner is in fact
> > moving, due to the scaling.
> > But the values never change. So my question is:
> >
> > how do I know the coordinates of the topleft corner of an (off-centered)
> > movieclip, or
> > the coordinates of the topright corner of a centered movieclip while
> scaling
> > it?
> >
> > I'm really stuck on this, help would be very much appreciated.
> >
> > greetings,
> > Meinte
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> --
> http://snafoo.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
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Mark Winterhalder
Hi,

as far as I know, there is no clean solution to this problem.

However, if you feel hackish, this /could/ work:

var w = myClip._width;
var h = myClip._height;
var clip = myClip.createEmptyMovieClip( "foobar",
myClip.getNextHighestDepth() );
with( clip ) {
  beginFill( 0x00ff00, 100 ) {
  lineTo( w, 0 );
  lineTo( w, h );
  endFill();
}
var x = myClip._width - w;
var y = myClip._height - h;
clip.removeMovieClip();

Now, (x, y) should be the coordinates of your origin (i.e., top left
is at (-x, -y)).

Maybe. I haven't tested it.

Good luck...
Mark



On 4/24/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I have a problem correctly figuring out the actual x value of the top-left
> corner of a movieclip when scaling it.
> To demonstrate to this:
>
> put movieclip t on stage(a black box). Edit it, so that it's left top corner
> isn't on the movieclip centerpoint.
>
> this code on stage:
>
> onEnterFrame=function(){
> t._xscale++;
> trace(t._x);
> trace(t.getBounds().xMin);
> trace(t.getRect().xMin);
> }
>
> if you execute it, you can clearly see the top-left corner is in fact
> moving, due to the scaling.
> But the values never change. So my question is:
>
> how do I know the coordinates of the topleft corner of an (off-centered)
> movieclip, or
> the coordinates of the topright corner of a centered movieclip while scaling
> it?
>
> I'm really stuck on this, help would be very much appreciated.
>
> greetings,
> Meinte
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


--
http://snafoo.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] Best practice DLL Integration

2006-04-24 Thread Mike Mountain
We used to use this approach, utilising Object.watch to check for
changes - however we started getting the occasional exception - we
switched to xml sockets and haven't looked back since.

M

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Lee McColl-Sylvester
> Sent: 24 April 2006 10:27
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Best practice DLL Integration
> 
> That's a little overkill.  What's the point in using 
> XMLSockets where the data is persisting in one place?  It's 
> better to use SetVariable from the EXE to the Flash movie and 
> send XML as strings to the variables (which are 
> getters/setters), and ExternalAPI for Flash to the EXE which 
> also sends XML.  If you look at my blog on my website
> (www.designrealm.co.uk) I have a post where I explain a good 
> way to proxy xml streams from Flash to functions in your EXE; 
> at least for .NET. It's also just as doable with C++ function 
> pointers and there are other hacks for other languages.
> 
> Regards,
> Lee
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread artkast

Thanks!

-Rob

On Apr 24, 2006, at 5:45 AM, MBDI ICSC Rodrigo E. Curiel Salazar wrote:


Hi !

Try this:

http://www.senocular.com/flash/source.php?id=0.163

Rodrigo

On 4/24/06, artkast <[EMAIL PROTECTED]> wrote:


Can you not just make a bitmap color picker and convert it to a movie
clip then use something like getRGB()? I can't seem to get this
working but it seems logically possible.

-Rob

On Apr 24, 2006, at 5:20 AM, Yotam Laufer wrote:


Oops.. sorry. It used to be free.
It's good enough to pay for though. $15 is pretty cheap considering
all the
time it saves 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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] coordinates of a scaled movieclip

2006-04-24 Thread Meinte van't Kruis
Hi folks,

I have a problem correctly figuring out the actual x value of the top-left
corner of a movieclip when scaling it.
To demonstrate to this:

put movieclip t on stage(a black box). Edit it, so that it's left top corner
isn't on the movieclip centerpoint.

this code on stage:

onEnterFrame=function(){
t._xscale++;
trace(t._x);
trace(t.getBounds().xMin);
trace(t.getRect().xMin);
}

if you execute it, you can clearly see the top-left corner is in fact
moving, due to the scaling.
But the values never change. So my question is:

how do I know the coordinates of the topleft corner of an (off-centered)
movieclip, or
the coordinates of the topright corner of a centered movieclip while scaling
it?

I'm really stuck on this, help would be very much appreciated.

greetings,
Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread MBDI ICSC Rodrigo E. Curiel Salazar
Hi !

Try this:

http://www.senocular.com/flash/source.php?id=0.163

Rodrigo

On 4/24/06, artkast <[EMAIL PROTECTED]> wrote:
>
> Can you not just make a bitmap color picker and convert it to a movie
> clip then use something like getRGB()? I can't seem to get this
> working but it seems logically possible.
>
> -Rob
>
> On Apr 24, 2006, at 5:20 AM, Yotam Laufer wrote:
>
> > Oops.. sorry. It used to be free.
> > It's good enough to pay for though. $15 is pretty cheap considering
> > all the
> > time it saves 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
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread artkast
Can you not just make a bitmap color picker and convert it to a movie  
clip then use something like getRGB()? I can't seem to get this  
working but it seems logically possible.


-Rob

On Apr 24, 2006, at 5:20 AM, Yotam Laufer wrote:


Oops.. sorry. It used to be free.
It's good enough to pay for though. $15 is pretty cheap considering  
all the

time it saves 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] Accessing the Color Picker in an application.

2006-04-24 Thread Yotam Laufer
Oops.. sorry. It used to be free.
It's good enough to pay for though. $15 is pretty cheap considering all the
time it saves 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] Accessing the Color Picker in an application.

2006-04-24 Thread artkast

It looks like this cost money. How do I get it for free?

-rob

On Apr 24, 2006, at 4:31 AM, Yotam Laufer wrote:


Try this one:

http://www.awssoft.com/products.php? 
p=colorpickerpro&s=overview&PHPSESSID=8b9c48eaf58b5a1ba9f473a0ee3f1a57


Free and excellent.

On 24/04/06, artkast <[EMAIL PROTECTED]> wrote:


I am making a drawing program but I am having trouble trying to
figure out the best way to change colors. I have made a color picker
using buttons but this doesn't seem like the most efficient way to do
what I want. I would like to be able to set up a color picker or
access the one built in to flash. I am really unsure how this works.
Thanks for any help.


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

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





--
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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread artkast

Thanks a ton.

On Apr 24, 2006, at 4:39 AM, Iv wrote:


Hello artkast,

http://www.dembicki.org/GradientAndSafePalette.as


--  
Ivan Dembicki
__ 
__
[EMAIL PROTECTED] || http:// 
www.design.ru


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread Iv
Hello artkast,

http://www.dembicki.org/GradientAndSafePalette.as


-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Accessing the Color Picker in an application.

2006-04-24 Thread Yotam Laufer
Try this one:

http://www.awssoft.com/products.php?p=colorpickerpro&s=overview&PHPSESSID=8b9c48eaf58b5a1ba9f473a0ee3f1a57

Free and excellent.

On 24/04/06, artkast <[EMAIL PROTECTED]> wrote:
>
> I am making a drawing program but I am having trouble trying to
> figure out the best way to change colors. I have made a color picker
> using buttons but this doesn't seem like the most efficient way to do
> what I want. I would like to be able to set up a color picker or
> access the one built in to flash. I am really unsure how this works.
> Thanks for any help.
>
>
> -Rob
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
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

[Flashcoders] Accessing the Color Picker in an application.

2006-04-24 Thread artkast
I am making a drawing program but I am having trouble trying to  
figure out the best way to change colors. I have made a color picker  
using buttons but this doesn't seem like the most efficient way to do  
what I want. I would like to be able to set up a color picker or  
access the one built in to flash. I am really unsure how this works.  
Thanks for any help.



-Rob 
___

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

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


[Flashcoders] Jobs

2006-04-24 Thread Lee McColl-Sylvester
Hey all,

 

Anyone looking to hire a Flash / .NET / PHP / ASP / Oracle / MySQL / SQL
/ [countless other technologies] professional in the north Devon area?
I'm to be moving down there in about six weeks so need to start looking
for work now.

 

Regards,

Lee McColl Sylvester

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best practice DLL Integration

2006-04-24 Thread Lee McColl-Sylvester
That's a little overkill.  What's the point in using XMLSockets where
the data is persisting in one place?  It's better to use SetVariable
from the EXE to the Flash movie and send XML as strings to the variables
(which are getters/setters), and ExternalAPI for Flash to the EXE which
also sends XML.  If you look at my blog on my website
(www.designrealm.co.uk) I have a post where I explain a good way to
proxy xml streams from Flash to functions in your EXE; at least for
.NET. It's also just as doable with C++ function pointers and there are
other hacks for other languages.

Regards,
Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert
de Boer
Sent: 24 April 2006 09:58
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Best practice DLL Integration

You could consider using a XMLSocketServer to communicate with flash
over
this local server. In theory this works like charm, I wrote a
XMLSocketServer for .NET as a console application and it worked all
fine.
I am going to test if it works on the PPC to tonight.

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best practice DLL Integration

2006-04-24 Thread Weyert de Boer
You could consider using a XMLSocketServer to communicate with flash over
this local server. In theory this works like charm, I wrote a
XMLSocketServer for .NET as a console application and it worked all fine.
I am going to test if it works on the PPC to tonight.

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] WebService woes

2006-04-24 Thread Andreas Rønning

I'm not so sure it is... My log outputs this:

4/24 10:27:16 [INFO] SOAP: Sent SOAP Request Message
4/24 10:27:16 [INFO] nitroLog: Invoking call Languages
4/24 10:27:16 [INFO] SOAP: Received SOAP response from network [47 millis]

but the service log says it never received the method call, so where is 
the SOAP response coming from?


- Andreas

Matthew Simpson wrote:

It's in their WS.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning
Sent: Friday, April 21, 2006 10:15 AM
To: Flashcoders mailing list
Subject: [Flashcoders] WebService woes

In the IDE, this works fine, and i have gotten no security sandbox 
warnings. In the SAplayer or browser, i get this:


FAULT
Unable to load WSDL, if currently online, please verify the URI and/or 
format of the WSDL


I've verified the URI, as it works in the IDE, but not outside.

Is this a problem on my end or theirs (i didn't do the webservice)?

- Andreas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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


--

- Andreas Rønning

---
Flash guy
Rayon Visual Concepts, Oslo, Norway
---
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best practice DLL Integration

2006-04-24 Thread Lee McColl-Sylvester
I did this with a .NET application.  Unfortunately, the flash ocx
exposes little that allow you to manipulate the running movie.  I did
manage to exploit the fact that you can use SetVariable to set a
setter/getter that is in effect a function, as you normally can't call
functions directly from outside the ocx.  Course, it still limits you to
one parameter.  Anyway, I did this for a while with a custom XML parser
and sent XML to and from my getters/setters, but in the end, I got
pissed off and changed to using Fluorine.  Fluorine now allows direct
assembly access WITH session handling, which is something Macr's
remoting never did.  Course, the issue with this is that you will need
to use .NET, which might be overkill with a Win32 dll, which to me would
suggest using Multidmedia's Zinc.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes
Nel
Sent: 21 April 2006 19:54
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Best practice DLL Integration

if its windows then just embed the flash ocx into a winapp and use the
normal ways to instantiate the dll.

On 4/21/06, Wade Arnold <[EMAIL PROTECTED]> wrote:
>
> I have a project that I am working on that requires an exe integrated
> player
> that can connect to a windows DLL. Has anyone done any flash to dll
> integration projects and have URL's to show examples and best
practices.
> Also has anyone used in software programs that have aided in writing
the
> dll
> interface?
>
> Thanks;
> Wade Arnold
>
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Pushing content from DB to Flash widget

2006-04-24 Thread Julien

Mick,
It is certainly possible. I am currently working on a intranet project 
that is exactly what you want to achieve. I have about 80~100 clients 
that are connected to a socket server. Flash clients are build as 
windows desktop clients and everything goes through persistent 
xmlsockets. Everything runs smooth  and Flash player is quite fast for 
xml parsing (as long as you keep your messages small and simple).
The thing is that it is scalable, if for example I needed to talk to 
1000 clients, I could add another socket server
Socket servers that you can use for that are ElectroServer, Oregano, 
Offbeat (the one I use) or of course FlashComm.


Don't hesitate to contact me offlist to know more about this architecture.

Regards,
Julien


Mick G a écrit :

Does anyone know if it's possible to push content from a database to a list
of flash clients (or widgets running on a desktop).

I can have a flash app that checks every X seconds for new content from a
database, but wondering if there's a way to do it in the other direction and
push the content from a database to the flash clients without them having to
poll the database. Are XML SocetServers the key here? Is there an issues
with server strain on such things if say 1000 clients are connected to the
server?

Any info, ideas or experiences would be appreciated.

- Mick
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Ad alignment problem

2006-04-24 Thread elibol
You should check that the loaded swfs don't invoke js. You can test this to
see if the same thing happens if you set the allowScriptAccess attribute of
both object/embed tags of the swf's to never. Examine the attributes your
javascript is using to inject the tags. try using layers or divs.

M.

On 4/24/06, Jonathan Berry <[EMAIL PROTECTED]> wrote:
>
> Hello all,
> I have a problem, which I believe is on topic, but check me if not, with
> some ads on our site that are loading external movies and when they do the
> alignment on the page is tweaked - but only in IE. We have them loading in
> with a proper alignment as gifs, but there is an empty flash movie loaded
> in
> by javascript that immediately loads in an external swf, which promptly
> moves left in IE. I don't have a page for you to look at as these are not
> on
> the site yet, though the urgency of this is pressing since the advertisers
> are calling us everyday. I have tried using javascript to remove the ad
> and
> place it in a properly-aligned table using DOM methods, but when the
> external movies load both the ads shift position. Do you have any
> knowledge
> on ensuring proper alignment of Flash ads in IE or are there issues
> regarding this browser and externally-loaded movies? Thanks.
>
> Jonathan Berry
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread elibol
Playing a movie in fullscreen isn't a mode of the flash player, you do
yourself. Since you do it manually, all you need to do is add a variable
that tells you what mode your movie is in.

On 4/23/06, Karan Mehra <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> How to detect whether the swf is playing in fullscreen mode in Flash
> player or not?
>
>
>
> Thanks in Advance.
>
>
>
> Regards,
>
> Karan
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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