Encoding Information In A Flash App
Hello. I recently have been working on a Math tutorial in flash. This tutorial has examples and other things in it. I already have completed the trigonometry and geometrical formula segment. I am now working on the advanced algebra segment, and am working specifically with matrices. WHat I wish to do in this matrix example, is to demonstrate to students real life applications. I wish to have a random mesage entered, of only western letters and all normal characters but no numbers at this point. (I would love to write this for foriegn letters, and languages such as ancient greek but have no idea how to even get flash to recognize these languages). A sample message could be, "flash is fun". What I want to do is set up a system for converting characters to numbers(since f is the 6th letter of the alphabet, we'll say f=6 and so on, spaces wil be 0) so flash is cool=6,12,1,19,8,0,9,19,0,3,15,15,12. Then I want to convert these numbers into 2x1 matrices, so matrix 1 would be {6,12} matrix 2 would be {1,19} etc. Then I want to multiply each matrix by a random 2x2 matrix which has an inverse, or for simplicity we'll say just matrix {2,1} {1,1}. We then get a totally new code, so matrix 1 now would be 24,18 i believe. THis would end the encoding part of the flash app. Next I want to decode it, so I'd multiply the new code or encoded message by the inverse of the matrix I multiplied matrix 1 by(the inverse would be {1,-1} ). {-1,2} This would get me the original matrix 1. I want the app to translate this matrix to its letter equivalent so matrix one,or 6,12, would be "fl". In this way, students can see how each step is completed and how they might have gone wrong. I realize this would be a hard and complicated script and will gladly give credit for this app to anyone who helps. I believe flash would support this kind of programming, but if not I know java will, so if any of you are fluent in java I could use your help too. When I post thjis, the matricesmight get out of order, so if u need the numbers email me, but in general how would u do this.
FlashKit > Flash Help > Flash MX
Posted on: 12-14-2002, 12:10 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[CS3] Inputting Information And Retrieving That Information In Flash
I’m using Flash CS3 Pro and I need to create a form in which a user can input data such as their name, email and other information. Then when the user returns, they are able to input their e-mail address and pull up their information (name and other submitted data). I have search all over for a tutorial but I have had no success. I would greatly appreciate it if someone could show me how to create such a form or let me know where I can find a tutorial or information to create one. Thanks in advance.
Inputting Information And Retrieving That Information In Flash
I’m using Flash CS3 Pro and I need to create a form in which a user can input data such as their name, email and other information. Then when the user returns, they are able to input their e-mail address and pull up their information (name and other submitted data). I have search all over for a tutorial but I have had no success. I would greatly appreciate it if someone could show me how to create such a form or let me know where I can find a tutorial or information to create one. Thanks in advance.
Flash Encoding
I have several videos created in my NLE and rendered into mpg videos. Some of them I have been able to convert to a Flash Movie in flash, and others I am having problems with. I have some that have no "Video" to encode but has audio to encode. I have some that have "Audio" to encode and no video to encode. If I click on the original movie file, it will play just fine in my windows media player. Is there a way to fix this without having to recreate the movie?
[AS2, XML]Flash, UTF-8 Encoding
Hi!
Is there an embeded function in flash which can decode an utf-8 encoded strings. The strings are loaded from XML.
I don't want to change the XML file because it's created dynamically with PHP and I need strings to be utf-8 encoded so PHP can read them. I've read many articles about saving a utf-8 encoded XML file with PHP, but it seems like there is a bug with PHP. So i decided to remake all the things and now I have to deal with flash.
Thanks in advance.
Flash And XML Encoding
Hi there....
I'm new to flash but not new to programming so I bought SitePoint's book The Flash Anthology...
There's an example in there which I rewrote to suit my needs...
It's just plain textField which reads my RSS file(xml) and displays news...
The problem is that the RSS has Windows-1250 encoding and some characters are not shown correctly when the Flash reads the values to textArea...but if I manually(via ActionScript) enter those letters in textArea they are shown correctly...
Any help would be appriciated....
XML To Flash Encoding Problem
All right, yet another problem has arisen (didn't get helped with the last one so I had to make my flash work a different way...).
Now, I use an XML to place all my info for a portfolio i'm preparing and with flash, I go fetch that info. Simple and clean, it really does work rather well.
That is, until I check out what info the flash managed to pluck out in the swf...when I take a look at what I wrote in the XML, flash inteprets it as a whole bevy of weird caracters (é’).
My flash already has the
Code:
System.useCodepage=true;
and my XML has this
Code:
<?xml version="1.0" encoding="utf-8"?>
as it's encoding...
Did I choose wrong or something? It worked up until a while ago...randomly went out of whack when I tried to use an HTML document to load the .swf...and it stayed that way.
Flash Text Encoding
hi,
i have an interaction flash -> sql -> flash, and i'm having some problems with text encoding.
i have special characters in DB like 'ç', 'ã', 'é', and so on, and when text arrives to flash, these charactes are little squares, but in PHP they are fine.
how can i fix this? in DB (another encoding?), in PHP ou directly in flash?
thanks
mrocha
Encoding Strings Into Flash
I have an asp page which sends values into flash using &var=value
if the value has an & symbol in it then it fails, so i use server.urlencode
in the asp page to change the & symbol in the string. This usually works
well, but i now have problems if the string contains any unicode characters,
which when urlencoded do not get correctly displayed in flash.
I hope that explains the problem, any pointers would be greatly appreciated.
Flash & JS Communication - Encoding?
I have managed to send variables from a html form via Javascript to a Flash.
The user inputs a messsage which is sent to Flash. But the problem is that the Swedish characters åäö ÅÄÖ are not sent.
Has anyone got a solution for this? My JS to Flash communication is based on this:
http://www.mustardlab.com/developer/...communication/
This is my code:
< ---snip --->
<script type="text/javascript">
function updateTxt(){
var userinput = document.getElementsByName("addtobasket")["addtobasket"]["textinputValues[0]"].value;
setFlashVariables('sendmovie','r_currentInput='+userinput);
}
</script>
<input type="hidden" name="required[0]" value="_optional_">
<input type="text" name="textinputValues[0]" value="" maxlength="20" />
<a href="javascript:updateTxt();" class="txtButton">Uppdatera!</a>
< ---snap --->
Flash Encoding On A Server?
Hi,
I'm trying to find the best solution to encode video files uploaded from a website to the server into .flv and produce a thumbnail.
I have found some software called Sothink Video Encoder which does all of this through command line which i think is ideal... it costs $600 though.
Is there a good solution out there?
Thanks,
Mike
Flash Built In JPEG Encoding?
Hi everyone.
I'm pretty new to Flash, so I'm not familiar with action scripting. I'm currently doing a website in director which involves the user uploading an image to the site. Unfortunately, shockwave doesn't have built in JPEG encoding, and uploading the image uncompressed would be too time consuming. There are however some pretty expensive xtras out there, which I'd rather not use.
I was just wondering if Flash had the ability to encode images to JPEG? If so I could probably pass the image to a flash movie, encode it and then pass it back - or upload it from the flash movie.
Or if that ain't possible, can anyone suggest anything else I could use to encode the image?
Thanks!
Tim
Encoding Text Between MySQL And Flash
hi everyone!
i set up a database based on the encoding UTF-8 unicode, and when i'm sending variables to flash via PHP (loadvars), all the accents (éèàü, etc.) disappear.
Am i using the wrong encoding for text in mySQL? any suggestion?
thanx
Transparent Flash & Local Encoding
Hi there,
I've such a problem: when I make my flash movie's background transparent using wmode="transparent" attribute of the object tag, the input text fields inside it starting to work uncorrect: it's possible to type in only an english letters. When I try to type in letters in other languages it types the english letters placed on the same button on the keyboard...
And I can't see the cursor, too.
Any help appreciated.
Flash 8 Video Encoding Error
I edited a video file using Windows Media Maker and saved it as .wmv file. I was trying to import the video into Flash 8 and unfortunately I get this error
The source file [filename] contains video in an unsupported format and cannot be encoded.
Well, after that I encoded from wmv to avi and mpg but the same error comes out. Not just that, every video I try to import into Flash 8, I get the same error.
Someone please give me some advice on this.
My video file is here : http://sung-siew.com/tmp/disco_ext.wmv
It's a 5 MB wmv file, any help on encoding the video to FLV or SWF is greatly appreciated.
Thanks.
Flash Video Encoding Upside Down ?
All the sudden my Flash 8 and flash Video Encoder import my source videos UPSIDE DOWN.
They export FLV files UPSIDE DOWN.
The source footage plays normally in Affter Effects, Premiere Pro, WIN Media etc...so what gives?
Who has solved this problem?
I need a fast solution.
Edited: 02/02/2006 at 01:17:33 AM by joshIMPinc
Flash Video CS3 Encoding Problem
I used Flash Video with Studio 8 many times, but ran into a problem with
CS3. I'm finding that the videos are only encoding about 3/4's of the video.
It appears to finish encoding, but when I view the video, the video stops at
approx. 3/4s of the way. Any suggestions? I've tried it importing several
Quicktime videos, all with the same result.
Thanks
Susan
Lossless (or Nearly) Flash Video Encoding
I'm trying to create Flash video from an HD After Effects sequence, but all of the encoding options/methods I try are too lossy. Does anyone have a suggestion for a method to get lossless, or nearly so, quality HD into Flash Video? This is for an offline presentation and so file size isn't an issue.
I've tried direct FLV exports with both VP6 and Spark at maximum data rates. I've also tried compressing to quicktime with H.264 and then converting that to FLV to see if the intermediate H.264 encoding would ease the FLV compression drops without success.
Any help would be appreciated. Thanks.
Flash Media Encoding Server
Hi,
in order to evaluate this software, i'm seeking for some documentation (manuals, guide, ...) but all i found is PDF commercial brochure... do someone now where i can find more info ?
I'm seeking also for a "devellopement edition" in order to test it... does it exist ?
Thanks for your help
Flash Media Encoding Server
Hi,
in order to evaluate this software, i'm seeking for some documentation (manuals, guide, ...) but all i found is PDF commercial brochure... do someone now where i can find more info ?
I'm seeking also for a "devellopement edition" in order to test it... does it exist ?
Thanks for your help
Flash Media Encoding Server
Hi,
in order to evaluate this software, i'm seeking for some documentation (manuals, guide, ...) but all i found is PDF commercial brochure... do someone now where i can find more info ?
I'm seeking also for a "devellopement edition" in order to test it... does it exist ?
Thanks for your help
Playing MPEG, AVI And FLV In Flash - Without Encoding
Hi,
I was trying to play different video formats in flv player, but as known flv player plays only .flv files. Is there anyway by which we can stream different video formats in flash i.e. either of MPEG or AVI. I do not want to use any encoder, using which manually i must encode the files first and then play. Moreover at the end of the day, i want to use this application in Linux in which i cannot install encoders.
The application is in this way, an XML file will have all the list of filenames, from which i want to read and play in flash subject to click and the xml file can have any format video files.
Any help please.
Thanks in advance.
-Gopal
Best Software For Encoding Flash Video?
I'm working on a site and have been using wildform flix pro to batch encode a load of videos and export the html.
but the powers that be have asked me to look into using macromedia flash instead.
are there any real benefits of using one over the other?
or are there any better options than these two?
thanks
Flash-Keyboardlayout Or Encoding In Mozilla/IE
Hi.. i discovered some weird error.
I've done a game with a form to submit a score. The field for the mail-adress is a simple textfield. When using IE to edit in this textfield everything is like it should be..
But when using Mozilla Firefox the Keytbale somehow has changed. Than ths @-Symbol is not on AltGr-q, but on Shift-2 ans all the Shift-<Number> Signs are like american layout or something.. but the german characters äöüÄÖÜ are on the right place.. so its some kind of mixed up keyboardlayout..
its also in the contact-form.. every textfield shows this behaviour..
i cant figure out, whats the problem here.. Anyone got an idea??
How To Load A Big5 Encoding.txt File To Flash
Hi, all:
Now I am trying to load a Big5 encoding txt file(Chinese word) to my flash, but after I load the data from the text file to my flash textfield, it cannot display the correct word (show some symbol that we donot know), so I thought maybe I need set something to my dynamic textfield, pls help on this.
BTW, if the text file encoding is UTF-8, it can be loaded and displayed, I try it already.
Regards,
yang
Multibyte Encoding For Flash 5? Czech-speakers, Help
I need to create some flash movies in Czech and Slovak using Flash 5. I know how to make special characters like r-caron (the one with a little crown on it) appear by using Unicode 'u0159' or String.fromCharCode(345), but these only appear properly when I set the publish settings to Flash 6, which is not an option.
What did Czech- and Slovak-speaking developers do before MX? Live with spelling mistakes? Did they have to avoid Flash altogether?
E.T.
Encoding Problem Flash MX Posting To ASP (JMail)
Hi!
I have a problem with posting text from a Flash form to
an ASP page, which creates a mail with JMail.
I retrieve the text fields by Request.Form("[name]")
in the ASP page, and the mail is sent to the correct e-mail
address - the problem is that foreign characters such
as Swedish ones gets screwed up in the mail.
I've tried to find help by searchin' for a solution on
the web, but I think I need help from you guys. From
what I understand, Flash uses the encoding UTF-8 to
send unicode-characters. It seems like JMail can't
handle that encoding very well, since the foreign
characters are replaced by all kinds of junk.
Any ideas?
Thanks, I really appreciate it!
/a n d i
Any Solutions For IE/Flash/Content-Encoding:gzip Bug?
Hi, guys & gals, just wanted to check if anyone has come up with in-flash (not javascript or php) workarounds for the bug that happens when you try to load data from a server from a swf running inside IE, but the server returns it with content-encoding:gzip. The problems is described in detail here: http://blog.jasonnussbaum.com/?p=155 .
Flash Video Encoder Stops Encoding
Hello,
I've been using a lot of FVE lately. It was working perfectly since this morning, and I can't figure out what the problem is.
I use uncompressed AVI files and then convert them to flv, 700 Kb, On2 VP6 files (no audio). For some reason, the encoding porocess stops after a while, more or less always at the same frame. The thing is, the log from FVE doesn't report this error and FVE seems to consider everything went fine. When I open the resulting flv, it appears to be normally long, but the playback stops at the same moment the encoding did.
Has anyone a clue ? I would surely appreciate it...
Thanks in advance
Boris
Problem Encoding QT Movies To Flash Video
We are able to encode Quicktime movie files if they are small to Flash Video with no problem. But when we try to do larger files, after running for a while, Flash Video Encoder will give an error message but does not define what the error is. If our files are small, such as a 8-10 minute video and file size of around 1G we don't have a problem. Right now we are trying to encode a 20-25 minute long video which is 3G in size and keep getting an error. Any suggestions will be appreciated! Thanks, Bobby Hankins, bhankins@pinnacleimage.com
Flash Media Encoding Server - FMES
Hello all,
I'm checking integration for fmes in my organization.
and I encountered some riddles.
Is there a posibility to preserve the fps/w*h etc. from the original file when encoding?
Can I define jobs outside of the administration with scripts?
I understand there a possibility for xml job submission, what's the xml template for this?
Thanks,
Zaki.
Rendering An External Doc. File In Flash And Encoding
Hi there, I just wanted to ask, is it possible to render a text from doc. file or txt. or another document file in flash? I know it can be done with html file (I saw that great tutorial) but imagine that You will make a web page containing a swf. file and someone how touches computers only to write documents will want to put there - into the flash file some news... (like 14th October - we decided to end the fact of relativity)
And I also wanted to ask... does flash support Encoding - for example middle Europe? It could be probably found somewhere in flash help right? Well that thing is a little bit confusing for me because when I search something... It always finds something different.
For both questions - here is a http://www.36odyssea.wz.cz/ - I would like to rework this web-page fully to flash. Because this way, it doesn't look good enough. :?
Thanks for the answers. M72
PS.: Excuse my non-perfect English please. :shock:
Flash Media Server Video Encoding Setting
Hi all,
I tried to encode some of my DiVX Avi files into FLV files. However, the Video Encoder only allows me to select from a few preset settings. The "Encode Video" portion under the "Advanced Settings" is totally greyed out. I reckon that there must be a way to enable those settings; does anyone know how?
Flash CS3 AS2 : Getting URL Information
Hi,
Is there a way to get the URL address and display it in a flash movie.
so for example, lets say i have a flash movie in a HTML page called www.somesite.com/somepage.html. So what i want to do is to have a flash movie in this page that will have a dynamic text which will display the page's URL.
thnx
Need Some Information About You Flash People
Hi, I am new to all these graphic designing stuff and I am very excited and ready to learn. What I wanted to know is how everyone started off learning flash. I am planning on taking a 5 week course on flash do you guys think it's a good idea? My major is Graphic design so Flash will come in handy in the future for me. Please tell me what else do I need to learn in order to master flash. I know a little bit of Photoshop and Frontpage. Any other programs I should know in order to make a good flash site? How did you guys learn flash, through school or just reading tutorials? I've try reading the tutorials and they are a great help but what they teach me isn't enough to get me start because I don't even know what to do first. WEll anyways, reading the forums motivate me alot into making a flash site! Thanks!
Pulling ASP Information Into Flash
Hi all,
I have the following HTML based code below that displays the latest news headlines. These are updated by the BBC on a regular basis.
<script src=http://www.linkyournews.com/doapplet.asp?appletid=72634080&SelReg=UK>
</script>
Can the contents of what is received be fed into a flash file - so for example, they could be scrolled across the screen in one continuous line?
Many thanks,
MacLemming
Extracting Information From Flash
Hi pple, can anyone teach me how to extract information from a flash form?
Example, i have a form for pple to fill up the quantities and products. Upon clicking submit, the program will generate a reply to me (or my email) telling me the orders: quantities and products.
Can anyone advise me?
Regards,
Wat^up>doc
Information Form In Flash?
hello...i am quite new to all this..
i am trying to create a form in flash...so that my clients can get on my mailing list.
my goal is to have people submit their vital info...name, address,etc...so they can be on my mailing list.
i have built a form in dreamweaver...but can not import it into my all flash website...is there any way to do this.?
how do i make it so that the iformation inputed into the form goes to my email address...?
thanks...
[F8] Information - Flash Book
Hiya,
I dont know if it's the right section... anyway.
I'm an actionscripter and I'm looking for some information about effects and filters we can produce in flash 8 to improve my knowledge and imagination.
I'm used to read blogs and forums but I'd like to know if I can find some books to learn quicker.
So, do you know some books about effects, filters, tips, etc?
Or at least, some very good website with a lot of tutorials and sources?
Thanks for your advices.
Romu
Passing Information To Flash
Hi,
sorry if this question is too basic but i can´t seem to find how to do it.
I need to do what youtube does when they give you an embed code. For instance:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/V6x3Ipo2IXI"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/V6x3Ipo2IXI" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
How does "http://www.youtube.com/v/V6x3Ipo2IXI" end up being a flash player with information about the movie it has to play?
Thanks. Ed.
Saving Information From Flash
I have a flash page where they users will answer about 50 question, it's all yes or no question, and they are all in the same page.
Now I would like to know how can I save the information so that the user can finish it later. I would like to do something like a save button and a load button, so the user would click save, and it would automaticly save the question, and when the user is back and click on load it would load the answers he completed.
any help it would be nice.
Win XP New Information Bar Blocks Flash... ?
Hi guys!
I just installed the new Windows XP Service Pack 2 on my machine
and it is such a pain in the neck!
Any of the websites that I visit now with flash or any active x content
are blocked by this ANNOYING info bar at the top that you have to click
to disable every freaking time you load the page!
Does anyone know what is up with this?
The security controls for IE cannot be lowered under MEDIUM ...won't let you!
And thus ... you can't do anything ! UGH! Anyone know how to deal with this?
I mean, I guess we all want to keep the Service Pack, but not with these
annoying side effects!
Btw, it also changes your Network Connections panel look...
It makes it "easier" ... I liked it better before. More control.
Now it looks ... Appleish. *gasps*
Oh, and you better have a firewall, an antivirus and automatic updates
all installed and enabled, otherwise it tells you to get them turned on in
the system bar...
AAAAAAAAAAAAAAAAAAH!
HELP!!!
How Is Information Stored In Flash?
So I know one can use MySQL and PHP to store information (which I've been doing for years), but now that I'm learning Flash, I'm wondering what the most common way of storing text is for use with Flash.
When going to some flash-only websites, I notice they have recent news and other dynamic text that's displayed. Where is this text most likely being pulled from and how is it placed there? Also, how is the text retreived into Flash?
Thanks for the help!
Win XP New Information Bar Blocks Flash... ?
Hi guys!
I just installed the new Windows XP Service Pack 2 on my machine
and it is such a pain in the neck!
Any of the websites that I visit now with flash or any active x content
are blocked by this ANNOYING info bar at the top that you have to click
to disable every freaking time you load the page!
Does anyone know what is up with this?
The security controls for IE cannot be lowered under MEDIUM ...won't let you!
And thus ... you can't do anything ! UGH! Anyone know how to deal with this?
I mean, I guess we all want to keep the Service Pack, but not with these
annoying side effects!
Btw, it also changes your Network Connections panel look...
It makes it "easier" ... I liked it better before. More control.
Now it looks ... Appleish. *gasps*
Oh, and you better have a firewall, an antivirus and automatic updates
all installed and enabled, otherwise it tells you to get them turned on in
the system bar...
AAAAAAAAAAAAAAAAAAH!
HELP!!!
How Is Information Stored In Flash?
So I know one can use MySQL and PHP to store information (which I've been doing for years), but now that I'm learning Flash, I'm wondering what the most common way of storing text is for use with Flash.
When going to some flash-only websites, I notice they have recent news and other dynamic text that's displayed. Where is this text most likely being pulled from and how is it placed there? Also, how is the text retreived into Flash?
Thanks for the help!
Flash Information Resources
Could someone suggest me some flash information resource. Need to get much info on Flash and ActionScript - particularly - to work with XML DOM in Flash
|