Text in my flash ad is editable, how to lock it?
Hey,
I have made a simple flash ad with Adobe Flash CS4. I have placed my animations and my text in it, however I found that when I will move mouse over text in this ad, coursor changes just as it would be some text written in html. Too bad when you will click on this text you can edit it! I was able to delete all my text and insert something different easily. Why is it happening? How can I lock it?
(Yes this takes place in published swf file)
Thanks you for any help, this is driving me crazy as I can't find this by myself.
Change your textfiled property from property panel from input to dynamic textfield and set selection to off
Similar Messages
-
Text in my swf is editable, how to lock it?
Hey,
I have made a simple flash ad with Adobe Flash CS4. I have placed my animations and my text in it, however I found that when I will move mouse over text in this ad, coursor changes just as it would be some text written in html. Too bad when you will click on this text you can edit it! I was able to delete all my text and insert something different easily. Why is it happening? How can I lock it?
(Yes this takes place in published swf file)
Thanks you for any help, this is driving me crazy as I can't find this by myself.I don't need to see it to understand what you have done. You have used an input textfield instead of a static textfield, so that will disable to the option to make it selectable (because it is an input textfield it has to be selectable).
To change the textfield, click it once on the stage to select it, and then in the Properties panel change it from an input textfield to a static textfield. You should see a drop down for making the selection. -
Text exported using flash createJS Toolkit - embedding fonts, @fontface?
Hi,
A text box in flash contained in a movieclip "MyTxt_mc" exported as per createJS toolkit results in lines in CreateJS script as :
(lib.MyTxt_mc = function()
{ this.initialize();
//text
this.MyTxt_txt = new cjs.Text("The actual text", "30px Arial");
this.MyTxt_txt.textAlign = "center";
this.MyTxt_txt.lineHeight = 32;
this.MyTxt_txt.lineWidth = 205;
this.MyTxt_txt.setTransform(102.5,0);
this.addChild(this.MyTxt_txt,this.shape);
Is there a way to insert getting web fonts from online libraries or from a font file held on the server? As I wish to use other than Arial or default device fonts.
I've read up about @fontface, but that's a little puzzling as to how to apply it to the flash - html5 output.
Help for how to / best approach and exact syntax would be greatly appreciated.
Regards
SteveTried replacing the Arrial Narrow font with a different one
from another coworker. Still no dice.
Tried repairing permissions. Nope
Tried making a new user and checking it there. Nope.
Moved the font from my Library to the system wide library.
Bupkiss. (Is that how it is spelled?) -
High Score Table: Writing a Simple Text File with Flash and PHP
I am having a problem getting Flash to work with PHP as I need Flash to read and write to a text file on a server to store simple name/score data for a games hi score table. I can read from the text file into Flash easily enough but also need to write to the file when a new high score is reached, so I need to use PHP to do that. I can send the data from flash to the php file via POST but so far it is not working. The PHP file is confirmed as working as I added an echo to the file which displayed a message so I could check that the server was running PHP - the files were also uploaded to a remote server so I could test them properly. Flash code is as follows:
//php filewriter
var myLV = new LoadVars();
function sendData() {
//sets up variable 'hsdata' to send to php
myLV.hsdata = myText;
myLV.send("hiscores.php");
I believe this sends the variable 'myText' to the php file as a variable called 'hsdata' which I want the php file to write into a text file. The mytext variable is just a long string that has all the scores and names in the hiscore. OK, XML would be better way of doing this but for speed I just want to get basic functionality working, so storing a simple text sting is adequate for now. The PHP code that reads the Flash 'hsdata' variable and writes it to the text file 'scores.txt' follows:
<?php
//assigns to variable the data POSTed from flash
$flashdata = $_POST["hsdata"];
//file handler opens file and erases all contents with w arg
$fh = fopen("scores.txt","w");
//adds data to file
fwrite ($fh,$flashdata);
//closes file
fclose ($fh);
echo 'php file is working';
?>
Any help with this would be greatly appreciated - once I can get php to write simple text files I should be ok. Thanks.Thanks for your help.
I have got Flash working to a certain extent with PHP using loadVars but have been unable to get flash to receive a variable declared in PHP. Here's my Flash code:
var outLV = new LoadVars();
var inLV = new LoadVars();
function sendData() {
outLV.hsdata = "Hello from Flash";
outLV.sendAndLoad("http://www.mysite.com/hiscores/test23.php",inLV,"post");
inLV.onLoad = function(success) {
if (success) {
//sets dynamic text box to show variable sent from php
statusTxt.text = phpmess;
} else {
statusTxt.text = "No Data Received";
This works ok and the inLV.onLoad function reports that it is receiving data but does not display the variable received from PHP. The PHP file is like this:
<?php
$mytxt =$_POST['hsdata'];
$myfile = "test23.txt";
$fh = fopen($myfile,'w');
//adds data to file
fwrite($fh, $mytxt);
//closes file
fclose ($fh);
$mess = "hello there from php";
echo ("&phpmess=$mess&");
?>
The PHP file is correctly receiving the hsdata from flash and writing it to a text file, but there seems to be a problem with the final part of the code which is intended to send a variable called 'phpmess' back to Flash, this is the string "hello there from php". How do I set up Flash and PHP so that PHP can send a variable back to Flash using echo? Really have tried everything but am totally baffled. Online tutorials have given numerous different syntax configurations for how the PHP file should be written which has really confused me - any help would be greatly appreciated. -
Substituting a graphic for text in a Flash header
I am using a simple Flash program with 4 lines of text -- the
final line being a company name -- for the header of a website. The
program works great. Current the text is dynamic with the text held
in a flash.txt file linked to the flash.fla file.
In place of the final line of text in the program, I would
like to substitute a graphic logo. The graphic I want to use
instead of text is basically the same size as the text. And I I
don;t need to change the animation text. I just want to be able to
use the graphic instead of the simple text. Is there is a simple,
easy way to substitute the graphic flie (say, a gif, or png file)
to the text in the flash program? I am assuming that this should be
easy, but I can't figure out howto do this (yes, I am relatively
new at this). Can anyone give me any suggestions, clues, or insight
into how to do this? Thanks very much for you help.
Thanks.Image,
Instead of entering a 1 for the grade, why not enter the date. Then instead of adding 1's to get the level, use COUNT(E1:I1). Condition your cell fill to "not equal to 0" and leave the text option unchecked. That way the date will show through the background.
pw -
Loading text file with flash lite 3.0 problem
Hello,
I recently ran into a problem with loading a plain text file with Flash Lite 3.0.
I know there is a way to load name/value pairs using LoadVars class or XML file using XML class. Both methods work great, but these classes parse the data loaded and I need to load just a plain text - no pairs or xml structure. (its because Im loading specific file format, so I can't make any changes to it)
There is a simple way how to achieve this in Flash using Actionscript 2 by extending the LoadVars class and overriding the onData() method. I used it plenty of times and it works fine.
There is an example of implementation:
// the PlainData.as file
class PlainData extends LoadVars {
function onData(str) {
trace(str)
this.onLoad(true);
// now in the main file
var my_data:PlainData = new PlainData();
my_data.load("my3dmodel.obj");
This code traces unchanged content of my3dmodel.obj file.
The problem comes when I try to run this code using Flash Lite 3.0. The code stops working just by changing player version in publish settings to Flash Lite 3.0. It doesnt display any error, but also doesnt trace any content.
Is there a reason why you cant override onData method in LoadVars class in lite version of flash or am I doing something wrong?
(also overriding onLoad() method works fine in Flash Lite)
OndrejThanks Man
But i m very unhappy !!! :-(
1M data to transfer my mp3 files is very small !!! hehehe
Thanks a lot
See ya
Carlos Eduardo Burko - Curitiba - Brazil - Macromedia
Certified Professional
"biskero" <[email protected]> escreveu na
mensagem
news:e98nrb$a6e$[email protected]..
> Ciao Carlos,
>
> yes you can load mp3. The only issue is that the FL2
will need to load the
> entire mp3 in memory which mean you are limited to the
avalable memory and
> also
> there is a limitation of 1M data transfer.
> Try to create a sample application to test it. You need
to use the
> loadSound
> API.
>
> Alessandro
> -
Subscript & Superscript in dynamic and input text field in Flash
Yes, <sub> & <sup> tags are not supported by
Flash but you can
use Subscript & Superscript in dynamic and input text
field in Flash:
Download & install Subscript & Superscript fonts
from
http://www.subscriptfont.com
or
http://www.superscriptfont.com
You will need to restart Flash software after installed
fonts.
Create a dynamic text field with Arial font embeded. Set the
HTML property to true.
Create a dynamic text field with Subscript font embeded.
Create a dynamic text field with Superscript font embeded.
Use HTML tag to set text to subscript or superscript like
below:
Some text<font face="Superscript">©</font>
If you are using ActionScript to test the htmlText, use
script like below:
my_txt.htmlText = "Some text<font
face='Superscript'>TM</font>";
They are better than CG since it goes lower than the baseline
and it's real subscript..Hi Nirnalatha,
I have newly joined this forum and while going through the
posts I came across your post which I thought I could help out. But
I think I am too late for the reply.
I am also into Flashlite development couple of months from
now. Coming to your questions:
1. Textbox problem: I am surprised to know that E70 mobiles
(Device central list has E70-1 only) does not show input text box
when cursor is in input box. Anyways its a good thing that you dont
get an additonal input box. Like all J2ME applications you will be
able to type the text inline. Infact we had reverse problem where I
was told to create inline edit input box instead of flashlite input
box. I think this is the mobile setting. Check the device features
in the Adobe Device Central under Flash - Standalone player - Text
and Fonts features. It will be mentioned whether inline text is
allowed or not.
2. Soft keys issues: You need to use
fscommand2("SetSoftKeys", "Previous", "Next");
and use a key listener in order to override the Mobile
Softkey commands. Check out the flashlite help which clearly
explains this.
Hope I have given youa way to solve ur problem. -
Alt hover text for a Flash animation?
Hi,
Is it possible to add alt text to a Flash animation so that
when a user
hovers over the animation, text appears in the same way it
does for images?
Thanks.
Nath.Thanks Fel_911,
I'm very new to Flash. Is there an easy tutorial on creating
the dynamic
text that follows the mouse?
I already have a Flash animation created which is simply a
series of 3 fade
in/fade out images. Do I just add in a background layer,
under my 3
fade-in/fade-out images and create a mouse-over effect for
that background?
How does the text display? Should the text be part of the
animation,
perhaps as a symbol that appears on mouse-over?
Thanks again for your advice,
Regards
Nath.
"Fel_911" <[email protected]> wrote in
message
news:et9kv9$dm7$[email protected]..
>I don't know either if it exist.
>
> You could do it manually easily. Just make a clip with a
background and a
> dynamic text that follow the mouse, on mouse over the
item you want, make
> it
> appears and set the text in it... pretty simple.
>
> Hope this can help...
> -
Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.
Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.
-
i have just switched to samsung and i have removed the sim from the iphone however i am still receiving texts rather 'imessage' on the old iphone. how do i make sure all messages only come to my new phone??
You can turn iMessage off on your iPhone. That's relatively easy. Since iMessage is an Apple product/service, I have no idea how a Samsung phone will deal with an incoming one. For that answer you should probably contact Samsung support.
-
When I click email links on firefox, it opens AOL, but comes up like this.. "The file may not be supported by AOL, AOL will try to open it as a text file if you choose to continue" how to fix? and yeah, I know, ditch AOL and all that good stuff, but I have so many things tied into my email address that it's not in the cards atm..
Thanks!
*ChrisThat file might have moved to a different location on the server. I think you'll need to check with RefWorks support or your local IT department on why the install page links do not work.
-
Why am I all of a sudden getting all my text and email notifications in Spanish? How do I switch back to English? I can't find that option in profile or notification settings . . .
elliew,
That's a great point! If all other messages and apps on your phone are in English, the preferred language may need to be updated on your account. If this is the case for any of our customers, just reach out to our customer support team at 800-922-0204 or http://vz.to/1vsIHJq .
BrianP_VZW
Follow Us on Twitter @VZWSupport -
At startup I get grey screen and a folder with a flashing question mark. How do I reset my MacBook Pro to the manufacture defaults?
Click here and follow the instructions. If the computer originally shipped with Mac OS X 10.6.8 or earlier, when you reach step 5, insert its original disk, restart with the C key held down, use the Disk Utility to erase the internal drive, and install a fresh OS.
(113954) -
my hard drive melted down and had to be replaced. I don't have my serial number or the email from it to reinstall my copy of Flash CS5.5. how do I get a new one? Can someone just verify my purchase and email me a new one?
Does your serial number show on your account page?
https://www.adobe.com/account.html for serial numbers on your Adobe page
If the above doesn't work...
This is an open forum, not Adobe support.. you need Adobe staff support to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us" -
Out of nowhere my daughter, who uses a Samsung Galaxy Victory phone is no longer receiving my text messages but I get hers. How can I fix this. I have a 4S and have updated to the ios 7.0.4.
http://support.apple.com/kb/ts2755
if the link provided doesn't help, then you will need to contact your phone carrier as SMS is a carrier feature.
Maybe you are looking for
-
While Doing F-28 error-Balancing field "Profit Center" in line 002 not fill
Hello Sir, I am doing F-28 Customer Incoming Payment , i have clear three invoice against payment. So when i post that entry system gives me error Balancing field "Profit Center" in line 002 not filled". so that entry could not found profit center. (
-
Issue in installation oracle 12 c
hi all, i tried to install oracle 12 c on windows 8 64bit , i know that both 2 files should extracted at the same file first i extracte part 1 it give me file called database then i extract the second in the folder which called database wh
-
T400 XP Presentation Director Problem
I just did a clean install of XP on T400, and could not get Presentation Director to work. Whenever I was trying to apply or test a scheme (even the "Captured display settings" with no external monitor), I got this error message "The following settin
-
The bottom of the browser window is also below the bottom of the screen.
-
Batch convert EPS files to PNG
I have many eps files which I need to open in Fireworks, select the items, apply script commaneds and save back down again as PNG's. I need to retain the vector graphics and layers. Problem is the Fireworks Batch tool doesn't recognise eps files so I