Thanks Zeh - much appreciated.
Best,
Mike D
.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]
On Dec 28, 2006, at 7:49 PM, Zeh Fernando wrote:
Mike Dunlop wrote:
function loadMyVars(url,type) {
(...)
}
This always returns false
You are creatin
On 12/28/06, Matthew Pease <[EMAIL PROTECTED]> wrote:
Anyone know of a tool to convert a bitmap -> vector on the command
line in linux?
I think nowadays it's getting more difficult to say "you can't do X
with AS" -- since you can read colour values of pixels, you could of
course write your own
Mike Dunlop wrote:
function loadMyVars(url,type) {
(...)
}
This always returns false
You are creating events and expecting them to run at the same time; they
won't. They're just skipped and it goes straight to "return false" after
creating them.
When creating your onLoads, you're just tel
function loadMyVars(url,type) {
if(type == "xml") {
xml = new XML();
xml.ignoreWhite = true;
xml.load(url);
xml.onLoad = function(success) {
if(success)
return this;
Awesome Ron -- Thanks much!!
Best,
Mike D
.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]
On Dec 28, 2006, at 2:04 PM, Ron Wheeler wrote:
Why would you not put this into an object and make your life simple?
The list object has a single property -
Yeah, i don't touch AS2's xml api any more than I have to. I know there are
other systems out there, but I find XPath does the job for me about 100% of
the time. Here's a little tute I threw together for XPath:
http://criticalpile.com/blog/?p=4
-Scott
On 12/28/06, Mike Dunlop <[EMAIL PROTECTED]
From your description, it's not clear if the trace output is 32
seconds or 28.1 seconds. But either way, if the sound were being
slowed down or sped up that much, you would likely hear a difference
in pitch (especially if it's music).
Try timing the audio with a stopwatch. I'm guessing it's th
Why would you not put this into an object and make your life simple?
The list object has a single property - an array of cats. (list probably
should be called cats but that is just a naming thing.)
Each cat object seems to have a name property and a note property and an
array of medium objects.
Thanks for the input Scott! I simply trying to find the easiest way
to dump a 2D xml structure into an array/object that can be easily
iterated through in a loop.
Do you think there is a better way than what i am trying to do? I'm
an experienced php/sql developer but still learning the rope
item.mediums = new Array();
Should be fine, however:
item.mediums[item.mediums.length]['id'] = m[i_m].attributes.id;
Looks like you're trying to access a 2D array or Object in array, so you
would have to do something like:
var medium:Object = new Object();
medium.id = m[i_m].attributes.id;
Hi gang,
I'm having difficulty parsing an xml file into a multidimensional
array and was wondering if anyone could see why the following isn't
working... My guess is that an object variable can't be an array?
XML Sample
-
Anyone know of a tool to convert a bitmap -> vector on the command
line in linux?
Sorry if that is too off topic.
Thanks -
Matt
On 12/28/06, Grégoire Divaret <[EMAIL PROTECTED]> wrote:
With Actionscript you can't convert a bitmap into a verctor graphic. You
can only do this in flash with modif
Record the input for the game and transfer it to the server, then
simply "play back" the winner to see if they earned it. I've done it,
although not for a high scoreboard, and as long as you don't use
Math.random() it works fine. If you need a random number generator
you'd have to write your own a
Hey, good news. The buttons on the Wiimote give out key events.
http://wiinintendo.net/2006/12/27/wiimote-d-pad-works-in-javascript-or-flash-games/
On 12/25/06, Max <[EMAIL PROTECTED]> wrote:
Any key events? What about right-clicks or mouse scrolling?
I'd do it myself but I'm facinated by this
Hi, this would be very dumb and easy for the flashcoders but I'm
breaking my head with. Look I have a button inside a mask and inside
a movie clip, the button have an on release order that creates a
loader which loads a movie inside , the problem is that the loader
and the movie load inside t
Just solved a troubling issue that I couldn't find information about
online. Thought I'd share:
We are using ExternalInterface to call a JavaScript function that pops
windows up. The JavaScript function looks like this:
function popupWindow(href, page, width, height) {
// ... typical Ja
Hello all,
When I play a 30 second audio file in Flash (.wav or .mp3), it is
taking flash 32 seconds to run it.
To test this, I've made it real simple and only used one layer (The
frame rate for the audio is 12 fps). The audio starts on the first
frame and lasts until the 361st (30 seconds x 1
PROBLEMS SOLVED
Both problems -- 2nd-video-not-playing and too-many-functions -- were fixed
when I upgraded to the new flvPlayback component. Using
NetConnection/Netstream also worked, but I'm going to stick with the
component for a while.
ONE MINOR PROBLEM LEFT
When I was using the old version
With Actionscript you can't convert a bitmap into a verctor graphic. You
can only do this in flash with modify>bitmap>trace bitmap so it won't be
dynamic...
Matthew Pease a écrit :
Hey Flashcoders -
It struck me that what I'm trying to do could possibly be better
accomplished via first chan
Hey Flashcoders -
It struck me that what I'm trying to do could possibly be better
accomplished via first changing the bitmap into a vector graphic.
I'm wondering, is it possible to convert a bitmap -> a vector
programmatically using Actionscript?
That way I can convert the image into a ve
Thanks to everyone who responded. It seems that if I want to
do this I ought to use Sandy, or possibly Paperworks 3d.
I had another idea which creates another question. So I'll post that now.
Thank you-
Matt
___
Flashcoders@chattyfig.figleaf.com
To c
I still think that more server side logging will stop hackers more
effectively than any thing you can do on the client side if you are
going to have to give them the client code.
Some server side logic will add to the difficulty without increasing
your code very much. A small script that takes t
Hi. Thanks for the help with my last flvPlayback issue (2nd movie wasn't
playing). Now I have a new one, and it's really freaky: the video was
playing fine and then all the sudden it stopped playing. It stopped when I
added a new function to my code. The weird thing is that the function had
NOTHIN
Everyone always underestimates hackers. Everything is hackable, it is
just a matter of time.
That isn't to say don't bother. You just have to find the right
balance of time and effort vs. security.
On 12/28/06, JulianG <[EMAIL PROTECTED]> wrote:
I agree.
Perhaps it's a good thing that once the
Thanks, below is the relavent AS code:
function resizeToggle():Void {
if(vidSize == 1){
with(vidWrapper){
_x = 72;
_y = 38;
_width = 600;
_height = 440;
}
vidWrapper.vidDisplayPlate._visible = true;
wrapper1._y = 488;
wrapper1._x =
You must have your text specified somewhere in chunks. I usually bring mine in
from XML, so it's already fashioned this way. Below I'm using a simplified data
structure for the sake of this example. I'm also presuming there is a TextField
instance on the Stage identified as "someScrollingTextFie
> In that case have you considered just creating a box on the fly
> something like this:
>
> http://www.flashloaded.com/flashcomponents/3dbox/example3.html
This looks close. But i'd like to use my own image.
Actually, you can use any image that you want with this component.
I acutally boug
http://www.roanesky.com/swf/test.html - (done in PV3D)
this guy did it 2 different ways, yesterday, he had a building in a city
scape clickable. Today he posted a question about this having planes that
are clickable.
Don't know if that helps, but there you have it ;)
On 12/28/06, Zeh Fernando
> Hi Coders
>
> I have problem with the following code. I cannot return the
> value but i can trace inside the onload. I am mentioning the
> dummyXML. Anyone can help would be appricated.
>
> function mloader(file, toobject) {
> encLoad = new LoadVars();
> encLoad.onLoad = function(success)
Hi Coders
I have problem with the following code. I cannot return the value but i can
trace inside the onload. I am mentioning the dummyXML. Anyone can help would
be appricated.
function mloader(file, toobject) {
encLoad = new LoadVars();
encLoad.onLoad = function(success) {
xmldata = encLoad.d
I'm trying to figure out which tool is best to 3d rotate an image on a
plane.
Something like this:
http://karmapop.com/content/cardFlip.swf
but with a dynamically loaded image on the "front" and another image
on the "back" with a font superimposed on it. this is going to be a
postcard.
this
I agree.
Perhaps it's a good thing that once the game is launched the contest for
the prize won't last too long.
So that might reduce the amount of hackers that eventually notice the game.
I hope I'm not under estimating hackers, I guess they could crack the
game in a few hours anyway.
Thanks
Helmut Granda a écrit :
another more extended explanation by senocular:
http://www.senocular.com/flash/tutorials/transformmatrix/
On 12/28/06, Matthew Pease <[EMAIL PROTECTED]> wrote:
> This sounds like a request to Santa Claus.
Heh. and i was a good boy this year too.
> Did you say that a
another more extended explanation by senocular:
http://www.senocular.com/flash/tutorials/transformmatrix/
On 12/28/06, Matthew Pease <[EMAIL PROTECTED]> wrote:
> This sounds like a request to Santa Claus.
Heh. and i was a good boy this year too.
> Did you say that all this has to be acompli
Well, Fuse is more for linear animation with ActionScript, and for what I
have seen PaperVision works only with Flash8 and 9 and you are targeting
flash7 so that is out of the question.
One thing that you have to keep in mind is that flash doesnt skew bitmaps as
you want it but after looking at S
> Thanks Danny!
> There is a prize involved, but no money. I mean users do not
> pay for this.
>
> I'll take a look at the SHA-1 algorithm.
> Of course hackers will be able to find the encryption string
> by "decompiling" the SWF.
> So I might need some code obfuscation, which I'm not a big fa
Matthew Pease a écrit :
This sounds like a request to Santa Claus.
Heh. and i was a good boy this year too.
Did you say that all this has to be acomplished dynamicly? So nothing has
to
be pre-rendered?
Right.
In that case have you considered just creating a box on the fly
something like t
This sounds like a request to Santa Claus.
Heh. and i was a good boy this year too.
Did you say that all this has to be acomplished dynamicly? So nothing has to
be pre-rendered?
Right.
In that case have you considered just creating a box on the fly
something like this:
http://www.flashload
Can we some code you are using at the moment? Maybe it just needs some
tweaking rather than starting from scratch.
On 12/27/06, Kelly Smith <[EMAIL PROTECTED]> wrote:
Hello -
I am building a video application which requires a full-screen mode for
flash 8 players.
I want to pass along some set
This sounds like a request to Santa Claus.
Did you say that all this has to be acomplished dynamicly? So nothing has to
be pre-rendered?
In that case have you considered just creating a box on the fly
something like this:
http://www.flashloaded.com/flashcomponents/3dbox/example3.html
...helmu
40 matches
Mail list logo