ActionScript 2.0 :: Apostrophe Showing Up As E&apos?
Oct 17, 2006The XML:
Code:
<option>
<text><I steal the grue's lunch money and sneak away.</text>
[code].....
The XML:
Code:
<option>
<text><I steal the grue's lunch money and sneak away.</text>
[code].....
I just made an artwork that uses dynamic text and I'm unable to use quotation marks or apostrophes because it breaks up the string being used for the AS3 script I'm using. Anyone know how I might be able to overcome this? Here's the code I'm using and I'd like an apostrophe between We + ll and quotation marks around the whole thing:[code]
View 2 Repliesi'm sending flash some variables in the form of:
"xmlPhotos.swf?userName=" & UserName & "&photoModuleID=" & PhotoModuleID
i'm having a problem where Username = "test user's". only "test user" gets sent to flash. i've tried urlencoding Username but that doesn't work.
i'm loading an external xml file into my main movie and formatting it with embedded fonts. everything works great, dashes , parenthesis, commas, except for one thing. flash will not embed an apostrophe, instead of an apostrophe i get the following: &apos. so if i were to write inhabitant's in my xml document, when the flash file is published i get inhabitant's.
im using a standard font, gill sans MT, that i know has an apostrophe.
I am having trouble with some characters such as...
Code:
"
and...
Code:
'
The font file does include these characters and I have embedded them into the textfield?
I am embedding a font using the following class:
Code:
package {
import flash.display.MovieClip;
import flash.text.Font;
[code]....
So far, everything works well, but I am having problems getting curly apostrophes to display (�) instead I get a blank where the apostrophe is in my XML file. If I use a straight apostrophe (') it works but I can't get the curly apostrophe to work.What am I doing wrong? I looked up the unicode range for apostrophe and it's U-0027 which I appear to have in the ranges specified above...
When loading a text file how can I keep the apostrophe and quotes without the jibberish.
View 3 RepliesI've made a header with navigation for my site. I have an html file that the header is inserted into, and I inserted it just like I always have using Dreamweaver.
View 4 RepliesI did this on my flash pageFor some reason of HTML view I can't see the scroll bars but under flash preview I can.
View 1 RepliesOn my website on the portfolio page[url]...
the flash on the right hand side is not showing in IE6?
This is the very simple code for the page, I have stripped out the restof the code just to get to the bare minimum code to show the .swf. It works fine with firefox but nothing is shown in IE. The .swf name (front.swf) is lowercase.How can I show the swf in IE ?
Code:
<div id="contenttabs" style="padding-left:10px; margin-top:0px; padding-top:0px;">
<div style="padding-left:10px; margin-top:0px; padding-top:0px;" class="box">
<object type="application/x-shockwave-flash" data="front.swf" width="523" height="450">
<param name="movie" value="front.swf" /></object>
</div>
The title & copyright text of my animation don't show up in the swf unless I break up the words to letters then to shapes. (This also occurs for the feedback of one of my games.) It's a 2.5 minute animation which puts my computer to the limits so that may be the problem. Obviously I'd rather not convert this text to shapes for size & flexibility reasons.
View 7 RepliesI have a png file dropping into a flash background and I am getting a black line around the png. Anyone thoughts on how to get rid of it. I also made the png bg to 1111111 the same as the fla file background
View 12 RepliesI have a wordpress theme I'm adapting to a clients needs, but I can't make the sidebar ads, which are 125x125px, show a same sized swf instead of a image. If I insert a swf link, it show a broken image thumbnail.[url].....
PHP code
<?php if(get_theme_option('ads_125') != '') {
?>
<div class="sidebaradbox">[code].........
This page appears in all browsers by Firefox 2. It validates and uses swfobject:
[URL]
I have a couple of video clips loading to the stage via loadExternalMovieclip. The video clips were imported FLV's, given skin styles, and exported as SWF's. When I open the SWF's directly in FLash Player, all is well -- the controls appear and work fine. But when they are loaded into an empty, placeholder MovieClip, the skin does not appear![url]...
View 10 RepliesI am making something that requires me to have a key pressed. I tried using the Code: if (Key.isDown(Key.thekey) But the key I want does not show up. I want to use the a,s,d,f,g,h,j,k,w,e,t,y,u, keys but they don't show up so I don't know how to make that happen. on a letter keypress. I also would like to know how to make it do something on the key release. I am using flash CS3 and ActionScript 2.0
View 3 Repliescheck my code below and let me know if i am doing something wrong in getting the alternate flash which is the .net control in the same Div.
Code:
<script type="text/javascript" src="Javascript/swfobject.js"></script>
<script type="text/javascript">
[code].....
I am trying to use a magnifing glass to sweep over an image and actually show the image underneath as the enlargement rather than just increase the pixels of the original image. Is this possible? is flash the place to do it?
View 2 RepliesWhen I'm working on the .fla I don't see anything unexpected, but when I view the .swf or export it there's a little red square in the animation. It moves with some of the stuff I have moving in the animation like they're attached somehow, but I can't find it in the fla to get rid of it.
View 1 RepliesAll my symbols disappeared. they're still there, and when i click into them to edit, i see everything, and also when i publish the movie i see everything. the layers are not invisible, and there are no masks. this happens to every symbol. i quit, closed, restarted, same thing. now it's happening with everything i open in flash.
View 1 RepliesI have read all there is to read about windows/ native windows in air.
In addition to the main auto-added window, I am creating and (trying to) open two windows when the app starts. It works fine when I test it in flash CS4, but when i publish/install and run it, the windows added through code do not appear.[code]...
I'm getting a list of movieclips with attached scripts to display, but when I try to put them on the sceen nothing shows up.I can trace the elements in the list and it will tell me there are elements there.I can trace getChildAt(numChildren -1) and it will tell me there is something there but nothing is visible.If I generate the list in the constructor of the class that handles the displaying it does show them, but when I try to load them when they are actually needed they don't show up.Here's a simplification of the code(its a small part of a larger project and I can't put all of it up somewhere public)This code does what it should do(unfortunately that is not what I need done)
Code:
package foo.bar
{
import flash.display.MovieClip;
import flash.display.DisplayObjectContainer;
[code]...
The traces all show up so I know its running the method, the traces tell me it adds stuff the the screen, but what I see on the screen remains completely stagnant, as if nothing is being added.
I have everything ready to bring to the next stage and so i checked online to see what it's going to look like (expecting it to look the same as what it does on my desktop):Notice the words at the top there (they appear after you roll your mouse over the word menu).Now when it is uploaded it looks like:I made sure to have everything uploaded onto my serverspace and I don't understand why those little words disappear?
View 1 RepliesI have a flash video that don't show up.
Here are my steps...
1. Create new page and chose Flash File (ActionScript 3.0)
2. Imported mp4 video to stage
3. Selected Load External Video with playback component
4. Then File/Export Export Movie then File Publish Preview/HTML
.swf or html showing video on source machine but on another machine (All files copied into one folder) I do not see it.
This other machine is using Firefox 3.5.6 which has Flash Player 10.0.42.34 installed. It doesn't matter if I click on the .swf or html I still see no video. Only player control and some sorta working animation.
I just made these quick flash banners for a client but he's saying that the text isn't showing up for him.I have the banners hosted here - http:[url]...........And any idea why it wouldn't be showing up for him? I'm assuming he's running on an outdated version of Flash but I know if that's the case he's going to worry about other people being on the same outdated version he's on and they won't be able to see the text.
View 2 RepliesI want to know what is going on with my flash document where more of the document is showing than the document size. despite the little white box showing the size, if i set scaling to 100% it starts reaching past the boundaries. how can I get my flash doc to scale without viewing what is essentially outside of the frame?I am experimenting with getting my flash website to scale. I have tried a few things like SCALE="default" in the html and such. I want to try and keep the aspect and scale, but have a minimum size. For this I have been trying swffit.
View 2 RepliesMy swf file on my site doesn't show up on the first time. It shows my loader and intro but I have to refresh around 3 times for it to show the full site after my intro.
View 3 RepliesI have this SWF which has a video embedded in it. Video took around 1200 frames(4 Megs).My target is to progressively load frames i.e.once 100 frames are loaded display them and as soon as further 100 frames are loaded keep them displaying else show a loader to user.
Note. I have my code ready to load the full SWF before displaying it to the user but my plan is not make teh user wait till whole file is loaded, instead play whatever is loaded in the browser.
Let me start off by saying that I work for a PR agency that designs all the marketing materials (including websites) for the clients. I'm very new to Flash development. I've never really used it before this project, but it's the company's biggest client, and his happiness is worth 80 grand. The project I'm talking about is a simple locator map that shows coverage areas of each sales rep. The page is located here: [URL]
[Code]...