In Flash CS3 when you did Modify/Document it allowed you to type in a document Title and Description which were metadata searchable by internet search engines. According to the book "Brilliant Flash CS4" this is still possible in CS4, but I think they have removed the option, and the book is wrong. add metadata for searching to FLA documents or is this now gone?
My XML scripts work fine in the local swf. If I load an external swf, can I still retrieve XML data from the same way. What problems will I encounter with XML and externally loaded swf files?
VARIABLE TYPES var timer:Timer = new Timer(10); var myString:String = "";
I have a dillema with Flash, and that is using more than 1 external document... Over the years I've tried using the include statement WHICH worked in as2 but now as we have progressed into as3 it seems to cause more and more errors! Why is Adobe screwing up actionscript? Back when Macromedia owned it everything was sooo much simpler than it is now
Right now I am making a Flash Game which is almost finished and I'm already using the external document for the GameController, I've added a brightness setting for portable users to make it brighter, I borrowed code off a kind coder and I'm now responsible for converting the external document into the actions keyframe...I used the include 'Main.as' statement and I get this error, packes cannot be nested.....is it possible to put the full code in my keyframes actions layer instead?
i'm trying to create a mix and match clothing application using flash for a school project but am having trouble with xml documents. Using an old gallery tutorial on the site, i found it was quite easy to load up one xml document, excerpt of code below.
I thought it would be as simple as copying all the code and changing the variable names to load a second xml document but i find when i run the code, that only the last xml document in the code loads
function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild;
(All the words are in alphabetical order)All in all, I have around 400,000 words neatly organized in 31 XMLs.
1. The CPU randomly picks a letter from A to Z. Based on that letter, it loads the appropriate XML file. From that XML file, it randomly loads one word (and when it first loads it, it skips words ending in "nt" - last two characters).
2. When it is presented with the word, the user needs to type in another word, which must start with the two characters that the previous word ended with. Here, the same rule of "nt" applies. Also, Flash needs to check if the word is valid (must check inside the XMLs for the word.
3. If the word is valid, Flash picks another word that starts with the last two characters of the previous word. (Here, the "nt" rule doesn't apply).
Well what i want to do is a background in an internet source page. You know that ur deskopt background can be a web page right ? well i want to create such a page with dreamweaver which i can do and insert some flash button that i would be able to click on and open my folders such as My Images, My Documents, My computer... not open a file but the folder itself. Ive seen a lot of fscommand and gourl but they dont work cuz one open an internet browser and the other nothing appears. Id'like to know if it is makeable with Flash 8 to click on a button and then my documents appear and even better that you can choose dimmension of the pop-up.If i want to open my documents as an example do i need too have the button and the webpage in my documents?
We're working with a product called ProForm to create online courses that are Flash-based. It's a pretty cool product, created by Rapid Intake and using ActionScript 2 as the basis.
The problem we're seeing is that when we try to use this method to connect directly to Office documents, the links fail to open the documents in Internet Explorer. When using Firefox, they work fine, and soon after clicking the link the user receives a dialog asking if they wish to save or open the document. This is the behavior which we expected in IE, and which one can achieve by holding the CTRL button and clicking the link (and don't ask me how that was figured out, 'cuz I don't know). But when just clicking the link in IE, a browser window briefly pops up, then the thing disappears and nothing else happens - no file opens, no dialog appears, nothing.
Just fired up Flash CS5 to a surprise. My screen-based SWF from years ago will no longer load. how does one achieve the equivelant of nested screens in CS5 now? I have outer chrome that's common to all screens and switch between nested screens to show different shared form screens that get populated with content from a database. Short of duplicating the shared content over and over, how do you get the layered effect I'm after? Does everyone simply jump around on the master timeline? Or does CSS play a role here?
My team and I are considering switching to using the "Flash CS5 Uncompressed Document (*.xfl)" option in Flash CS5 based on the assumption that it will allow better collaboration and conflict resolution when working in a version-controlled (SVN) environment. We would like to avoid the common situation of irresolvable conflicts when multiple people edit an FLA. at least in the initial release of Flash CS5: [URL] Has anyone had success or failure with this approach? Is this a favourable or detrimental change in workflow?
I am a beginner when it comes to Flash and Actionscript. I know how to create a few things using Flash, but when it comes to programming in actionscript, I am clueless. I work for a local government agency; my boss and I want to simulate a digital signage system using Flash.
I have a document that changes weekly, I want to load it in a Flash file that will display it as is and autoscroll it and loop back to the beginning. The file itself is created by a secretary in different office. We want her to save the file in a designated folder and it will automatically apear on screen. (does any of this make sense?)
I was able to set up an application that uses xml and css. I had to go through the microsoft word document copy and paste it to an xml editor which was 14 plus pages and add xml tags. I was able to get it to show up online, but I could not find code in actionscript 2 that uses autoscroll.
We're looking into an automated nightly build process using ANT or Maven. The build machine is separate and runs headless... in fact it's just a Virtual Machine on our corporate servers. I know it can easily enough handle normal command-line compilation using mxmlc.exe, but my developers are all using FlashBuilder Pro. My question: Can vanilla mxmlc.exe compile Pro documents without FB Pro being installed? Could I just copy the latest ProSDK over to the build machine or (god forbid) do I have to buy yet another copy of FB Pro only to have it sit mostly unused on the build machine? Enquiring budget-conscious minds want to know.
I'm currently making myself a new portfolio, mainly because I want to start learning some more advanced actionscript skills. I'm trying to setup my site so it runs completely off xml data. Firstly I have an xml menu loading into "menu.swf" and also a xml document with loading into a "project.swf"... Now instead of making a different swf for each project I thought it would be better to have one swf. This would mean loading in a different xml document into the projects window. Where I'm stuck is i'm unable to load a new xml into projects.swf. This is a button I'm generating from xml in menu.swf
For some reason whenever I try to access a any of the files within a project that I'm working on it goes extremely slow. I'll click something, or type something and it'll take like 30 seconds before I actually see it do anything. I never had this problem with this project before, seems like it came out of no where. If I just make a new document, or goto another project it's fine.
got a new problem with Flash CS4 which came up yesterday after trying to profile a swf with Flex Builder (3).As soon as I close a open document (like fla, as) or close a running swf (started with Cmd+Enter) it crashes. Reinstalled CS4 today, but the problem is still there. Really annoying stuff.
Usually when I am looking for a specific field name, section of code or variable, I will run a GREP regex search to search through my ASP files, which works great as they are just stored as plain text, however I was wondering if anyone knows of a way to do the same with ".fla" files.
The GREP search looks through all my files in one go and returns a list of files which match the search terms; but wouldn't work on .fla files as the actionscript is not stored as plain text. Possibly this would work if I converted all my ".fla"s to use seperate ".as" files but this would be a lot of work and I'd rather avoid it if possible.
I have a few different XML documents that get loaded into my app. What I would like to know how to do is search the incoming XML string for a certain attribute (apple or peach) then route its use to the correct location.example:
<boringExample1 apple ="somevalue" ... /> <boringExample2 peach="somevalue" ... />
I am not trying to read the value of the attribute but the name of attribute itself. if my XML string has apple attribute go here else if my XML string has peach attribute go there. I hope that makes sense
I have gone thru the Kirupa's tutorial "Using XML in Flash CS3/AS3", and it helped a lot in my project. Now, I have a question in XML searching. If an attribute's value is say title="kirupa tutorial" and a user wanted to search only the word "kirupa", then how can i get this node of xml, which title is "kirupa tutorial"..
@title == "kirupa" only works when the whole word matches the value of "title" attribute, but i want to search a partial word.
I've got a document reader application that I'm trying to add a print option to, but I'm having real difficulties with PrintJobs.On my first attempt, I prepared all my pages in advance, then called PrintJob.start, followed by PrintJob.addPage for each page, then PrintJob. send to finish.On longer documents, however, this was falling foul of the script execution time limits.I could get 90-100 pages spooled before the runtime threw an exception and cut the print run short.On my second attempt, I prepared all my pages in advance again, then called PrintJob.start.I then tried using an event handler to call addPage for each page (first using the frame_enter event, then using a timer). However, calling PrintJob.addPage from an event handler like this caused an exception to be thrown.I've been tearing my hair out all afternoon trying to find a solution to this -- does anybody have any idea how I can get long PrintJobs to work?
I'm a newbie in actionscript. I created a world map in flash. The map has regions (Europe, North America, Latin America, etc.). The regions on the map are defined as buttons.
The final flash map will be embedded in an html document (map.html). The idea is that when you click for example the "Europe" button on the flash movie, this will open an html document called Europe.html and will show it underneath the map flash (inside map.html). The "Europe.html" for example contains a list of countries. In this mission I have 2 problems:
1. What script I have to attach to every region button on the flash map so it will call the right html file into the div on the map.html?
2. What script do I have to put inside the html document?
I have been trying to find solutions to this everywhere and cannot find any concise, clear instructions on how to set up Flex and Actionscript properly on TextMate. That is, I have the bundles but in terms of setting shell environments etc so that you can compile with ANT, find documentation for keyword (Reference Doc) within the app. For the latter ,when i try and do that it says no documentation found.
My shell env stuff is as follows:
TM_FLEX_PATH /Applications/Adobe Flash Builder Burrito/sdks/flex_sdk_4.5.0.17689 TM_FLASH_HELP /Users/doronkatz/langRef (this is where i have the as doc zip file i downloaded)
I created a world map in flash. The map has regions (Europe, North America, Latin America, etc.). The regions on the map are defined as buttons.
The final flash map will be embedded in map document (map.html). The idea is that when you click for example the "Europe" button on the flash movie, this will open an html document called Europe.html and will show it underneath the map flash (inside map.html).
The "Europe.html" for example contains a list of countries.
In this mission I have 2 problems:
1.What script I have to attach to every region button on the flash map so it will call the right html file into the div on the map.html?
2.What script do I have to put inside the html document?
I accidentally posted this topic in the Game/AI Programming section by mistake right below this due to lack of sleep so I reposted here. I was wondering if anyone has a way of making it so a webpage is loaded within a swf. For example: Say I have a swf file that has a menu on the left and title animation at the top. Kinda like this.
I do not know flash at all and i am writing some code in Action Script 3 and am having some trouble.
Basically i have a list that is read from an XML file.
I am busy writing a function to allow a user to enter a search word that will allow him/her to find the closest matching node.
For example, if the nodes are:
1) movies 2) music 3) books 4) plays
typing "m" will search and scroll through 1 and 2 continuosly after every button click but typing "mo" will find only 1.
Using mytree.findNode("label", search_word); //will only find nodes of EXACT name Using mytree.getNextIndexAtLetter(search_word, i); //Will only find nodes with starting letter of search word