|
|||
|
First off, great package!
I'm trying the demo to see how easy it will be to save text files locally using Flex as the main movie and I guess between being new to SWFKit as well as AS3 scripting in general, I'm having trouble saving a simple textfield. Using a simple prepopulated textfield and one button in Flex and I import the FileStream.as file and Dialogs.as file I get an error at compile time that says the ret:* reference in the FileStream.as has no type defined. Is it possible for anyone to show me a very simple, working example of saving a textfield straight from Flex using the classes? I assume the SWFKit classes are perfect so obvioulsy it's something on my mxml side so an example mxml that does this (again...I just need a simple working one) type of thing would really help me learn what I'm doing wrong and definitely allow me to justify the purchase since this basic ability is paramount to my needing SWFKit. I'm not sure if I'm not importing the right .as files or what I'm doing wrong ??? EDIT: I probobly should have mentioned I was using the FileSave example from the samples which is why I imported the Dialogs.as. I'm sure I screwed up something trying to convert it to AS3 but can't even guess what. Sorry again. |
|
|||
|
Well, I've tried falling back to the fscommand version and it creates the file with the name I specify but using the example which retrieves the _root.nameoftextfield.text method it simply writes nothing because Flex does things differently.
As it stands I'll have to try another wrapper as I was hoping to have a solution by this evening. Thanks everyone for your time. Anne |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|