Thanks for the info on asfunction. Does the linked text automatically get
underlined? Can I chnage the link appearance with a CSS sheet (I need
boldfaced links for this app)?
You can see the project (not yet finished) at
http://www.sporkworld.org/pills/ The first page you get to upon clicking
Enrico, I tried what you've described - indeed!
you wrote:
>How can I write the '<' char, inside an html dynamic textfield?
In fact, writing "<" char isn't a problem, but loading it from text
file is: it's either recognized as tag or (if you use < etc)
another variable.
But if you try create a loc
On 11/13/05, Millie Niss <[EMAIL PROTECTED]> wrote:
>
>
> (this seems to happen frequently when the button cinsists of
> say, a rectangle on one layer, with a text on a layer above it. Often, you
> use a button like this and discover that the text isn't clickable, and the
> only hot area is the par
On 11/13/05, Gregory_GOusable <[EMAIL PROTECTED]> wrote:
>
> In fact, writing "<" char isn't a problem, but loading it from text
> file is: it's either recognized as tag or (if you use < etc)
> another variable.
> But if you try create a local var with html inside it, everything is
> ok.
> Solution
On further investigation it looks like the UIScrollbar component does not
work if there is any element from a shared library on screen.
I have created a simple test file (mx2004) to illustrate this.
http://www.mediakitchen.co.uk/scrollbar.zip
I would really appreciate some advice on this as I re
Assuming "this" is the swf/clip you loaded into the scrollpane:
After it is finished loading, have the swf call the following:
this._parent.setScrollProperties(this._width, 1, this._height, 1);
Hope this works for you.
-Steven
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:
Well,
the question is that the (.txt) files are done by unskilled users, using a
simple appl to apply some basic features to chars (like bold, italic,
underlined), so I must use simple text files.
But, at last, maybe the string manipulation option is the only way...
thank you for suggestion.
Thnkx for the offer...i think http://www.flippingbook.com/ is going to work
just fine for me...I'm needing a full page turn and need the turn event
fired from AS. appreciated
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Klishin
Sent: Saturday,
Hello, I'm having troubles implementing the EventDispatcher class with
flash8.
I do the same I use to do before, but now the class doesn't fired the
event. Here is a sample class:
___
import mx.events.EventDispatcher;
//
class EventTry {
//event functions;
private va
In which case the onData option might be your best bet. The text files can
then be whatever you like - it's up to you to process them in whatever way
you wish.
Basically by providing your own LoadVars.onData() function, you completely
replace Flash's default processing of text files - you are just
Correction to the post. The import statement should be;
import EventTry;
Hello, I'm having troubles implementing the EventDispatcher class with
flash8.
I do the same I use to do before, but now the class doesn't fired the
event. Here is a sample class:
___
import mx.events.EventDispatche
Hi Javier,
This is because you've got things happening in the wrong order:
- You create your EventTry() object, which calls init()
- Init fires the event, but onEvent is still undefined
- Init then calls die()
- Die() deletes the EventTry object
- You then set onEvent to your function - after every
The whole deal with event dispatching is that you listen for certain event to
take place from the outside, not from the inside.
The way you have it now, you're not really making use of event dispatching
(well only in an weird way), but it's more like adding
(overriding) a method of the class.
Still doesn't work. If you look at the code the class fired the event
before deleting itself. Anyway I simplify it without the die() method:
//
import mx.events.EventDispatcher;
//
//
class EventTry {
//
//members;
//event functions;
private var dispatchEvent:Funct
whats the purpose of the eventListener inside the constructor? init
is being implicitly called within the class... just dispatch the
event, and set up a listener in your FLA
edolecki
On Nov 13, 2005, at 9:37 AM, Javier Tello wrote:
Still doesn't work. If you look at the code the class fi
Yes ok Muzak, but for example, it's the way the Tween class were
implemented. It is like an onEnterFrame build in event, just to get
less code lines in the main movie.
I do not remember who, but someone discuss this issue, relating how to
implement the EventDispatcher class, and explaining to
that still wont work because you are dispatching the event before you
bind the function as the handler.
what are you trying to achieve (apart from getting the event to fire), i
know this is just an example, but it seems a bit strange.
anyway, you cant call init in the constructor to dispatch
EventDispatcher uses the Decorator pattern, and technically adds methods to
whatever you pass in. Since you are running it in the constructor, you are
adding methods to the instance. You are better off adding them to the
class' prototype, so that only 4 methods are added to your class instead
Yes!!
Thanks a lot Martin, in the way you explain it, works. I didn´t notice
it before because in real coding perhaps doesn't have such issue. But
it's something to remember.
_
that still wont work because you are dispatching the event before you
bind the function as the handl
Thanks Jester, I know, it was a discussion about using or not the
"prototype" keyword, and if actionscript will support it in future
versions. But like you say, it is still being used also in as3. I will
try it.
Regards,
Javier.
El 13/11/2005, a las 17:44, JesterXL escribió:
EventDispatcher
So I have a delima, I know that I can see the
as text if I access the
node in xml.onData, however when I attempt to modify the string output while
in onLoad the
was already converted into new lines, which are
unnessary and need to be removed. The question is, how do I modify the
string after I
Hi, I'm also having problems with Events. Could someone give me a little
help on this issue?
The EventListener is firing fine, but its associated method CAN NOT call
another Class method. Why?
Here is the Main Class: (Here is the Problem)
import com.ultrafactor.LblButton;
class com.ultrafactor.T
Yes: http://flash-creations.com/notes/sample_svgtoflash.php
(What is thecanvasproject?)
Helen
Eric R. Shinn wrote:
Is there ActionScript 2.0 code out there to convert SVG to an object
the DrawingAPI can understand?
Cheers,
Eric R. Shinn
[EMAIL PROTECTED]
__
You need to use a Delegate. As this is a question which comes up about one a
week on this mailing list (not your, fault, I know!) I'm afraid I'm going to
direct you to the Flashcoders Wiki page about the problem rather than answer
you in full here...
http://www.osflash.org/flashcoders/as2
Hope th
Actually, there aren't many Decorators in AS3 that I can find.
Additionally, EventDispatcher is built-in. MovieClip actually extends
EventDispatcher, so no need for all the mixin stuff.
- Original Message -
From: "Javier Tello" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent:
Why delegate if the method is inside the same Class?
thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: domingo, 13 de novembro de 2005 15:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dispatching events from a class => H
A question for people using Eclipse.
What UML/Class diagram plugin do you use/recommend for AS2 development?
Any other favorite plugins?
Thanks in advance
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
"...all improvisati
You need to use the Delegate in your addEventListener line - because you're
passing clickTab to a completely different object, which will later call
back to clickTab, but doesn't have the correct context. Passing
this.clickTab isn't enough - passing Delegate.create(this,clickTab) should
be enough.
Thanks!
Btw, AS 3.0 looks like AS 2.0 FIXED...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: domingo, 13 de novembro de 2005 16:25
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dispatching events from a class => HELP
You need
Well, I am not eric... but I think I know what he means.
I have no idea what the software is for. The interface is unclear.
There is no context.
Interfaces need to be layered. You need to lead someone through the
options, and you need to provide some explanation as to what your
software is for.
Anyone know how I can trace a particular cell in the datagrid? On focus
(select) of a row item, I want to return the first cell
-Original Message-
From: Ricky Bacon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 8:55 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Fo
Thanks for the suggestion. To clarify, the setScrollProperties is
acting on the scrollPane instance? I tried a variation of this
after the swf finished loading, and it didn't change the behavior of
the scrollbars unfortunately. Is that method (setScrollProperties)
documented somewhere?
Int
How do I make sure that all Classes are fully loaded?
Thanks,
Bruno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Depends on when. There are 3 main time intervals that matter:
- class export frame
- class runtime initialization
- SWF runtime class meshing
* runtime shared libraries
By default, in Flash MX 2004, classes are exported on frame 1; meaning they
are initialized on frame 0 (which you can't do anyt
"Runtime loading of SWF's, however, confuses me, and I haven't seen a
defintive source that describes in what version, what happens in a loaded
SWF has the same class, who overrwrites what, etc."
The loading swf uses the first version of any class that it comes across.
This can be a problem if two
Hello,
I have a question. I am reasonably experienced in Flash and Actionscripting,
and I have recently tried to learn Flash Remoting. I find it extremely
confusing at times to use. I have kinda given up.
So I started searching for an alternative to Flash Remoting, and I came
accoss a site that s
I had heard from an MM engineer that this depends on Player Version; does
that really matter? And if so, how does it work with AS3?
- Original Message -
From: "Jim Kremens" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 7:28 PM
Subject: Re: [Flashcod
Hi, i have made a flash 7 blog that uses blogger's xml output. It works
perfectly when i test locally. But when i access the file from website, the xml
object never returns success... Maybe its a cross-domain problem with flash ?
The xml comes form http://anniegroovie.blogspot.com/atom.xml
Anyo
Is your .swf on anniegroovie.blogspot.com?
- Original Message -
From: "Patrick Matte" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 10:30 PM
Subject: [Flashcoders] blogger with flash
Hi, i have made a flash 7 blog that uses blogger's xml output. It
No my swf is on another server! But i thought flash could read files from
other servers.
- Original Message -
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 10:31 PM
Subject: Re: [Flashcoders] blogger with flash
Is your .swf on a
Nope, this is part of the security sandbox since Flash 5. You will need
either:
- the swf to reside on anniegroove.blogspot.com
- a shim.swf to reside on the above domain that merely says
"System.allowDomain("*");"
- a crossdomain.xml file to reside on the above domain that allows your site
- a
Thanks, that sounds good ! I'll try this right away !
- Original Message -
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 10:43 PM
Subject: Re: [Flashcoders] blogger with flash
Nope, this is part of the security sandbox since Flas
I tried that bit of php code but couldn't resolved anything.
The Loadvars returns "the XML=&onLoad=%5Btype%20Function%5D "
- Original Message -
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 10:43 PM
Subject: Re: [Flashcoders] blog
If the XML file isn't gzipped, I'm not sure what that would return.
Are you uploading that PHP file to your server and doing something like:
lv = new LoadVars();
lv.owner = this;
lv.filepath = "http://anniegroovie.blogspot.com/atom.xml";;
lv.onData= function(str)
{
this.owner.parseTheXML(str)
Do i have to change anything to that bit of php code ?
In flash
- Original Message -
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 11:24 PM
Subject: Re: [Flashcoders] blogger with flash
If the XML file isn't gzipped, I'm not
why LoadVars? Just do a XML load of a proxy file which will in turn
return your XML?
http://www.ericd.net/weather_tutorial/security.html
Thats the flavor of proxy that I like to use.
On 11/13/05, JesterXL <[EMAIL PROTECTED]> wrote:
> If the XML file isn't gzipped, I'm not sure what that would r
You don't have to; my PHP was setup to load from a filename, a filename
variable you had to pass to Flash. If he hardcodes the filename in the PHP,
he doesn't have to.
- Original Message -
From: "eric dolecki" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13
this is awesome thanks !
- Original Message -
From: "eric dolecki" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Sunday, November 13, 2005 11:47 PM
Subject: Re: [Flashcoders] blogger with flash
why LoadVars? Just do a XML load of a proxy file which will in turn
return your
48 matches
Mail list logo