So each element in a ByteArray can hold 8 bits.
What about the readInt() method of the ByteArray, does an integer then
span over 4 elements of the bytearray. And if I start at position 0 and
then call the readInt(), is the position after that then 4?
Jiri
Kerry Thompson wrote:
Jiri wrote:
Are they id3 version 1 or 2?
--Joel
On Apr 2, 2009, at 7:51 PM, "Dave Segal" wrote:
I have a bug that is driving me nuts. I am loading an mp3 file from
the
same server as my swf. About 1 in 30 tries when trying to reading
the id3
tags after the ID3 event I get a runtime error telling me I
Hey Dave,
Can you paste the exact error message?
On Thu, Apr 2, 2009 at 4:51 PM, Dave Segal wrote:
> I have a bug that is driving me nuts. I am loading an mp3 file from the
> same server as my swf. About 1 in 30 tries when trying to reading the id3
> tags after the ID3 event I get a runtime erro
I have a bug that is driving me nuts. I am loading an mp3 file from the
same server as my swf. About 1 in 30 tries when trying to reading the id3
tags after the ID3 event I get a runtime error telling me I need to load
the crossdomain policy file in order to access the tags. I tried setting
the che
not sure, maybe FP10 defaults to a different stage alignment. Maybe
try explicity stating the stage alignment and see if that fixes it.
- Taka
On Thu, Apr 2, 2009 at 11:16 AM, Glen Pike wrote:
> Hi,
>
> There is stuff offstage, but I am not sure if it is in a guide layer or
> not - will check
Hi,
There is stuff offstage, but I am not sure if it is in a guide layer
or not - will check later.
Why this would happen in FP10 and not 9 though??
Glen
Joel Stransky wrote:
Is there any off-stage content that might be causing this?
On Thu, Apr 2, 2009 at 12:42 PM, Glen Pike wrot
Jiri wrote:
> Nice, that you took the time to write that post. It is much appreciated.
Thanks, Jiri.
One other thing worth mentioning is that an integer is actually 4 bytes, so
you have 32 bits. I kept my example to one byte for simplicity. If you want
to do operations on a single byte, you can
Nice, that you took the time to write that post. It is much appreciated.
Jiri
Kerry Thompson wrote:
Jiri has gotten some good answers. I got to work late today after working
until 11:30 last night meeting my 5:00 deadline :-P
I did occur to me that a fair number of us may not completely gr
Is there any off-stage content that might be causing this?
On Thu, Apr 2, 2009 at 12:42 PM, Glen Pike wrote:
> Hi,
>
> I have just setup FP10 in standalone on my Gentoo Linux box and am
> running a SWF from the command line in standalone mode.
>
> The x, y position of my SWF is all wrong - th
I haven't really looked into the differences between standalone and AIR - haven't created a projector in years - but my guess is
that because you have to install an AIR application (and are therefor informed/warned about the risks that entails) it is allowed to
do more than a standalone executabl
Jiri has gotten some good answers. I got to work late today after working
until 11:30 last night meeting my 5:00 deadline :-P
I did occur to me that a fair number of us may not completely grok bitwise
stuff. That's computer science stuff, and a lot of us got here by other
routes-I see a lot of
Hi,
I have just setup FP10 in standalone on my Gentoo Linux box and am
running a SWF from the command line in standalone mode.
The x, y position of my SWF is all wrong - the SWF is positioned
mostly off the screen. Reverting to FP9 standalone it works fine.
The SWF is compiled for
Preston,
There are two possible issues:
1. The scaled image is overlapping other scaled images and messing up your
chain of events fired
2. The tween method you are using to scale is not being properly terminated
and restarted/triggered. (How are you scaling the images?)
I would start by putting
So basically I have a bunch of thumbnail images set up in a grid form, each
is the same movieclip just multiple instances of it. This movie clip has a
rollover and rolloff state that basically scales the image up, this is done
with external as that loops through and creates the event listeners for
Thanks for the helpfull feedback
Mark Winterhalder wrote:
Jiri,
if() isn't too bad, especially since you will possibly want to permit
multiple restrictions (like numbers /and/ letters, or Latin letters
plus umlauts). If you use if() and combine that with appending to the
restriction instead of
Jiri,
if() isn't too bad, especially since you will possibly want to permit
multiple restrictions (like numbers /and/ letters, or Latin letters
plus umlauts). If you use if() and combine that with appending to the
restriction instead of setting it (+= instead of =), you gain
flexibility. That way,
Yes, that sounds tedious and frustrating.
Paul
- Original Message -
From: "Glen Pike"
To: "Flash Coders List"
Sent: Thursday, April 02, 2009 10:54 AM
Subject: Re: [Flashcoders] Proof of Concept - HTTPService objectdoesn't
requirecrossdomain-policy file
Hi,
It's an AS2 Flash a
I think that my point was that the sandbox permissions for the projector are
restricted to the machine it runs on and you need the policy file in place
to go anywhere else.
I'm not saying Adobe did the right thing for projectors, just how it is.
Paul
- Original Message -
From: "Glen P
Jiri, I think Hans's advice will get you what you want.
case RESTRICTION&1 :
tRestrict +="\u0020-\u007E";
trace('all');
break;
case RESTRICTION&2:
Thanks Hans,
I am aware of that, so if-else would be the only way to go I guess.
Jiri
Hans Wichman wrote:
Hi,
isn't the absence of break statements messing things up?
greetz
JC
On Thu, Apr 2, 2009 at 12:08 PM, Jiri wrote:
I am new to bitwise operators, so I am trying to learn it.
I hav
Hi,
isn't the absence of break statements messing things up?
greetz
JC
On Thu, Apr 2, 2009 at 12:08 PM, Jiri wrote:
> I am new to bitwise operators, so I am trying to learn it.
>
> I have the following code and it works half. I am using a switch case to
> get the result, but this is messing th
Nice one Ian - that looks even better than the other suggestion by Glen:)
Cheers
Paul
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian Thomas
Sent: 02 April 2009 08:40
To: Flash Coders List
Subject: Re:
I am new to bitwise operators, so I am trying to learn it.
I have the following code and it works half. I am using a switch case to
get the result, but this is messing things up. I could revert to and if
- else statement, but I was wondering if there is a more elagant way of
doing it. I post m
Projector sandbox can be set to "local" or "network", but not both.
Paul Andrews wrote:
Looking at the flash player security model, a projector has a local
security sandbox while a browser launched swf has a security sandbox
that includes it's own domain, so this would explain why your
project
Hi,
It's an AS2 Flash application running standalone on Linux requesting
stuff from the localhost on various ports - the irritating thing is I
still have to implement x-domain files / responses on every port I
connect to, I tried setting a policy server up on the default port as
per the in
Looking at the flash player security model, a projector has a local security
sandbox while a browser launched swf has a security sandbox that includes
it's own domain, so this would explain why your projector would be
restricted.
Paul
- Original Message -
From: "Paul Andrews"
To: "F
Thanks Glen - that seems to be just what I was after.
Cheers
Paul
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: 02 April 2009 09:15
To: Flash Coders List
Subject: Re: [Flashcoders] Detect
Is this a projector or an AIR application?
Seems to me that if you say "network only" to an executable, it's like
running it in a browser with no "default" domain, whereas an AIR application
isn't restricted.
Paul
- Original Message -
From: "Glen Pike"
To: "Flash Coders List"
Sent
If that is the case then why is my standalone Flash exe restricted when
I set it to allow network access only?
Paul Andrews wrote:
Isn't the context for an AIR application different to a flash
application loaded from a browser?
In the browser the flash swf is loaded from a particular domain a
Isn't the context for an AIR application different to a flash application
loaded from a browser?
In the browser the flash swf is loaded from a particular domain and access
outside that domain requires the crossdomain policy.
In an Air application there is no concept of the domain that the swf
Johan - from memory, I'm not sure AIR needs the crossdomain file,
whereas browser-based Flash does.
That might explain the discrepancy.
(That is from memory, though - probably needs doublechecking...)
Cheers,
Ian
On Thu, Apr 2, 2009 at 9:35 AM, Johan Nyberg
wrote:
> Forgot to include the co
Forgot to include the code as promised in my previous post. Here it is.
Please set url to wathever favourite RSS or whatever you want to access:
http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="loadSettings()" width="200"
height="300">
Hi, thanks for all the response to my question about the
crossdomain.xml. But... I didn't get a lot of response to the fact that
HTTPService can access public feeds/content on other sites without the
need of a crossdomain.xml
Please check out the code included at the end of this post. I've cre
Hi,
I have used the "_root.url" variable before to detect whether it is
an "http" or a "file" based one and done caching based on that.
Glen
Paul Steven wrote:
Is there a property or function to detect if a Flash movie is being tested
in authoring mode or live on the web?
Basically I
Hi Paul,
Take a look at System.capabilities.playerType.
System.capabilities.playerType=="External" means you're running in the IDE.
System.capabilities.playerType=="Plugin" means you're running in a browser.
HTH,
Ian
On Thu, Apr 2, 2009 at 8:19 AM, Paul Steven wrote:
>
Try
+my_Date.getUTCSeconds().toString()
Sent from losPhone
On Apr 2, 2009, at 2:19 AM, "Paul Steven"
wrote:
Is there a property or function to detect if a Flash movie is being
tested
in authoring mode or live on the web?
Basically I have added a random variable to my xml file when loadi
Also = try to redraw as little of the screen as possible from frame to frame.
If your entire screen is constantly redrawing, that takes a lot of
processing power.
So alpha fades that affect the entire screen or moving/animating a
sprite which covers the entire screen are problems.
The Flash Debu
Is there a property or function to detect if a Flash movie is being tested
in authoring mode or live on the web?
Basically I have added a random variable to my xml file when loading it to
prevent caching.
The following works in both authoring and when live
myXML.load("xml/homeFlashContent.xml");
38 matches
Mail list logo