Questions
Recently active
I am trying to built a custom class and wonder if it's possible to create a text field that will show in Flex project for example, simple script like the one below, will create a text field in Action script project, but if I want the text to be displayed in Flex project what do I do? I am not sure if it's even possible... PS I can't use the compile swf file since the info is being pushed dynamically and I want to be able to move the message on the screen. package { import flash.display.Sprite; import flash.display.MovieClip; import flash.text.TextField; public class text extends MovieClip { public function text() { var field:TextField = new TextField(); addChild(field); field.text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi tortor purus, aliquet a, ornare ac, suscipit a, est."; } } }
We are currently evaluating Flex 2 and I have come across an issue with ModuleLoader Here is my setup In my main mxml I have this (Code Snippet): <mx:HDividedBox width="100%" height="100%" styleName="DividedBox"> <mx:Accordion width="200" height="100%" left="0" top="0" styleName="Accordian" id="accManagement" selectedIndex="0"> <mx:Canvas label="Services" width="100%" height="100%" id="accServices" styleName="Accordian"> </mx:Canvas> <mx:Canvas label="Directories" width="100%" height="100%" id="accDirectories"> </mx:Canvas> </mx:Accordion> <mx:ModuleLoader id="modServices" url="modules/Services.swf" width="100%" height="100%"/> </mx:HDividedBox> You can see I'm doing a ModuleLoader to services.swf. The issue I am having is that the module loads fine, but the module itself isn't taking up 100% width and height, its shrunk down as far as can be. If I add a border around this moduleloader tag, I can see that it is correctl
I've seen a few posts on this error but none of them seem to solve my issue. I'm trying to upload some files via a FileReference object, with a CF backend. The CFC works fine with smaller files (eg under 300k), but with files over this size, sometimes it works, sometimes it doesn't. When it doesn't work, I get the following I/O Error: IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038: File I/O Error. URL: my URL The server side script is working, as I can try and upload a smaller file, and it works. But when I'm getting the I/O error, the app stops before it even reaches the CFC. I've set a Progress listener to the FileUpload object, and it seems to just slow down and eventually stop, throwing the I/O error before file upload has reacherd the total bytes of the file. Does anyone know what might be going on here? Thanks, K.
I guess I must have stupidly changed something, but now my problems panel only fills when I click Run and not when I click Save as it used to. Anyone got any idea how I might put this back to normal? Doug
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.