What is root when converting AS3.0 to Create js?
Hi All,
Does anyone know what MovieClip(root).play(); is when converting to Create JS for Html5 Canvas?
Many thanks.
I wanted to come back and update this thread in regards to CreateJS and 'root' It seems that as well as using this.parent.play(); exportRoot.play(); also works.
I am however struggling to check variables on the main time line from inside a movieClip.
// MainTimeline
var animVar = 1;
//Inside movieClip
this.stop();
if( animVar == 1 ) {
alert('animVar is one!');
else {
alert('animVar is not one!');
I have tried this.parent.animVar = 1 exportRoot.animVar = 1 but neither can check the variable on the main timeline from inside a movieClip. Any help would be appreciated.
Similar Messages
-
What is better when converting analog video for FCE, Canopus100/110/300/or5
All,
What is better when converting analog video for FCE, Canopus100/110/300/or500? I have a new MACPRO with FCE HD and I wanted to convert some of my older video that was recorded on a HI8 Camcorder... Thanks.I have the ADVC-100 (older model) and ADVC-110. They are identical except that the ADVC-110 does not come with an AC power adapter. Currently sells for about $220USD. If all you need to do is convert from HI8 tapes, the ADVC100/110 will do the job quite nicely.
The ADVC300 adds some enhancements for video signal cleanup, but at a higher price. Currently sells for about $450USD. The ADVC500 is overkill for home use. -
Timeout error when converting PDF to Word
Is anyone available? I have a time sensitivity project - that would be simple for most folks...Need a question answered
Hi Sara,
my PDF cannot be read by Adobe after all. I have tried with one page but
it still cannot read it. I would like to return the programm because it
doesn't help to solve my task. Please be so kind and advice how I can
return it because I will not use it.
Kind regards,
Marie Schechter
Am 09.06.2014 19:35, schrieb Sara.Forsberg:
>
Timeout error when converting PDF to Word
created by Sara.Forsberg
<https://forums.adobe.com/people/Sara.Forsberg> in /Adobe ExportPDF/ -
View the full discussion
<https://forums.adobe.com/message/6444999#6444999> -
If I have converted my purchased iTunes songs to a lower bit rate what will happen when I join iTunes match? Will they match up or will these be stored as duplicates of the same song?
I ask because I primarily use my work laptop which has limited space so I usually convert my purchases to 160k from 256k in order to save space. I want to sign up for iTunes Match but I'd like to know before I do so I can understand how I will have to set up my library.crichton007 wrote:
What I may do is start a brand new library there, copy my tracks from my work laptop using Home Share and then the script to get things in sync before starting over again there too.
Why create a new library? Just add the tracks from the laptop to the existing library on the Mac.
crichton007 wrote:
I was just hoping to hear definitively whether or not there was some sort of intelligence built into iTunes Match that would match these up...
How do you mean? If you down-convert purchased tracks you've fundamentally changed the files so iTunes can no longer recoginize them as "purchased." And, indeed, they no longer are since they are brand new files. Of course these new files will only be "matched" or "uploaded." -
When converting a .pptx file of 6MB to .pdf, the file size ballooned to 25MB. The original file was created on a PC. What happened? Why? How to fix? Thx.
gssharpe wrote:
What happened?
Nothing much. Different formats.
How to fix?
Try editing the original file. Resample pics to a lower resolution, check out other graphics, check table borders (eliminate any dotted lines or borders), check font usage. When generating PDF, try Save As (instead of Print > Save As), although I don't expect that'll make much difference.
Next, open the PDF in Preview, choose File > Save As, choose Format: PDF, Quartz Filterz: Reduce File Size. If that isn't enough, you can use ColorSync Utility to duplicate the Reduce File Size filter, and then edit it for a more aggressive size reduction. But keep in mind that size reduction means lower quality. -
Hi guys,
for example, in this .as file, what is root? And "this" is a reference to the class?
ps. This .as is connected with a .fla
package {
import flash.display.MovieClip;
import flash.events.Event;
public class FlashVars extends MovieClip {
public function FlashVars() {
carregarFlashVars ();
private function carregarFlashVars (): void {
this.root.loaderInfo.addEventListener (Event.COMPLETE, mostrarValor);
private function mostrarValor (e: Event): void {
texto_txt.text = e.target.parameters.nome;"But if the SWF is loaded into another SWF, root becomes the hosting SWF."
This is not true. root is the same for the same swf and doesn't change even when it is loaded into another swf.
Here are three classes that will demonstrate it. Just compile them into the same directory with respective names. When GrandParent swf is run the following traces are displayed:
[object GrandParent] root = [object GrandParent]
[object Parent] root = [object Parent]
[object Child] root = [object Child]
Which, again, shows that root did not change.
package
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;
public class GrandParent extends Sprite
public function GrandParent()
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event = null):void
removeEventListener(Event.ADDED_TO_STAGE, init);
trace(this, "root =", root);
var loader:Loader = new Loader();
loader.load(new URLRequest("parent.swf"));
addChild(loader);
package
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;
public class Parent extends Sprite
public function Parent()
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event = null):void
removeEventListener(Event.ADDED_TO_STAGE, init);
trace(this, "root =", root);
var loader:Loader = new Loader();
loader.load(new URLRequest("child.swf"));
addChild(loader);
package
import flash.display.Sprite;
import flash.events.Event;
public class Child extends Sprite
public function Child()
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event = null):void
removeEventListener(Event.ADDED_TO_STAGE, init);
trace(this, "root =", root); -
We make books, and our client just changed from PC production to MAC - and the headlines, subheads, and all big fonts go crazy alternating or messing up caps and lower case.
What causes this - how can we fix it. ThanksHi J. Polmar,
How were the original PDFs created? Are the headers and footers graphic elements? It sounds like there may be an issue with the Optical Character Recognition that ExportPDF is performing when you convert the PDF file to Word. You may have better luck by disabling OCR as outlined in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel. Note, however, that when OCR is disabled, text that's part of an image in the original PDF won't be editable in the converted document.
Please let us know how it goes.
Best,
Sara -
Can anybody help me. In Pages how can I deal with "unknown error occurred" when converting to Word?
Thanks for you suggestion roaminggnome. I tried typing in 13019 like you said and it gave me a few options to try and fix it but none of them worked (of course). I fiddled around with it for a while some more on my own and some how got it to work again, lol. Thanks again though for offering a solution.
-
What actually happens when u convert songs to AAC?
Will I save more space on hard drive?
Is sound quality good/bad?
Can they still be burned etc as often as normal?Convert from what? If you convert from one lossy format (e.g. mp3) to another such as AAC, you will lose additional sound quality.
I rip my CDs into .aac 192 kbps because this format, in general, will sound as good as a higher kbps mp3 but will be smaller. However, if you regularly burn mp3 disks or move files to devices that don't support .aac (though many do, including Zunes and PSPs), this may not be the format for you.
I would suggest that you rip a CD/track with which your familiar in both formats and different bit rates and see what you think is the best balance between size and quality.
Best of luck. -
A better way to deal with lost hyperlinks when converting Robohelp to Printed doc?
I have inherited a 750-page manual that is
"single-sourced" in RoboHelp X5. When I generate printed
documentation, all of my hyperlinks and converted to plain text.
Everytime we release a new version of the manual with any changes,
we have to re-generate, and then manually go into the MS-Word
converted document and re-create some 350 hyperlinks and page
number references. Somebody please tell me that there is a better
way to do this, or a better tool to manage single-source
documentation.Another post has been raised relating to this problem. See
http://tinyurl.com/yvpaut
I am replying here is this is where most of the relevant
information is.
You found that using the Style Mapping template solved the
images problem but the document stopped generating at 450 pages.
That was sort of what I hoped for. Rather than go to the step I
will suggest in a moment, I suggested you try something else but
you never came back to the forum to indicate you had tried it, so
the assumption is you did and it worked. Patently it did not so
let's try what I would have suggested next.
On my website there is a topic on Print Issues and one of the
them covers Malformed Topics. Try looking for <p
style="mso-bookmark: as suggested in my earlier reply in this
thread. You can try RH's Multi file find and replace but FAR from
http://www.helpware.net/FAR
may get better results. I think with this error you usually get a
message. Do you have the Output pane opened and have you read right
through it for clues? View | Output on the menu. Whether or not the
Output pane mentions this error, I would search for it anyway.
Other Points:
A] It could still be a resource problem. The document is very
large so, as Harvey mentioned, resources come into it. I know the
PCs that won't play nicely have good resources but whilst I am no
expert in this area, don't foget XP is using more of them leaving
less available to you. It could be an issue but I am inclined
towards it being something else.
B] I also suggested a hunt for a rogue topic.
"What I would try is copying your layout so that you have
three versions of it. Then delete two thirds from each one. If all
three work fine, it sort of confirms that size is a problem. If one
fails, your on the track of the rogue topic."
Did you try that? Like I said, if all three work fine, then
we are back with the resource problem but we will have ruled out
other issues. It should take less than fifteen minutes to set that
up. Longer to run it but you can be doing something else at that
point.
C] On FrameMaker, no real answer but you will soon see
evidence that Adobe are continuing to better integrate all the
products we are using. I don't think you will see what you want in
the upcoming version though.
NEXT:
1] Please search for <p style="mso-bookmark:
2] If that fails, try creating the three layouts.
3] Then post back how it went. If unsuccessful, tell us if
the Output pane gave any information about things the process did
not like.
Let us know either way as if one succeeds and you post that,
it helps the next person with the same problem. -
I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
Why are hyperlinks no longer working in PDF, when converted from Word?
I have Acrobat Professional 11 and have recently upgraded my PC with a new operating system (Windows 8). I can't remember how to find out what version of Word I now have, but it should be a fairly recent version, given its new. Since the upgrade, when converting Word documents to PDF using the "Create Form" function in Adobe Pro 11, only full hyperlinks (with the @ symbol) are working in PDF, not other hyperlinks that we've renamed. Under the old operating system, ALL hyperlinks used to transfer & work when converted ... am I missing a checkbox somewhere?? HELP please, I have loads of word documents to convert and it's very time-consuming to have to do weblinks manually!!
First off, Word should show you the version on a splash screen when you launch it.
Also, what happens to the links if you just open the document in Word and save it as a PDF? -
How to maintain original lines when converting a word file in a PDF
Unfortunately the table lines often change when converting a word file in a PDF, e.g. dotted/broken lines into straight lines or different kinds of broken lines. How can I maintain the original lines when converting the documents?
Many thanks in advance for your advice.
Li LiHello,
Ok, this is the background.
I’m a publisher. Any document to end user will go as pdf. And off course it preserves the word appearance. We ship our manuals only in pdf. At this point my end users have to copy the “CODES” into his editor to run the product. So when doing it, the “Codes” copied from pdf to his editor loses its format. Editor need not be the actual one; you can also test in a notepad.
P.S: You can find the difference by copying the code from word to notepad and pdf to notepad
Hope you now understood the purpose what I’m looking at for. -
How to preserve original size when converting to PDF in Preview.
I'm using Preview in Snow Leopard.
Trying to create multipage PDFs from document scans.
I'm finding that when the scanned image (tiff, png, jpg) is converted to PDF in Preview the size reduces.
Selecting 'View actual size' shows the image with sometimes drastically impaired quality.
This does not always happen. I have some images that stay the same size and quality.
What factors cause this reduction in size in some images but not in others?
I'm not sure but this could be only images that have been scanned by me. If so, what do I need to do to prevent the problem?
These are not large images, just standard size pages.
I have all the preferences to view at 100%
This is not for printing, only for viewing on-screen.Please!!
I'm not silly...
As I said, selecting View actual size shows the image with sometimes drastically impaired quality (regardless of the window size).
I also said I have preferences set to view at 100%
It now seems as if this is only happening with scans I've made here.
Images downloaded from the internet are converting indentically, no problem. But my scans are being resized when converting.
I wonder if anyone with a bit of technical know-how can give me some clues as to why this is happening. It would seem to be something to do with the file itself.
(There was another post on here with the same problem but for some reason its been 'archived' though the last posting was this month and the query was not answered. So I've posted the question again.) -
Why does spot EPS not output when converted to CMYK or grayscale?
Apologies if this is a known issue but I can't find it anywhere... I'm using AI CS3 (13.0.2) on an Intel iMac/Os 10.5.4 and I can't figure out why a white logo made from text outlines outputs fine to PDF if I use a spot color but if I change it to grayscale or CMYK, part of the logo doesn't output at all.
The part which self-destructs is a supplied roundel of Caflisch text which has been converted to outlines (unfortunately I don't have the font on my system to do any deep testing). Another part of the supplied logo is a line drawing which outputs fine in any color mode.
So I'm really looking for something to explain why the text part of this roundel outputs fine as a spot color but disappears from view when converted to CMYK or grayscale. I have been placing the file in a Quark 7.1 document and then exporting to PDF but I see the same problem when using the Flattener Preview.
Thanks for any help.
SimonSorry for talking to myself like this -- been doing it for years...
Finally found out what was wrong: the submitting designer had set the white coloured text objects to overprint. When I set them to knock out all was well.
Kudos to Acrobat Pro Preflight for pinpointing the problem.
Simon
Maybe you are looking for
-
An Image JPanel, A semi-transparent JPanel, and non-opaque components
This is a more intelligent re-asking of the question I posed here: http://forum.java.sun.com/thread.jspa?threadID=579298&tstart=50. I have a class called ImagePane, which is basically a JPanel with an image background. The code is much like the Image
-
How to remove a mounted drive at startup in a mobile account, using netinfo
How does one remove an mounted drive at startup in a mobile account, using netinfo? One of the user automatically mounts a network drive on her new intel Macbook in her portable account. Trouble is that the network drive is only available on the intr
-
Best way to hook up yamaha HS80M speakers to 17" 2011 Macbookpro?
Greetings people, I am interested in setting up a home recording system and I'm looking into getting a mixer/audio-interface and a good set of monitor speakers. The computer I intend to use is the latest 2.4ghz Quad Core i7 Macbookpro 17" I am thinki
-
my iphone 5 top is broken and i know that in usa you can just give it to apple store then add $200 or $250 and they will take the broken one and give you new one the same model but i am in hong kong do you think that i can do it here??
-
Reverse the order of stacks list view
Is there a way to reverse the order when viewing the contents of a stack in list view by date added? For example, the downloads stack: the default setting puts the most recently added at the top of the list, meaning I have to scroll up to it, rather