ActionScript 2.0 :: LoadMovie() : Success Or Failure?
Dec 21, 2006Can I trace whether the loadMovie() ... loads the specific content or not?
View 2 RepliesCan I trace whether the loadMovie() ... loads the specific content or not?
View 2 RepliesI've had great success with loadMovie and loadMovieNum, but occasionally I see something in the posts about attachMovie. Is there a difference between attach and load, or is one left over from a previous verion of Flash?
View 2 RepliesI'm writing an audio recorder in AS3.In AS2, when I loaded up the swf object, the "Camera and Microphone Access" window would pop up immediately. ("Requesting access to your camera and microphone .. allow").However, in AS3, it still works, but there is a noticeable 2-3 second delay before that window pops up.
View 2 RepliesI'm trying to send some variables to a php script, and I don't know how to figure out if I'm successful or not. Here's the AS 3 code I have now (the code snippet assumes that myArray was defined earlier)[code]...
View 6 RepliesI'm trying to parse this XML but without success? How to parse that xml file?
Code:
<site><point type="arr1">
<title>Universal</title>
<desc>Test2</desc>
<title>Omega</title>
<desc>Test2...</desc>
[Code] .....
I have that loop:
[AS]
for (i=1; i<this.nb; i++) {_root.bande.duplicateMovieClip("bande"+i, i, {_x:originex, _y:(originey+(bandeheight*i))});
[code]....
I've tried to implement the Introduction to ZendAMF without success
I'm getting this error on publishing the flash file:
Code: Select allError opening URL 'http://localhost/folder/'
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed
- I'm in localhost on Windows with Xampp.
- If I open in the browser the url of nc.connect() it returns "Zend Amf Endpoint".
- If I print the return of the Tutorials.getTutorials() from another script the returned array contains the correct data.
I've been working with LoadVars a lot recently and like it very much so. However, I have encountered a new problem. I have this array that already works in my Flash project:
[Code]....
just wondering if there is a way to reset the LoadVars() success variable to false or undefined. i need to do this b/c i'm repeatedly fetching data from a asp file using the same LoadVars() Obj to store the data sent from the asp page.
View 6 RepliesThere has been many threads on horizontal parallax effect but I'm trying to build a vertical one with minimal success. I need the effect at a very subtle scale and with easing if possible.
My Current Code (got it from a user here):
// an array with 3 movieClips on stage ... named respectivly
// make sure all these movies go beyond your stage
[Code].....
This is my script in trying to send data to the server side PHP [code]How do I write a SUCCESS and FAILED confirmation using gotoAndPlay to interact with the PHP?}}
View 6 RepliesI found similar issues in previous posts, but not this one. I publish a Flash CS3 .swf file,creating the html page and the javascript file too. If I click the html page locally, the sendAndLoad POST will succeed. If I upload the 3 files to the server, the sendAndLoad will fail. If I delete "AndLoad," the Send function will succeed. Url is fully qualified. I think I made a change in a configuration in Flash, because previous packages of this same file worked.
View 3 RepliesI'm trying to consume Google Finance API on a Flex Project but with no success. I want to use the ClienLogin mode, am able to get the auth token, but then I can't seem to get information from any of the feeds!
I've tried some of the few examples I found by Googling but still can't get it to work...
I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.
[Code]...
I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.
php (removed actual email):
Code: Select all<?PHP
$to = "name@email.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $_POST['theName'];
[code]....
find a script that allows for bookmarking but everything is outdated, plus the many incompatibilities across all the browsers.use a bookmark script in 2010 that has had success with majority of browsers?
View 2 RepliesHow to show success message in frontend....when a record is inserted in backend.
View 2 RepliesSimulating Validators, how do I programmatically invalidate a TextInput because it doesn't match some external criteria? (even though it passes regexp/other internal validator tests).e.g. on lost focus, point out to the user that "confirm email" doesn't match "email" (even though both are valid email addresses). I've got a regex validator on a cell phone TextInput field that ensures the user enters with the international prefix e.g. 0044 for the UK Then I have a confirm_mobile field but I want to check the mobile TextInput against confirm_mobile TextInput.
The input on confirm_mobile could always be a valid phone number and pass the regexp test but I need to ensure field 2 == field 1 and if not then invalidate field 2 (or at least simulate the Validator behavior) to tell the user the fields don't match. I can catch this at the end via a trigger on the form submit button but still need to know how to throw a red box round "confirm_mobile" using a validator.
Code: Select allprivate function check_mobile2(evt :FocusEvent)
{
if (strings_match(confirm_mobile.text , mobile.text))
{
[code]....
When Trying to export a flash graphic out of Flash CS3 to.PNG format, Flash will either export a severely distorted image or it will just crash and shutdown. Admittedly, the graphic is pushing the max limits of allowable export (7900x7900px @ 300dpi). I've never had problems exporting to .PNG before, as I use that feature every day, but rarely at this scale. Could the size be affecting it's ability to export correctly? If not, what could be the issue?
View 4 RepliesI got a FileRefrence instance for a simple upload and it did work for some time in the past, but now I just can't discover what made it stop woking. Can anyone help me find it out? To simplify, I took only the necessary code (not working as the full version). Here are some details:
1. I'm using Flash Player 9 (this can't change because it is a part of a bigger project). My current host machine is a Windows Vista one. The sandbox is set to network access.
2. The FileReference calls a simple php script hosted at an Apache server (Linux). The script permissions are set to 644 (it works for file uploads coming from plain html pages) and I set the folder permission to 777 just to avoid any other source of errors. Here is the simple code for the php script:
<?php// receiving variables$uid = trim($_POST['uid']); // just to check for a post variable that I must send while uploading (won't work even if I revome it)
// a file to check if the script is really called
$myfile = fopen("upload.txt", "wb");fputs($myfile, "file upload for uid $uid
");
[code]....
Just for checking I add a Loader instance and used its "load" method with the same "urlSend" variable. It worked and the php script generated the output file...
I've only started using Flash CS4 a short time ago and I'm having a problem being able to run a short flas movie on an iWeb site. Here's what I did to create the movie from scratch through to its failure to run on iWeb
1. A QuickTime movie was encoded in H264.2. This was then encoded with Adobe Media Encoder CS4 to produce the .flv file3. The .flv conversion was opened and processed with Flash CS4 which produced the .swf file along with the html file as well as a "preview.jpeg".4. All the files (.swf, .html, .flv plus the preview were then uploaded to my iDisk.5. Using an html snippet in iWeb, and using the correct coding, I attempted to create the site, which unfortunately refuses to load the movie.
A double click on the .swf file and/or the html file runs the movie along with the skin (but no preview) on my computer here so the encoding' appears to be OK, but uploading all the necessary files to thje server and adding the "correct" code results in a blank panel where the movie should be; no skin and no preview image either. The movie loads and runs perfectly when I used the Longtail Video JW player files and uploaded them to my iDisk (this proves the path to then server's OK).But it's a no-go using either the same .swf or the .html created with CS4. I've even gone through the process bit-by-bit viewing an on-line vbideo tutorial... their's works, mine doesn't.
i made an scrolling image sequence,that is controlled with moving left-right mouse or finger there are 120 images and its wheight is 36 Mb.it runs great on desctop as SWF .BUT when published to .ipa and lounched on iPad 2 - black sreen for aboute 5 sec. and throws back to "home".what does that mean?
View 1 RepliesIm trying to open a .fla i got from the internet. Its from 2004 and in flashMX format.
On opening it flash gives an "unexpected file format" error.
Is this a corrupt file or isnt it possible to use this? If the latter, is there a way to convert a .fla from MX format to cs5.5?
basically I have MC with an event listener listening for a mouse click, when clicked an alpha tween on a different MC starts. The MC that im tweening contains only a stoke of a box I created (no fill). when I test my movie this all works fine.If I then give this stoke box a fill colour my tween fails to work/run and nothing is displayed.
View 1 RepliesGb HDD (dual core). I've already installed with succeed Photoshop CS5 and Illustrator CS5 and InDesign CS5 with success on my computer with DVD versions on this Windows 7 boot. I precise I already succeed to install Flash CS5 on the same computer but with Windows Vista installed (dual boot), so the installer seems to be OK. But when I'm on my Windows 7 boot, when I try to install Flash CS5 Pro downloadable version, I get some errors as soon as the installer try to copy some files on my HD and the installer stops immediatly with those error messages:
Exit Code: 7
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 58 error(s), 62 warning(s)
WARNING: PayloadPolicyNode.SetAction: IN payload {03B6AF5B-A024-43DE-8DD2-8FB7B6A4149A} Adobe Media Player is required by {CFC9F871-7C40-40B6-BE4A-B98A5B309716} Adobe Flash CS5 but isn't free.
[code]....
I have a problem with executing a method called handleXML. At the moment I have the following code:[code]That means that for some reason the calling the handleXML method failed. Does someone know what is wrong with my code?
View 9 RepliesThis issue is being tracked on the facebook-actionscript-api site here:url...What steps will reproduce the problem? Call FacebookMobile.login( APP_ ID, cbLogin) on an Android tablet.Enter Facebook account credentials and press "Login".What is the expected output? What do you see instead?The login window closes and returns to the screen that launched the login window. The callback function 'cbLogin' is called.The screen goes completely white, and has 'Success' in small black text in the >top left corner of the screen. The callback function 'cbLogin' is never called.What version of the product are you using? On what operating system?
-Android v3.2
-facebook-actionscript-ap v1.7
-ASUS Eee Pad Transformer TF101
I've tested this on 2 Android phones, the HTC Incredible (Android v2.2) and the HTC Thunderbolt (Android v2.2.1), and it works fine on both.
How do I provide a success message (perhaps with a dynamic text field) when the three objects have been dragged to their targets?
package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
[code].....
I've notice all the trouble people are having trying to get updates of FP to cooperate with Vista and IE, but is anyone out
there having trouble getting the installer to work on a mac? After running the uninstaller, which says it was successful, I cannot get ANY version of FP to re-install on my mac. Both Firefox and Safari are showing the plug-in as missing and when prompted to download and install, the installation fails again and again.
The only way I have been able to successfully get flash player working again is to re-install my version of Creative Suite,
which automatically installs FP when you install the Flash application.
on a MacBook Pro
OSX 10.4.10
2.16 ghz Intel Core 2 Duo
I've got a movie that i'm calling a webservice from. When I run the movie in flash it downloads the service stub and makes the SOAPCall and loads the data as you would expect. But when i upload it to a site it loads the service stub makes the SOAPCall but "Received SOAP response from network" is not called.
About the files: I load the movie in an html file using UFO. There are some external interface calls before the webservice is called but these definatley return what is required for the webservice to run because the stub does not get downloaded if they don't return anything.[code]...