Hi,
You can use runtime shared libraries for this case I guess.
You have the symbols in smiles.swf. go to the library and for each symbol
define the linkage and set it to Export for runtime sharing.
Then open the main movie and do Import>Open External Library and drag the
icon on stage and delete
Hans, you have strengthen my grief :(
And bitmap animation won't help either in my case.
Thanks anyway!
> >
> > Hi,
> >
> > you've answered your own question I'm afraid.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig
Thanks Juan Pablo for your response. I have some logic related to the XML in
the class, so it makes sense (to me at least) to encapsulate the xml loading
in this class.
(remember I'm trying to access the xml in the fla file in this way):
var mivariable:retornaXML = new retornaXML();
trace(mivariab
Hi,
You need to keep duplicate files if you want it to work as single and also
when loaded from main movie.
Easiest way is to create an xml directory at the place where the main movie
resides and set the path as "xml/1.xml"
also copy this directory in the screens directory
so ths ame path will wo
Hello Flashcoders,
I'm trying to make a main movie ("controller.swf") that loads other movies
("screen1.swf", "screen2.swf", etc), which are stored in a subdirectory
called "screens".
In controller.swf I'm using loadMovie("screens/screenx.swf") to load the
movies from the "screens" subdirectory,
> var mivariable:retornaXML = new retornaXML();
> trace(mivariable.elXML);
> but this trace returns null, since the xml file (I think) is not loaded
> yet.
Yes, that's the problem. In Flash, xml loading is always asynchronous so the
trace line is executed immediately after the previous one, in
Yes, that's exactly what I'm going ot have to do. This has got to be a
BUG. If I trace out the format.align property after a single character
change it goes from center to null! Then after the user replaces all of
the text it changes to left.
Glen Pike wrote:
In AS3 I have to keep applying
Speed wise and AS 2.0 you should go 'intrinsic'. Create a DLL (shared lib)
where your main code resides in, then compile your views against that. I've
done that on a big project and even the Flash IDE outperforms MTASC with
this solution.
Check out asigen: http://osflash.org/asigen to generate you
seems like an item for the newbie list tbh:)
On Tue, Jan 29, 2008 at 8:27 PM, Claudio M. E. Bastos Iorio <
[EMAIL PROTECTED]> wrote:
> Thanks for your answer. But how? Where?. I think that
> ProgressEvent.bytesLoaded, and ProgressEvent.bytesTotal could help. But
> where should I check the status?
In AS3 I have to keep applying the TextFormat object to the TextField
when it's content changes:
function createText():void {
_nameText.setSelection(0, _nameText.text.length);
//_nameText.caretIndex = 0;
_nameText.setTextFormat(_nameFormat);
addChild(_
I'm creating an input-type TextField at runtime and setting the align
prop of its TextFormat to 'center'. The default text displays
centered. If the user edits just one character at a time the text
remains centered. However, if they select all of the text and then type
something in, the alig
Did you clear out your ASO cache before compiling? Did you clear your
browser cache before testing?
Jason Merrill
Bank of America
GT&O L&LD Solutions Design & Development
eTools & Multimedia
Bank of America Flash Platform Developer Community
>>-Original Message-
>>From: [EMAIL
was it possibly running a global function or method that needed to be
killed before it was removed?
On Jan 29, 2008 2:02 PM, Delmar Patton <[EMAIL PROTECTED]> wrote:
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chatty
On Tue, Jan 29, 2008 at 10:53:29PM +0300, Donald Trump wrote:
> I'm at the final stages of my project.
> The thing that I am bothered most now is compile time.
...
> My project is Action Script 2.0 based.
> Maybe the right step is to move to AS 3.0?
> Do you know whether this compile caching proble
Short of re-writing everything in Haxe (which may or may not help),
switching to AS3 (which might help), switching to Flexbuilder 3, and
chopping code down to smaller pieces (which would help some), you might
be doing all you can really do.
>>And by the way, which IDE/compiler do you use?
Flas
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I'm at the final stages of my project.
The thing that I am bothered most now is compile time.
The project has evolved for the past couple of years into a large code base of
Action Script classes.
There are about 300 classes which is 1 MB of source code.
It takes about 20 seconds to compile the pr
Tried on another Flash list without any luck, so I'll try here.
I'm trying to see if there is a way to combine TweenLite and the draw
functions (i.e. sprite.graphics.lineto) to slowly draw a line from point
A to point B. Maybe there isn't, but I thought I would ask.
Is it possible or would it
Thanks for your answer. But how? Where?. I think that
ProgressEvent.bytesLoaded, and ProgressEvent.bytesTotal could help. But where
should I check the status?
Claudio M. E. Bastos Iorio
http://www.blumer.com.ar
-Original Message-
Fro
you could use an event to listen to, to pass the XML out of the class.
On Jan 29, 2008 1:42 PM, Claudio M. E. Bastos Iorio <[EMAIL PROTECTED]>
wrote:
> Hi guys, hope you can help me on this one.
>
> I have a class to load an XML file. I'm trying this:
>
>
>
>
> package {
> import flash.net.URLR
Hi guys, hope you can help me on this one.
I have a class to load an XML file. I'm trying this:
package {
import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.events.*;
public class retornaXML{
private var _xml:XML;
public function retornaXML() {
Hi,
you've answered your own question I'm afraid.
There is one other option, paint bitmaps to a symbol :).
So all the assets for an interactive smiley are stored as bitmaps and you
create a movieclip from that.
greetz
JC
On Tue, Jan 29, 2008 at 5:33 PM, Donald Trump <[EMAIL PROTECTED]> wrote:
Another problem:
code from a movieclip that has been removed from the DisplayList with
"removeChild(sparkle)" and then nulled by using "sparkle= null" or "sparkle =
void" .
how can I turn off the repetition of the try-catch code (which tells the main
class to "kill" sparkle) after the clip shou
Hey!
Suppose I load an SWF that contains symbols inside the main movie. Let it be
smiles for
chat application - smiles.swf.
Then I want to instantiate some of these symbols putting them on the main movie
_root.
That is essential, I want to add the instances to the main movie _root or
_root's
hey guys I just wanted some feedback on how you guys handle form's and
simple error checking. this is what I put together quickly this
morning for my form. but I was hoping to get some input on how to do
it better and what other options I have for validation. The project is
all AS2 and flash 8 also
This works:
(parent.root as Cardgenerator).makeglow();
Thanks, guys!
- Original Message -
From: Piers Cowburn <[EMAIL PROTECTED]>
Date: Tuesday, January 29, 2008 9:22 am
Subject: Re: [Flashcoders] dynaically generated mc reference to class that
created it
To: Flash Coders List
> Is the
Is the movieclip on the display list? If so you should be able to do
root.makeglow()
Piers
On 29 Jan 2008, at 14:54, BOYD SPEER wrote:
Using AS3 I have a movieclip made (dynamically made) of a class
called "Dragon". Inside its main timeline in a frame script I want
to tell the object (the
Using AS3 I have a movieclip made (dynamically made) of a class called
"Dragon". Inside its main timeline in a frame script I want to tell the object
(the main class called Cardgenerator) that created it to run a function called
"makeglow". But I can't seem to call a function there..any suggesti
yes it's working and you are right the best way is to use Array but I don't
understand the Array it's really confuse me
thanks alot
- Original Message
From: Piers Cowburn <[EMAIL PROTECTED]>
To: Flash Coders List
Sent: Tuesday, January 29, 2008 5:44:00 PM
Subject: Re: [Flashcoders] (n
thankss Cedric
this["txt"+image1] works fine
thank you
- Original Message
From: Cedric Muller <[EMAIL PROTECTED]>
To: Flash Coders List
Sent: Tuesday, January 29, 2008 5:26:40 PM
Subject: Re: [Flashcoders] (no subject)
Hello
change
> this.infoclip.info_txt.text = "
You can try this:
this.infoclip.info_txt.text = this["txt"+ image1]
But the best way of doing this would be to use an array:
var txts:Array = new Array();
txts[1] = "this is text 1";
txts[2] = "this is text 2";
txts[3] = "this is text 3";
txts[4] = "this is text 4";
txts[5] = "this is text 5
Hello
change
this.infoclip.info_txt.text = "txt"+ image1
to
this.infoclip.info_txt.text = ["txt"+image1];
or
this.infoclip.info_txt.text = this["txt"+image1];
Basically, this[variableStringReference] evaluates the string,
"txt"+image1, as a variable name, which points to 'txt1', 'txt2', ...
Hi all
I have this problem, I'm making photo gallery and for each photo there are
description text so first I made many var string for text
like this
var txt1:String = "this is text 1";
var txt2:String = "this is text 2";
var txt3:String = "this is text 3";
var txt4:String = "this is text 4";
var
Hi Dave
I've done quite a few muiltilanguage sites, including Chinese and
Korean. The way I've tackled this in the past is to load the fonts
from an external SWF at run-time, using shared runtime libraries. It's
a bit of a roundabout method, and if a single part of the process is
not done correctl
Can one rely on the assumption that onMetaData
will be called only once for a given video loaded
by NetStream ?
And is the call sequence of it and other statuses
predictable at all ?
TIA
--strk;
() ASCII Ribbon Campaign
/\ Keep it simple!
___
I have a scroll component that sometimes is deleted from the display list
while the user is holding the scroll bar and I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at fl.controls::ScrollBar/fl.controls:ScrollBar::thumbReleaseHandler()
Thanks ekameleon, That's just what i was after.
ekameleon wrote:
Hello :)
You can see too the AS3 Gif Player class : http://www.bytearray.org/?p=95
EKA+ :)
2008/1/29, tommek <[EMAIL PROTECTED]>:
Dynamically loading animated gif in flash and get them to play is that
possible.
I found
htt
37 matches
Mail list logo