Flash :: Pressing F12 To Preview And Use This Feature It Would Not Work ?
Jul 23, 2009
I have recently received a copy of the Adobe eLearning suite, in particular I hope to use Flash for the majority of my elearning projects.I have been having trouble using the learning interactions that come ready to use with Flash. For example,I placed the drag and drop interaction onto the stage area, but when pressing F12 to preview and use this feature it would not work (could not drag the movie objects), the same goes for all the other features I can select radio buttons etc but when pressing the 'cheack answer' button nothing happens.Even though these interactions come with instructions which i have followed, it still does not seem to work. I do not wish for them to be scored, I just want the user to receive correct or incorrect feedback.
why the buttons in the flash banner I created in Flash CS4 work when I preview it in either Flash or HTML in the Flash CS4 program, but when I go to load it into a html document in Dreamweaver CS4 and preview it in a firefox or IE browser, the banner comes up fine, but the buttons this time will not work. The buttons are displayed with there animation and sound, but the links will not work. I have tried scripts in AS2 and AS3.
I'm having some trouble with getURL (I think). It works fine when I preview with Flash's html preview but it's not working on my server. It's pretty simple. [URL].selected1 is a user-defined variable pointing to a page: ie, when the user selects variable page1 the page to be opened is [URL]. Like I said, it works with Flash's preview, but not on my server(no 404 or any response). Does there seem to be a problem with my code or might I be overlooking a server error? Here's my code:
(Flash 5) Ok guys, I am trying to get a button to work by pressing keys. Problem 1) I want the keys that are pressed to be ,1,2,3,etc... and those keys aren't in Flash's actions, can they still work? Or do I have to use keys like SPACE, RETURN, etc...??? Problem 2) Here is the code I'm using. I also want a sound to be played while the button is going down. The sound is in the "down" of the button, but I linked it. THe linkage name is "sound1" here is the code;
I have a project that I am having the user be directed to a screen on their first visit. At the end of the text that appears it says "Press Enter to Continue" Once they return I am not showing that screen. Problem is nothing happens when you press enter...below is my code
PHP Code:
var so:SharedObject = SharedObject.getLocal("skipIntro"); //so.data.skipFran = false; function myOnEnter() {
For some reason, in the past few days, the auto complete feature doesn't work well when I'm creating a new class file. I'm trying to write a new class which uses away3D, and even though the auto-complete works well when I start a new AS3 file, it just doesn't work as far as away3D is concerned when I try to create a new AS3 Class file. Other features of the auto-complete don't work as well, for some reason.
I have a video that does play when I preview it in Flash, but does NOT play when I preview it in .html. I've gone over the publish settings, and I think they are correct. This was working fine awhile back, but isn't working now.
I am new at flash CS4. (Upgraded to Flash CS 5 but this gives other problems in the meantime I continue with CS4)I have created webpage. Within the web page I have created Motion Tween with Motion editor and once previewed, it works fine. Going back to the stage and previewing the result shows the initial position of the Motion tween but it doesn't move and behave the way it shoud. What's missing? Where am I going wrong?
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php. This is working fine when I preview the movie as Flash. The php script prints the variables as intended.
But when I preview it as html the arrays are all empty...
[AS] on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array();
I have a Flash application with one scene, three frames and a bunch of ActionScript code to provide a number of ExternalInterface hooks. The three frames contain a single Input Text box which, as the <embed> tag is resized using JavaScript, grows and shrinks (not scales) to fit. I now want to add the ability to zoom in/out of this application, for enlarging small text on screen without increasing the text point size. I thought this would be easy using the Javascript Zoom(percent) method of the Flash object, but this doesn't work because my ActionScript code contains:
[Code]...
I suspect I need to take the entire movie as I have it now, and put it inside a movie clip, add a zoom ExternalInterface call which somehow scales the movieClip, and move the External Inteterface methods I have now from the new Movie Clip outside to the stage... but this sounds like a near complete rewrite? Will this method even work? Is there a better way?
Having the following code:[code]Doesn't work if the line marked with (1) is there, however if I comment out this line, its able to load one single file, before it stops working.Using ActionScript 3.0 under CS5.[code]
I am going to create an application in that i have to implement an Undo and Redo feature. In the application there will be multiple objects located on stage and user can customize the position of the objects. But when user clicks on Undo the object go back to their default position and after clicking on redo object will move on the new position. So my question is how can I apply these feature in my application? Is there any library or any third party classes?
I am creating a shopping cart feature within flash using as2 using this tut [URL]. I have created the as file and there are no errors but when it can to adding the first part of code to go into the actual flash file I get this error
The class or the interface 'com.ahfx. Product could not be loaded(source) var myProduct = new Product();
The code added on the first frame of the flash file import com.ahfx.Product; var myProduct = new Product(); myProduct.setQuantity(3); myProduct.setPrice(2.99); myProduct.setDesc("Teddy Bear"); trace(myProduct.getDesc()); trace(myProduct.getPrice()); trace(myProduct.getQuantity()); trace(myProduct.getTotal());
I'm trying to see if I can set up a text to speech feature in Flash. I found this post, which details how to integrate Google's text to speech functionality with Flash. Seems pretty good, but the post seems to be written for uber-genius AS3 programmers...well not really, but at least those who already know how to stitch these pieces together.
I know a bit about using classes and packages, but can't seem to figure out how all the chunks of code in his post would be stitched together.
Any chance anyone can check this out, and give me a basic rundown of how all these pieces would go together?? So I can try implementing this myself...
[URL]
PS. Also open to another solution to text to speech in Flash, if you know of an easier one..
In OpenCV, we can use a xml file to describe haar-like features of a specific object. I wanna use this idea to detect palm and fist, now I hava my own xml feature file, and it works well in C and Python(with OpenCV), now I need to move this idea to flash.
Luckily, I found an project named Marilena, it successfully moved the haar-trainning part of OpenCV to actionscript, and this article optimizing flash based face detection optimized Marilena, he turned the xml file into actionscript class itself to speedup the calculation. However, since the Haar data is being hardcoded into the class now it will not be able to use for tracking anything else but faces. I try to read the source code for detail, and process my own xml file into actionscript class file in his way, but finally find something different.
The xml file for face detection is like :
Every tree has only one node "root node", but in my xml file, some trees have two nodes, and the "left_val" above changes to "left_node" sometime, I don't know how to process these nodes. I think I should goto OpenCV C source files for detail to find how to correctly process xml feature file, but where to start,
I haven't seen many Flash games on facebook or other applications really utilize it yet (or appear to utilize it).
Are there some good professional examples of its use?
Is pixel bender just too slow for practical use on today's web hardware? I read that Flash will fallback to interpreted mode on older Macs (PowerPC), for example, but is that a deal killer?
I have heard about Flash Builder 4.5.1.As I have understood, one can make an application using Flex with the Flash Builder 4.5.1 and also exported the release build for iOS, Android and Blackberry.
What are the limitations of Flash Builder for developing the mobile applications? What are the things which can't do with this IDE? Is bluetooth, one of the thing?
Is it possible to develop Bluetooth feature for an application using Flash CS5?
I'm having problems with flash debugging on Mac OS. It crashed at various points regardless if I'm using the projector debugger or browser plugin (regardless of browser).
The only common denominator I see is that a method seemingly in the debugging code is causing a security sandbox violation with localhost, and then everything crashes.
Im making 6 buttons all with different values. When you press one button the number that button holds will show up in 2 dynamic textfields.In the first field the numbers will come upp in a list form, one under another.and in the second textfield the number that the buttons have will add up.I have tried for some days now but cant come up with anything that worked.Haved tried with thisfor one button:
totalsum.text += Number(totalsum.text) + 22; and this for the next: totalsum.text += Number(totalsum.text) + 33;
(Flash 5) I have 12 different buttons that are keyboard keys that play a sound when you click on them. I am wondering if, in addition to that, one could hit, for instance, the ` key for this first one, the 1 key for the second one, the 2 key for the third one, etc..etc.. Is there a script for that, in addition to the click?
I created a game in Flash and outputted it into an APK file for use in my Android phone. I would like to make a quit function so that it quits the game application when you leave.
Right now, I have to quit using task manager in my mobile. Also how do you enable it to maintain a high score in the game so that next time the user plays the game again, the high score is still there? Right now, the highscore is lost when you quit the game application.
I have setup a box2d world with a keyboard controlled player. The player can walk and jump. How do I prevent the player from "sticking" to walls while jumping and pressing the directional key towards an object?