Yes that works of course. But I am trying to understand why AS3 do
this thing. What is wrong? Is it just bug?
2010/5/6 Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com:
Duh, just realized I replied in the wrong thread. Got me why that's
happening, but a fix:
What about just saying
Anthony Pace wrote:
Anyone know of a working SIP library in AS3 for player 10.1?
You mean that phone protocol? I don't think that is possible. At least
not without AIR. For some bizare reason, UDP support is restricted to AIR.
___
Flashcoders
i agree with kenneth - swf address forms the basis of my navigation
i take the current url from the swfaddress event in my model, pass it
through a function to make sure the url exists and then dispatch the page
change event to the rest of the application which updates the page view and
the
I always use Fisher-Yates shuffle method to randomise an Array, which
yields more unbiased result.
http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
My AS3 interpretation of Fisher-Yates is as follows; I can just call
this from anywhere in my scripts ;)
package utils {
public
Is it possible to use flash to write to a text file (maybe an xml file)?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Lehr, Theodore wrote:
Is it possible to use flash to write to a text file (maybe an xml file)?
You can write to user chosen files using the FileRefernce class. You can
also use network comunication/ExternalInterface to cause other
applications to write to files. If you use AIR, you have
Hello :)
in the FP10 see the FileReference.save() method
http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/
EKA+ :)
2010/5/6 Lehr, Theodore ted_l...@federal.dell.com
Is it possible to use flash to write to a text file (maybe an xml
file)?
You may want to take a look at red5phone, if you haven't already:
http://code.google.com/p/red5phone/
--
Andrew Murphy
Interactive Media Developer
amur...@delvinia.com
Delvinia
370 King Street West, 5th Floor, Box 4
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
Perhaps my methodology is wrong - here is what I want to do:
Say I have 100 links... I want to track which ones get clicked the most and
have something like Top 10 links and have those be the ones that get clicked
the most. My thought was to have a text file on the server that I can add to
import flash.net.FileReference;
var s:XML = categorynode id=testHello/node/category;
var file:FileReference = new FileReference();
file.save( s, testing.xml );
On Thu, May 6, 2010 at 8:13 AM, ekameleon ekamel...@gmail.com wrote:
Hello :)
in the FP10 see the FileReference.save() method
Use PHP or something like that as middleware. However can more than one app
instance run at the same time?
On Thu, May 6, 2010 at 8:24 AM, Lehr, Theodore ted_l...@federal.dell.comwrote:
Perhaps my methodology is wrong - here is what I want to do:
Say I have 100 links... I want to track which
Jason Merrill says he sent an earlier reply concerning my question about how to
write my switch statement. No, I don't recall seeing it. I just resurrected it
with Google, and thank you! This works:
pageDetails = xmlData.PAGE.(@pg_name == contact).DETAILS.text();
Meanwhile,
not in a php environment - pretty much has to be a pure flash solution - if
possible...
From: flashcoders-boun...@chattyfig.figleaf.com
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki
[edole...@gmail.com]
Sent: Thursday, May 06,
Whoops. Now I have this in my XML:
DETAILSh3Senior Citizen Discount/h3
bDelta Electric and Construction Co., Inc./b finds its pricing to be fair
and reasonable. Their prices are competitive and based on the local market
rates. Delta Electric offers a 10% discount to Senior Citizens living
http://www.w3schools.com/xml/xml_cdata.asp
On 6 May 2010 14:56, John Singleton johnsingleton...@yahoo.com wrote:
Whoops. Now I have this in my XML:
DETAILSh3Senior Citizen Discount/h3
bDelta Electric and Construction Co., Inc./b finds its pricing to be
fair and reasonable. Their prices
Wrap your text with XML character data, i.e.
DETAILS![CDATA[h3Senior Citizen Discount/h3... ]]/DETAILS
--
Kenneth Kawamoto
http://www.materiaprima.co.uk/
On 6 May 2010 13:56, John Singleton johnsingleton...@yahoo.com wrote:
Whoops. Now I have this in my XML:
DETAILSh3Senior Citizen
Is there a reliable way to have one video track, but then swap in
audio tracks on the fly and have them sync properly? The client wants
a 26 minute video which would be in English, but then also have 8
other language versions that would be dubbed, eg the audio would play
over the video. We're
Lehr, Theodore wrote:
not in a php environment - pretty much has to be a pure flash solution - if
possible...
Flash has no server power at all. It can make HTTP requests and do
socket connections, that's it. No random file writing on other computers.
I understand what a binary search algorithm is, but am wondering how
that could be implemented on an array in Actionscript (if at all)
without using methods that would defeating the purpose of a binary
search (speed). Anyone have experience in this area?
So for example, if you have a list like
Merrill, Jason wrote:
I understand what a binary search algorithm is, but am wondering how
that could be implemented on an array in Actionscript (if at all)
without using methods that would defeating the purpose of a binary
search (speed). Anyone have experience in this area?
So for example,
- Original Message
From: kennethkawam...@gmail.com kennethkawam...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Thu, May 6, 2010 9:08:22 AM
Subject: Re: [Flashcoders] XML Question
Wrap your text with XML character data,
i.e.
DETAILS![CDATA[h3Senior
Just compare the middle element, if it is bigger, use the left half,
else use the right half.
I don't follow - can you post an Actionscript example?
Jason Merrill
Bank of America Global Learning
Learning Performance Solutions
Join the Bank of America Flash Platform Community and visit
the most important thing being as Hendrik said that it is sorted, which in
your example it is not.
Say you have:
[apple, banana, cherry, kiwi, orange, peach pear, pineapple,
]
and you are looking for banana:
middle element is orange (or kiwi)
take apple, banana, cherry, kiwi,
middle element is
/**
* Generates an array of random numbers from 1 or 0 to max
where all numbers through max are used, and no number is zero (if specified).
* Specify true if no zeros are to be included, specify false
if zeros are to be included in the
Jason Merrill says he sent an earlier reply concerning my question
about how to write my switch statement.
No, I don't recall seeing it. I just resurrected it with Google, and
thank you! This works:
Well, THAT's annoying (not your fault though)- do you see this reply? I
hope I'm not being
Merrill, Jason wrote:
Just compare the middle element, if it is bigger, use the left half,
else use the right half.
I don't follow - can you post an Actionscript example?
//warning, not fully correct, will infinity loop
while(leftright) {
var middle=(left+right)/2;
var
in the FP10 see the FileReference.save() method
That's a bit misleading. You might want to also tell him what else he needs on
the server side to use that. You can't just use FileReference to save an XML
file on anyone's computer. FileReference won't let you write files locally
from the
Ah - I see - very good, thanks! But you also need to employ some logic
at looking at the characters in the string - first the first letter,
then once you get down to a list where they all have the same first
letter, then take the second, and so forth until you only have one item
left - sounds
Merrill, Jason wrote:
in the FP10 see the FileReference.save() method
That's a bit misleading. You might want to also tell him what else he needs on
the server side to use that. You can't just use FileReference to save an XML
file on anyone's computer. FileReference won't let you write
Ah - new in Flash player 10! I didn't know that. Ok -my mistake. Was never
possible before - good to know.
Jason Merrill
Bank of America Global Learning
Learning Performance Solutions
Join the Bank of America Flash Platform Community and visit our Instructional
Technology Design
Hi Jason,
the complexity probably isnt that hard. You have s, you look at
wordlist[wordlist.length/2], you find a g, so clearly you have to repeat
that for the upper half of the list etc. Dictionary is not going to work
here at least not on the whole words, you would have to store partial
lookups
Thanks - no, I only mentioned Dictionary to see if anyone knew if
looking something up in a Dictionary object was faster or slower than a
binary search.
Jason Merrill
Bank of America Global Learning
Learning Performance Solutions
Join the Bank of America Flash Platform Community and
Warning: Typical TechCrunch hyberbole and schadenfreude ahead.
Scribd CTO: “We Are Scrapping Flash And Betting The Company On HTML5″
Read more: http://techcrunch.com/2010/05/05/scribd-html5/?qfds#ixzz0nBF5BxSv
___
Flashcoders mailing list
Right tool for the job? IMO Flash has never been that great at displaying
documents.
On Thu, May 6, 2010 at 12:45 PM, Matt S. mattsp...@gmail.com wrote:
Warning: Typical TechCrunch hyberbole and schadenfreude ahead.
Scribd CTO: “We Are Scrapping Flash And Betting The Company On HTML5″
Read
I wasn't much of a fan of the scribd docs. Not easy to search out your
keywords. Different tool for different jobs.
With a different view, this could be competing directly with apple since you
can get some of the same content w/o paying for it through the app store?
Who knows...
On Thu, May 6,
saw this video on the following comments. nice dry delivery, very funny:
http://www.youtube.com/watch?v=rfmbZkqORX4
From: mattsp...@gmail.com
Date: Thu, 6 May 2010 15:45:07 -0400
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Scribd CTO: “We Are Scrapping Flash And Betting The
On Thu, May 6, 2010 at 9:51 PM, Steve Mathews happy...@gmail.com wrote:
Right tool for the job? IMO Flash has never been that great at displaying
documents.
I've been using Flash to display document for just over a year now, I must
admit, I didn't (and still don't) think it is inappropriate.
On Thu, May 6, 2010 at 8:45 PM, Matt S. mattsp...@gmail.com wrote:
Warning: Typical TechCrunch hyberbole and schadenfreude ahead.
Scribd CTO: “We Are Scrapping Flash And Betting The Company On HTML5″
Read more:
http://techcrunch.com/2010/05/05/scribd-html5/?qfds#ixzz0nBF5BxSv
I agree with
static public function hex_to_ascii(sText:String):String {
var thisHexChar:String;
var retString:String = ;
for (var i:int =0; i sText.length/2; i++) {
thisHexChar= sText.charAt(i*2).toString() +
sText.charAt((i*2)+1).toString();
Hi Matt,
You could probably put the 8 other languages into mp3 files, which you can play
back using the Sound class. Sound.play() has an optional startTime argument,
so you can start playback at any position in the mp3.
Suppose the user is playing back the FLV in English, then switches to
I found the problem
When I use writeUTFBytes something transform my string and send the data
wrong...
if I use writeUTF same thing...
I tryied writeMultiByte but the string goes to 2 bytes...
but i dont know what charset use
I really need this, can some one help me?
--
Rafael Lúcio
What is wrong with parseInt(str,16)?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
https://bugs.adobe.com/jira/browse/FP-3551
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
43 matches
Mail list logo