thx, rich,
funnily enuogh this echos many of my concerns. there is really no
faster nd more convenient way of making a choice then point the mouse
(pen, etc) and click.
stil figuring out what th emotivation for this request was from the
client - if they aer looking for 'just a exciting new way'
Hi,
Thanks a lot for all the replies. Most helpful. It's a funny situation. I'm
using a deserialised XML file to dictate the content and layout of each
page. A page might contain 1. A heading, 2. A TextField 3. A link or it
might contain 1.A heading 2. A thumbnailMenu or various other
Hi Tom,
From XMLSocket docs:
* Each XML message is a complete XML document, terminated by a zero (0)
byte.
...
* Each document is terminated with a zero (0) byte. When Flash Player
receives the zero byte, it parses all the XML received since the previous
zero byte or since the connection was
Hi David,
I'd try to use PrintJob.pageWidth and/or PrintJob.pageHeight instead of
.orientation .
Also, why not determine needed scale at runtime:
postcardClip._xscale = 100 * myPrintJob.pageWidth/postcardClip._width;
postcardClip._yscale = postcardClip._xscale;
--
--
Best regards,
GregoryN
You can assign values to private and/or public variables of the class
using the 4th argument of attachMovie. Just read the API
documentation:
public attachMovie(id:String, name:String, depth:Number,
[initObject:Object]) : MovieClip
initObject can be predefined or used on the fly, which looks
how can we print a variable value in our execution screen..?
-
Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
Hi there, I am trying to figure out the best way to monitor the load
progress of swfs that are loading into each other. There are 20 swfs
(of different sizes) that load into my main movie and I plan on
loading my main movie into a holder so I can monitor the progress of
it's download using
Hello,
Thank you, I redid my whole thing using your classes!
Really super, more flexibility + less code !
Is there any doc online ?
http://www.bezier.ru/eng/AS2/ru/bezier/geom/Bezier.html
--
iv
___
Flashcoders@chattyfig.figleaf.com
To change your
I cover this topic on my blog. :)
http://www.stevensacks.net/2007/03/16/force-landscape-printing-with-printjob/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://objectpainters.com/blog/?p=9
On 5/2/07, Dave Wood [EMAIL PROTECTED] wrote:
Hi
I'm having problems correctly rotating a movieclip to accomodate
users printing in either portrait or landscape format.
There was a thread about this maybe 4 to 6 weeks ago and I'm unable
to locate it in
Thanks a lot for all the replies. Most helpful. It's a funny
situation. I'm using a deserialised XML file to dictate the
content and layout of each page. A page might contain 1. A
heading, 2. A TextField 3. A link or it might contain 1.A
heading 2. A thumbnailMenu or various other
how can we print a variable value in our execution screen..?
'execution screen'? Do you just mean displaying a variable on screen? Try
var tField:TextField = _root.createTextField(out,
_root.getNextHighestDepth(), 100, 100, 200, 20)
tField.text = String(myVariable)
Danny
Hi,
Which version of Flash are you using? I tried this on Flash CS3 and it
worked out seamlessly.
package {
import flash.display.Sprite;
import flash.system.Capabilities;
public class Test extends Sprite {
public function Test() {
}
This AS2 class will handle preloading multiple SWFs and/or FLVs and/or
images and report on the total progress:
http://www.greensock.com/ActionScript/PreloadAssetManager
Documentation examples are on the site. I think you'll find it pretty easy
to implement.
Enjoy.
Jack Doyle
-Original
Has anyone had any experience of using the Flash RTL classes from here:
http://www.flashrtl.com/
They seem to be good for Persian, but need porting to other char sets, and a
general clean up/re-write.
To do this I need to get a better idea of what needs to be converted, the
order of words or
Thanks Jack, this is exactly what i am looking for :)
Cheers!
Ali
On 2 May 2007, at 12:23, Jack Doyle wrote:
This AS2 class will handle preloading multiple SWFs and/or FLVs and/or
images and report on the total progress:
http://www.greensock.com/ActionScript/PreloadAssetManager
Documentation
Has anyone had any experience of using the Flash RTL classes
from here:
http://www.flashrtl.com/
They seem to be good for Persian, but need porting to other
char sets, and a general clean up/re-write.
To do this I need to get a better idea of what needs to be
converted, the order of
Just throwing my two cents worth in here...
As others pointed out, drawing circles around selections is doable, but
isn't user-friendly. As I read through this the thought occurred to me. What
about using a drawn oval path as a movie clip for the mouse pointer that the
user clicks on a
Frustrating a user may not be new but it can be exciting if the customer
decides its your fault.
Why not suggest something like changing the mouse into a into a hammer
or mallet and the answers into nails or gophers. If can make the
animation as funny as the client can stand.
Ron
Hairy Dog
Looks like a Decorator Pattern.
Danny Kodicek wrote:
Thanks a lot for all the replies. Most helpful. It's a funny
situation. I'm using a deserialised XML file to dictate the
content and layout of each page. A page might contain 1. A
heading, 2. A TextField 3. A link or it might contain
I have some troubles with RegExp in Flash CS3 (AS3). It seems whenever a
pattern ends with .* AND has the Global flag set flash freezes.
Simplified sample code:
var re:RegExp=/.*/g;
var str:String=one two three;
trace(str.match(re));
Why does Flash CS3 (AS3) freeze with this code, is it
Thanks for the help!
In your professional opinion is almost the same good enough or will I need
to tweak the char set? So you know I'm only displaying short button labels
and headings.
The languages I'm going to be needing to display are Arabic and Sorani. I
think Sorani is as different to
Thanks for the help!
In your professional opinion is almost the same good enough
or will I need to tweak the char set? So you know I'm only
displaying short button labels and headings.
I don't speak Arabic or know anything about it other than what's in the
Unicode data :) I get the
Hello all -
I'm using the TextArea component in Flash 8. I need to give the
component a border that is 1 pixel wide. I've found that using
setStyle(borderStyle, solid) gives me a solid border but it is
wider than I need. Can anyone give me a hint as to how to change the
width of the
Is not a cs3 bug, is a player bug. I cut n paste your code in cs3 and it
freezes, in eclipse with flex builder plugin the same, but eclipse didn't
freeze, only the player do.
2007/5/2, Benny [EMAIL PROTECTED]:
I have some troubles with RegExp in Flash CS3 (AS3). It seems whenever a
pattern
The fla source (AS2):
www.leandroamano.com.br/files/3d.fla
// Perspective
ppc = perspective.value;
center = {x:0, y:0, z:0};
// Cube: Face 1
v1 = {x:-50, y:-50, z:-50};
v2 = {x:50, y:-50, z:-50};
v3 = {x:50, y:50, z:-50};
v4 = {x:-50, y:50, z:-50};
// Cube: Face 2
v5 = {x:-50, y:-50, z:50};
v6 =
Please Sebastian, show all code in the next post.
regards.
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified Expert
Adobe Certified Instructor
Adobe User Group Leader
On 5/2/07, Matthias Dittgen [EMAIL PROTECTED] wrote:
You can assign values to private and/or public
In AS2 classes, it's normal... =(
Try compiler again.
regards.
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified Expert
Adobe Certified Instructor
Adobe User Group Leader
On 5/2/07, Petro Bochan [EMAIL PROTECTED] wrote:
Hi,
Which version of Flash are you using? I tried this
Hello,
Change border width I don't know
but try this:
myTextArea.label.border = true;
myTextArea.label.borderColor = 0x99;
However label (textField object) is a private member of the TextArea
Component
regards.
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified
Hi,
I was use to create Flash 8 components and now i'm trying to build my first CS3
component by using AS 3.0 but i'm having a problem that is driving me nuts
about[Inspectable] meta tags.
I'm adding the meta tags like i did with AS 2.0 :
private var _color:Color;
[Inspectable(name='Childrens
Hey folks,
I'm looking at using some GPL licensed code (Flade, to be specific) in a
game I'm building for my employers. However, I can't find a clear answer
anywhere as to what that implies for our source: does anyone know if using
GPL licensed libraries means that we would have to release the
Has anyone done anything with print designs (inDesign, Quark, PDF)
being exported to SWF?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought
Leandro Amano wrote:
Hello,
Change border width I don't know
but try this:
myTextArea.label.border = true;
myTextArea.label.borderColor = 0x99;
However label (textField object) is a private member of the TextArea
Component
regards.
--
Leandro Amano
Digital Bug
Chief Creative
Hi
Does anyone know a resource which lists and explains the AS3 metadata api?
ie
[SWF(width=800 height=600, backgroundColor=#FF)]
[Frame(Class=com.package.ClassName)]
Thanks,
MaTT
___
Flashcoders@chattyfig.figleaf.com
To change your
There is no size or width property for the RectBorder, which is what the
TextArea component uses for the border. You would have to do a custom skin
or theme. If this is only for this one project, you can copy the skin
elements into your library. Here is the info from livedocs:
Thanks!
I'm looking into RectBorder now and creating my own RectBorder class.
I've got it working following the example below (though I'm using F8,
not CS3) but now I have a new issue...
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/
Thanks for confirming this. I submitted a bug report with Adobe.
I noticed that if the pattern is used with exec command the same thing
happens. Aafter the last actual match is found it will not return null for
the result so in a while loop (as demonstrated in the Adobe docs for the
exec method)
GPL means you have to release source to your game.
LGPL - well since it was written or C type langs. there is some (heated)
debate about how to define linking in the context of dynamic
languages; I've seen recently that there seems to be a creative commons
license that explicitly says
I've started playing with the trial version of print2flash, and tested it on
two files. It crashed on the large catalog, with lots of linked pictures
(including two with bad links that trigger ID warnings) and did fine with
the text only file. I printed the catalog from Acrobat, and it generated
It has always been the FSF's position that dynamically linking
applications to libraries creates a single work derived from both the
library code and the application code. The GPL requires that all
derivative works be licensed under the GPL, an effect which can be
described as hereditary. So,
Yeah for this instance (Action Script) if you extend a class in the
licensed library then that extension must be available to all who ask
for it.
Robert Sanders wrote:
GPL means you have to release source to your game.
LGPL - well since it was written or C type langs. there is some
(heated)
Thanks guys
Steven, I've played around with your code and got it working on my
setup but will need to test later in the day on the computer/printer
combination that was causing the problems.
I needed to modify it though because your code assumes the clip is
scaled at 100% to start with.
Hi I found this quite interesting do you mind to explain this in more
detail. Actually I'm looking to create a pictures menu and viewer
base on the xml file,
a loop to assign this
the xml.
?xml version1.0?
pic model1.jpg/pic
pic model2.jpg/pic
pic model3.jpg/pic
pic model1.jpg/pic
and in
On 5/2/07, Robert Brisita [EMAIL PROTECTED] wrote:
If you have to go the GPL route, you can tell your employers that all
the code is in the SWF anyway, making it
available just takes away an extra step from the process of acquiring
the code.
Uhm... I really don't think that can be decompiled
Try the Flex docs
http://livedocs.adobe.com/flex/201/html/metadata_141_04.html
[SWF] and [Frame] are not in the docs though, but there's some info in the
comments here:
http://livedocs.adobe.com/flex/2/docs/1651.html
Some stuff here on [Frame]
http://www.bit-101.com/blog/?p=946
Thanks guys. I emailed the author earlier today and got a nice, positive
response - you were right, Mark, his position is that he doesn't want to
place any restrictions on the way people use his work, short of passing it
off as their own ;)
I'm just trying to be super-careful here, because
Does it say anywhere in the GPL that requested code has to be commented
and readable? :-)
Anyway the link I posted earlier should apply to all languages similar
to JAVA considering LGPL:
http://www.gnu.org/licenses/lgpl-java.html
The way I interpret it, libraries would have to be loaded as
Cool.
his position is that he doesn't want to place any restrictions on the
way people use his work, short of passing it
off as their own
Yeah, understand that. A BSD license would have been better or one of
the newer CC licenses.
Permission from the author rules all though, right?
From my
Hello all,
Im using to reading variables from PHP like this
?
echo form=success;
?
but I'm having some issues trying to read the same variables from JSP. If I
access the file from within the browser I can see the variables but in flash
with loadVars it shows as Undefined.
Anyone knows if
Thanks dude!
On 5/2/07, Muzak [EMAIL PROTECTED] wrote:
Try the Flex docs
http://livedocs.adobe.com/flex/201/html/metadata_141_04.html
[SWF] and [Frame] are not in the docs though, but there's some info in the
comments here:
http://livedocs.adobe.com/flex/2/docs/1651.html
Some stuff here
If memory serves me right try this:
?
$xml = success;
print xml=$xml;
?
$xml is a variable that holds the data and xml will be the member of the
LoadVars instance in flash when
the onLoad event is triggered.
Quick Example:
class Test
{
var lv:LoadVars = new
some method
{
On Wed, May 02, 2007 at 04:48:38PM -0500, Helmut Granda wrote:
Im using to reading variables from PHP like this
?
echo form=success;
?
but I'm having some issues trying to read the same variables from JSP. If I
access the file from within the browser I can see the variables but in flash
Hi Sebastian,
When extending the MovieClip Class in AS2, there is no way to access the
constructor. All initializations should be done, like Matthias Dittgen
mentionned with the optional initObject argument of
attachMovie(libraryID, instanceName, depth, initObject)
That way you set all the
Another way to do this is to have an init() method that you call in-line to
your attachMovie().
class MyClass extends MovieClip
{
public function MyClass() {}
public function init(args):MyClass
{
// do your constructor type stuff here
You might want to consider using composition.
class Sample
{
private var self:MovieClip;
function Sample(clip:MovieClip)
{
self = clip;
}
}
Usage:
mySample = new Sample(this.attachMovie(id, instance, depth));
Composition has many advantages over extending MovieClip.
var myClass:MyClass = myClip.attachMovie(linkage, name,
depth).init(args);
That code will fire an error like this :
Type mismatch in assignment statement: found MovieClip where MyClass is
required.
If you want to typecast your movieclip, I think you need to do :
var mc:MovieClip =
Are you sure you're implementing it correctly? You have to assign the class
to your library item and it should work. If you're just arbitrarily
attaching a MovieClip from the library without assigning that symbol the
class, it will give you that error.
-Original Message-
From: [EMAIL
Hi
can anyone tell me if there is a way to use jpeg 2000 compression in
flash mx 2004 or flash 8 also if it is used in a movie can jpeg
2000 compression be viewed in flash player 7
Thank you
marc
___
Flashcoders@chattyfig.figleaf.com
To change your
58 matches
Mail list logo