There are a couple of things that might cause PHP to send extra
characters with your text. Try clearing the Output Buffer before
generating any HTTP headers and sending text via PHP. That has worked
for me in the past.
http://us3.php.net/manual/en/function.ob-clean.php
Still not as good as the technology and ideas from
http://www.movenetworks.com/. (Technology and ideas pioneered by
MoveNetworks and copied/borrowed/stolen by others, without getting too
political about it. Lol!)
-
Jason
Jiri Heitlager wrote:
Nice
Meinte van't Kruis wrote:
has anyone
I occasionally place code at the end of the function to detect when it's
not being invoked by itself.
function someCallingFunction():Void
{
this.recursiveFunction(val_1, val_2, val_3);
}
function recursiveFunction(arg_1, arg_2, arg_3):Void
{
while (some condition exists)
{
//
There are several problems with the Adobe code/solution, and at least
one was already mentioned. My biggest complaint about it was that its
JavaScript was so poorly written. (It even generated malformed mark-up
at one point.)
Another complaint I have with the Adobe code/solution is one I also
Since I disrespected SWF Object a little in my last post, I should
backtrack a little to say that, since it's becoming de facto (despite
what I feel are some typical usability oversights), and if you're
already comfortable using it, then you should probably just continue to
use it.
I'm
Is there a way to display a Flash movie above an embedded Windows Media Player
in the browser? I've tried various things with CSS z-index and the Flash object
wmode parameter, but can't get it to work. Is there something I'm overlooking
or is this just not going to happen?
Thanks.
-
Jason
Scratch that. Setting the wmode to window works just fine.
-
Jason
Is there a way to display a Flash movie above an embedded
Windows Media Player in the browser? I've tried various
things with CSS z-index and the Flash object wmode parameter,
but can't get it to work. Is there something
I can't figure this out.
I can set up a for...in loop to show me all the (enumerable) properties --
variables and functions -- on the MovieClip instance where I place the loop,
but I can't enumerate properties for other (nested) MovieClip instances by
simply changing the focus object of that
in subObject)
{
trace(otherProp + : + subObject[otherProp]);
}
}
It should look like that, but not horrible.
From: Jason Lutes [EMAIL PROTECTED]
Date: 2007/04/05 Thu PM 04:10:48 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Enumerating properties
are correctly
reported, though. I would like more accuracy than that, if it's possible.
-
Jason
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Rákos Attila
Sent: Monday, March 12, 2007 4:24 PM
To: Jason Lutes
Subject: Re: [Flashcoders] MovieClip
Is there a way determine clip position that doesn't presume the location of
the registration point relative to clip content, or doesn't care where
nested clip content is positioned relative to the registration point? For
example, if I need to programmatically position a clip along the left edge
of
Is it possible to attach a symbol (using attachMovie and a valid linkage ID)
within a movie, but from the Library of a movie that loads in that movie (using
loadMovie)? I did a simple test that didn't seem to work, so maybe I already
have my answer. Before I work around it the hard way, has
I checked, and this.foo = 'Jason Lutes';, this.foo = 'Jason#160;Lutes';,
and this.foo = 'Jason#x00A0;Lutes'; all display the non-breaking space just
fine (foo is my TextField variable).
Note: I included the non-breaking space with the embedded characters via the
Properties panel, as well
What's a slick way to bypass the restrictions imposed as Flash automatically
truncates URLs (to 128 characters) that are used as values of HREF attributes
in HTML text or as arguments passed to getURL?
One of our clients needs long URLs to open in a browser from the Flash
application. Right
I realized that I forgot to give my e-mail a pertinent subject line after I
sent it. Sorry about that.
What's a slick way to bypass the restrictions imposed as
Flash automatically truncates URLs (to 128 characters) that
are used as values of HREF attributes in HTML text or as
arguments
lineCount;
}
}
function showDocumentFragment(anchorName:String):Void
{
this.someScrollingTextField.scroll = this.scrollingIndex[anchorName];
}
this.createScrollingIndex();
this.showDocumentFragment('anchorName03');
-
Jason Lutes
Allen Communication Learning Services, Inc.
Technical Lead
I made a couple of glossary-type applications that use the same kind of anchor
mechanism.
The solution to simulating this involves writing text to the field in chunks.
You need to capture (into an array, or similar) the number of the last occupied
line (using the maxscroll and bottomScroll
var someValue:Number = 0;
var undesiredValues:Array = [12, 34, 21, 46, 52];
function getUpdatedValue(originalValue:Number):Number
{
var updatedValue:Number = originalValue++;
var isUpdatedValueUndesired:Boolean = false;
this.undesiredValues.sort(Array.NUMERIC);
for (var index:Number = 0;
Not super efficient, but definitely readable and functionally comprehensive:
// Assigns common property values to all dynamic text fields within a specified
timeline.
function setCommonTextFieldProperties(targetClip:MovieClip):Void
{
// defaults to targeting the root timeline
if
I have components that extend MovieClip in which I'm using an onUpdate
handler to perform a live preview. Define this handler function/method to
perform whatever visual updates you require on the Stage. Presuming you compile
the clip to a SWF, this handler gets invoked each time a parameter in
We have a bunch of clips that we are loading via MovieClipLoader that are
losing track of their containing clips (_parent). Flash correctly reports the
parent clip within the onLoadStart event handler, but absolutely nowhere else.
Even after the clip has fully loaded and we ask it to report
Correction: When I said trace statement (below) I actually meant a text field
we set up in the movie to report _parent within the various test environments.
-
Jason
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jason Lutes
Sent: Tuesday
Since the onRollOver state of clip A is being
fired, it blocks
the event of clip B or C's events from ever being fired.
How do you get around this?
Your solution is to nest two child instances within your outer movie
clip (clipA), and define event handlers for them (but not for the outer
Try using your original handler function even though the text field is
now HTML-enabled, because removing the last 'htmlText' character simply
pops off a (non-visible) closing tag's (likely /textformat) final
angle bracket.
If this method destroys HTML formatting on your text, you can always use
What can I do about a UIScrollbar component that is (now) broken in a
project that worked just fine until recently, when the client began
using Flash Player 9?
The Adobe support information does not give a solution except to say
something to the effect of v3 components don't have this problem.
Surely there is a work-around, however convoluted, for assigning a movie
clip instance to some other parent movie clip in AS 2.0. Does someone know
of a trick? It can involve undocumented features, removing/attaching...
whatever.
Much appreciated.
-
pixelTwiddler, a.k.a. Jason
How can I set up event listeners (for a roll-over event, for example) so
that someone else can't later clobber functionality I assign to an
instance from within a class by overwriting built-in handler functions
(onRollOver, for example)? I need to have both my class-described event
handling and a
I have a pop-up window that remains always on the Stage, and is simply
shown/hidden as needed. The pop-up window has 3 text fields that get
populated with HTML-formatted text from an XML document each time it gets
shown. My problem is that when the pop-up window gets shown the text
fields display
Can anyone suggest why a condition would be false for a test on a movie
clip using instanceof MovieClip?
I have a function that includes the line:
if (graphicClip.highlighting instanceof MovieClip)
graphicClip.highlighting._visible = false;
If I precede the line with trace(typeof
So how do i completely unload my MC and my Tween so that there are no
references hanging around ?? How can i find out how many references
there are for a given object (similar to the ref count in lingo
objects in Director) ?? And is this only happening because of AS 2.0
It sounds like a
Matt,
On a reasonably fast computer, a file of 4600+ XML nodes can be slurped in
under one second, required download time aside.
Your XML requirements are not that steep, so it seems to me that your
issue is likely something else not completely obvious in your code sample.
Suggestions:
1. If
I'm experiencing some recursion limit problem with a large XML...
How are you currently reading in the XML -- what kind of code structures,
etc?
What specifically is the recursion limit problem you're having? Are you
getting an error message of some kind? Do you think it's a question of the
/code samples if there is potential.
Thanks.
-
Jason Lutes
___
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 Software
Consider using XPath, as in this example:
http://www.majordan.net/test/flashlinks/
Geez that's a shload of class files in that Zip file! [grin] I'm going to
explore XPath a little more when I free up some time.
I really appreciate everyone's willingness to help me out.
Let me outline
The company I work for is looking to hire full-time, on-site (SLC, Utah)
Flash programmers. We develop training and courseware for a variety of
clients.
Candidates don't have to be über programmers, but MUST be very comfortable
with Flash and ActionScript coding. Additional Web programming
How can I convert Selection index values from TextField.text to
TextField.htmlText? There doesn't appear to be a built-in way to locate
the insertion point (caret) or selection range boundaries within a text
field's HTML.
I need to allow users to modify (properties of) text at runtime in word
Is there absolutely no way to have a dynamic text field display at a 90
degree angle, without embedding the font?
What am I overlooking?
Thanks.
-
pixelTwiddler, a.k.a. Jason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options
If I hit clearInterval() while it's waiting, does it hit that function
one more time or stop it immediately? I'm having some kind of ghosted
thing happening over here...
The following is about all you can do. In my experience it works
immediately, every time.
clearInterval(intervalVariable);
Well, I always thought shift-/ctrl-ins IS system level under windows. At
least it works in any of my programs except macromedia
So it more seems like this not-functioning is due to the application,
not the system?!
I've also run into a few issues with the custom keyboard shortcuts in
If it's possible, how can I have Flash 8 automatically assume that I want
to save a FLA in the older format?
In other words, we need to be able to hit CTRL+S and have the document
save in MX2004 format.
-
pixelTwiddler, a.k.a. Jason
___
Flashcoders
I need some brain help this morning. I want to position a button ten
pixels in from the lower right-hand corner of the movie. I decided to use
Stage.width and Stage.height, minus the respective width and height of the
button, minus ten (each). I can't get this to work though, because Flash
reports
Is it possible to communicate between an embedded Flash movie and its
PowerPoint host (for navigation purposes)?
If possible, how?
-
pixelTwiddler, a.k.a. Jason
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
What magic secret do I need to know in order to create an embedded video
object via ActionScript (not manually, via the Library) in order to
perform the requisite NetStream voodoo?
In other words, what can I do besides dropping a embedded video asset from
the Library onto the Stage?
Does the
I have a swf that calls a flv on my server. The swf loads into a
movieclip on the main swf. I need the loaded swf with the flv to
load the default swf..(home.swf) into the mailloader clip when the
flv is finished.
How are you loading/playing the FLV?
If you're doing it via NetStream, just
Have anyone found any use of Flash Projects feature/panel?
It provides a nifty bird's eye view of the relevant files for me, and is
easy to show/hide, since the shortcut key combination is the same for
similar panels in other Macromedia products.
It also helps me with folder organization for
Is there a way to import certain classes for use throughout the entire
flash file? Or do I need to import for each timeline?
I sometimes create a globally accessible alias.
import myPackageName.MyClassName;
_global.myClassAlias = MyClassName;
I use the myClassAlias reference instead of
Dunno how to explain this better, but is there a way to have a String
broadcast an event when it is changed?
You can look into Object.watch(). It lets you execute code anytime a
property's value (including strings) is changed.
-
pixelTwiddler, a.k.a. Jason
Shouldn't clicking on CHINESE HAVE BIG EDGE IN CLAMS take reader to a
NAME=5684/a? It does work wheb tested in the browser.
Does the above mean that it works for you in a Web browser, but not the
Flash IDE?
Anyway... here's generally how you can accomplish what you need:
1. add the first
48 matches
Mail list logo