Hi list,
The following puzzles me:
//code in frame 1
1 var xmlData:xml;
2 trace(typeof(xmlData)); //'object' not
xml??
//mijnXml.getHetXmlObject() is a method of a custom class that is
supposed to return an xml-object
//code that loads the xml is
and if you do:
var xmlData:XML;
??
Cedric
var xmlData:xml;
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf
Bassam,
You could use an approach similar to the one Alan first suggested, and
record all the user's choices into a properties object, save it with a
server side script, and then use a generic movie clip that re-loads all
these properties and recreates the original design in that way. This gives
Sorry, typo
The fla says 'var xmlData:XML'.
Any other suggestions?
Thanks,
Willem
Op 23-aug-2007, om 10:16 heeft Cedric Muller het volgende geschreven:
and if you do:
var xmlData:XML;
??
Cedric
var xmlData:xml;
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based
look, maybe, here ...
// just declaring the dataType won't be enough
var xmlData:XML;
trace(xmlData instanceof XML); // - outputs: false
// declaring the dataType and assigning an instance of XML
var xmlData:XML = new XML();
trace(xmlData instanceof XML); // - outputs:
Hi,
the differences in type checking between i am a string and new String (i
am a string) and xml and other objects is fairly annoying.
ie:
trace (typeof(string)); //traces string
trace (typeof(new String(string))); //traces object
Same goes for other objects such as xml etc its all fairly
Hello!
I've found a nice code (pasted at the bottom of
this mail) to display a rotating set of movieclips.
One problem with it is though that it assumes
a hardcoded set of 7 movieclips in the library,
called 0, 1, ... 6 and attaches them to the
stage by calling attachMovie(i, mc+i, i);
I'd like
You can't re-parent MovieClips in AS2. You could make your class control
arbitrary MovieClips as if they were reparented with a lot of math and
localToGlobal() calls, though. Probably not a great idea, though.
On 8/23/07, Alexander Farber [EMAIL PROTECTED] wrote:
Hello!
I've found a nice code
Thanks, but can't I this.duplicateMovieClip() the
MovieClips passed to my class as arguments to its method
and then removeMovieClip the original?
Or createEmptyMovieClip() and the loadMovie() into it?
Regards
Alex
On 8/23/07, Mark Hawley [EMAIL PROTECTED] wrote:
You can't re-parent MovieClips
Thanks Nicolas. It works fine. I just think it's funny that
maxVPosition isn't listed under the ScrollPane component's help
documentation (at least in 8).
- MM
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
I don't think having the class extend MovieClip is the right way to do this.
I'd just create a class and pass it an array of linkage names in which to
attach. Try this:
class Ellipse
{
function Ellipse(attachTo:MovieClip, linkageArray:Array)
{
var N:Number = linkageArray.length;
var A:Number
Hello.
I'm developing a sort application in Flash 8 / AS2 for manage big size
images and scale/navigate thru them.
I always have to load a big image into a MovieClip, and i have to make
a similar-tool to photoshop navigation panel, so i have now to
duplicate current scaled image in a small
To avoid loading twice times the image (first in 100% and second in
thumbnail navigation image) ... how could i copy content of first
movieclip to second one with fixed size?
You can't really, but since the image is cached once it's downloaded the
first time, loading it again into the
julian atienza wrote:
To avoid loading twice times the image (first in 100% and second in
thumbnail navigation image) ... how could i copy content of first
movieclip to second one with fixed size
I did something similar to this while trying to implement my own
Bitmap-based magnifying glass
Dave Mennenoh wrote:
To avoid loading twice times the image (first in 100% and second in
thumbnail navigation image) ... how could i copy content of first
movieclip to second one with fixed size?
You can't really, but since the image is cached once it's downloaded
the first time, loading it
Hi,
My goal is to play an FLV and use the setInterval method without problems at
the same time.
This works fine when my code is placed on the timeline.
When the EXACT same code is placed in an external class however the FLV gets
interrupped soon as the setInterval is invoked.
Also an
Apologies, underneath the exact code I'm using.
class Test
{
static var root_p:MovieClip = _root;
function Test()
{
display();
setInterMezzo()
}
function display()
{
var videoHolder_p:MovieClip = _root.attachMovie(videoHolder,
videoHolder_mc,
Hi Cedric,
Thanks.
var xmlData:XML = new XML(); did the trick.
About
typeof doesn't and will never return XML as a result. Look up the
table in the help panel for 'typeof':
I've got a different help :-) which promises that typeof returns:
Array object
Boolean boolean
Function
If you are using Flash 8+ you could use the Bitmapdata datatype to copy it
to a new movieclip and scale it to thumbnail size I think.
On 8/23/07, Alan MacDougall [EMAIL PROTECTED] wrote:
julian atienza wrote:
To avoid loading twice times the image (first in 100% and second in
thumbnail
I think he wants to load the big image and then load it again but resize
it. If that's what you want, just load image with loadMovie or
MovieClipLoader and once it has been cached, load it again (the same url) to
a redimensioned MovieClip.
On 8/23/07, Alan MacDougall [EMAIL PROTECTED] wrote:
You didn't mention where you are initializing this class in the FLA. Are you
just creating an instance of it in the first keyframe ?
On 8/23/07, Tom Huynen [EMAIL PROTECTED] wrote:
Hi,
My goal is to play an FLV and use the setInterval method without problems
at
the same time.
This works
This is the same code you sent in your first message. You can't have a class
in a keyframe's code if you're using AS2, so, what I would like to know is
where in your FLA you are creating this class' instance.
You might be creating it in the first keyframe, like this:
Keyframe1:
var teste = new
Hi
I've reached a point in my career where I think its important to broaden my
skill-set beyond just Fash/AS3.
Unfortutantely there are only so many hours in the day.
Is anyone else facing the same dilemma ?
Should I pursue .Net knowledge or ???
If .Net, what books online resources and/or
I've got a different help :-) which promises that typeof returns:
Array object
Boolean boolean
Functionfunction
int number
Number number
Object object
String string
uintnumber
XML xml
XMLList xml
oops, you're right, my mistake. checked
Just ran into another issue, and this one is actively breaking things,
not just causing UI annoyances.
RP11 seems to be doing something to prevent LocalConnections from
being cleaned up. Our application uses a couple SWFs for the UI,
using LocalConnections to communicate between them. One of
Should I pursue .Net knowledge or ???
You should pursue whatever you think would be most useful for you. .NET,
Java, PHP, ColdFusion - they're basically all the same. They all let you do
the same sorts of things; the differences are largely matters of syntax and
popularity. ColdFusion is
I created a new page on the osflash wiki for documenting RP11 issues.
If anyone finds any new ones please add them there. Hopefully having
a central place to document the problems we find will increase the
chances of Real doing something about them.
http://osflash.org/flashcoders/realplayer_bugs
Hi Marcelo,
var test:Test = new Test(); on the first keyframe indeed.
When I'm executing the code from the timeline I leave out the class
definition and so.
the make things a bit more clear:
--- situation one (first keyframe):
//setup netstream
var connection_nc:NetConnection = new
I fear it is not my solution. Image is 72Mb. The application i was
making is a standalone one (not a web solution)... When i try to load
the second one , the time is the double :/
2007/8/23, Marcelo de Moraes Serpa [EMAIL PROTECTED]:
I think he wants to load the big image and then load it again
I would suggest WebServices as a technology that will be applicable to
lots of applications.
Axis from Apache has a lot of tools, documentation and links to other
documentation.
Ron
Dave Watts wrote:
Should I pursue .Net knowledge or ???
You should pursue whatever you think would be
julian atienza wrote:
Image is 72Mb.
This is your first problem. I can't think of a single reason you would
have to load a 72 MB image into Flash. Could you tell us a little more
about your application?
___
Flashcoders@chattyfig.figleaf.com
To
Hi list...
I keep getting this error while debugging. I'm not clear what's causing
it. Any thoughts?
- MM
*** Security Sandbox Violation ***
SecurityDomain
'file:///D|/customized%20proposal/ingredients/customProposalFlashAssets/
customProposalTool.swf' tried to access Player UI context
One High-Resolution Graphic explorer.
Before 3 seconds, flash load correctly that big size, and i'm trying
this inside my class:
{
(my class has the typical movieclip loader with addListener(this); )
.
public function onLoadInit(mcTarget:MovieClip):Void {
//Big
maxVPosition is a property of the ScrollView class, which isn't documented.
mx.core.ScrollView
regards,
Muzak
- Original Message -
From: Mendelsohn, Michael [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, August 23, 2007 2:25 PM
Subject: RE: [Flashcoders]
I reference this page:
http://www.w3.org/TR/html4/sgml/entities.html
try c=a #8212; b
hth,
Rob
On Thu, 23 Aug 2007 14:07:38 -0400, natalia Vikhtinskaya
[EMAIL PROTECTED] wrote:
Hi
I thought it simple but that does not work.I am trying to show long dash
c=a mdash; b
txt.html=true;
Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I
thought that maybe I can use long dash and three text areas.. But it
will not work if I should to show
1/3 of 9 but with horizontal line. I seems no solution?
2007/8/23, Alan MacDougall [EMAIL PROTECTED]:
natalia Vikhtinskaya
Here's my quick list of unicode characters for htmlText...
string symbol
-- ---
\u2122 trademark (TM) symbol
\u00A9 copyright (C) symbol
\u2018 single opening (left) quote
\u2019 single closing (right) quote
\u201C double opening (left) quote
\u201D
julian atienza wrote:
but i'm not sure if it's going ok... at least now i haven't to make
another load but... i think the thumbnail is scaling the portion of
big image i see in screen, not the whole image...
That might be a limitation of Flash. I'm not sure what happens when
MovieClips
Will your design allow you to just create a movieclip with a solid fill
instead of a line? You could give it some small constant dimension in Y to
suit your idea of line thickness, and then you have full control over its
length in X.
-Original Message-
From: [EMAIL PROTECTED]
But how that help to show: 1/3 of 9 with horizontal line?
2007/8/23, Hershell Bryant [EMAIL PROTECTED]:
Will your design allow you to just create a movieclip with a solid fill
instead of a line? You could give it some small constant dimension in Y to
suit your idea of line thickness, and
how about just buying a math font and embedding it?
http://www.adobe.com/type/browser/P/P_1423.html
On Aug 23, 2007, at 1:07 PM, natalia Vikhtinskaya wrote:
But how that help to show: 1/3 of 9 with horizontal line?
2007/8/23, Hershell Bryant [EMAIL PROTECTED]:
Will your design allow you
Hi Natalia
First check that the font that you are using for the textfield actually
have the mdash character, use the character map in windows (the mdash
is html entity #8212; or symbol - or Unicode \u2014 )
If the character is there, then use
c=a #8212; b;
txt.html=true;
txt.htmlText=c;
or
I did not know that there is such fonts. Maybe there is free fonts
like this also?
2007/8/24, robert [EMAIL PROTECTED]:
how about just buying a math font and embedding it?
http://www.adobe.com/type/browser/P/P_1423.html
On Aug 23, 2007, at 1:07 PM, natalia Vikhtinskaya wrote:
But how
I would suggest WebServices as a technology that will be
applicable to lots of applications.
Axis from Apache has a lot of tools, documentation and links
to other documentation.
You will need to choose a platform from which to run web services, and your
choices are basically the same as
you could possibly use Draw method if I am gettin this correctly
Nikolai A. Stepanenko
Design Development
SAIC, BP, Houston
Office: 713.835.3828
Cell: 832.368.0601
From: [EMAIL PROTECTED] on behalf of natalia Vikhtinskaya
Sent: Thu
All,
I'm working on a project in which a SWF uses xml.sendAndLoad to send a
short XML document to an ASP page.
The ASP page receives the XML, parses it, pulls out a few pieces of
data, runs a query against a database, and returns a longer XML
document.
Everything works perfectly when I run the
I found such font here
http://www.sofontes.com.br/en/SansFractionsVertical-Plain/download/21710
Maybe it will be usuful for anybody.
Thanks a lot for your help.
2007/8/24, Stepanenko, Nikolai A. [EMAIL PROTECTED]:
you could possibly use Draw method if I am gettin this correctly
Nikolai A.
http://www.unicode.org/charts/PDF/U2000.pdf
page 3, under Dashes
regards,
Muzak
- Original Message -
From: Andres Ardila [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, August 23, 2007 10:44 PM
Subject: RE: [Flashcoders] long dash
Hi Natalia
First check that
All,
I just wanted to thank everyone for these responses.
Cheers,
Matt
On 8/22/07, Martin Jonasson [EMAIL PROTECTED] wrote:
Yes, I've also noticed this. The CS3 projector is a bit bigger. But it's
really not all that odd since it has both the AS3 and AS2 virtual
machines inside.
/martin
In Html use tag
sup/sup
sub/sub
Regards.
D. Santhosh Babu
- Original Message -
From: Hairy Dog Digital
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, August 24, 2007 12:16 AM
Subject: RE: [Flashcoders] long dash
Here's my quick list of unicode characters for
Those tags are not properly supported in Flash text fields. (At least they
weren't as of Flash 8, haven't put CS3 through its paces yet.)
-Original Message-
From: Santhosh Babu D [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 23, 2007 7:46 PM
To: flashcoders@chattyfig.figleaf.com
Hello:
I need to generate keyframes inside an FLV.
I'm doing a small web app that records the webcam onto a Red5 server.
I need the resulting FLV files on the server to have at least 2
keyframes per second.
I'm using *setMode*, *setQuality* and *setKeyFrameInterval* to attempt
to control the
Hi,
another option is making sure you have a pool of people who you can count to
do work like that for you:).
Not that being able to develop the server side is a bad thing, but like you
said there are only so much hours in a day.
greetz
JC
On 8/23/07, Dave Watts [EMAIL PROTECTED] wrote:
I
53 matches
Mail list logo