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 :
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
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:
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:
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,
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
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
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
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..
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
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:
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
___
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
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
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
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 flashcoders@chattyfig.figleaf.com
Sent: Friday, November 18, 2005 3:31 PM
Subject: RE:
Can't you just propagate a session on the user?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
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
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
Im not really sure what the name of these type of gradients are, but they
are usually found in color
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:
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
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
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]
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:
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!
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
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
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
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]
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
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:
WOW!!!
From: Andreas Weber [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Drawing gradients
Date: Fri, 18 Nov 2005 16:06:31 +0100
Flash's Drawing API only
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 flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list
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,
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
(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
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
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
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
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
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 flashcoders@chattyfig.figleaf.com
Sent:
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
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
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
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:
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.
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
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
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 =
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
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
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 },
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
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 http://127.0.0.1, and shouldn't be subject to the
same security restrictions.
What may be more problematic is if a user unzips
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
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
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,
She's hardcoded to 16, bro, not much you can do.
- Original Message -
From: Ryan Sexton [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 18, 2005 5:15 PM
Subject: [Flashcoders] DataGrid
I'm playing with the DataGrid component
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:
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:
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
Have them play, off-screen, before you initially show your movie?
- Original Message -
From: Brian Pitts [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, November 18, 2005 7:30 PM
Subject: [Flashcoders] cacheAsBitmap and preloading
When using cacheAsBitmap,
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
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
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
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,
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
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:
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
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
http://)then/ it fails to load the movie. If I use (https://) then
the
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,
72 matches
Mail list logo