Hi Joshua,
can I conclude from the demo its cutting up and skewing? (even though I
brutely simplify whats happening with this statement:))
greetz
JC
On 7/12/07, Joshua Sera [EMAIL PROTECTED] wrote:
Actually, this demo made it pretty apparent what
they're doing. Pretty cool.
Hi,
you might wanna search for xml2obj or xml2object, this has been implemented
a million times before:)
greetz
JC
On 7/11/07, fred evers [EMAIL PROTECTED] wrote:
Hey FlashCoders,
Talkin' AS 2 here.
I am trying to do something that seems obvious. This was easy in AS1
adding methods and
I must say i don't use it that mutch either.. and i know what you ment..
I'm just saying.. when i do that.. and i don't put any script on the
movieclip directly the onLoad won't be called..
If i do put something on it.. even if it's just comments the onLoad will be
called.
For your point..
Thanks for the advice Johannes
Does that mean my code looks ok to you?
var dataStrEncoded:String=Base64.Encode(ByteLoader.data);
var XMLString:String;
XMLString = ?xml version=\1.0\ encoding=\UTF-8\?;
XMLString += file;
XMLString += ![CDATA[ + dataStrEncoded + ]];
XMLString +=
Hi,
I would recommend ARP for this too. It's a bit tricky to use (at first),
but it will keep your code clean for sure and save you a lot of time.
There's a remoting example that you could adjust quite easily.
As for the moviecliploader, I try to use a single class to do all my
loading. I guess
yes, that's right Poker. It's not as off topic as it may initially sound.
I recently spoke with an Adobe representative at Chinwag in London. They
had laid on a Casino for the event and I commented that I was very
surprised at there not being any Poker tables. I mean, in the 8 years I've
been a
its simple string concatenation after the base64 encoding, although you
never create a xml object, which makes me wonder why do you not just send
and blob text instead of xml.
On 7/12/07, Paul Steven [EMAIL PROTECTED] wrote:
Thanks for the advice Johannes
Does that mean my code looks ok to
Hi list,
I have some code that I've made that I don't understand why it is
failing, and I want your help
this works
var time = .3;
var easeType = mx.transitions.easing.Regular.easeOut;
var response2_mc:MovieClip = this.frmContato_response2_mc;
var plus6_mc:MovieClip =
Not sure if this is what you want, but check out the JTS Topology Suite.
Here is the user's guide - The Polygonizer class may be in the ballpark
of what you desire
http://www.vividsolutions.com/jts/bin/JTS%20Developer%20Guide.pdf
This is not a Flash library (it's Java), but it is available for
Well, the past 24 hours have been interesting to say the least. I've never
really written a class, yet I know a lot about them and understand them for
the most part. Before starting the project, I knew I was going to run into
data access issues but didn't really have a solution. I'd never
I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will be a swf loaded into another swf all I'm trying
to do is create class definitions and its
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will
sorry typo, i meant *reserved*
On 7/12/07, Hans Wichman [EMAIL PROTECTED] wrote:
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I feel like a bit of an idiot asking this, but I keep getting errors.
I'm
creating some custom player skin templates
I think that if you're just starting out with classes then using MVC
would be an excellent place to start since ARP could be quite
overwhelming.
Others might disagree. :)
I've spent many hours trying to figure out how to do some seemingly
basic things in ARP and to be honest I'm still not 100%
Hi Matt,
AS3 is slightly different.
You need to say:
private var fullScreen_mc:MovieClip = getChildByName(fullscreen);
Note that the reference (fullscreen_mc) can't be the same as the name on
the stage (fullscreen). Also in AS3 you can actually set instance
variables outside of functions.
I'm
I'm not sure what it could be, but you should try delegating the onRelease
function to this:
import mx.util.Delegate;
plus6_mc.plus6_btNext_mc.onRelease = Delegate.create(this,
btNext_mc_onRelease);
function btNext_mc_onRelease() {
plus6_mc._y = -160;
response2_mc._y = 123;
I recommend reading Head First Design Patterns.
The code examples are Java but the principles are universal and you get
to see how classes can be made to work effectively.
The Singleton pattern is one of the patterns discussed.
Very entertaining approach to a serious subject.
It will save you a
Thanks all, I ended up with something like this...
package com.foo.view.playerSkins {
import flash.display.MovieClip;
import com.sky.view.playerSkins.*;
public class SkinInventory extends MovieClip{
private var fullscreen:MovieClip;
public function SkinInventory()
Hello :)
An other framework it's VEGAS : http://code.google.com/p/vegas/
Install the framework :
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN
The tutorials in english :
http://code.google.com/p/vegas/wiki/TutorialsVEGAS (in progress)
Examples in the svn repository of the project :
We are in need of an experienced Flash developer and would prefer AS3
experience. We are currently a small company, and will be expanding
greatly in the near future. It is a great environment with lots of
opportunity for growth and learning.
Check the full job posting at
Does that work? I'm getting a namespace conflict.
Sunil
-Original Message-
Thanks all, I ended up with something like this...
package com.foo.view.playerSkins {
import flash.display.MovieClip;
import com.sky.view.playerSkins.*;
public class SkinInventory extends
Yeah, that pretty much looks like what's going on to
me.
A coworker came up with a similar technique that's in
use on a few sites, but it wasn't taken anywhere near
to Papervision's level, what with the phong shading
and the like.
--- Hans Wichman [EMAIL PROTECTED]
wrote:
Hi Joshua,
can I
I learned that the problem with my current approach. If a parent loads a
child, none of the clips in the child's library
can be attached to the parent's timeline and vice-versa.
From Ian Thomas that in AS2, you can't attach a symbol from one .SWF's
library into
another movie's timeline. He
I've been declaring classes extending MovieClip as dynamic. Using this to
get the child seems to work.
this.fullScreen;
And to get the object to cast to the proper type, I've had to have it in the
code.
FullScreen;
trace(this.fullScreen); //should trace [object FullScreen]
FYI, I've been
Hi
Has anyone used the free gmaps component from afcomponents.com?
I noticed that the component calls a php script on the afcomponent site.
Does anyone know the purpose of this?
I'm assuming its simply a way to bypass the need for individual api keys.
[e] jbach at bitstream.ca
[c]
I've been declaring classes extending MovieClip as dynamic.
They claim that you'll lose speed by doing this.
Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Zeh
no
9,0,16,0 installed
I wonder if it has anything to do with the object embed code...
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
...all improvisation is life in search of a style.
- Bruce Mau,'LifeStyle'
Hi.
I am trying to use the doubleClick event, but it never trigger the handler
My function is something like that
private function loadIconComplete(event:Event):void
{
var rIcon:LoaderInfo = event.target as LoaderInfo
var fIcon = rIcon.loader
var iStage = lIcon.content as MovieClip
Do you work with the Flash Media Server? If so, the FMS product team would
like feedback on how you use the FMS
componentshttp://www.adobe.com/devnet/flashmediaserver/articles/components.html.
Or, if you do not use them, why not. The product team has opened up a
survey at the following link.
You have to enable this event by setting the object's
doubleClickEnabled property to true.
Attila
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Enrique Chávez [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Date:
Hi Matt,
I spent an embarrassing amount of time recently playing with ways to import
common classes and libraries in AS3, so your post drew my attention. Then I
ran the class from your first post and had no error: your fullScreen
variable traces as null, as expected.
So then I read the
Damn,
I have to read the Docs first...
I have to read the Docs first...
I have to read the Docs first...
I have to read the Docs first...
jeje.
Thanks a Sorry.
Rákos Attila escribió:
You have to enable this event by setting the object's
doubleClickEnabled property to true.
Attila
I'm in the process of upgrading parts of an AS2 application to AS3, and am
noticing some very odd behavior. It seems every display object i load
(whether it is an AV1Movie, a BitMap, etc) is loading in at a much larger
scale. The Flex Builder debugger is showing its height and width as i
expect
hello,
yes, I guess it uses the script to get the api key. I am using the gmap
component to load some maps in flash, and I had some problems, because flash
player doesn't allow me to access the maps as bitmaps. I posted the problem
in afcomponents forum, and the answer can be useful for you:
It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
that he uses all lowercase 'fullscreen' to represent the instance name
'fullScreen'.
Just to provide some background as to what's going on here, Flash CS3 is
Hi,
You could write your own proxy to pass the request the for the
google map images via your own server.
Should be fairly simple in PHP / ASP.
Then it would look like the images game from your own server and you
would not have Cross domain problems.
Glen
Andrei Thomaz wrote:
We are looking for someone to provide consulting work for approximately 6
weeks. We desire to have the programmer on sight at our offices near Saratoga
Springs, NY. We are a small tech company founded by two RPI students in 2000-
our products are high end consumer electronics and a very
This means that you either have to declare the variables yourself (and they
have to be public, by the way)
or declare the class as dynamic so that the variables can be added at runtime
(specifically, at the time the
assignment statements are executed).
I think the has to be public thing is
I'm aware of the differences, I just don't understand why it *has* to be public.
Or put differently, I don't like that it has to be public.
If I had to guess, I'd say it has something to do with the display list.
regards,
Muzak
- Original Message -
From: Francis Cheng [EMAIL PROTECTED]
Colin Moock's book says it's because of adherence to ECMAScript 4, and
points to this page for explanation:
http://kuwamoto.org/2006/04/05/as3-on-the-lack-of-private-and-protected-constructors
Helen
Francis Cheng wrote:
I'm guessing that the odd reason has something to do with the behavior
I'm guessing that the odd reason has something to do with the behavior
of the private attribute in AS2 versus AS3. As most of you are aware,
the private attribute in AS2 only restricts access at compile time. In
AS3, however, private restricts access at both compile time and
runtime. Just a guess,
Sorry, I wasn't clear about my theory. Let me try again. I think that
you have to declare variables that represent stage instances as public
because Flash CS3 automatically executes an assignment statement at
runtime that involves those variables. If those variables are declared
as private, they
Hi Helen,
I'm aware of the lack of private (and protected) constructors.
What I'm talking about is something different though.
It's about assets (movieclips or whatever) that are part of a class, but placed
on stage rather than created through code.
Let's say you have a movieclip MyComponent
I'm afraid that makes no sense to me.
It's perfectly allright to make instances private, as long as they're created
through code.
package {
import flash.display.MovieClip;
import fl.controls.Button;
public class MyComponent extends MovieClip {
private var _btn:Button;
function
I still have not done it yet, but, if some of you want to write it in PHP, I
would like to help. It would great for me, and I can program in PHP (but not
in ASP).
[]'s
andrei
On 7/12/07, Glen Pike [EMAIL PROTECTED] wrote:
Hi,
You could write your own proxy to pass the request the for
If I'm doing a site in F9/AS3 is it enough to use swfobject just have
it test for player 9 and force upgrade accordingly?
It's a small personal site and I won't be making am F8/AS2 version.
Thanks.
--
count_schemula
___
Thanks and Regards
___
Ravikiran Marella
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
47 matches
Mail list logo