Re: [Flashcoders] Way to get URL of host page?

2005-11-18 Thread Rajat Paharia
Thanks Karthik - I'm not trying to prevent it, I just want to log it
for analysis purposes later.

best, - rajat

On 11/18/05, Karthik <[EMAIL PROTECTED]> wrote:
> Nope :( If you are looking for a way to prevent this from happening,
> google for stuff to prevent hotlinking of SWFs.
>
> -K
>
> On 19/11/05, Rajat Paharia <[EMAIL PROTECTED]> wrote:
> > Hey all - if my movie gets loaded into a page at Website A from a
> > server at Website B, is there anyway, from within Flash, to get the
> > URL of the page at Website A?
> >
> > thanks! - rajat
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] File Loading in https

2005-11-18 Thread Sumeet Kumar
Hi All,

I have a published flash movie (main.swf) in a index.html page,
which I am loading over a secured https:// layer. The problem lies that
I am loading swf's in my main.swf from a unsecured path(http://)then
  it fails to load the movie. If I use (https://) then
the movies are loaded.

 

 

Also if the sub movies are loaded on a secured https:// path then if we
locate a reference movieclip at the parent of submovie which lies in
movie, it displays a message undefined.

 

 

Anyone ,Please let me out.

 

Regards

Sumeet

 

 

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


[Flashcoders] script running slowly .. um.. WHERE?

2005-11-18 Thread Jayson K Hanes
Ok I've never really cared much on this... but.. I'm editing a movie
made by a 3rd party and its buggy 

And it occurred to me... when you see the "script is running slowly"
message.. why the heck doesn't flash tell you WHERE

What function? What movieclip?

It would be just so useful... and save so much time.


Any insight, otherwise?

Ya... I'm on F8

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


Re: [Flashcoders] fscommand exec . exec programs with parameters

2005-11-18 Thread M Daggett
I know this is lame but you can have a series of .bat files that contain the
parameters you need and just call those .bat files from the fscommand.

for example:

@echo off
---param list
---end parms
explorer "..\art\myfile.exe"

saved as foo.bat


On 11/18/05, Derek Vadneau <[EMAIL PROTECTED]> wrote:
>
> You can no longer pass parameters via fscommand exec - from Flash player 6
> onward.
>
> There are 3rd party programs available that will allow you to execute any
> program on a user's system and pass parameters. These programs produce an
> EXE that the user launches, or is launched from a CDROM.
>
> Some of the applications available are:
> SWF Studio - http://northcode.com
> mProjector - http://screentime.com
> Zinc - http://multidmedia.com
> Screenweaver - http://screenweaver.com
>
>
> Derek Vadneau
> Northcode Inc.
> http://www.northcode.com
>
> - Original Message -
> From: "kosztik istvan" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, November 18, 2005 3:33 PM
> Subject: [Flashcoders] fscommand exec . exec programs with parameters
>
>
> hi all
>
> is there any solution to call programs with one or more parameter?
> fscommand("exec", "sample.exe param1 param2")
>
> but it not work in this way.
>
> (to create a bat file and put there my sample.exe and parameters is not
> right for me)
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--

I am Mark Daggett and I approve this message.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] dynamic movieclip naming

2005-11-18 Thread Karthik
I think you should ensure that hte movieclip is actually loaded
completely - most frequent cause of such errors.

hth
-K

On 17/11/05, Radley Marx <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello coders,
>
>
> I've been having mixed results with dynamic movieclip naming. For
> some reason, using the same code doesn't work each time and I don't
> know why.
>
> I used to use "eval", but since it's going to be phased out I've been
> trying more accepted approaches using "this" (instead of "_root").
>
>
>
> For example:
>
> // myImageString: usually "image0" or "image"
> // myCounter: to loop through a series
>
> var myMC:String = (myImageString + myCounter + "_mc");
> var myImageHolder:MovieClip = this[myMC];
>
>
>
>
> I'll use the above pair a few different times in my movie. The first
> time it works fine.
>
>
> trace(myImageHolder._name+ " width is " +myImageHolder._width);
> trace(myImageHolder._name+ " height is " +myImageHolder._height);
>
>
> image01_mc width is 514
> image01_mc height is 120
>
>
>
>
> Later on I reuse the same code, and get different results:
>
>
> trace ("myImageHolder name is " +myImageHolder._name);
> trace ("myImageHolder width is " +myImageHolder._width);
>
>
> myImageHolder name is image01_mc
> myImageHolder width is 0
>
>
>
> Help please. What am I doing wrong?
>
> thnx =)
>
> -radley
>
>
> PS: If there's a typo, it's prolly from a bad copy/paste into this
> email.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Way to get URL of host page?

2005-11-18 Thread Karthik
Nope :( If you are looking for a way to prevent this from happening,
google for stuff to prevent hotlinking of SWFs.

-K

On 19/11/05, Rajat Paharia <[EMAIL PROTECTED]> wrote:
> Hey all - if my movie gets loaded into a page at Website A from a
> server at Website B, is there anyway, from within Flash, to get the
> URL of the page at Website A?
>
> thanks! - rajat
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Way to get URL of host page?

2005-11-18 Thread Rajat Paharia
Hey all - if my movie gets loaded into a page at Website A from a
server at Website B, is there anyway, from within Flash, to get the
URL of the page at Website A?

thanks! - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Device fonts don't antialias in Flash 8 (oh no!)

2005-11-18 Thread David Peek
Can't seem to find any mention of this in the archives... While dynamic 
textfields set to devie fonts rendered perfectly in Flash MX 2004, 
they're all chunky in F8.  Strangely enough, files published from 2004 
antialias device fonts in the F8 player, while F8 files published down 
to 2004 don't.


Any help would be greatly appreciated.
David


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


[Flashcoders] international catwalk model talks about Flash Lite

2005-11-18 Thread Rajat Paharia
Anina (http://www.anina.net/index.html) talks about the mobile
lifestyle on NerdTV #9 (http://www.pbs.org/cringely/nerdtv/) and
mentions her belief in Flash Lite/Flashcast (22:35).

Seems like an interesting character, but the show is mostly a long
ramble. - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Flash 8 and SCORM conformance test suite

2005-11-18 Thread Brooks Andrus
Do a search for FlashAuthor.cfg in the Help docs or on the web -- this
allows you to set up trusted directories on your pc so you can test on the
local file system without the sandbox tightening its jaws on you.

Brooks

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


Re: [Flashcoders] cacheAsBitmap and preloading

2005-11-18 Thread JesterXL
Have them play, off-screen, before you initially show your movie?

- Original Message - 
From: "Brian Pitts" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 18, 2005 7:30 PM
Subject: [Flashcoders] cacheAsBitmap and preloading


When using cacheAsBitmap, animating a series of vector images  
dramatically increases the playback rate but only after the those  
vector images have been rendered.  For example, say you have a  
movieClip that contains  a 10 frame animtion that cycles and displays  
vector images of number 1 to 10.   You've assigned the clip to  
cacheAsBitmap.  Now when you play the animation it plays slow through  
the first cycle (the caching period), then plays much faster through  
subsequent cycles.

Is there a way to make alooping animation the uses cacheAsBitmap to  
start off fast?  ie pre-render the vectors to cache first before  
displaying so that the the animation speed never changes from the get  
go?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] cacheAsBitmap and preloading

2005-11-18 Thread Brian Pitts
When using cacheAsBitmap, animating a series of vector images  
dramatically increases the playback rate but only after the those  
vector images have been rendered.  For example, say you have a  
movieClip that contains  a 10 frame animtion that cycles and displays  
vector images of number 1 to 10.   You've assigned the clip to  
cacheAsBitmap.  Now when you play the animation it plays slow through  
the first cycle (the caching period), then plays much faster through  
subsequent cycles.


Is there a way to make alooping animation the uses cacheAsBitmap to  
start off fast?  ie pre-render the vectors to cache first before  
displaying so that the the animation speed never changes from the get  
go?

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


[Flashcoders] IMG in dynamic html textfield with embedFont

2005-11-18 Thread erixtekila

Hi,



Do the bug of Flash MX2004 concerning embedding fonts and inline image 
together inside textfields is resolved ?

Thanks.
---
erixtekila
http://blog.v-i-a.net/

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


Re: [Flashcoders] reading 'loadedBytes' from MovieClipLoader onLoadProgress

2005-11-18 Thread David Rorex
On 11/18/05, Matt Ganz <[EMAIL PROTECTED]> wrote:
> hi.
>
> i'm using the MovieClipLoader class to load a few swfs that are
> defined in an array a la:
>
>
> var totalWeight = 41079759; // total weight in bytes (3.9MB)
> var currentWeight = 0;
>
> var mainArray:Array = new Array( { path: "movie1.swf", id:
> "movie1_mc", depth: 1 },
> { 
> path: "movie2.swf", id: "movie2_mc", depth: 2 },
> { 
> path: "movie3.swf", id: "movie3_mc", depth: 3 });
>
> for( i:Number=0; i {
> _root.loadClip( mainArray[i].path, this.createEmptyMovieClip(
> mainArray[i].id,mainSwfArray[i].depth ) );
> }
>
> what i want to do is read how much is loaded of the total weight ( the
> sum of all swfs ) and target my preloader for every 10%. i assume the
> best place to read the loaded bytes is in the onLoadProgress handler
> for MCL, a la:
>
> mainMclListener.onLoadProgress = function( targetMC, loadedBytes, totalBytes )
> {
> currentWeight += loadedBytes;
> var currentPercentage = Math.floor( ( loadedBytes / totalWeight ) * 
> 100 );
> }
>
> the 3 swfs weight approximately 3.9 megabytes but when i trace out the
> value of "currentWeight", i get this value:
>
> 407,970,619.but this equals 389 megabytes, not 3.9. what am i
> doing wrong here?
>
> thanks for any tips. -- matt.

It's because you are continuously adding to 'currentWeight', and never
resetting it to 0.

For example, in the case of loading just one file:

if my file was 1000 bytes, and the load progress was:
200 bytes finished...
300 bytes finished..
500 bytes finished...
700 bytes finished...
1000 bytes finished...all done!

then obviously, just adding those numbers together would be incorrect,
it would give me 2700, which means nothing.

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


Re: [Flashcoders] Return a class

2005-11-18 Thread David Rorex
On 11/18/05, Martin Wood <[EMAIL PROTECTED]> wrote:
> Will you only be creating one type of object? or multiple types?
>
> If its just one, then myFactory.getDrag() can create and return the
> object..but im guessing thats not the case or you wouldnt be asking :)
>
> so, you could return a string of the full class name (including its
> package)   and assuming that any class you want to create implements the
> same interface so you can rely on some type information further down the
> line, you could try :
>
> String className = myFactory.getDrag();
> IDrag drag = new _global[className]();

This wouldn't work if it's in a package. You'd need to do:

var className:String = myFactory.getDrag();
var drag = new eval("_global."+className)();

[] only works for things directly attached to the object. Your example
would work if his class was "MyClass", but it wouldn't work if it was
"org.com.MyClass"

-David R
>
>
> [EMAIL PROTECTED] wrote:
> > I have a class named Drag with a static function create.
> >
> > A drag is created as :  Drag.create(...)
> >
> > Now I would like to use a Factory to return a drag, but the problem is
> > that the Factory has to return the class Drag instead of an instance of
> > Drag...
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] DataGrid

2005-11-18 Thread Ryan Sexton
Thanks for the reply, do you know of any alternatives to the datagrid 
with a bit more customizing?


Thank you,
Ryan Sexton


On Nov 18, 2005, at 5:27 PM, JesterXL wrote:

She's hardcoded to 16, bro, not much you can do.

- Original Message -
From: "Ryan Sexton" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 5:15 PM
Subject: [Flashcoders] DataGrid


I'm playing with the DataGrid component (first time). I'm trying to set
the width of the scrollbar and I can't seem to do it.. I'm trying:
dgInstance.vScroller._width = 150; and nothing happens. Anyone know how
to do this or know if it's impossible with flash's datagrid component?


Thank you,
Ryan Sexton

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


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


Re: [Flashcoders] DataGrid

2005-11-18 Thread JesterXL
She's hardcoded to 16, bro, not much you can do.

- Original Message - 
From: "Ryan Sexton" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 5:15 PM
Subject: [Flashcoders] DataGrid


I'm playing with the DataGrid component (first time). I'm trying to set 
the width of the scrollbar and I can't seem to do it.. I'm trying: 
dgInstance.vScroller._width = 150; and nothing happens. Anyone know how 
to do this or know if it's impossible with flash's datagrid component?


Thank you,
Ryan Sexton

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


[Flashcoders] DataGrid

2005-11-18 Thread Ryan Sexton
I'm playing with the DataGrid component (first time). I'm trying to set 
the width of the scrollbar and I can't seem to do it.. I'm trying: 
dgInstance.vScroller._width = 150; and nothing happens. Anyone know how 
to do this or know if it's impossible with flash's datagrid component?



Thank you,
Ryan Sexton

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


Re: [Flashcoders] Flash 8 and SCORM conformance test suite

2005-11-18 Thread Josh Gormley
When you test a course in the Conformance test suite, it runs the  
file from the file system.  It does not set up a server for testing.   
You can see this by the URL in the course window, it shows "C:\ADL 
\TestSuite1_2_7\TestSuite\...".


That would be a solution to this problem (if the test suite started a  
temp web server), but it's not how it currently works with version  
1.2.7.


Josh

On Nov 18, 2005, at 3:46 PM, Alex McCabe wrote:

I may be wrong on this - but I think the SCORM conformance test  
suite sets
up a local web server, so the files look like they are coming from  
a local
ip address, 127.0.0.1 , and shouldn't be subject  
to the

same security restrictions.
What may be more problematic is if a user unzips the SCORM content  
and tries

to run it directly from the hard disk.

HTH,

Alex.
http://www.centralquestion.com/flauntit


On 11/18/05, Josh Gormley <[EMAIL PROTECTED]> wrote:


This is a question for anybody who builds SCORM compliant courses
using Flash:

Now that Flash 8 restricts the use of calls to Javascript while the
file is being run locally, how can you test your course using the
SCORM conformance test suite (version 1.2.7)?

- In order to use the test suite, you have to run your course from
the local hard drive.
- In order for a Flash course to communicate with the LMS, you need
to make Javascript calls.
- You can't make Javascript calls from Flash when running locally
[using the Flash 8 plugin].

Am I missing something simple, or is this a pretty big problem?

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


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



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


RE: [Flashcoders] Exporting an image into powerpoint

2005-11-18 Thread Nick Weekes
Jessica,

I think the developer was referring to OLE (Object Linking Embedding), which
is how MS Office transports its objects between the different apps
(word/excel/ppt).  

It is not possible to export objects like this from flash as there is no
real access to the file system, but you can link to swf files from within
powerpoint (check http://www.flashgeek.com). 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jessica Mays
Sent: 18 November 2005 21:05
To: Flashcoders mailing list
Subject: [Flashcoders] Exporting an image into powerpoint

Is it possible to export an image from a swf and have it open within
PowerPoint without a "save as"?

Ex. I have a dynamically generated chart created in a swf.  I push a button
that exports the chart with that data and it opens with in PowerPoint or
Word.  

The developer who was asking me if it was possible in Flash, I think he
referred to it as an Oli-O, something to do with transferring an object into
another app.  Something they have not been able to do in their web app, but
they were able to do when the application resided on the user's desktop.

Thanks for your help
Jessica

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

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


Re: [Flashcoders] fscommand exec . exec programs with parameters

2005-11-18 Thread Derek Vadneau
You can no longer pass parameters via fscommand exec - from Flash player 6 
onward.

There are 3rd party programs available that will allow you to execute any 
program on a user's system and pass parameters.  These programs produce an 
EXE that the user launches, or is launched from a CDROM.

Some of the applications available are:
SWF Studio - http://northcode.com
mProjector - http://screentime.com
Zinc - http://multidmedia.com
Screenweaver - http://screenweaver.com


Derek Vadneau
Northcode Inc.
http://www.northcode.com

- Original Message - 
From: "kosztik istvan" <[EMAIL PROTECTED]>
To: 
Sent: Friday, November 18, 2005 3:33 PM
Subject: [Flashcoders] fscommand exec . exec programs with parameters


hi all

is there any solution to call programs with one or more parameter?
fscommand("exec", "sample.exe param1 param2")

but it not work in this way.

(to create a bat file and put there my sample.exe and parameters is not
right for me)


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


Re: [Flashcoders] Flash 8 and SCORM conformance test suite

2005-11-18 Thread Alex McCabe
I may be wrong on this - but I think the SCORM conformance test suite sets
up a local web server, so the files look like they are coming from a local
ip address, 127.0.0.1 , and shouldn't be subject to the
same security restrictions.
What may be more problematic is if a user unzips the SCORM content and tries
to run it directly from the hard disk.

HTH,

Alex.
http://www.centralquestion.com/flauntit


On 11/18/05, Josh Gormley <[EMAIL PROTECTED]> wrote:
>
> This is a question for anybody who builds SCORM compliant courses
> using Flash:
>
> Now that Flash 8 restricts the use of calls to Javascript while the
> file is being run locally, how can you test your course using the
> SCORM conformance test suite (version 1.2.7)?
>
> - In order to use the test suite, you have to run your course from
> the local hard drive.
> - In order for a Flash course to communicate with the LMS, you need
> to make Javascript calls.
> - You can't make Javascript calls from Flash when running locally
> [using the Flash 8 plugin].
>
> Am I missing something simple, or is this a pretty big problem?
>
> thanks,
> Josh
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] BitmapData.loadBitmap with on stage MC

2005-11-18 Thread Michael Stuhr

Claudia Barnal schrieb:


How could I achieve the same as this:

var bd = BitmapData.loadBitmap("myImg");

but loading and image (MC) that is on the stage?

The above works ok for me when I have an Image in the library, but I can't 
find how to achieve the same with a MC that is located on the stage.


Thanks

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


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

 

Just draw something on the stage with the brush-tool, and use this with 
the clip (or _root if you like)


import flash.display.BitmapData;
import flash.filters.DropShadowFilter;

setShadow = function (clip) {
   var bd:BitmapData = new BitmapData(_root._width, _root._height);
   bd.draw(_root);
   var filter:DropShadowFilter = new DropShadowFilter(8, 90, 0x00, 
.6, 8, 8, 1, 3, false, false, false);

  var filterArray:Array = new Array();
  filterArray.push(filter);
  clip.filters = filterArray;

}
onMouseDown = function () {
   setShadow(this)
}

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


[Flashcoders] reading 'loadedBytes' from MovieClipLoader onLoadProgress

2005-11-18 Thread Matt Ganz
hi.

i'm using the MovieClipLoader class to load a few swfs that are
defined in an array a la:


var totalWeight = 41079759; // total weight in bytes (3.9MB)
var currentWeight = 0;

var mainArray:Array = new Array( { path: "movie1.swf", id:
"movie1_mc", depth: 1 },
{ path: 
"movie2.swf", id: "movie2_mc", depth: 2 },
{ path: 
"movie3.swf", id: "movie3_mc", depth: 3 });

for( i:Number=0; i___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread Eric R. Shinn
PC or Mac, it makes no difference. You can only save in the previous  
version, not every version created. Either get Flash 8 or see if he  
has MX 2004. I, of course, would highly recommend upgrading.


On Nov 18, 2005, at 12:01 PM, JesterXL wrote:

He can only downsave to Flash MX 2004 with Flash 8, not MX.  You'll  
need
Flash MX 2004 on the Mac to downsave to MX, or Flash MX 2004 on the  
PC to

open it.

- Original Message -
From: "Blake Kritzberg" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 2:55 PM
Subject: Re: [Flashcoders] From mac to PC - no joy


He's using flash 8 on a mac, I'm using flash MX on a PC. He can
downsave to flash MX on his mac, but it won't open on my PC.

thanks,
blake


On 11/18/05, Gerry Creighton <[EMAIL PROTECTED]> wrote:

Are you trying to open in the same version of Flash? I don't have any
problems opening
.fla's on different platforms. You can't open Flash 8 fla's in  
Flash MX.

I never had a problem otherwise.
Gerry

On Nov 18, 2005, at 2:27 PM, Blake Kritzberg wrote:


Having trouble opening a .fla file created on a mac -- I keep either
crashing or getting the message, "unknown version." I understand  
this
is a pretty common (but not universal?) problem. Have any ways  
around

it cropped up?

Thanks,
Blake

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

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


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


[Flashcoders] Exporting an image into powerpoint

2005-11-18 Thread Jessica Mays
Is it possible to export an image from a swf and have it open within
PowerPoint without a "save as"?

Ex. I have a dynamically generated chart created in a swf.  I push a
button that exports the chart with that data and it opens with in
PowerPoint or Word.  

The developer who was asking me if it was possible in Flash, I think he
referred to it as an Oli-O, something to do with transferring an object
into another app.  Something they have not been able to do in their web
app, but they were able to do when the application resided on the user's
desktop.

Thanks for your help
Jessica

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


Re: [Flashcoders] Flash 8 and SCORM conformance test suite

2005-11-18 Thread Leif Wells
Josh,

I think you should join the QTI mailing list:

http://lists.ucles.org.uk/lists/listinfo/ims-qti

and start this discussion there (it's has light traffic, but great content).

There are people with interesting perspectives there and some of them
actually work with the SCORM standard.

Leif

On 11/18/05, Josh Gormley <[EMAIL PROTECTED]> wrote:
> This is a question for anybody who builds SCORM compliant courses
> using Flash:
>
> Now that Flash 8 restricts the use of calls to Javascript while the
> file is being run locally, how can you test your course using the
> SCORM conformance test suite (version 1.2.7)?
>
> - In order to use the test suite, you have to run your course from
> the local hard drive.
> - In order for a Flash course to communicate with the LMS, you need
> to make Javascript calls.
> - You can't make Javascript calls from Flash when running locally
> [using the Flash 8 plugin].
>
> Am I missing something simple, or is this a pretty big problem?
>
> thanks,
> Josh
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] BitmapData.loadBitmap with on stage MC

2005-11-18 Thread Alain Rousseau

What you want is to take a snapshot of the MC on the stage right ?
For this you use the draw() Method of the BitmapData :

var bd:BitmapData = new BitmapData(mc._width, mc._height);
bd.draw(mc);


Alain

Claudia Barnal wrote:


How could I achieve the same as this:

var bd = BitmapData.loadBitmap("myImg");

but loading and image (MC) that is on the stage?

The above works ok for me when I have an Image in the library, but I 
can't find how to achieve the same with a MC that is located on the 
stage.


Thanks

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


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



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


[Flashcoders] BitmapData.loadBitmap with on stage MC

2005-11-18 Thread Claudia Barnal

How could I achieve the same as this:

var bd = BitmapData.loadBitmap("myImg");

but loading and image (MC) that is on the stage?

The above works ok for me when I have an Image in the library, but I can't 
find how to achieve the same with a MC that is located on the stage.


Thanks

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


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


[Flashcoders] fscommand exec . exec programs with parameters

2005-11-18 Thread kosztik istvan

hi all

is there any solution to call programs with one or more parameter?
fscommand("exec", "sample.exe param1 param2")

but it not work in this way.

(to create a bat file and put there my sample.exe and parameters is not 
right for me)


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


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread Blake Kritzberg
Thanks, I'll try it. I really appreciate the help.

On 11/18/05, JesterXL <[EMAIL PROTECTED]> wrote:
> He can only downsave to Flash MX 2004 with Flash 8, not MX.  You'll need
> Flash MX 2004 on the Mac to downsave to MX, or Flash MX 2004 on the PC to
> open it.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] New AS 2.0Class/Conponents/XML/XPath/SingletonPattern Example

2005-11-18 Thread Bruno Mosconi
Not at all, but I've seen lots of people looking for it... so...
Just wrote down an AS 2.0 usage example. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: sexta-feira, 18 de novembro de 2005 18:03
To: Flashcoders mailing list
Subject: RE: [Flashcoders] New AS
2.0Class/Conponents/XML/XPath/SingletonPattern Example

Is the singleton pattern a feature now? ;)

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Bruno Mosconi
Sent:   Fri 11/18/2005 2:57 PM
To: 'Flashcoders mailing list'
Cc: 
Subject:[Flashcoders] New AS 2.0
Class/Conponents/XML/XPath/SingletonPattern Example
Hi,

I've just released a new example of XML driven application, based on AS 2.0
Class, Components, XPath w/ full XML content search and using Singleton
Pattern.

Feel free to use, and abuse: (It's a XML Driven Agenda)
http://www.ultrafactor.com.br/flash_experiments/XML Agenda v1.1.zip
Interface is Portuguese, so here are some translations you may need to a
full understanding:
Buscar = Search
Todos = All
Janeiro, Fevereiro, etc = Months of year
Aguarde = Wait
Fechar = close

All code is in English! Don't worry. :)

If you need any extra help or any comments, please email me. I'm also
looking for any kind of AS Freelance.

Hope you enjoy!

Regards,
Bruno Mosconi
Ultrafactor

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




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


Re: [Flashcoders] embedFonts oddity

2005-11-18 Thread Judah Frangipane

Hi Ian,

I had this issue too. I solved it somehow and I'll have a example up 
later tonight. Here is part of it.


**
Static Textfields - If you only use static fields you do not need to 
embed any fonts.


Input textfields - You have two methods to embed fonts. In both cases 
you must have the font symbols in the library (not named the same as the 
font). The first method is to,
1. Embed fonts by including all the embedded characters in the embed 
property (in the property inspector) or

2. Use actionscript and set the embed property to true (see code)

Dynamic textfields - Same as input textfields.

TextInput - You can only embed fonts for text inputs by enabling the 
property in code. Font symbols must be in the library (not named the 
same as the font). (see code)


Textarea - You can only embed fonts for text inputs by enabling the 
property in code. Font symbols must be in the library (not named the 
same as the font). (see code)

**

The example has code as well.

Best Regards,
Judah Frangipane



Ian Thomas wrote:


(MX2004)

I'm having a bit of trouble with embedFonts (but not the usual 'can't find
font' trouble!).

I have a bunch of perfectly happily working dynamic TextFields, all created
in ActionScript.

They are all multiline, with wordWrap turned on.

They work perfectly well if I'm not using am embedded font - just relying on
the system fonts.

If I recompile with embedFonts set to true, the text is displayed in its
lovely anti-aliased goodness;
but it doesn't wrap any more - it just carries off to the right and gets
truncated by the edge of the field.

Googling pulls up a conversation on ActionScript.org - where the same
symptom had been seen
(but only with the last line of text - which is different from my
experience). A number of people
had reproduced the problem, but no-one had solved it.

Anyone come across this before? Any solutions? I've tried reordering the
embedFonts=true call with
the setTextFormat/set multiline/set wordwrap/setNewTextFormat calls, but
that makes no difference.

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



 



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


[Flashcoders] Flash 8 and SCORM conformance test suite

2005-11-18 Thread Josh Gormley
This is a question for anybody who builds SCORM compliant courses  
using Flash:


Now that Flash 8 restricts the use of calls to Javascript while the  
file is being run locally, how can you test your course using the  
SCORM conformance test suite (version 1.2.7)?


- In order to use the test suite, you have to run your course from  
the local hard drive.
- In order for a Flash course to communicate with the LMS, you need  
to make Javascript calls.
- You can't make Javascript calls from Flash when running locally  
[using the Flash 8 plugin].


Am I missing something simple, or is this a pretty big problem?

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


RE: [Flashcoders] New AS 2.0 Class/Conponents/XML/XPath/SingletonPattern Example

2005-11-18 Thread Scott Hyndman
Is the singleton pattern a feature now? ;)

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Bruno Mosconi
Sent:   Fri 11/18/2005 2:57 PM
To: 'Flashcoders mailing list'
Cc: 
Subject:[Flashcoders] New AS 2.0 
Class/Conponents/XML/XPath/SingletonPattern Example
Hi,

I've just released a new example of XML driven application, based on AS 2.0
Class, Components, XPath w/ full XML content search and using Singleton
Pattern.

Feel free to use, and abuse: (It's a XML Driven Agenda)
http://www.ultrafactor.com.br/flash_experiments/XML Agenda v1.1.zip
Interface is Portuguese, so here are some translations you may need to a
full understanding:
Buscar = Search
Todos = All
Janeiro, Fevereiro, etc = Months of year
Aguarde = Wait
Fechar = close

All code is in English! Don't worry. :)

If you need any extra help or any comments, please email me. I'm also
looking for any kind of AS Freelance.

Hope you enjoy!

Regards,
Bruno Mosconi
Ultrafactor

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



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


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread JesterXL
He can only downsave to Flash MX 2004 with Flash 8, not MX.  You'll need 
Flash MX 2004 on the Mac to downsave to MX, or Flash MX 2004 on the PC to 
open it.

- Original Message - 
From: "Blake Kritzberg" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 2:55 PM
Subject: Re: [Flashcoders] From mac to PC - no joy


He's using flash 8 on a mac, I'm using flash MX on a PC. He can
downsave to flash MX on his mac, but it won't open on my PC.

thanks,
blake


On 11/18/05, Gerry Creighton <[EMAIL PROTECTED]> wrote:
> Are you trying to open in the same version of Flash? I don't have any
> problems opening
> .fla's on different platforms. You can't open Flash 8 fla's in Flash MX.
> I never had a problem otherwise.
> Gerry
>
> On Nov 18, 2005, at 2:27 PM, Blake Kritzberg wrote:
>
> > Having trouble opening a .fla file created on a mac -- I keep either
> > crashing or getting the message, "unknown version." I understand this
> > is a pretty common (but not universal?) problem. Have any ways around
> > it cropped up?
> >
> > Thanks,
> > Blake
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

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


[Flashcoders] New AS 2.0 Class/Conponents/XML/XPath/Singleton Pattern Example

2005-11-18 Thread Bruno Mosconi
Hi,

I've just released a new example of XML driven application, based on AS 2.0
Class, Components, XPath w/ full XML content search and using Singleton
Pattern.

Feel free to use, and abuse: (It's a XML Driven Agenda)
http://www.ultrafactor.com.br/flash_experiments/XML Agenda v1.1.zip
Interface is Portuguese, so here are some translations you may need to a
full understanding:
Buscar = Search
Todos = All
Janeiro, Fevereiro, etc = Months of year
Aguarde = Wait
Fechar = close

All code is in English! Don't worry. :)

If you need any extra help or any comments, please email me. I'm also
looking for any kind of AS Freelance.

Hope you enjoy!

Regards,
Bruno Mosconi
Ultrafactor

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


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread Blake Kritzberg
He's using flash 8 on a mac, I'm using flash MX on a PC. He can
downsave to flash MX on his mac, but it won't open on my PC.

thanks,
blake


On 11/18/05, Gerry Creighton <[EMAIL PROTECTED]> wrote:
> Are you trying to open in the same version of Flash? I don't have any
> problems opening
> .fla's on different platforms. You can't open Flash 8 fla's in Flash MX.
> I never had a problem otherwise.
> Gerry
>
> On Nov 18, 2005, at 2:27 PM, Blake Kritzberg wrote:
>
> > Having trouble opening a .fla file created on a mac -- I keep either
> > crashing or getting the message, "unknown version." I understand this
> > is a pretty common (but not universal?) problem. Have any ways around
> > it cropped up?
> >
> > Thanks,
> > Blake
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread Gerry Creighton
Are you trying to open in the same version of Flash? I don't have any  
problems opening

.fla's on different platforms. You can't open Flash 8 fla's in Flash MX.
I never had a problem otherwise.
Gerry

On Nov 18, 2005, at 2:27 PM, Blake Kritzberg wrote:


Having trouble opening a .fla file created on a mac -- I keep either
crashing or getting the message, "unknown version." I understand this
is a pretty common (but not universal?) problem. Have any ways around
it cropped up?

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



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


Re: [Flashcoders] From mac to PC - no joy

2005-11-18 Thread eric dolecki
Is it a Flash 8 file and you only have Flash 7 or something?

edolecki

On 11/18/05, Blake Kritzberg <[EMAIL PROTECTED]> wrote:
>
> Having trouble opening a .fla file created on a mac -- I keep either
> crashing or getting the message, "unknown version." I understand this
> is a pretty common (but not universal?) problem. Have any ways around
> it cropped up?
>
> Thanks,
> Blake
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] From mac to PC - no joy

2005-11-18 Thread Blake Kritzberg
Having trouble opening a .fla file created on a mac -- I keep either
crashing or getting the message, "unknown version." I understand this
is a pretty common (but not universal?) problem. Have any ways around
it cropped up?

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


Re: [Flashcoders] convert mail form from HTML to Flash

2005-11-18 Thread Wade Arnold
IE6 limits bookmarklets to 508 characters, mine is a little over 1000 
lines. I doubt that I can remove that much of the program and still 
make it work.


wade



On Nov 18, 2005, at 11:21 AM, Marc Hoffman wrote:


Wade,

I did get this to work in Netscape. Took some fiddling, but the code 
is working in Flash -- thanks for your help. Would be great to get 
your bookmarklet working in I.E.


Marc

At 05:58 AM 11/18/2005, you wrote:


I have updated the HTML form to AS code generator bookmark-let. If you
run into a form that this does not work on please let me know!

http://t8design.com/weblogs/?p=6



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




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


Re: [Flashcoders] convert mail form from HTML to Flash

2005-11-18 Thread Marc Hoffman

Wade,

I did get this to work in Netscape. Took some fiddling, but the code 
is working in Flash -- thanks for your help. Would be great to get 
your bookmarklet working in I.E.


Marc

At 05:58 AM 11/18/2005, you wrote:


I have updated the HTML form to AS code generator bookmark-let. If you
run into a form that this does not work on please let me know!

http://t8design.com/weblogs/?p=6



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


Re: [Flashcoders] convert mail form from HTML to Flash

2005-11-18 Thread Wade Arnold
 IE6 looks is escaping all the code whenever there is a space or " it 
is replacing it with %20 & %22 to make it URL friendly. I will see if I 
can work around this.


When you have it installed you can then just go to any website with a 
form in it, ie google.com,  and click the link. It should create all 
the actionscript for you. I have added a contribute video to the site 
to show how to do this.


http://weblogs.t8design.com/upload/form2AS.htm

If you have any feedback on how you would make this better I would 
really appreciate it. We are always making flash RIA that need to login 
or connect to a legacy cgi GET/POST scripts. We created this tool to 
help with the tedious task of re-creating the form. Once this is done 
the developer just has to drag enough input-fields to the stage and 
label them properly.In the future we hope to connect this to mtasc for 
actually making the UI dynamically.



Here is the code that it generate for google.com

// create a new listener object;
submitObj = new Object();

// handle button click events;
submitObj.click = function() {
this.submitForm();
}

// handle enter key events;
submitObj.enter = function() {
this.submitForm();
}

// method to submit our form;
submitObj.submitForm = function() {
// post variables;
var post_lv:LoadVars = new LoadVars();
post_lv["hl"]  = "en";
post_lv["q"]  = "";
post_lv["btnG"]  = "Google Search";
post_lv["btnI"]  = "I'm Feeling Lucky";

// The document location is http://www.google.com/
// The form action is /http://www.google.com/search
url = "http://www.google.com/http://www.google.com/search";;

	// Submit the form in a new window. Test that the form method is 
correct

post_lv.send(url,"_blank","GET");
}

// Reference to instance name of form submission button.
submit_btn.addEventListener("click", submitObj);

// Reference to last field in form that users presses enter in.
password_txt.addEventListener("enter",submitObj);



Wade




On Nov 18, 2005, at 10:25 AM, Marc Hoffman wrote:

Doesn't work in I.E. 6 -- right-clicking gives no option to save as 
bookmark. Dragging to toolbar doesn't work either. What browser is 
this designed for?


At 05:58 AM 11/18/2005, you wrote:

I have updated the HTML form to AS code generator bookmark-let. If you
run into a form that this does not work on please let me know!

http://t8design.com/weblogs/?p=6




On Nov 17, 2005, at 10:17 PM, Wade Arnold wrote:

Can you send me the URL to the form. I can have it for you in a 
couple

seconds. Go get this bookmarklet!

http://t8design.com/weblogs/?p=6





On Nov 17, 2005, at 1:45 PM, Marc Hoffman wrote:


I need to convert a currently-working webmail form from html to
Flash. I've created Flash webmail forms sending to ASP, but I'm not
able to figure it out in this case. Maybe in part because it was
built in FrontPage :)

The current html page uses this, which works:



So far, I'm using this from Flash (also tried it without the domain
path):
//
btnSubmit.onRelease = function() {
loadVariablesNum("http://www.clientDomain.com/_vti_bin/shtml.exe/ 
contact_us.htm", 0, "POST");

};
//

but that's not doing it, even when I try to send all variable
declarations I can find on the html page. There are some checksum
values being passed and I'm not sure if that's throwing everything
off. Also not sure how to declare something like "webbot-action" in
AS, which doesn't like the hyphen (I tried this["webbot-action]).

Anybody see what I'm doing wrong here, or willing to look at the 
html

page to help me? I'm pretty blind when it comes to non-ActionScript
programming.

thanks,
Marc


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



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



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



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




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


[Flashcoders] embedFonts oddity

2005-11-18 Thread Ian Thomas
(MX2004)

I'm having a bit of trouble with embedFonts (but not the usual 'can't find
font' trouble!).

I have a bunch of perfectly happily working dynamic TextFields, all created
in ActionScript.

They are all multiline, with wordWrap turned on.

They work perfectly well if I'm not using am embedded font - just relying on
the system fonts.

If I recompile with embedFonts set to true, the text is displayed in its
lovely anti-aliased goodness;
but it doesn't wrap any more - it just carries off to the right and gets
truncated by the edge of the field.

Googling pulls up a conversation on ActionScript.org - where the same
symptom had been seen
(but only with the last line of text - which is different from my
experience). A number of people
had reproduced the problem, but no-one had solved it.

Anyone come across this before? Any solutions? I've tried reordering the
embedFonts=true call with
the setTextFormat/set multiline/set wordwrap/setNewTextFormat calls, but
that makes no difference.

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


Re: [Flashcoders] Clearing loaded flv from video object?

2005-11-18 Thread David Fischer

you tried myvid.attachVideo(null) ?

Matthew Gaiser wrote:

Hi everyone,

Does anyone know how to get rid of a flv that is loaded into the  
Video_Object in flash?


The only way that has worked for me is the following, and if I take  out 
the pause or seek it doesnt work!   Seems really weird to me.
The bad thing is that although this is the only way it seems to work  
and it causes a "flash" or blink/flicker when it clears.

I really hope someone can share a better way with me!

//  my_video is a Video_Object on stage I am loading the flv into,  
my_ns is the netstream


clearFLV = function() {
my_ns.pause(true);
my_ns.seek(0);
cvINT = setInterval(clearVideo, 100);
function clearVideo() {
clearInterval(cvINT);
my_video.clear();
my_ns.clear();
}
}

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




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


[Flashcoders] Clearing loaded flv from video object?

2005-11-18 Thread Matthew Gaiser

Hi everyone,

Does anyone know how to get rid of a flv that is loaded into the  
Video_Object in flash?


The only way that has worked for me is the following, and if I take  
out the pause or seek it doesnt work!   Seems really weird to me.
The bad thing is that although this is the only way it seems to work  
and it causes a "flash" or blink/flicker when it clears.

I really hope someone can share a better way with me!

//  my_video is a Video_Object on stage I am loading the flv into,  
my_ns is the netstream


clearFLV = function() {
my_ns.pause(true);
my_ns.seek(0);
cvINT = setInterval(clearVideo, 100);
function clearVideo() {
clearInterval(cvINT);
my_video.clear();
my_ns.clear();
}
}

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


Re: [Flashcoders] convert mail form from HTML to Flash

2005-11-18 Thread Marc Hoffman
Doesn't work in I.E. 6 -- right-clicking gives no option to save as 
bookmark. Dragging to toolbar doesn't work either. What browser is 
this designed for?


At 05:58 AM 11/18/2005, you wrote:

I have updated the HTML form to AS code generator bookmark-let. If you
run into a form that this does not work on please let me know!

http://t8design.com/weblogs/?p=6




On Nov 17, 2005, at 10:17 PM, Wade Arnold wrote:


Can you send me the URL to the form. I can have it for you in a couple
seconds. Go get this bookmarklet!

http://t8design.com/weblogs/?p=6





On Nov 17, 2005, at 1:45 PM, Marc Hoffman wrote:


I need to convert a currently-working webmail form from html to
Flash. I've created Flash webmail forms sending to ASP, but I'm not
able to figure it out in this case. Maybe in part because it was
built in FrontPage :)

The current html page uses this, which works:



So far, I'm using this from Flash (also tried it without the domain
path):
//
btnSubmit.onRelease = function() {

loadVariablesNum("http://www.clientDomain.com/_vti_bin/shtml.exe/ 
contact_us.htm", 0, "POST");

};
//

but that's not doing it, even when I try to send all variable
declarations I can find on the html page. There are some checksum
values being passed and I'm not sure if that's throwing everything
off. Also not sure how to declare something like "webbot-action" in
AS, which doesn't like the hyphen (I tried this["webbot-action]).

Anybody see what I'm doing wrong here, or willing to look at the html
page to help me? I'm pretty blind when it comes to non-ActionScript
programming.

thanks,
Marc


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



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



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



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


Re: [Flashcoders] elegant country list

2005-11-18 Thread Paul BH
How about this as a suggestion, bearing in mind I dont know your UI at all...

very often in these situations, there are 5 or 6 most likely options,
so provide a set of buttons for these options , mebbe with flags, then
have a drop-down with all availible countriers you ship to...

On 11/18/05, Toon Van de Putte <[EMAIL PROTECTED]> wrote:
> I had thought of something like this. A sort of autocomplete. But the
> problem is that people with lots of different native languages are going to
> be using this, and they might not always know the spelling of their country
> name in English. They'd only have to know the first letter, but in the case
> of Finland (Suomi) that would already create a problem.
>
> I like the idea of giving, say, the twenty most likely countries upfront,
> and putting the rest in some sort of alphabetical system.
>
> Organising all the countries per continent/area is unfeasible, since i only
> have an alphabetical list. The client wants *all* countries in there, but I
> doubt very much that anyone outside Europe (or outside Germany, France,
> Holland, Belgium, Italy, Spain and the UK) will ever place an order. So I'd
> prefer not to spend too much time picking central African countries from an
> alphabetical list ;-)
>
> On 11/18/05, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > how about keyboard press a letter, and matching country names fly in & you
> > select one to autocomplete
> >
> > the comboBox does allow you to press a letter to scroll down to 1st match
> > too I think.
> >
>
>
> --
> Toon Van de Putte
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal

That is exactly the kind of stuff I was looking for.

You must obviously be aware of the time you have saved me :)

Thanks a lot!


From: "Andreas Weber" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
To: "Flashcoders mailing list" 
Subject: RE: [Flashcoders] Drawing  gradients
Date: Fri, 18 Nov 2005 16:06:31 +0100

Flash's Drawing API only supports linear (or radial) gradients, to get '2D'
or 'tweened' gradients we have to programmatically 'concatenate' 1-pixel
wide gradient-stripes.
My GradientTween class does just this. Use this visual Editor to generate
the necessary code:
http://www.motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.
html

HTH
--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Claudia
Barnal
Sent: Friday, November 18, 2005 3:15 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Drawing gradients


Hi guys.

I have tried to create a four colored gradient through AS, but I am not
really getting any results.

One example can be found here:

http://www.fnordware.com/superpng/samples.html

I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.

Could you give me a hint on how I could achieve this kind of help?

TIA
Claudia


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


_
The new MSN Search Toolbar now includes Desktop search! 
http://toolbar.msn.co.uk/


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


RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal

WOW!!!



From: "Andreas Weber" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
To: "Flashcoders mailing list" 
Subject: RE: [Flashcoders] Drawing  gradients
Date: Fri, 18 Nov 2005 16:06:31 +0100

Flash's Drawing API only supports linear (or radial) gradients, to get '2D'
or 'tweened' gradients we have to programmatically 'concatenate' 1-pixel
wide gradient-stripes.
My GradientTween class does just this. Use this visual Editor to generate
the necessary code:
http://www.motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.
html

HTH
--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Claudia
Barnal
Sent: Friday, November 18, 2005 3:15 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Drawing gradients


Hi guys.

I have tried to create a four colored gradient through AS, but I am not
really getting any results.

One example can be found here:

http://www.fnordware.com/superpng/samples.html

I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.

Could you give me a hint on how I could achieve this kind of help?

TIA
Claudia


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


_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters


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


Re: [Flashcoders] elegant country list

2005-11-18 Thread elibol
I think a visual solution would be most intuitive, like a map that would
highlight your options based on what you typed in, or you could click on the
map to zoom in on different areas. I suppose a solution of this nature would
take much longer to program though.

Hope all goes smooth,

H


On 11/18/05, Tim Beynart <[EMAIL PROTECTED]> wrote:
>
> I like the sites where you select an area on a map for your continent
> before you enter the store.
>
>
> - - - - - - - - - - - -
> Tim Beynart
> Athens, GA, USA
> - - - - - - - - - - - -
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Martin
> Wood
> Sent: Friday, November 18, 2005 10:02 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] elegant country list
>
> divide it into continents / large scale areas
>
> europe
> asia
> africa
> americas
>
> etc..
>
> some kind of two stage selection?
>
> ?
>
>
> Toon Van de Putte wrote:
> > Hi list,
> >
> > I'm building a shop site in Flash, where the user has to select their
> > country from a list on the order form.
> > I personally would like to avoid one big long dropdown, i hate those
> > in HTML forms. Since it's Flash, I think I can do something much more
> > user-friendly, these are my options so far:
> >
> > - a small menu where the user first selects a letter of the alphabet
> > and then selects his/her country.
> > - same sort of menu, but with the most likely countries at the top, in
>
> > this case EU countries.
> >
> > Have any of you done anything like this before, and have any tips to
> share?
> >
> > thanks,
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread Toon Van de Putte
I had thought of something like this. A sort of autocomplete. But the
problem is that people with lots of different native languages are going to
be using this, and they might not always know the spelling of their country
name in English. They'd only have to know the first letter, but in the case
of Finland (Suomi) that would already create a problem.

I like the idea of giving, say, the twenty most likely countries upfront,
and putting the rest in some sort of alphabetical system.

Organising all the countries per continent/area is unfeasible, since i only
have an alphabetical list. The client wants *all* countries in there, but I
doubt very much that anyone outside Europe (or outside Germany, France,
Holland, Belgium, Italy, Spain and the UK) will ever place an order. So I'd
prefer not to spend too much time picking central African countries from an
alphabetical list ;-)

On 11/18/05, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> how about keyboard press a letter, and matching country names fly in & you
> select one to autocomplete
>
> the comboBox does allow you to press a letter to scroll down to 1st match
> too I think.
>


--
Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread Toon Van de Putte
Yep, it does. You can hit 'B' and it'll go to countries starting with a B

On 11/18/05, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> how about keyboard press a letter, and matching country names fly in & you
> select one to autocomplete
>
> the comboBox does allow you to press a letter to scroll down to 1st match
> too I think.
>
> edolecki
>
> On 11/18/05, Tim Beynart <[EMAIL PROTECTED]> wrote:
> >
> > I like the sites where you select an area on a map for your continent
> > before you enter the store.
> >
> >
> > - - - - - - - - - - - -
> > Tim Beynart
> > Athens, GA, USA
> > - - - - - - - - - - - -
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Martin
> > Wood
> > Sent: Friday, November 18, 2005 10:02 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] elegant country list
> >
> > divide it into continents / large scale areas
> >
> > europe
> > asia
> > africa
> > americas
> >
> > etc..
> >
> > some kind of two stage selection?
> >
> > ?
> >
> >
> > Toon Van de Putte wrote:
> > > Hi list,
> > >
> > > I'm building a shop site in Flash, where the user has to select their
> > > country from a list on the order form.
> > > I personally would like to avoid one big long dropdown, i hate those
> > > in HTML forms. Since it's Flash, I think I can do something much more
> > > user-friendly, these are my options so far:
> > >
> > > - a small menu where the user first selects a letter of the alphabet
> > > and then selects his/her country.
> > > - same sort of menu, but with the most likely countries at the top, in
> >
> > > this case EU countries.
> > >
> > > Have any of you done anything like this before, and have any tips to
> > share?
> > >
> > > thanks,
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread Toon Van de Putte
Good point, the alphabetical system is indeed a bit too arbitrary

On 11/18/05, MetaArt <[EMAIL PROTECTED]> wrote:
>
> IMHO, the second solution is better; one step to choice is always better
> than two...
>
> Enrico Tomaselli
> +> web designer <+
> [EMAIL PROTECTED]
> http://www.metatad.it
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
Toon Van de Putte
Pannenhuisstraat 63
2500 Lier
Belgium

mobile: +32 (0)497 52 74 51

[EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread eric dolecki
how about keyboard press a letter, and matching country names fly in & you
select one to autocomplete

the comboBox does allow you to press a letter to scroll down to 1st match
too I think.

edolecki

On 11/18/05, Tim Beynart <[EMAIL PROTECTED]> wrote:
>
> I like the sites where you select an area on a map for your continent
> before you enter the store.
>
>
> - - - - - - - - - - - -
> Tim Beynart
> Athens, GA, USA
> - - - - - - - - - - - -
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Martin
> Wood
> Sent: Friday, November 18, 2005 10:02 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] elegant country list
>
> divide it into continents / large scale areas
>
> europe
> asia
> africa
> americas
>
> etc..
>
> some kind of two stage selection?
>
> ?
>
>
> Toon Van de Putte wrote:
> > Hi list,
> >
> > I'm building a shop site in Flash, where the user has to select their
> > country from a list on the order form.
> > I personally would like to avoid one big long dropdown, i hate those
> > in HTML forms. Since it's Flash, I think I can do something much more
> > user-friendly, these are my options so far:
> >
> > - a small menu where the user first selects a letter of the alphabet
> > and then selects his/her country.
> > - same sort of menu, but with the most likely countries at the top, in
>
> > this case EU countries.
> >
> > Have any of you done anything like this before, and have any tips to
> share?
> >
> > thanks,
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] elegant country list

2005-11-18 Thread Tim Beynart
I like the sites where you select an area on a map for your continent
before you enter the store. 


- - - - - - - - - - - - 
Tim Beynart
Athens, GA, USA
- - - - - - - - - - - -

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Wood
Sent: Friday, November 18, 2005 10:02 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] elegant country list

divide it into continents / large scale areas

europe
asia
africa
americas

etc..

some kind of two stage selection?

?


Toon Van de Putte wrote:
> Hi list,
> 
> I'm building a shop site in Flash, where the user has to select their 
> country from a list on the order form.
> I personally would like to avoid one big long dropdown, i hate those 
> in HTML forms. Since it's Flash, I think I can do something much more 
> user-friendly, these are my options so far:
> 
> - a small menu where the user first selects a letter of the alphabet 
> and then selects his/her country.
> - same sort of menu, but with the most likely countries at the top, in

> this case EU countries.
> 
> Have any of you done anything like this before, and have any tips to
share?
> 
> thanks,
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Embedding fonts for runtime loading *sigh*

2005-11-18 Thread Tim Beynart
I have googled and searched the list archives, and have yet to find a
satisafactory answer.

In the simplest terms, how do I add a font to the library for runtime
embedding so that a single font name (i.e. "Futura") will embed the
font's bold and italic characters as well as the regular ones?
When I select the "bold" and "italic" checkboxes in the linkage palette,
it makes the font render in bold/italic in every instance, regards less
of the relevant HTML tags.
I am using Flash 8 pro. I tried this exporting for Flash 8 and Flash 7,
no dice. 

The only method I have found that works reliably is to add a dynamic,
embedded text box to the stage for each instance of the font I want to
use (I.e. Futura, another for Futura with bold, another for Futura with
italic, another for futura with bold&italic). However this won't work
for runtime embedding, since importing a swf with embedded fonts will
not open those fonts to root level access.

I know this is a question that gets asked alot, because I found tons of
hits on google without finding a decent answer.


- - - - - - - - - - - - 
Tim Beynart
Athens, GA, USA
- - - - - - - - - - - -
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elegant country list

2005-11-18 Thread MetaArt
IMHO, the second solution is better; one step to choice is always better
than two...

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

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


RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Andreas Weber
Flash's Drawing API only supports linear (or radial) gradients, to get '2D'
or 'tweened' gradients we have to programmatically 'concatenate' 1-pixel
wide gradient-stripes.
My GradientTween class does just this. Use this visual Editor to generate
the necessary code:
http://www.motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.
html

HTH
--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Claudia
Barnal
Sent: Friday, November 18, 2005 3:15 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Drawing gradients


Hi guys.

I have tried to create a four colored gradient through AS, but I am not
really getting any results.

One example can be found here:

http://www.fnordware.com/superpng/samples.html

I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.

Could you give me a hint on how I could achieve this kind of help?

TIA
Claudia


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


Re: [Flashcoders] elegant country list

2005-11-18 Thread Martin Wood

divide it into continents / large scale areas

europe
asia
africa
americas

etc..

some kind of two stage selection?

?


Toon Van de Putte wrote:

Hi list,

I'm building a shop site in Flash, where the user has to select their
country from a list on the order form.
I personally would like to avoid one big long dropdown, i hate those in HTML
forms. Since it's Flash, I think I can do something much more user-friendly,
these are my options so far:

- a small menu where the user first selects a letter of the alphabet and
then selects his/her country.
- same sort of menu, but with the most likely countries at the top, in this
case EU countries.

Have any of you done anything like this before, and have any tips to share?

thanks,

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


Re: [Flashcoders] elegant country list

2005-11-18 Thread Daniel Cascais
Maybe you could let the user choose a continent firts, and then give
him the country options.

On 11/18/05, Toon Van de Putte <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I'm building a shop site in Flash, where the user has to select their
> country from a list on the order form.
> I personally would like to avoid one big long dropdown, i hate those in HTML
> forms. Since it's Flash, I think I can do something much more user-friendly,
> these are my options so far:
>
> - a small menu where the user first selects a letter of the alphabet and
> then selects his/her country.
> - same sort of menu, but with the most likely countries at the top, in this
> case EU countries.
>
> Have any of you done anything like this before, and have any tips to share?
>
> thanks,
>
> --
> Toon Van de Putte
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
Zeh and Ian, Thank you very much for your help, It seems to be more 
complicated than I thought :|


I will give it a go with you info, but obviously if you want ti give me some 
further info, I would absolutely appreciate it :)


Thank you again,
Claudia



From: "Zeh Fernando" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list 
To: "Flashcoders mailing list" 
Subject: Re: [Flashcoders] Drawing  gradients
Date: Fri, 18 Nov 2005 12:38:19 -0200


http://www.fnordware.com/superpng/samples.html
I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.
Could you give me a hint on how I could achieve this kind of help?


They're just that, gradients. However, they don't use four colors (one on 
each corner), but rather three (one on each axis).


However, there's a problem: you can't have a proper gradient selection for
three colors on a box, since you only have two dimensions. Photoshop itself 
(for example) only uses two colors

on each box (and one additional slider for the third value). You can have
some advanced selection using more than two values if you use a circle or a
triangle, but you'd still lose a bit of sampled colors; also be aware that 
the example you linked to is not recommended: while it's still kind of a 
sample of the 16m colors available, the color distribution is biased and 
there are values missing (ie, there's no real purple - R 255 B 255 - 
because the R is using the inverse value of B).


Anyways, to create one like Photoshop do, you just have to loop through two 
values, plotting them on a movieclip (using F8's new bitmap class, 
duplicating movieclips, whatever). Something like this (uses R and G):


for (var l:Number = 0; l <= 255; l++) {
 for (var c:Number = 0; c <= 255; c++) {
   var myColor:Number = (l << 16) + (c << 8);
   // plot at line l, column c, the color "myColor"...
   // ...using whatever method you want to use to plot them
 }
}

If you're trying to use other kind of composition (ie, circular or
triangular), you'll have to come up with the equations you want to use. For
example, in the link you cited, the expression used seems to be:

   var myColor:Number = ((255-c) << 16) + ((255-l) << 8) + c;

But I wouldn't recomment it. If you want to do it with one bidimensional 
image alone (and no additional sliders), I'd recommend using a circle (a 
color wheel) using HSB calculations, but you'd still lose the saturation 
value.



- zeh

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


_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters


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


[Flashcoders] elegant country list

2005-11-18 Thread Toon Van de Putte
Hi list,

I'm building a shop site in Flash, where the user has to select their
country from a list on the order form.
I personally would like to avoid one big long dropdown, i hate those in HTML
forms. Since it's Flash, I think I can do something much more user-friendly,
these are my options so far:

- a small menu where the user first selects a letter of the alphabet and
then selects his/her country.
- same sort of menu, but with the most likely countries at the top, in this
case EU countries.

Have any of you done anything like this before, and have any tips to share?

thanks,

--
Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
Thanks Ian, I had tried something like that, but unfortunately I get some 
funky outcomes, where you have to play arround with the layers, to try to 
get it right. A lot of work, Which is why I would love to achieve this 
programmatically somehow.


Thank you anyway, and any more ideas are very welcome.


Haven't tried it - but how about drawing 4 boxes on top of each other, each
one with a gradient going from full colour (in the corner - alpha 255) to
fully transparent (alpha 0) in the opposite corner?

You never know, it might work. :-)


_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters


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


Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Ian Thomas
Having just layed it out manually, doing this gets the result you want:

- Create a grey filled square (RGBA 128,128,128,255)
- Overlay that with a square with gradient from top-right to bottom left
RGBA 255,0,0,255 -> RGBA 255,0,0,0 -> RGBA 255,0,0,0 (i.e. with the alpha
set to 0 at the _mid-point_)
- Do the same with a gradient from bottom-left to top-right RGBA
0,255,255,255 -> 0,255,255,0 -> 0,255,255,0
-> top-left to bottom-right RGBA 0,0,255,255 -> 0,0,255,0 -> 0,0,255,0
-> bottom-right to top-left RGBA 255,255,0,255 -> 255,255,0,0 -> 255,255,0,0

That pretty much duplicates the example you posted.

To get all that in ActionScript, look up MovieClip.beginGradientFill() in
the docs - combine it with moveTo() and lineTo() and it should all be fairly
easy.

HTH,
Ian


On 11/18/05, Ian Thomas <[EMAIL PROTECTED]> wrote:
>
> Haven't tried it - but how about drawing 4 boxes on top of each other,
> each one with a gradient going from full colour (in the corner - alpha 255)
> to fully transparent (alpha 0) in the opposite corner?
>
> You never know, it might work. :-)
>
> Ian
>
> On 11/18/05, Claudia Barnal <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys.
> >
> > I have tried to create a four colored gradient through AS, but I am not
> > really getting any results.
> >
> > One example can be found here:
> >
> > http://www.fnordware.com/superpng/samples.html
> >
> > I'm not really sure what the name of these type of gradients are, but
> > they
> > are usually found in color selectors in graphics tools i.e. Photoshop.
> > And
> > have four colors equally bended from each corner.
> >
> > Could you give me a hint on how I could achieve this kind of help?
> >
> > TIA
> > Claudia
> >
> > _
> > MSN Messenger 7.5 is now out. Download it for FREE here.
> > http://messenger.msn.co.uk
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Zeh Fernando

http://www.fnordware.com/superpng/samples.html
I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.
Could you give me a hint on how I could achieve this kind of help?


They're just that, gradients. However, they don't use four colors (one on 
each corner), but rather three (one on each axis).


However, there's a problem: you can't have a proper gradient selection for
three colors on a box, since you only have two dimensions. Photoshop itself 
(for example) only uses two colors

on each box (and one additional slider for the third value). You can have
some advanced selection using more than two values if you use a circle or a
triangle, but you'd still lose a bit of sampled colors; also be aware that 
the example you linked to is not recommended: while it's still kind of a 
sample of the 16m colors available, the color distribution is biased and 
there are values missing (ie, there's no real purple - R 255 B 255 - because 
the R is using the inverse value of B).


Anyways, to create one like Photoshop do, you just have to loop through two 
values, plotting them on a movieclip (using F8's new bitmap class, 
duplicating movieclips, whatever). Something like this (uses R and G):


for (var l:Number = 0; l <= 255; l++) {
 for (var c:Number = 0; c <= 255; c++) {
   var myColor:Number = (l << 16) + (c << 8);
   // plot at line l, column c, the color "myColor"...
   // ...using whatever method you want to use to plot them
 }
}

If you're trying to use other kind of composition (ie, circular or
triangular), you'll have to come up with the equations you want to use. For
example, in the link you cited, the expression used seems to be:

   var myColor:Number = ((255-c) << 16) + ((255-l) << 8) + c;

But I wouldn't recomment it. If you want to do it with one bidimensional 
image alone (and no additional sliders), I'd recommend using a circle (a 
color wheel) using HSB calculations, but you'd still lose the saturation 
value.



- zeh

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


Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Muzak
My guess is the file gets corrupted when uploaded.
Check your FTP program and make sure its being uploaded properly (BINARY).

regards,
Muzak


> Hi all,
> When I upload a movie to a server via ftp,  it seems to initialy load,
> and then the screen goes blank, and if you right click you get a Movie
> not loaded message.
>
> When I open the swf or the html file that contains the swf locally,
> everything goes fine.
>
> Can someone explain how can this happens? Try to visit
> http://www.theasis.com.gr/Preview/theasis3.html
> to see it
>
> Please help cause I can't imagine what is causing this.
> Thanks.
>


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


RE: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Kaloudis Stathis
Damn yes!!. It works  perfectly well in standalone Flash player as well
as in Browser.
I can't figure what can possible be wrong.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: Friday, November 18, 2005 4:26 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Movie seems to unload?

There seems to be something definately wrong with the file. I took the
swf in my hard drive, opened it in the standalone Flash Player and it
closes as soon as it opens. It doesn't even show the stuff that you can
see in the browser window.

Also, I tried importing it in Flash and it cannot be imported:
"One or more files were not imported because there were problems reading
them."

Very strange...

Does it function well in the IDE or the standalone Flash player?

Dimitrios


- Original Message -
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 4:12 PM
Subject: RE: [Flashcoders] Movie seems to unload?


No, guys, I'm using the flash-generated html page..
I'm  really stucked with this one..And I'm sure that something is wrong
with the swf file couse I get the same results when I try to access is
directly.
See for your selves:
http://www.theasis.com.gr/Preview/theasis3.swf

Regards



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: Friday, November 18, 2005 3:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Movie seems to unload?

Hey Stathi,

Is it only 1 SWF? Or are you loading any other swf from inside the main
one?

Dimitrios

- Original Message -
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE: [Flashcoders] Movie seems to unload?


Please guys, any ideas??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
 to see it

Please help cause I can't imagine what is causing this.
Thanks.

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



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



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


RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
Also, I'm pretty sure that some of the new bitmap manipulation functions 
included in Flash 8 might help me out, but again, I am a bit lost.


_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters


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


Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Ian Thomas
Haven't tried it - but how about drawing 4 boxes on top of each other, each
one with a gradient going from full colour (in the corner - alpha 255) to
fully transparent (alpha 0) in the opposite corner?

You never know, it might work. :-)

Ian

On 11/18/05, Claudia Barnal <[EMAIL PROTECTED]> wrote:
>
> Hi guys.
>
> I have tried to create a four colored gradient through AS, but I am not
> really getting any results.
>
> One example can be found here:
>
> http://www.fnordware.com/superpng/samples.html
>
> I'm not really sure what the name of these type of gradients are, but they
> are usually found in color selectors in graphics tools i.e. Photoshop. And
> have four colors equally bended from each corner.
>
> Could you give me a hint on how I could achieve this kind of help?
>
> TIA
> Claudia
>
> _
> MSN Messenger 7.5 is now out. Download it for FREE here.
> http://messenger.msn.co.uk
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Mike Mountain
Hi Stathi

Just out of interest are you using a preloader toload your content in?
That may explain the initial load followed by the error - try the
content without the preloader - if that works your problem is in there
somewhere.

Cheers

M

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kaloudis Stathis
> Sent: 18 November 2005 14:13
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Movie seems to unload?
> 
> No, guys, I'm using the flash-generated html page..
> I'm  really stucked with this one..And I'm sure that 
> something is wrong with the swf file couse I get the same 
> results when I try to access is directly.
> See for your selves: 
> http://www.theasis.com.gr/Preview/theasis3.swf
> 
> Regards
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Dimitrios Bendilas
> Sent: Friday, November 18, 2005 3:40 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Movie seems to unload?
> 
> Hey Stathi,
> 
> Is it only 1 SWF? Or are you loading any other swf from 
> inside the main one?
> 
> Dimitrios
> 
> - Original Message -
> From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, November 18, 2005 3:31 PM
> Subject: RE: [Flashcoders] Movie seems to unload?
> 
> 
> Please guys, any ideas??
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kaloudis Stathis
> Sent: Friday, November 18, 2005 11:35 AM
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] Movie seems to unload?
> 
> Just a correction, the problem goes with trying to view the 
> uploaded page and not with the uploading process.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kaloudis Stathis
> Sent: Friday, November 18, 2005 10:39 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Movie seems to unload?
> 
> Hi all,
> When I upload a movie to a server via ftp,  it seems to 
> initialy load, and then the screen goes blank, and if you 
> right click you get a Movie not loaded message.
> 
> When I open the swf or the html file that contains the swf 
> locally, everything goes fine.
> 
> Can someone explain how can this happens? Try to visit 
> http://www.theasis.com.gr/Preview/theasis3.html
>  to see it
> 
> Please help cause I can't imagine what is causing this.
> Thanks.
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> 
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Dimitrios Bendilas

There seems to be something definately wrong
with the file. I took the swf in my hard drive,
opened it in the standalone Flash Player
and it closes as soon as it opens. It doesn't even show
the stuff that you can see in the browser window.

Also, I tried importing it in Flash and it cannot be imported:
"One or more files were not imported because there were problems reading 
them."


Very strange...

Does it function well in the IDE or the standalone Flash player?

Dimitrios


- Original Message - 
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 4:12 PM
Subject: RE: [Flashcoders] Movie seems to unload?


No, guys, I'm using the flash-generated html page..
I'm  really stucked with this one..And I'm sure that something is wrong
with the swf file couse I get the same results when I try to access is
directly.
See for your selves:
http://www.theasis.com.gr/Preview/theasis3.swf

Regards



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: Friday, November 18, 2005 3:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Movie seems to unload?

Hey Stathi,

Is it only 1 SWF? Or are you loading any other swf from inside the main
one?

Dimitrios

- Original Message -
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE: [Flashcoders] Movie seems to unload?


Please guys, any ideas??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
to see it

Please help cause I can't imagine what is causing this.
Thanks.

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



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



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


Re: [Flashcoders] LocalConnection

2005-11-18 Thread Dennis - I Sioux

Hey,

Don't know the term propagate.. but php sessions are used.

Only for security reasons we can't block users by sessions.

I did the localConnection check only on the onStatus by the way..
I guess i'll use a returning send back.. so i'm sure the onStatus isn't 
given by the flash engine from cahcing or something

due to a lagging computer.

Thanx,

Dennis


- Original Message - 
From: "John Giotta" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 2:47 PM
Subject: Re: [Flashcoders] LocalConnection



Can't you just propagate a session on the user?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




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


Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Andreas Rønning

Kaloudis Stathis wrote:


No, guys, I'm using the flash-generated html page..
I'm  really stucked with this one..And I'm sure that something is wrong
with the swf file couse I get the same results when I try to access is
directly.
See for your selves: 
http://www.theasis.com.gr/Preview/theasis3.swf


Regards



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: Friday, November 18, 2005 3:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Movie seems to unload?

Hey Stathi,

Is it only 1 SWF? Or are you loading any other swf from inside the main
one?

Dimitrios

- Original Message -
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE: [Flashcoders] Movie seems to unload?


Please guys, any ideas??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
to see it

Please help cause I can't imagine what is causing this.
Thanks.

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



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

youve got a loadmovie or removemovieclip call somewhere in there 
pointing to _root.


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


[Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal

Hi guys.

I have tried to create a four colored gradient through AS, but I am not 
really getting any results.


One example can be found here:

http://www.fnordware.com/superpng/samples.html

I’m not really sure what the name of these type of gradients are, but they 
are usually found in color selectors in graphics tools i.e. Photoshop. And 
have four colors equally bended from each corner.


Could you give me a hint on how I could achieve this kind of help?

TIA
Claudia

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


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


RE: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Kaloudis Stathis
No, guys, I'm using the flash-generated html page..
I'm  really stucked with this one..And I'm sure that something is wrong
with the swf file couse I get the same results when I try to access is
directly.
See for your selves: 
http://www.theasis.com.gr/Preview/theasis3.swf

Regards



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Bendilas
Sent: Friday, November 18, 2005 3:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Movie seems to unload?

Hey Stathi,

Is it only 1 SWF? Or are you loading any other swf from inside the main
one?

Dimitrios

- Original Message -
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE: [Flashcoders] Movie seems to unload?


Please guys, any ideas??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
 to see it

Please help cause I can't imagine what is causing this.
Thanks.

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



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


Re: [Flashcoders] convert mail form from HTML to Flash

2005-11-18 Thread Wade Arnold
I have updated the HTML form to AS code generator bookmark-let. If you  
run into a form that this does not work on please let me know!


http://t8design.com/weblogs/?p=6




On Nov 17, 2005, at 10:17 PM, Wade Arnold wrote:

Can you send me the URL to the form. I can have it for you in a couple  
seconds. Go get this bookmarklet!


http://t8design.com/weblogs/?p=6





On Nov 17, 2005, at 1:45 PM, Marc Hoffman wrote:

I need to convert a currently-working webmail form from html to  
Flash. I've created Flash webmail forms sending to ASP, but I'm not  
able to figure it out in this case. Maybe in part because it was  
built in FrontPage :)


The current html page uses this, which works:

onSubmit="" webbot-action="--WEBBOT-SELF--">


So far, I'm using this from Flash (also tried it without the domain  
path):

//
btnSubmit.onRelease = function() {
	loadVariablesNum("http://www.clientDomain.com/_vti_bin/shtml.exe/ 
contact_us.htm", 0, "POST");

};
//

but that's not doing it, even when I try to send all variable  
declarations I can find on the html page. There are some checksum  
values being passed and I'm not sure if that's throwing everything  
off. Also not sure how to declare something like "webbot-action" in  
AS, which doesn't like the hyphen (I tried this["webbot-action]).


Anybody see what I'm doing wrong here, or willing to look at the html  
page to help me? I'm pretty blind when it comes to non-ActionScript  
programming.


thanks,
Marc


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




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




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


Re: [Flashcoders] LocalConnection

2005-11-18 Thread John Giotta
Can't you just propagate a session on the user?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Dimitrios Bendilas

Hey Stathi,

Is it only 1 SWF? Or are you loading any other swf from inside the main one?

Dimitrios

- Original Message - 
From: "Kaloudis Stathis" <[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE: [Flashcoders] Movie seems to unload?


Please guys, any ideas??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
to see it

Please help cause I can't imagine what is causing this.
Thanks.

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



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


Re: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Martin Wood

not sure, case sensitivity ? work on windows, deploy to linux?

Kaloudis Stathis wrote:
Please guys, any ideas?? 


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


RE: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Kaloudis Stathis
Please guys, any ideas?? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 11:35 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Movie seems to unload?

Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
 to see it

Please help cause I can't imagine what is causing this.
Thanks.

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


Re: [Flashcoders] Inheritance and super()

2005-11-18 Thread Ian Thomas
Why not try it and find out..?

I actually don't know about Flash off the top of my head - I suspect it
would work (i.e. the overridden function would be called). But it's worth a
try.

In some OOP languages (notably C++ when dealing with virtual
functions/abstract classes) this causes lots of headaches, purely because
you're calling things via the constructor - the fact that the function has
been overridden may not be available at that point in the runtime, as the
object's virtual function table (an array that points at all the methods
that object has) hasn't yet been fully populated.
>From memory, Java has a similar problem. (But TBH I doubt I've ever tried it
in Java, having learned my lesson in C++).

The answer is generally to avoid calling functions from the constructor that
might be overridden.

But as to Flash - as I said, don't know. :-)

Ian

On 11/18/05, Andreas Rønning <[EMAIL PROTECTED]> wrote:
>
> If class A's constructor calls class A's main(), and class A's main()
> calls class A's myFunction(), what happens if class B extends A,
> overrides myFunction(), and then calls super() ?
> Is the overridden myFunction called or the original?
>
> - Andreas
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Inheritance and super()

2005-11-18 Thread Andreas Rønning
If class A's constructor calls class A's main(), and class A's main() 
calls class A's myFunction(), what happens if class B extends A, 
overrides myFunction(), and then calls super() ?

Is the overridden myFunction called or the original?

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


Re: [Flashcoders] text field halfway round from bottom

2005-11-18 Thread Alain Rousseau
If you're using Flash 8 you can use the DisplacementMapFilter to do that 
effect. So far you can't write text on a path in Flash, unlile 
Illustrator or other vector based apps.
you can see an example at this french blog: 
http://jeanphiblog.media-box.net/dotclear/index.php?2005/10/29/172-flash-8-displacementmapfilter-texte-incurve


You can get the source of these exemples as well.

Hope this helps

Alain

rishi wrote:


Hi



Is there a way I can make a text field  halfway round from bottom. I
want to make bridge text or bulge text. Please suggest something in
Flash or somewhat alike.



Regards

Rishi

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

 


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


[Flashcoders] text field halfway round from bottom

2005-11-18 Thread rishi
Hi

 

Is there a way I can make a text field  halfway round from bottom. I
want to make bridge text or bulge text. Please suggest something in
Flash or somewhat alike.

 

Regards

Rishi

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


[Flashcoders] LocalConnection

2005-11-18 Thread Dennis - I Sioux
Hey,

i was wondering if anyone knwos how long a localconnection channel will be kept 
open after closing the swf.

This is because i have a localconnection system in one swf to prevent the user 
from opening the same window twice(for security).

We have a situation where someone opens the swf.. closes it again.. then opens 
it again.. .. and in this situation there is another connection found,
so it opens our error that two windows are open.

Many thanks!

Best Regards,

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


Re: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-18 Thread Ian Thomas
If the sounds are embedded in the timeline, it may be possible to replay
them just by doing a myClip.gotoAndPlay(1)

If they're ActionScript based sounds, it entirely depends on the
ActionScript in the child movie. Again, depending on the code,
myClip.gotoAndPlay(1) might work.

HTH,
Ian

On 11/18/05, Dhiraj Girdhar <[EMAIL PROTECTED]> wrote:
>
> Thanks Ian, it worked.
> Any way by which it can be played again?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-18 Thread Dhiraj Girdhar
Thanks Ian, it worked.
Any way by which it can be played again?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Thursday, November 17, 2005 7:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Stopping sounds inside the loaded SWF.

>From memory...

Assuming myClip was a reference to the loaded MovieClip:

new Sound(myClip).stop();

HTH,
Ian

On 11/17/05, Dhiraj Girdhar <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a SWF file which contains sound (whether in the form of sound
> object or streaming).
>
> I loaded that SWF in another movie clip using LoadMovie.
>
> Now, I want to stop the sounds of that SWF, how to do it?
>
> There is a way of stopAllSounds, but it also stops the sounds in main
> SWF.
>
>
>
> Can anyone suggest whether it is possible or not?
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Return a class

2005-11-18 Thread Martin Wood

Will you only be creating one type of object? or multiple types?

If its just one, then myFactory.getDrag() can create and return the 
object..but im guessing thats not the case or you wouldnt be asking :)


so, you could return a string of the full class name (including its 
package)   and assuming that any class you want to create implements the 
same interface so you can rely on some type information further down the 
line, you could try :


String className = myFactory.getDrag();
IDrag drag = new _global[className]();


[EMAIL PROTECTED] wrote:
I have a class named Drag with a static function create. 


A drag is created as :  Drag.create(...)

Now I would like to use a Factory to return a drag, but the problem is
that the Factory has to return the class Drag instead of an instance of
Drag...


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


Re: [Flashcoders] recursive function that returns an array

2005-11-18 Thread Martin Wood
you dont 'delay' the return function, just consider that each invocation 
of the function can pass back a result to the calling function


the idea is something like this (its not tested code, but hopefully will 
give you a starting point...)


also, it assumes that each node has only one child, otherwise you would 
need to find multiple paths


function findTransitionPath(node:XMLNode, attributeName:String):Array
{
if(node.childNodes.length == 1)
{
// check children for transition attributes in nodes
var path:Array = findTransitionPath(node.childNodes[0], 
attributeName);
}
else
{
// no children, so sub path is empty
path = [];
}

// check this node
if(node.attributes.transition != null)
{
// make this node the start of the array
return [node.attributes.transition].concat(path);
}
else
{
// just return the array from our children
return path;
}
}

there may be better ways to do this... :)

thanks,

Martin

Robin Burrer wrote:

Hi everybody,

I try to build a recursive function that searches an xml node for a
particular attribute name.
Each Node of my xml document has an attribute called "transition".

So basically what I want to do is pass an xml node to my function and 
the name of the transition and in return I want to get the path to the

transition (which should be an array).


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


RE: [Flashcoders] Return a class

2005-11-18 Thread Hari Seldon
I think that you need a singleton pattern

Regards,


Hari  

> -Mensaje original-
> De: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] En nombre 
> de [EMAIL PROTECTED]
> Enviado el: viernes, 18 de noviembre de 2005 9:29
> Para: flashcoders@chattyfig.figleaf.com
> Asunto: [Flashcoders] Return a class
> 
> I have a class named Drag with a static function create. 
> 
>  
> 
> A drag is created as :  Drag.create(...)
> 
>  
> 
> Now I would like to use a Factory to return a drag, but the problem is
> that the Factory has to return the class Drag instead of an 
> instance of
> Drag...
> 
>  
> 
> So what I would like to do is : 
> 
>  
> 
> myFactory.getDrag().create(...);
> 
>  
> 
> of something like : 
> 
>  
> 
> Class Drag = myFactory.getDrag();
> 
> Drag.create(...)
> 
>  
> 
>  
> 
> Is this possible?
> 
>  
> 
> Thx, Lieven Cardoen
> 
>  
> 
> Vriendelijke groeten,
> 
> Lieven Cardoen
> 
> PointX Multimedia
> 
> Engelse Wandeling 2 K18
> 
> 8500 Kortrijk
> 
> Tel. 056 361197
> 
> Fax 056 35 26 48
> 
> www.pointx.be  
> 
>  
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] Movie seems to unload?

2005-11-18 Thread Kaloudis Stathis
Just a correction, the problem goes with trying to view the uploaded
page and not with the uploading process.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaloudis
Stathis
Sent: Friday, November 18, 2005 10:39 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Movie seems to unload?

Hi all,
When I upload a movie to a server via ftp,  it seems to initialy load,
and then the screen goes blank, and if you right click you get a Movie
not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit
http://www.theasis.com.gr/Preview/theasis3.html
 to see it

Please help cause I can't imagine what is causing this.
Thanks.

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


[Flashcoders] Movie seems to unload?

2005-11-18 Thread Kaloudis Stathis
Hi all,
When I upload a movie to a server via ftp,
 it seems to initialy load, and then the screen goes blank, 
and if you right click you get a Movie not loaded message.

When I open the swf or the html file that contains the swf locally,
everything goes fine.

Can someone explain how can this happens? Try to visit 
http://www.theasis.com.gr/Preview/theasis3.html 
 to see it

Please help cause I can't imagine what is causing this.
Thanks.

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


[Flashcoders] Return a class

2005-11-18 Thread lieven.cardoen
I have a class named Drag with a static function create. 

 

A drag is created as :  Drag.create(...)

 

Now I would like to use a Factory to return a drag, but the problem is
that the Factory has to return the class Drag instead of an instance of
Drag...

 

So what I would like to do is : 

 

myFactory.getDrag().create(...);

 

of something like : 

 

Class Drag = myFactory.getDrag();

Drag.create(...)

 

 

Is this possible?

 

Thx, Lieven Cardoen

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 361197

Fax 056 35 26 48

www.pointx.be  

 

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