On Fri, Oct 3, 2008 at 6:36 PM, Benny [EMAIL PROTECTED] wrote:
The only problem now is that in the production code I have to send several
ByteArray objects to the server in one go. And I have to process them
separately in the PHP script. Hence I thought the obvious thing would be to
assign
Where's the code for EventClip? Without that, we can't be much help. :-)
Also - does trace(swf.clip) return something sensible on the timeline?
(Just so you know you're targeting the right object when using
addEventListener)
HTH,
Ian
On Thu, Oct 2, 2008 at 11:55 AM, Allandt Bik-Elliott
Hi Steve,
It's because the MXML file myApp.mxml is equivalent to a class file.
So what you're really saying is:
myApp.as: (roughly translated from myApp.mxml, omitting imports)
package
{
public class myApp extends Application
{
public var myChart:VBox;
public function myApp()
{
The idea of strongly typed arrays is to catch errors at compile time
that otherwise might crop up at runtime.
Untyped:
var arr:Array=[];
arr.push(new Button());
arr.push(123);
for (var i:int=0;iarr.length;i++)
{
var b:Button=arr[i]; // Works fine when i=0. Runtime error when
The only alternative I can think of is to port your code to haXe,
which is very similar to AS3.
You can compile haXe code to AS3 (or directly to a .swf) and use that
for the client side. For server side, you can compile haXe to run on
Neko and write to files etc.
In short - obviously depending
As I said, those are intrinsics and native to the Flash Player -
therefore unstrippable, as they're not compiled into your .swf file
anyway.
To repeat - i) you can't strip them and ii) there's no point in
stripping them, as they don't add to your filesize.
Ian
On Fri, Sep 19, 2008 at 4:10 PM,
SJF,
The only thing he _could_ have stripped out is code from the
non-intrinsic Flash code; for example, the Flash component classes,
the Flex components and framework.
Those aren't intrinsic, but _are_ bundled with Flash/Flex.
Intrinsics, by their nature, are part of the Flash Player as I
SJF,
Native/intrinsic classes such as Sprite are compiled into the Flash
_Player_, not into your .swf file. There's no way to strip them, and
they don't bloat your .swf file.
HTH,
Ian
On Wed, Sep 17, 2008 at 2:38 PM, SJF [EMAIL PROTECTED] wrote:
Hello,
Anyone have a starting point or
Yes they are.
This is a common issue with Gmail - it is 'clever' enough not to show
you your own emails to a mailing list unless they're replied to.
Ian
On Tue, Sep 16, 2008 at 3:54 PM, Charles Parcell
[EMAIL PROTECTED] wrote:
Testing my messages are not getting through I think.
Charles
] wrote:
I didn't know that, I've got the same issue. Any way to solve it?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas
Sent: 16 September 2008 16:01
To: Flash Coders List
Subject: Re: [Flashcoders] Testing
Yes they are.
This is a common
Ali,
You need to set the visible _after the clip has loaded_ - because a
load replaces a bunch of properties on a MovieClip, including
_visible. Take a look at the MovieClipLoader class, which dispatches a
callback called onComplete when the clip is loaded.
An alternative is to create a
Hi Michael,
Take a look at the TextFormat method getTextExtent(). It's useful for
working out how much space text takes up, and copes with non-fixed-width.
Beware, though, that if you are using embedded antialiased fonts the
getTextExtent() calculations are very slightly off (as the calculations
Try the style 'disabledColor'.
The docs are here:
http://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html
Ian
On Tue, Sep 9, 2008 at 5:41 PM, Lehr, Theodore M (N-SGIS)
[EMAIL PROTECTED] wrote:
Beauty - this works - but it is graying out my text - how can I maintain
the same text
Also note it doesn't need to be offstage (i.e. on the main timeline). It can
be inside a clip in the library, as long as the clip is set to export on
first frame.
HTH,
Ian
On Mon, Sep 8, 2008 at 2:55 AM, Muzak [EMAIL PROTECTED] wrote:
With an off-stage textfield you can (and should) set a
On Sat, Sep 6, 2008 at 9:37 AM, S0 F1 [EMAIL PROTECTED] wrote:
Interfaces allow 'Polymorphism'. Many say this is OOP's greatest
contribution to computer science.
snip
Any thoughts on this?
What you've described above has no need for interfaces. That's just standard
OOP polymorphism based
You might be able to get something out of flash.utils.describeType()
HTH,
Ian
On Mon, Aug 25, 2008 at 6:57 PM, Rob Sampson [EMAIL PROTECTED] wrote:
I've been working with ExternalInterface.addCallback, and I think it's a
drag that you have to send the name of a function as a String - it
On Fri, Aug 29, 2008 at 11:53 AM, allandt bik-elliott
(thefieldcomic.com) [EMAIL PROTECTED] wrote:
Hi folks
I've got a combobox that is in a swf that get's dynamically loaded into a
master clip with a mask on the container (so the combobox is in a masked,
loaded swf). When it first shows on
It shouldn't, no - all _lockroot=true does is tell the loaded clip to
treat its own timeline as _root, rather than _root being the timeline
of the top-level clip.
Ian
On Fri, Aug 29, 2008 at 4:18 PM, allandt bik-elliott
(thefieldcomic.com) [EMAIL PROTECTED] wrote:
if i use this._lockroot = true
Sebastian,
You can achieve file writing and reading using one of the many
available flash wrappers.
I'd take a look at Northcode's SWFStudio:
http://www.northcode.com/swfstudio.php
or SWHX:
http://www.haxe.org/com/libs/swhx
Or Adobe's own AIR, but you would have to wrap your AS2 application in
On Wed, Aug 27, 2008 at 7:30 AM, Mark Winterhalder [EMAIL PROTECTED] wrote:
Say you write a class that draws a pretty chart. It has a method that
reads a series of values by repeatedly calling readInt(), which is
guaranteed by IDataInput, and draws that data. If your method takes a
ByteArray,
Hi Daniel,
A number of Flash wrappers (i.e. programs to turn Flash movies into
.exe files) can handle extensions (.dlls) written in native code. So
you could write or buy extensions to interface with almost anything at
a system level - without additional dialogs etc.
Northcode's SWFStudio
to support it as per Adobe's licensing for
the runtime, unless I'm mistaken which I hope I am.
- Daniel -
On Thu, Aug 21, 2008 at 3:48 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Daniel,
A number of Flash wrappers (i.e. programs to turn Flash movies into
.exe files) can handle extensions
On Thu, Aug 21, 2008 at 3:01 PM, Ali Drongo [EMAIL PROTECTED] wrote:
Hi there, I'm using the Delegate class and can't figure out how to call
methods of another class.
Delegate.create(thermo, allowInteraction)
should become
Delegate.create(thermo, thermo.allowInteraction)
And this line:
On Thu, Aug 21, 2008 at 3:26 PM, Ali Drongo [EMAIL PROTECTED] wrote:
I presumed as I had given the scope the method would be called in that
object.
Yeah - it's because the compiler doesn't know what's inside a Delegate
or how to use it. It's just looking at the word 'allowInteraction' and
On Mon, Aug 18, 2008 at 12:01 PM, Geografiek [EMAIL PROTECTED] wrote:
Define 2 dynamic text field off stage (one for each font) and define the
character range there.
These characters should now be available to all text fields in the .swf
*Should* work, but with Flash and font you never know
Michael,
You can do this with the Flex SDK, which is free.
HTH,
Ian
On Mon, Aug 18, 2008 at 3:07 PM, Michael William Ypes
[EMAIL PROTECTED] wrote:
I was thinking of this route but my flex 3 trial has run out. I am assuming
then that I can load that into a normal flash application and get
On Tue, Aug 12, 2008 at 9:27 AM, Ali Drongo [EMAIL PROTECTED] wrote:
Thanks for all of your replies guys and apologies for sending this email a
few times, the googlemail server hasn't been reporting that the mail was
sent.
Just so you know - this comes up a lot - Google Mail is 'clever'
enough
On Mon, Aug 11, 2008 at 11:21 AM, Paul Andrews [EMAIL PROTECTED] wrote:
The other alternative is a technology such as Zinc to give you a wrapper to
access the local filesystem.
Or Northcode's SWFStudio:
http://www.northcode.com/swfstudio.php
Or SWHX:
http://screenweaver.org/doku.php
HTH,
'*' means discard type checking
'Object' means 'treat it as type Object'
If you have functions:
public function getThing():*
{
return new Bucket();
}
public function getAnotherThing():Object
{
return new Bucket();
}
then this will compile:
var someVar:Bucket=getThing(); // Ignores type
If you just want to install your app from the DVD to the user's hard
drive, you could just use an installer program instead of a Flash
wrapper like Zinc.
If you're on Windows, try NSIS:
http://nsis.sourceforge.net/Main_Page
If you're on a Mac, the normal method is to allow users to drag a
What list?
Flashcoders?
If so, yes, it's working.
Ian
On Wed, Aug 6, 2008 at 11:42 AM, Romuald Quantin
[EMAIL PROTECTED] wrote:
Is that list working?
I've posted an email hours ago, I still don't see it. And I don't receive
anymore emails from it?
Sounds a little bit like the inner movie hasn't fully loaded, but I'm
not clear on why that would be.
Is this across a network, or locally in your browser?
Are both onLoadInit and onLoadComplete fired on the MovieClipLoader as expected?
Are getBytesLoaded() and getBytesTotal() equal (and do the
On Mon, Aug 4, 2008 at 9:37 AM, Ian Thomas [EMAIL PROTECTED] wrote:
Why would you want to force implementation of a private class?
Private method. Sorry!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com
Why would you want to force implementation of a private class?
Or are you actually trying to create an abstract class - and are
trying to ensure that a subclass provides an implementation of an
internal method? (Labelled as 'private' in AS2 or 'protected' in AS3.)
In which case, neither AS2 nor
On Fri, Aug 1, 2008 at 8:41 AM, Zárate [EMAIL PROTECTED] wrote:
If you are happy with AS3, use Alive PDF:
http://www.bytearray.org/?p=101
Nice, I'd forgotten about that. Does it read PDFs as well as write?
Ian
On Thu, Jul 31, 2008 at 10:03 PM, Paul Venton [EMAIL PROTECTED] wrote:
Just a
Hi Michael,
The PDF specification is here:
http://www.adobe.com/devnet/pdf/pdf_reference.html
AS3 is perfectly capable of reading it and pulling it apart via the
ByteArray class, although you'd have to write the code to do that.
However, you would need to load the entire PDF into the AS3 app
On Wed, Jul 30, 2008 at 9:53 AM, Steven Sacks [EMAIL PROTECTED] wrote:
Don't ask questions. You won't learn anything. Make him code some stuff.
Something tricky. Come up with something good. That is, if you care if
they know how to code.
(for once!) I kind of agree with Steven.
Talking to
On Wed, Jul 30, 2008 at 11:42 AM, allandt bik-elliott
(thefieldcomic.com) [EMAIL PROTECTED] wrote:
if you do make a test, you have to give the applicant a chance to do it in a
natural environment, like that test you did where you could take it home.
I don't agree with taking it home. That gives
trace(foo.descendants(P-E));
(Worth looking at foo.child() and foo.elements() too...)
HTH,
Ian
On Tue, Jul 29, 2008 at 3:50 PM, eric e. dolecki [EMAIL PROTECTED] wrote:
I am getting XML from a WSDL and one of the nodes is like so:
P-E26.95/P-E
now, how can I address this node?
trace(
Hi Theodore,
(I'm assuming this is AS2...)
Are these images in the library?
If so, go to Properties and make sure Smoothing is ticked.
If you're loading external images, there is a bug in AS2 which
stops smoothing from working properly.
There's a workaround for it detailed here:
Hi SJM,
I'd suggest you ask on the Papervision list:
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
HTH,
Ian
On Mon, Jul 21, 2008 at 1:55 AM, SJM - Flash [EMAIL PROTECTED] wrote:
Hi Guys im fishing for information on the best way to create a rotating 3d
object with 'hot'
Hi Anthony,
It's definitely possible - the easiest way to do it is if the
actual combination of loops/export to MP3 is done server-side (by
non-Flash code) and then the user downloads it.
HTH,
Ian
On Sat, Jul 19, 2008 at 5:12 AM, Anthony Cintron
[EMAIL PROTECTED] wrote:
I'm looking into
Hi Anthony,
Didn't I already reply to this?
In any case - this version of the question is slightly expanded. :-)
Yes, it's possible with ByteArrays, however there is no native MP3
encoding built into Flash Player, so writing code to join and then
export a bunch of MP3s together is
And Grant Skinner has a good utility class for it:
http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html
Ian
On Thu, Jul 10, 2008 at 8:36 PM, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message - From: Moshen Chan [EMAIL PROTECTED]
To:
Yes, unfortunately I found pretty early on that most V2 components
require _lockroot _and_ that the component be included in both the
loaded SWF and SWF that's loading it.
So I stopped using V2 components. They're pretty rubbish. :-(
Ian
On Wed, Jul 2, 2008 at 8:13 AM, Hans Wichman
[EMAIL
:
Hi,
yep same conclusions here. Add the fact that _lockroot is just plain buggy
and you've got yourself a nice recipe for 'ZOMG WTF I WANT TO arhghg
gurlglgl'. Which set did you switch to then, bitcomponents?
thanks,
JC
On Wed, Jul 2, 2008 at 9:39 AM, Ian Thomas [EMAIL PROTECTED] wrote
Namrita,
What information are you looking for?
Any information on Actionscript 1 or 2 and Flash Player up to and
including version 8 applies to AVM1.
Ian
On Wed, Jul 2, 2008 at 11:58 AM, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message - From: namrita.srivastava
[EMAIL
I'm sorry - I don't know of any suitable resources for AVM1. There's a
lot out there for AVM2, but I can't recall having seen AVM1
information; Macromedia/Adobe was a lot less open about such things
when AVM1 was current!
Ian
On Wed, Jul 2, 2008 at 12:46 PM, namrita.srivastava
[EMAIL PROTECTED]
Instead of just typing [EMAIL PROTECTED] (which won't work), use
the attribute() method:
node.attribute(some-attribute)
That should do it.
HTH,
Ian
On Wed, Jul 2, 2008 at 5:35 PM, Alias™ [EMAIL PROTECTED] wrote:
Hi guys,
Quick E4X question.
I have an XML node, with an attribute inside,
2008/6/24 Gen [EMAIL PROTECTED]:
So I guessing, having same namespace/class name in parent and child
swf will generate an error. I tried changing the ApplicationDomain
but that didn't help either.
Gen - it shouldn't generate an error to have exactly the same class in
parent and child swfs.
The only thing I can think of is this, from the AS2 docs:
A filter is not applied if the resulting image exceeds 2880 pixels in
width or height. If, for example, you zoom in on a large movie clip
with a filter applied, the filter is turned off if the resulting image
exceeds the limit of 2880
Or even AS3 docs. :-) I seem to having problems differentiating
between AS3 and AS2 today...
Ian
On Fri, Jun 20, 2008 at 10:28 PM, Ian Thomas [EMAIL PROTECTED] wrote:
The only thing I can think of is this, from the AS2 docs:
A filter is not applied if the resulting image exceeds 2880 pixels
Paul - having looked at what we're doing in our work setup, one major
difference is this:
Instead of _loading_ the AS2ProxySWF (via Loader), we embed it as an
asset straight into AS3 and create it on the fly, adding it to the
display tree.
This may be why our stuff is more robust.
Ah, sorry, we're using the Flex compiler and so using the [Embed] tag.
Not sure how to achieve the same effect in CS3.
Ian
On Thu, Jun 19, 2008 at 1:04 PM, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message - From: Ian Thomas [EMAIL PROTECTED]
To: Flash Coders List flashcoders
: Ian Thomas [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thursday, June 19, 2008 1:31 PM
Subject: Re: [Flashcoders] stopping an AS2 MovieClip..
Ah, sorry, we're using the Flex compiler and so using the [Embed] tag.
Not sure how to achieve the same effect in CS3
In AS3, the flex compiler can tell you which classes were used - look
at the command-line option --link-report
As JC says, you can use MTASC for AS2.
If you happen to have FlashDevelop installed, you can just find the
.swf file in the project file view and expand it as a tree node; all
the
If you aren't using a class, and don't reference it anywhere in your
code, it won't be compiled in.
Most 'built-in' classes (i.e. classes beginning with flash.*) are
actually implemented within the Flash Player itself, so won't be
compiled into your .swf anyway. I'd imagine that's true of
I'm guessing it's an away/vacation message.
Ian
2008/6/16 Ali Drongo [EMAIL PROTECTED]:
Any chance of a translation?
:)
On 16 Jun 2008, at 09:20, EDELSTAR wrote:
Данный почтовый ящик не обрабатывает подгрузки, заявки и прочие сообщения.
Вам нужно написать на адрес, присвоенный Вашему СПО.
I've dropped an email to Dave Watts, the moderator.
And I've also set my email client to stun... err... I mean, set my
email client to delete anything from that guy.
Ian
On Mon, Jun 16, 2008 at 2:11 PM, David Christy [EMAIL PROTECTED] wrote:
900 Bounced emails and counting
Or use:
depFin amp; IT/dep
Similarly,
lt; gives you
gt; gives you
Ian
On Thu, Jun 12, 2008 at 2:21 PM, Cedric Muller [EMAIL PROTECTED] wrote:
or you could set an attribute instead of a node
dep value=Fin IT /
hey there,
Is it possible to display in the xml file? I tried to convert
Sidney - nope, the amp; is taken care of at XML parse time.
You'd only have to use htmlText if the string was:
depFin amp;amp; IT/dep
:-)
Ian
On Thu, Jun 12, 2008 at 3:03 PM, Sidney de Koning
[EMAIL PROTECTED] wrote:
But you have to say your textfield is HtmlText else it wont render and just
, any occurrence of
amp; will already have been replaced.
Same goes for lt; and gt;
Ian
On Thu, Jun 12, 2008 at 3:45 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Sidney - nope, the amp; is taken care of at XML parse time.
You'd only have to use htmlText if the string was:
depFin amp;amp; IT/dep
If smoothing is turned on, you could try moving it at subpixel rates
i.e. 0.5 px every 15px instead of 1px every 30...
Ian
On Fri, Jun 6, 2008 at 4:20 PM, robert [EMAIL PROTECTED] wrote:
Hi
I am working on a flash piece in which there is a band of 9 jpegs that
slowly move horizontally along
On Fri, Jun 6, 2008 at 4:36 PM, Ian Thomas [EMAIL PROTECTED] wrote:
If smoothing is turned on, you could try moving it at subpixel rates
i.e. 0.5 px every 15px instead of 1px every 30...
Every 15 frames is what I meant, obviously. D'oh!
Ian
Not terribly helpful, I know, but I've had a bunch of problems where
mx Flex components in loaded child .swfs don't render properly (and/or
throw exceptions) unless the same Flex component is compiled into the
parent movie.
I've never figured out why; when it's happened, so far I've been in a
Hello Paul,
Regarding messaging an AS2 swf within an AS3 swf, I've found Grant
Skinner's SWFBridge reliable:
http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html
HTH,
Ian
On Fri, May 30, 2008 at 10:56 AM, Paul Andrews [EMAIL PROTECTED] wrote:
AS2.0 question:
I have some
On Fri, May 30, 2008 at 11:41 AM, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message - From: Ian Thomas [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, May 30, 2008 11:31 AM
Subject: Re: [Flashcoders] AS 2.0 (AS 3.0) question - knowing when
MTASC:
http://www.mtasc.org/
HTH,
Ian
On Mon, May 19, 2008 at 4:33 PM, Ali Drongo [EMAIL PROTECTED] wrote:
Hiya, I normally code in Textmate and use the Flash IDE to compile my SWFs.
I was wondering if there was a faster way to compile my AS2 SWFs?
I'm on a Mac btw.
Cheers!
Ali
Doesn't make any difference - the same thing works in AS2, you just
don't use the 'override' keyword. Override has been added to AS3 to
perform additional compile checking (and possibly to allow
optimisation), not to add new functionality.
And, from whatever the other bit of the thread was:
Hi John,
I'm surprised writeUTFBytes doesn't work - in what way doesn't it work?
Ian
On Fri, Apr 25, 2008 at 10:23 PM, John Eriksson [EMAIL PROTECTED] wrote:
I've been messing around with the ByteArray for some time now, and I wonder
if there isa way to convert the ByteArray to a string
Oh, of course - describeType. Good solution. :-)
Ian
On Fri, Apr 25, 2008 at 9:14 AM, John Eriksson [EMAIL PROTECTED] wrote:
I've actually solved my problem in an unorthodox way currently. I've written
a check method
that does a describeType on the content of the Loader and if it sees
Hi John,
Where are you loading the SWF from?
I think I had this problem early on with AIR, and it turned out I
was loading from the wrong place. If you load the .swf files from
within the AIR app's installed folder, then they are given full rights
and you will be able to cast them etc. If
of swfs that do not conform to the interface and need to
be fixed.
I guess this cannot be easily done, or perhaps not at all... Could it be
possible through a sandbox bridge or something like that?
/John
2008/4/24 Ian Thomas [EMAIL PROTECTED]:
Hi John,
Where are you loading
It compresses the main body of the SWF file - all the code, assets,
etc - everything apart from the header - using the Zip format.
I don't know why you'd turn it off. :-)
Cheers,
Ian
On Thu, Apr 24, 2008 at 12:17 PM, Alistair Colling
[EMAIL PROTECTED] wrote:
Just out of interest really :)
or something like that?
/John
2008/4/24 Ian Thomas [EMAIL PROTECTED]:
Hi John,
Where are you loading the SWF from?
I think I had this problem early on with AIR, and it turned out I
was loading from the wrong place. If you load the .swf files from
within the AIR app's
Hi Peter,
It's the first time I've come across sandbox bridging. It's a nifty idea.
The Flash documentation for it is here:
http://livedocs.adobe.com/flex/3/langref/flash/display/LoaderInfo.html#childSandboxBridge
But... unfortunately I think it's backwards for John's problem. It
allows a
Yup - I had much the same problem.
In the end we rolled our own solution.
Ian
On Thu, Apr 24, 2008 at 4:08 PM, Abe Pazos [EMAIL PROTECTED] wrote:
One time I tried using the Strings Panel for a project and it was one of the
worst experiences I had with Flash.
For some reason new copies of
If you do need to talk to an AVM1 movie (flash AS1/AS2) in an AVM2
movie (AS3) you can use Grant Skinner's excellent SWFBridge:
http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html
Cheers,
Ian
On Fri, Apr 4, 2008 at 8:19 AM, ekameleon [EMAIL PROTECTED] wrote:
Hello :)
For me
On a quick glance, I think this line is breaking it:
var constructor:Function = Function( _global );
because _global is not a function.
Try:
function createInstance ( classPath:String , args:Array) : Object
{
var packageList:Array = classPath.split( . );
var constructor:Object =
to the CommandObject interface like addParameters() The type casting is the
real problem here. I cant have the commands tracing as null..
Do you or anybody maybe have a solution?
Jiri
Ian Thomas wrote:
On a quick glance, I think this line is breaking it:
var constructor:Function = Function
Yes.
Ian
On Fri, Apr 4, 2008 at 7:08 PM, Jiri Heitlager
[EMAIL PROTECTED] wrote:
But either way, do you still need to force to compiler to add the class? I
am almost sure you do, but asking just in case.
Jiri
Hans Wichman wrote:
btw new eval(_global.myPackage.MyClass)(); does the
Uh... other way around, surely?
var myString:String = ?xml delcaration here?;
myString+=yourXML.toString();
save(myString, myString.xml);
But Steven's right - that's always worked for me, with no need to use
xmlDecl. I'd never heard of xmlDecl until Wagner mentioned it...
Ian
On Thu, Apr 3,
The PPT file format is now available from Microsoft for free:
http://www.microsoft.com/interop/docs/officebinaryformats.mspx
However, if it's anything like other MS binary formats, it's likely to
be a bit of a minefield. I don't envy your task; but at least export
is easier than import. :-)
Have you got the wmode in your embed tags set to anything? More
specifically, wmode=transparent in Firefox is notoriously broken.
HTH,
Ian
On Fri, Mar 28, 2008 at 6:51 AM, Alex Burke [EMAIL PROTECTED] wrote:
Hi All...
I'm using masks to reveal content on a site, and doing so by tweening
Oh.
Oh dear. *sigh*
Well, I do confess that there's nostalgic joy at the prospect of being
able to type:
let x=7
(which I don't think I've done since I last used BASIC back in I don't
know when. Around the 1800s, wasn't it?)
But I'm not sure I'd introduce a whole new keyword for it.
I'd
AFAIK, in AS2 the Flash IDE didn't respect block level scoping, but
MTASC did, which led to some confusion. That leads some people to
think that AS2 as a language has block level scoping.
AS3 definitely doesn't respect block scopes, and I curse every time I
trip over that 'variable declared
I'd be very careful how you proceed with this, but at the end of the
day it's your own judgement.
It also rather depends on how much of what you've written for the
client is solely for that client - you will never reuse it - or if
you're depending on code libraries you've previously developed and
If this is AS3, this line:
dispatchEvent(A_window.CLOSE);
should at least be something like:
dispatchEvent(new Event(A_window.CLOSE));
dispatchEvent() expects to sent Event objects around (or their
subclasses), not strings.
Ian
On Thu, Mar 20, 2008 at 3:49 PM, Omar Fouad [EMAIL PROTECTED]
On Mon, Mar 17, 2008 at 8:27 AM, eric e. dolecki [EMAIL PROTECTED] wrote:
Well, you're only going to use the FOO_BAR, so I don't think it really
matters. Instead of a string, you could use a number and just have it be 1,
etc. as well.
Except having it as a meaningful string makes it much
Followup on this issue for the archives...
Eder Fortunato from Brazil suggested setting _lockroot=true on App C.
This solves the problem.
Cheers,
Ian
On Tue, Mar 11, 2008 at 10:14 AM, Ian Thomas [EMAIL PROTECTED] wrote:
Further to this (again) I've investigated the whole thing in some
will be reporting this to Adobe.
On Mon, Mar 10, 2008 at 5:41 PM, Ian Thomas [EMAIL PROTECTED] wrote:
On Mon, Mar 10, 2008 at 5:38 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Using MovieClip.getRect() or MovieClip.getBounds() within b) (or a, of
course) works fine.
Using MovieClip.getRect
Has anyone got any idea why when I create an instance of an AVM1Movie
(embedded) within an AS3 app, AS2's MovieClip.getBounds() function
returns undefined within the contained movie whereas it works
perfectly well if the AS2 movie is run outside the AS3 app?
Same result with Flex2.01 and Flex3
Hi Eka,
Thanks for that - I'm well aware of the limitations. I'm using
Grant Skinner's SWFBridgeAS2 to talk between the two VMs. The problem
isn't that AS2 code isn't working - the rest of the contained AS2
MovieClip is running correctly, including all scripts. The only
function failing is
around of
Bitmaps, and that's much too heavyweight).
Cheers,
Ian
On Mon, Mar 10, 2008 at 4:16 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Hi Eka,
Thanks for that - I'm well aware of the limitations. I'm using
Grant Skinner's SWFBridgeAS2 to talk between the two VMs. The problem
isn't that AS2
Thanks for that, Glen.
No loading of images in involved here. I'm just trying to retrieve the
sizes of objects already on the stage.
Cheers,
Ian
On Mon, Mar 10, 2008 at 4:20 PM, Glen Pike [EMAIL PROTECTED] wrote:
Not sure if this applies to AS3, but in AS2, you had problems getting
the
.
At the moment it's looking like a player bug. Anyone got any other
ideas/things to test?
Cheers,
Ian
On Mon, Mar 10, 2008 at 4:29 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Thanks for that, Glen.
No loading of images in involved here. I'm just trying to retrieve the
sizes of objects already
On Mon, Mar 10, 2008 at 5:38 PM, Ian Thomas [EMAIL PROTECTED] wrote:
Using MovieClip.getRect() or MovieClip.getBounds() within b) (or a, of
course) works fine.
Using MovieClip.getRect() or MovieClip.getBounds() within c) returns
undefined (at least, in my setup).
Sorry - to be clearer
Stathis,
No, in AS2 you can't duplicate loaded content using
duplicateMovieClip. Your choices are:
- to load each image again, every time you need it (isn't as slow/bad
as it sounds - the cache speeds it up dramatically)
- to duplicate the image by storing/copying loaded images's
BitmapData -
Gregory,
The trouble with importing/using/loading Flash 8 SWFs into an AS3-powered
app is that Flash 8 uses the old flash runtime engine (AVM1) and your AS3
app uses the new engine (AVM2) and the two don't talk to each other well.
If you directly embed a Flash 8 SWF like so:
On Jan 18, 2008 7:54 PM, Merrill, Jason [EMAIL PROTECTED]
wrote:
can this symbol contain enclosed (child) movieclips?
Yes
And can I then access these child clips?
Flash 8? Flash 8 is AVM1, so no (unless you hack with something like
ExternalInterface, which requires modifying the code in
201 - 300 of 752 matches
Mail list logo