header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
David
Points:0
Posts:0

5/7/2011 7:31:57 AM

Title: Adding CV as is to Flash portfolio


I'm making a portfolio in Flash for my college assignment (HND) and I need to add my CV to the portfolio. However, the standard way of adding text via components will not allow me to have paragraph gaps which I need for the portfolio to be easy to read (all in one stream looks messy). There is a height limit to my portfolio so I cannot add the whole CV as is without overspill resulting in cutoff.

The CV is in a Microsoft word file which I would prefer to either embed directly or copy across.

How would I solve this? I am using Actionscript 2.0 is Flash CS5/CS4.

Thanks



1
Flash_Guy
Points: 850
Posts:0
5/7/2011 10:37:33 AM



you can use html text instead of using plain text in your textfield. And in html you can use the <br> tag to place line breaks. Also in plan text you can use \n for creating a line break.

2
David
Points: 0
Posts:0
5/7/2011 4:57:09 PM



Which component should I use for this? I've edited the text with the <br /> replacing line spaces but I don't think HTML will work for the method of scroller that I am using since it is actionscript based. I am following a tutorial at:
http://flashexplained.com/basics/how-to-use-the-uiscrollbar-component-in-flash/

I have tried using the TextArea component but it won't let me paste the CV with HTML (I'm not sure if the HTML is preventing it or general pasting). Being a CV, the text is quite long.

Thanks

3
Flash_Guy
Points: 850
Posts:0
5/8/2011 7:17:19 AM



use the textarea component there is a in build scrollbar in textarea component that will appear once the text exceeds the width or height of textarea component. To set HTML text you need to set the text dynamically using actionscript like this

//here myText is instance name of your textArea component . Instance name can be given using the properties window while keeping the component selected in flash.

myText.html=true;
myText.text="text in flash<br> text in flash ";



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions