Does this mean there is no way of loading a Flex swf into an AS3
project?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: maandag 24 oktober 2005 23:00
To: Flashcoders mailing list
Subject: Re: [Flashcoders] AS3.0 only projects + flex
hi list,
been doing some flex2 AS3 socket programming recently,
just wondering could i use some code like this (as we
do in java):
[code]
String line;
for(;;) {
line = in.readLine( );
if (line == null) throw new IOException(Unexpected
EOF);
if (line.equals(.)) break;
msgs.add(line);
}
[/code]
Hello,
I have a movie clip symbol, say 'X'.
X has a movie clip placed inside, say 'Y'.
There is code on Y i.e.
onClipEvent(load) {
_root.func1();
}
Now when I attach X using attachMovie i.e. having following code:
attachMovie(X, Instance1,1);
_root.func2();
func2
Hello,
I have a movie clip symbol, say 'X'.
X has a movie clip placed inside, say 'Y'.
There is code on Y i.e.
onClipEvent(load) {
_root.func1();
}
Now when I attach X using attachMovie i.e. having following code:
attachMovie(X, Instance1,1);
_root.func2();
func2 gets called before
David Rorex wrote:
If you want macromedia to respond, might want to contact them directly.
I generally find it's better to post to a public list first - especially
with something that is likely to be of interest to other developers. I
saw JD posting here, so I know he reads this list, if
And load a Flex 2 swf into an as3/8.5 swf with the new Loader class?
When I try this the Flex2 swf doesn't even initialize...?!
tom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Spike
Sent: woensdag 26 oktober 2005 10:38
To: Flashcoders mailing list
I know this is OT, but I'm kind of in a soup and have no clue where else to
turn to.
A client of ours developed their site using JSP, and asked us to take a look
at maintaining it. I was checking some of the files on the server,
downloading them, editing some bits to add output statements here
I haven't tried it with Flex 2 files, but I have managed to load a
FlashPaper swf. It didn't work perfectly, but I could view the file and use
some of the controls like zooming.
Spike
On 10/26/05, Tom Versweyveld [EMAIL PROTECTED] wrote:
And load a Flex 2 swf into an as3/8.5 swf with the new
Hi,
You can attach en init object to your clip X like this :
init_obj = new Object();
init_obj.onEnterFrame = function() {
_root.func2 ();
delete(this.onEnterFrame);
}
attachMovie(X, Instance1,1, init_obj);
like this func1 is called before func2.
Laurent
-Message
I cant understand why MTASC is throwing an error at some points. Am
using it within SEPY.
I got a class which imports mx.utils.Delegate,
But when I later on uses the Delegate.create(this, myFunc)
The MTASC compiler says that it is a unknown variable, the Delegate it
is.
This has been up
How about using the break keyword?
***
package {
import flash.display.Sprite;
import flash.util.trace;
public class LoopTest extends Sprite {
public function LoopTest() {
var i:uint = 0;
for(;;) {
i++;
if (i 20) {
break;
}
}
trace(Loop exited.);
}
}
}
Campbell Anderson wrote:
Hey dude I have played quite a bit with sockets now. I was packet
sniffing what flash sent out and the diference between writeUTF and
writeUTFBytes is the first two binary values of the writeUTF. Flex
documentation says that its the pointer to the binary stream length.
No that would be a bad idea since flash is single threaded.
In pseudo code, Flash runs in an endless loop of this kind:
for (;;) {
executeFrameScript();
renderFrame();
}
If you start doing some cycle you make it be stuck in executeFrameScript()
and never render a frame before you let it
---
I'd love to know how to desiarlize or serialize
sharedobject to txt files but... how can u write txt
files in flash??? :O :O :O
I'm near to newbie but... i'm working in a
StandAlone-Project with flash and this is one of my
questions (neck-bottle) - how can i store
I got my own SharedFonts solution which works nicely. I just developed
it to a site that will have 60 different markets.
The remaining question is how to know which character-sets different
alphabets does require -this is not easy.
I would like a site which shows ALL characters for every
look at www.brain-farm.com
- Original Message -
From: Salvatore Fusto [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 26, 2005 3:56 PM
Subject: [Flashcoders] swf height and width
Hi all,
how can i find, using javascript, height and width of a swf
Is there a way to import certain classes for use throughout the entire
flash file? Or do I need to import for each timeline?
I sometimes create a globally accessible alias.
import myPackageName.MyClassName;
_global.myClassAlias = MyClassName;
I use the myClassAlias reference instead of
So I need to find a nice clear definition of how they work. Any links?
I'm not sure about links to explanations of _parent and this other
than the documents, but for using the Tween class, look up Jen de Haan
on the Macromedia site. She wrote a great article about its usage.
For the first
hi.
is there any way to have one listener listen for all button events.
you know, like you can have with Key. or do i have to give all my
buttons instance names and use addListener on each instance?
thanks.
matt.
___
Flashcoders mailing list
Dunno how to explain this better, but is there a way to have a String
broadcast an event when it is changed?
- Andreas
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
ti piace cosa cambieresti?
- Original Message -
From: Salvatore Fusto [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 26, 2005 4:27 PM
Subject: Re: [Flashcoders] www.brain-farm.com
non capisco: puoi spiegare meglio?
salvatore
You just posted this on FlashLounge - its WAYY off
topic for here
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marco
Sottana
Sent: 26 October 2005 15:17
To: Flashcoders mailing list
Subject: [Flashcoders] www.brain-farm.com
look
Mouse.onMouseDown/onMouseUp already does this. If you are using the v2
component framework, or if you are not, you can see how they are doing it
via mx.events.LowLevelEvents.
- Original Message -
From: Matt Ganz [EMAIL PROTECTED]
To: Flashcoders mailing list
When the XML is generated, if the content of the head and story tags is
bracketed with a ![CDATA[ and ]] I get the cotent I want through the
recursive extractContent() method. Xpath.selectNodes still returns undefined.
MT
At 10:19 AM 10/26/2005, you wrote:
I'm trying to use the ideas /
scusa, ma non capisco cosa centri con la mia domanda.
quanto alla tua, io sviluppo applicazioni in coldfusion in oop e mvc: ho
usato flash per gui ma come front-end verso database e scambio dati in xml.
alla tua domanda non saprei cosa rispondere, tu alla mia?
salvatore
- Original Message
I am working on an application where I want to apply transformations
to dynamically named movie clips. I have a function which adds a
shape to the stage based on a linkage name in the library:
function addShape(sLinkage:String):Void {
var nIndex:Number = _root.getNextHighestDepth();
var
If I understand the locations of your dynamic clips correctly, then
_root[sSelected]._mc.hresizer.setSize...
should work. Basically, access the dynamic clip by treating _root as an
associative array. If the clips aren't created in _root, then substitute
the parent movie clip's name for _root
Hi All,
I am loading in a series of SWFs in to movieclips, as quickly as
possible, and I need to know when they are all loaded. I am publishing
as Flash 8.
Is it best to use the built-in movieClipLoader class or something like
Bokel's loaderClass. Is his class redundant these days?
I've checked
shipped with flash8 were a number of XML files describing different
flashlite devices. does anyone know where to get updates on these? new
devices are coming out all the time...
/dc
---
David DC Collier
mailto:[EMAIL PROTECTED]
+81 (0)80 6521
Cercasi collaboratori webdesigner e sviluppatori web meglio se zona TREVISO
VENEZIA
manda c.v. a [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
i've been using this method to listen for mouse movements and mouse
clicks on the first frame of my .fla:
_root.onMouseMove = function()
{
trace( mouse moving );
};
_root.onMouseUp = function()
{
trace( mouse being clicked );
};
is that not a good way to do this?
On 10/26/05, JesterXL
Dunno how to explain this better, but is there a way to have a String
broadcast an event when it is changed?
You can look into Object.watch(). It lets you execute code anytime a
property's value (including strings) is changed.
-
pixelTwiddler, a.k.a. Jason
In Flex, yes:
private var my_str:String = ;
mx:Label text={my_str} /
In Flash:
private var my_str:String = ;
this.watch ( my_str, my_str_watcher);
function my_str_watcher ( prop, oldVal, newVal)
{
prop = newVal;
dispatchEvent({type: my_str_changed, target: this, oldVal: oldVal,
You need 2 equal signs...
if (this.time==this.stillFor) {
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair
Miller
Sent: Wednesday, October 26, 2005 11:48 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] tracking inactivity
You are
yes, big oversight on my part. thank you.
i've just changed from using an onEnterFrame to a setInterval, but i'm
not getting it to work here. i believe it might be because my
setInterval isn't first started. does that look like the culprit to
you? by the way, thanks for lending a hand.
Matt Ganz wrote:
i've been using this method to listen for mouse movements and mouse
clicks on the first frame of my .fla
You might want to consider to use a MouseListener.
var mouseListener:Object = new Object();
mouseListener.onMouseUp = function() {
print CLICKERDE CLICK;
}
I have a php page, with this code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN? require
config.php; ?
htmlhead
titleViaWeb Institute -
Hey Gang!
Has anyone had trouble getting dynamically loaded MP3s to loop?
I'm having a bit of trouble with this. Can Flash do this?
What's the deal, 'yo?
David Politi Super Genius
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
s = new Sound(this);
s.onSoundComplete = function()
{
this.start(0, 0);
};
s.loadSound(my.mp3, true);
- Original Message -
From: DP [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 26, 2005 12:14 PM
Subject: [Flashcoders]
You might want to alter my code a bit looks like I mixed some languages ;=)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
JesterXL wrote:
In Flex, yes:
private var my_str:String = ;
mx:Label text={my_str} /
In Flash:
private var my_str:String = ;
this.watch ( my_str, my_str_watcher);
function my_str_watcher ( prop, oldVal, newVal)
{
prop = newVal;
dispatchEvent({type: my_str_changed, target: this,
thanks all for the reply,
now I understand there must be a time slot for flash
to do thie graphic things.
I end up using two listeners to get the job done,
making all the task queue up and run one by one.
--- Stan Vassilev [EMAIL PROTECTED]
wrote:
No that would be a bad idea since flash is
Is the file named with a .php extension? Also, try using ?php ... ?
to bracket your PHP code (vs. the ? ... ?).
-Rob
On Oct 26, 2005, at 12:09 PM, MetaArt wrote:
I have a php page, with this code:
--
Hello there,
today something very, very strange happened with my flash project.
What Flash should do is no big deal: In the first frame, I have this code:
if (this == _root)
{
trace(starting solo);
_root.collapse_values.sound_atmo.start(0, 999);
initialize();
is_initialized
I've just learned of the problem where the AOL browser
will convert JPG files to ART files and thus not allow
AOL users to see dynamically loaded JPG files in SWF
files. I was wondering what the possible solutions of
this problem are. The ones that I know of are:
1) Have the server admin change
just change the file extension of the images.. flash cares not
On Oct 26, 2005, at 1:24 PM, Jack H wrote:
I've just learned of the problem where the AOL browser
will convert JPG files to ART files and thus not allow
AOL users to see dynamically loaded JPG files in SWF
files. I was wondering
Sounds like a problem with your webserver's configurations. does it
work if you make it a .htm file? do other .php files work?
-David R
On 10/26/05, MetaArt [EMAIL PROTECTED] wrote:
I have tried using ?php... ?, but the result its always the same...
Enrico Tomaselli
+ web designer +
Try commenting out all lines except the gotoAndPlay and see if it
works. If it does work, then add the code in a bit at a time until it
stops working. This will allow you to see where your problem is.
-David R
On 10/26/05, Roman Blöth [EMAIL PROTECTED] wrote:
Hello there,
today something
On 10/26/05, Matt Ganz [EMAIL PROTECTED] wrote:
yes, big oversight on my part. thank you.
i've just changed from using an onEnterFrame to a setInterval, but i'm
not getting it to work here. i believe it might be because my
setInterval isn't first started. does that look like the culprit to
Can anyone help me find a .mpg or .mov of a piece of
paper / tin foil being crumbled.
much needed for a project.
much thanks,
kai
__
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Would probably make more sense to structure your xml as follows to
collect all stories, then collect info for an individual story
issue
stories
story
headlineHeadline 1/headline
detailpparagraph/ppparagraph/p/detail
/story
ok, this is way off the beaten path, but does anyone know of a way to load
assets (XML, JPG, etc) with a SWF if the SWF is loaded purely from memory (via
the Flash Player in a VB wrapper rather than via the browser). Basically in
this situation the SWF and all assets need to be unpacked in memory
Also try commenting out all the code and calling
the goto action from a button, so you can see if
it's a timing issue. And make sure the frame
label exists and isn't duplicated by another
instance or label name in the movie. - Marc
At 11:17 AM 10/26/2005, you wrote:
Try commenting out all
So I have been struggling with this as well and I think I have found a
work around/fix.
And it has to do with what John mentioned and uninstalling the
player sort of, because I can remember running the uninstaller and
it not fixing it.
So here is what I did.
Go to this directory
My goal, is either to find, or mash together, a load manager that supports
FLV, SWF and JPG as well as text documents and XML.
So what I am working toward seems to be kind of an update for Bokel's
LoaderClass (08/06/2003) you can find here:
http://www.helpqlodhelp.comcombinded with the
I sent in a message a while ago about problems with ObjectCopy -- they're in
the archive, but never made it to any emails I received. Whatever.
Anyway, does anyone know of a deep-copy function sitting around somhere that
actually works all the time, reliably? It seems like every time I rely on
Hi All,
i have the following problem. I want to load a sequence of Images. I have my
own SequenceLoader so that is fine.
Now i need to now the size (totalBytes) of all clips in advance to show a
progress bar that counts all clips.
So my first guess is to load one clip wait fort he first
Dunno how to explain this better, but is there a way to have a String
broadcast an event when it is changed?
Object.watch works, but it is expensve. Better would be to not set the
value of the string directly, but use a getter/setter that you can
manipulate to fire an event when you
Hey!
Has anyone used ming before?
I want to make some buttons with graphics as their visual component,
as opposed to a shape.
I basically want to do this:
$buttonSprite = new SWFSprite();
$buttonSprite-add(fopen(images/pauseButton.gif, rb));
$pauseButton = new SWFButton();
Hello Adrian.
AP 'Movieclip Loader Class vs Bokel's Loader Class'. And people
AP seemed to prefer Ralf's version. Does anyone know if there is an AS2
AP version of his class?
Bryan Ledford rewrote this class for AS 2.
http://www.v-i-a.net/download/?LoaderQueue
or you can try a Class I made to do exactly that (it's an extension
manager file, for installing the doc, code hints, etc )
http://lab.daroost.ca/source/SoundLoop2.mxp
JesterXL wrote:
s = new Sound(this);
s.onSoundComplete = function()
{
this.start(0, 0);
};
s.loadSound(my.mp3, true);
Checked Bryan Ledford's site, there was an update this month:
2005/10/4
http://www.bryanledford.com/download/LoaderClass2.0.zip
Just trying to keep it fresh! :D
On 10/26/05, Igor Ageyev [EMAIL PROTECTED] wrote:
Hello Adrian.
AP 'Movieclip Loader Class vs Bokel's Loader Class'. And people
I would like to make use of the performance improvements of AS3 by
migrating and compiling some of my critical code with Flex 2.0. Is
there a way that my Flash 2005/AS2 application could interface with
AS3 complied code? The actual application itself will be released in
the form of an offline,
I am wondering if their is a better place to post full time positions.
We have six positions that we need to fill for development of client
projects and the component development. Please let me know if you have
any URL's. I have wasted money on all the job sites and am not finding
the type of
Where is the job?
-Original Message-
From: [EMAIL PROTECTED] on behalf of Wade Arnold
Sent: Wed 10/26/2005 6:30 PM
To: Flashcoders mailing list
Cc:
Subject:[Flashcoders] Job Offer :: employee search
I am wondering if their is a better place to post full time
I'm sorry I'm not addressing your question, but I have one of my
own. On the t8design web site there is an article entitled Flash
Player 7 dated 5.12.05 that says:
For years Macromedia's Flash has been the only other industry
standard in website development next to HTML. With over 98% of
the
i know, i know this is nothing new, but i would like to mention it in
public.
flash player 8.5 is in alpha, which means it is most likely that there
are a lot of backward compatibility issues.
i just wasted some hours cause i tried to find an error in my coding.. i
tested the swf file in my
Summary: The 8.5 Player is alpha, and backwards-compatibility is not yet
complete... please keep a straight 8.0 for testing public work.
Benjamin Herholz | [EMAIL PROTECTED] wrote:
that said, i'll better stick with flash player 8 as my browser plugin,
and only use the fp 8.5 for
Hi all,
Im trying to get my head around the capabilities of Flash/Flex for the
following simple scenario:
1) Load a text file (csv/txt etc) from the local file system into a flash
object
2) Convert this object into properly formatted xml
3) Save to local file system
On PC this sort of thing
Flash cannot write to the local file system; it can read.
To write, you'll need a 3rd party projector (mProjector, SWFStudio, Zinc,
Screenweaver [open source]), or Macromedia Director.
- Original Message -
From: Nick Weekes [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent:
VMWare might be a solution too, no idea how the licensing of Flex/Flash
is dealt though. Oh well, it's a pitty to work on two computers at the
same time. ;-)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://www.chinwag.com/flasher/jobs_index.shtml
Wade Arnold wrote:
I am wondering if their is a better place to post full time positions.
We have six positions that we need to fill for development of client
projects and the component development. Please let me know if you have
any URL's. I
Bump
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Villarosa
Sent: Tuesday, 25 October 2005 3:34 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] NetStream class, Macs and local FLVs
I'm trying to code my way around this known error[1]
Than perhaps you should start a new thread by sending the list and new email
with a new subject.
Cheers,
Kevin
- Original Message -
From: Alan Shaw [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 26, 2005 4:42 PM
Subject: Re:
Presumably you could use LocalConnection between two or more SWFs, some
written in AS2 and others in AS3. But AS3 bytecode requires the 8.5 player:
depending on your release dates this could be a problem for users since it's
still in Alpha testing and won't go live til middle of next year.
Jules
Or Central..?
--- JesterXL [EMAIL PROTECTED] wrote:
Flash cannot write to the local file system; it can read.
To write, you'll need a 3rd party projector (mProjector, SWFStudio, Zinc,
Screenweaver [open source]), or Macromedia Director.
- Original Message -
From: Nick Weekes
Thanks for keeping the faith, brother man!
- Original Message -
From: Mike Lyda [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 26, 2005 10:03 PM
Subject: Re: [Flashcoders] Local machine data manipulation
Or Central..?
---
again, it's timing.
use the onLoad event of the scrollbar class to call the init() of the button
movieclip.
public function onLoad()
{
myButton.init();
}
hth,
On 10/26/05, Boon Chew [EMAIL PROTECTED] wrote:
Hi, have a question here that I don't quite understand
why it happens and how to get
Hi,
Thanks for this solution. At least I got to know about initialization
parameter in attachMovie. But this way I will be dependent on frame rate.
Can there be some solution which is not dependent in frame rate?
~Dhiraj
-Original Message-
From: [EMAIL PROTECTED]
79 matches
Mail list logo