ActionScript 3.0 :: [Embed(systemFont=" Not Working Anymore Nnng?
Mar 15, 2011
So I am a photographer, and I wrote my own gallery using AS3 Anyway I do NOT use the Flash IDE for anything other than debugging and compiling and publishing. EVERYTHING is done on the fly in AS3.0 classes.
When I upgraded everything (Photoshop,InDesign, Illustrator,Dreamweaver, Flash etc... ) to CS5 and recompiled my AS3 code I got the following error. Web Design/GCSSplash/GCSSplash.as, Line 30exception during transcoding: Cannot embed local font 'Letter Gothic Std' as CFF. The CSS @font-face 'local()' syntax is not supported. Please specify a path directly to a font file using the 'url()' syntax. For [Embed] syntax the 'systemFont' attribute is not supported. Please specify a path directly to a font file using the 'source' attribute.
[Code]...
View 2 Replies
Similar Posts:
Aug 17, 2010
I have a button which I want to be dynamic in it's use. The var currentQuestion get's updated within another function. I have traced this and that's not the problem. The problem lies within the fact that after i have pressed the button once it's not working anymore. So the buttons works the first time, but after clicking it (and so updating the currentMovieclip to "question01_mc") it doesn't work anymore.
This is not the complete code, but just the part that matters,
Code: Select allvar currentQuestion = 0;
var currentMovieclip = "question00_mc";
var Root = root;
[Code] .....
View 3 Replies
Apr 28, 2006
Ok, for my site i have a preloader that slides in, then it slides out once it's finished. I decided to change a couple things, now the same file with some unrelated changes is giving me syntax errors when publishing it. Heres some code:
Code:
import mx.transitions.Tween;
preloader.bar._visible = false;
container._x = container._y=0;
[Code]....
View 12 Replies
May 9, 2009
does anyone noticed when using the latest flash player (10), all website thatuse preloading and is publihed with actionscript 2.0 is not working anymore. Only the onloadComplete or onLoadInit is triggerd, so preload animations are skiped. For example i made this website a while ago that worked fine with flash players up to verion 9.Now the preload percentage is not showing anywhere. I also tested other websites that i know off
where made in actionscript 2.0
View 1 Replies
Jun 29, 2007
I have a big problem : My gallery ( with xml) was working perfect until yesterday . I uploaded my files to my server to test them. This morning I reopened the fla to make modif and big surprise : only the big image appears but no thumbs anymore in the scroller. I tried to trace the xml nodes but thay are now undefined. WHY? Everything is in the same folder.Nothing changed. I turned everything upside down but nothing. Does a uploading can affect some configuration ? Are the xml modified modified after being uploaded ?
View 3 Replies
Aug 23, 2004
Let say A is the main movie and B will be a external swf file that i'm going to load into A movie. The problems is that, some actionscript(AS) in my B movie is not working anymore after i load it into A movie. I believe that the AS in my B movie is not working anymore because it is refer to A as the _root instead of B movie as _root. This can be a common problem. So, i wonder what should i change in the B movie AS in order to make it work in A movie.
View 3 Replies
Dec 8, 2009
I just copied Flex builder's generated html from the tags, and pasted in an ASP .NET page, the page shows up no errors , I can see a grey rectable the size of my flex file but there's nothing in it its blank and I am stumped why?? Why when it's showing up perfectly fine via the HTML file that flex generates.[code]
View 1 Replies
May 12, 2009
I have to embed VAGRounded bold. I can't seem to get it to work reliably. I have created 4 dynamic text boxes, one for each of the 4 styles and embedded the characters into each one for the 4 versions of the font. I then wrote some text directly into the boxes on the stage.
I created a 5th dynamic box and called it "test". I set the family to VAG ROunded, style:bold (ie just like one of the ones above). I then embedded the characters into it.
I added this dead simple as2
Code:
stop();
test.text="hello"
THis 5th text box looks NOTHING like the bold one from above, as you can see in the attached image.
View 2 Replies
Oct 5, 2011
I don't want to use a library to make it more efficient. I've tested this in Chrome and FF and it works, but IE is a nogo (7, 8, and 9):
[Code]...
View 1 Replies
Feb 11, 2010
I'm trying to embed this font into a flash website and it works fine on my local machine (because i have the font installed) but not when I see it on other machines. I have 2 files. fonts.swf and main.swf. Here is how it works. Fonts.swf
ActionScript Code:
package {
import flash.display.*;
[Code].....
View 1 Replies
Nov 16, 2010
I've been using the embed tag for a while and it has been working perfectly up until now. I've got an XML file that I have embedded into my .swf, using
Code:
[Embed(source="nodes.xml", mimeType="application/octet-stream")]
and haven't had any problems. However it has just decided that it no longer wants to compile anymore, giving six errors on this line and this line only:
Quote:
Line 32 1180: Call to a possibly undefined method Embed.
Line 32 1120: Access of undefined property source.
Line 32 1120: Access of undefined property mimeType.
[Code].....
I had added a new function just before this error started appearing, but it had absolutely nothing to do with the embedding and the problem still happens after I comment out everything I added before the error.
When I test it in a new .fla it still works aswell, just no longer in this one.
This is in Flash CS5, ActionScript 3 by the way.
View 0 Replies
Feb 2, 2010
I'm using this method of embedding, detecting and/or providing alternative content for a flash movie, but the movie doesn't play when flash is installed. The two files "swfobject.js" and "heliLog2_small.swf" are in the same folder as the html file.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
[code]....
View 1 Replies
Nov 27, 2011
I have created a website which consists of pages created from flash and dreamweaver (with embedded swf navigation bar at top of webpage)Once the home page is loaded there is a button to visit the page created with DW (with embedded swf nav bar). This works fine if I run the web from my computer locally.But if I write these entire website on a CD and access all the files from CD and then try to open the same html page from the same button in IE9; it does not work. It just keep showing the progress nothing happens. Interestingly, everything works fine on google chrome browser from the CD and also works fine from the other computer with Xp and IE8. But does not work on Windows 7 with IE9 from a CD specifically.
I have also tried to use the option in DW (called "Convert active content") for that page.which added that .js file and script on the html code. even after that does not work.I have also turned on the option "run active content from the cd" internet option for IE9 and "activex filtering" is also off on the security tab of tools of IE9.
View 5 Replies
Nov 15, 2010
I've been using the embed tag for a while and it has been working perfectly. I've got an XML file that I have embedded into my .swf, using
[Code]...
I had added a new function just before this error started appearing, but it had absolutely nothing to do with the embedding and the problem still happens after I comment out everything I added before the error.
View 1 Replies
Aug 1, 2011
I've embedded Arial into flash for a login box and it isn't accepting the '@'.. is there any way I can force the embed ? I did the embed in the GUI and not in actionscript..
View 11 Replies
Nov 9, 2010
I have set up a project (in the same way I have numerous projects before) that uses a seperate fonts SWF to provide the fonts to my project. Once loaded I register these fonts to the global font directory using Font.registerFont(). My text styles come from an externally loaded style sheet.
For some reason that I cannot figure out, when I try to create a textField and use my embedded fonts the text disapears from screen. If when creating the textField I set embedFonts to false then the text does appear at the right size and colour (as taken from the stylesheet), but obviously with a default system font where my nice custom font should be.
The code I am using is below:
TTWTextHelper.traceAvailableFonts();
TTWTextHelper.traceStyleSheet(myStyleSheet);
var myText = new TextField;
[code]....
I know that (apparently) my fonts are embeded as when I run TTWTextHelper.traceAvailableFonts() i get the two fonts listed.
public static function traceAvailableFonts():void
{
/*
* See what fonts we have to play with
[code]....
View 2 Replies
Sep 6, 2011
I've a flex application which has actionscript file, images. When i run this in adobe flash builder, everything works. When i export it as a release build and run in other file, swf does not show images and interactivity of flex components is also lost.Is there a specific way to embed images?Here is image code,
View 1 Replies
Nov 3, 2011
I am trying to embed a facebook video on my website but it gives "Video Unavailable. this video has either has been removed from facebook or is not visible".video is public to everyone, is not deleted and I can watch it on facebook via other browsers that I am not logged in. I tried both below embed codes, neither is worked.
<object width="500" height="300">
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID"></param>
<param name="allowFullScreen" value="true"></param>[code].....
View 1 Replies
Apr 22, 2006
I wanted to separate my embedded fonts to save filesize, so i've put them into sharedLib.SWF, and then preloaded sharedLib.SWF into flash using another SWF so that i could use these fonts further in multiple FLAs, without consuming additional bandwidth. I followed one tutorial, and checked out many different ones, to see if this issue occured to somebody else too. I had no luck finding the solution. Furthermore, i want to embed these fonts into AS-created textfields using AS.[code]I tried to create 1 TF manually, and placed it on the Stage, setting its display text to one of the embedded texts (Tahoma*). This actually worked! And one more strange thing happened.. Three of those TFs created using actionsctript, which were before blank, were NOW also filled with correct embedded text, EXCEPT one textfield which used Tahoma text non-bold, non-italic [!?]. Now how does this happen, and why the exception, i wonder.
View 2 Replies
Dec 10, 2009
I need to embed a SWF on a website. The swf is this interactive map at [URL](where it says select your region). So I found the SWF file and I tried to embed it on a test page, and its not working correctly. [URL] I don't know anything about flash, but the code I used was this:
Code:
<embed src=" [URL] The map is showing up, but the continents regions are not click-able, and the drop down text is not showing the continents.
View 1 Replies
Apr 14, 2012
I have the following code in my index.jade file
[Code]...
View 1 Replies
Mar 8, 2011
In my Google Chrome extension content script I have the following:
[Code]...
I'm using Chrome version 10.0.648.127 on a Mac, but I also tried it on a PC with the same results
View 2 Replies
Feb 2, 2012
I am using swf embed font[normal] in my flex application but if i apply bold or italic for the text,its looking normal only. let me know if you have any solution.
View 1 Replies
May 3, 2010
Inside my /test folder/music_player/ have have a file called mini_player.swf. If I play it without embedding it anywhere, like this: [URL].. everything is OK. But when I add it into my index page: [URL].. the song doesn't start.
[Code]...
View 1 Replies
Aug 22, 2010
I have installed CS5 recently and then deleted CS4, since doing so (or at least I think that's the cause), I cannot open SWF by a simple double click like I used to. Opening them in browser or in CS works fine but I still want to be able to open those SWF with a double click.
Tried using "open with", then Flash CS5, without success. Also went on Adobe's website to try redownloading the flash plugin but didn't let me download it as "browser already have flash plugin installed".
How did you re-established the double click to open a SWF?
View 1 Replies
Dec 6, 2009
Im very new to flash and a colleague provided me with perfectly functioning swf presentation. I opened it with flash to make some minor mods and now when i save the pause/play buttons he had put on the presentation no longer work no longer work.
View 1 Replies
Apr 29, 2011
I have buttons, I can't assigned them simple actions such as GetUrl, like I use to do in flash 8.I am now in CS3 and can't make it work.
View 1 Replies
Sep 11, 2010
I load icecast stream into Sound object, using some tricks to overcome memory leakage. Generally it works quite well, unless someone reloads either icecast or stream source program on the server. In that case flash player just mutes itself forever. I'm looking for some way to detect this case internally and reload the stream without refreshing web-page.My problem is caused by the fact that onComplete event for some reason doesn't trigger, maybe there's another event happening, but I just couldn't find any.One thing that I tried was noting down stream progress point and checking consequently for 200 times if it stays the same and if it did I was manually calling stream reload function.
View 1 Replies
Oct 8, 2010
I have 10 buttons for various pages on a website I am building. I am only dealing with the first 2 buttons so far: home and about (laborLaw). On my about page, I wanted to have buttons to navigate to another frame where the viewer can Read More Details. In order to get my button to work, I had to type about_mc. before the event listener of that button. Here's the code that worked.
about_mc.laborLaw1_btn.addEventListener(MouseEvent.CLICK, laborLaw1);
function laborLaw1(evtObj:MouseEvent):void{ gotoAndStop("laborLaw1_fl"); }
So I am now able to navigate to frames from buttons inside the mc. My next task was to build a close button to navigate back to the about page from the "Read More Details" page on a 101. Here's the code I used on frame 101:
(stop);
// the following is to navigate back to "about" (Labor Page)
closeLabor1_btn.addEventListener(MouseEvent.CLICK, returnLabor);
function returnLabor(evtObj:MouseEvent):void{
gotoAndStop("about");
}
That worked great BUT, once I navigate BACK to the about page using the closeLabor1 button, I am no longer able to navigate to any other button such as the home button. Here's a video showing exactly what happens. [URL]
View 1 Replies
May 27, 2011
I'm using flash cs5.5 and today I opened my project to start working... just to find out that the project panel does not work. When I click the tab to expand it, flash hangs for a minute and then it works, but the panel is blank, empty. The odd thing, I saved the project as CS5 version to open it in the CS5 Flash, but CS5 it's broken too.
I tried opening Flash (both versions) without loading any project and the tab does not work either.
View 6 Replies