ActionScript 3.0 :: Loading Jpg Form External Site Not Working On Server
Mar 5, 2009
I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.
[Code]....
View 7 Replies
Similar Posts:
Oct 20, 2010
I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.
I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:
processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";
[code]....
View 2 Replies
Oct 20, 2010
I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:
this.mySWFLoadingClip.addChild(loader);
This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]
Below is the code from my Main SWF file and the External SWF file with the form on it:
MAIN SWF:
var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;
[Code].....
View 5 Replies
Aug 24, 2011
I'm a total begginer in flash and action script, I do have some knowledge in other programming languages.By trying to help a friend I added a contact form in his company website, that was made by someone else.his site is full flash with a index frame that loads several pages.After I built the new contact.swf and tested locally and also hosted by accessing it straight from the browser and embeded I tried to replace it with the old contact.swf that had no contact form.During the tests, everything was fine but when included in the site the form is not functioning.The form has a few rules that prevent empty fields with a green text warning. when I access it embeded separatelly in a web page it works, when I access it loaded by index.swf it does nothinh even if I press the submit button.So I assume the problem is in the index.swf action script.the button that loads the contact page has this code:
on (rollOver) {
gotoAndPlay(2);
}
[code]......
View 1 Replies
Mar 1, 2010
When going to the links on the flash banners at the bottom work perfectly. there is an increased frequency in people visiting the site and only typing and in those instances the links do not work.
View 2 Replies
Sep 19, 2011
I installed the FMS 4.5 on a debian system already running an apache web server. I configured the httpd.conf as mentioned in d6093a7e2f8312a374a1bde-8000.html but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS
View 9 Replies
Aug 8, 2011
I am trying to load an external swf image gallery onto a page in my website. I am new to action script and coding itself. I have spent the last five months perfecting my website and now am at the last stretch with just a couple minor issues but it is taking the life out of me trying to figure this out. I have tried to do the empty mc but just can't seem to get the swf to load. I don't know if I'm using the right code or even putting it in the right place. I even tried to use a preloader that I down loaded but keep getting an error Security Sandbox Violation when i load my external swf.
What I am trying to do is get the swf to load on the page that slides onto the stage when I select the gallery button. The main page is set up with a stationary bar with five buttons. One is for the gallery page that loads and that's where I want the swf to load when it slides onto the stage. I am using CS5 and AS 2.Here is the link to my site.I am also having issues with my contact form. I have deleted code and added code that I have found on many different sites but nothing I have tried has workedI am not to worried about the contact form if it's not an easy fix as I can buy one for 5 bucks.I am even willing to pay a small amount through PayPal to buy you a couple rounds or something for your time.Also don't be alarmed by the screeching sound when you click on the page links. it's only for a couple pages then it goes away. Has something to do with the MP3 music I added. Trying to get that taken care of now.
View 9 Replies
May 20, 2010
Ok what i have is a site made from 1 flash file where i am loading external swf files for my picture galleries. now what is happening is in Flash, dreamweaver and when i test the site, everything is working perfectly, the problem is coming when i go into internet explorer go to the site and click on the flash button to go to the picture gallery, that is when it is giving me a Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
View 3 Replies
Jan 16, 2004
i am extreemly new to flash / website design ( i made my first site 6 months ago ) i am very interested in making a good looking flash site. I have made a simple flash site before using dynamic text loading it form .txt documents. too bad the site is realy lame and i want to make a better one. here is the url to my site here This came about throught the useage of tutorials on this site. i am using flash MX version 6 now i am in the process of making a new site for my profile which will be totaly flash, using flash movies getting imported into a main site under a certain layer.here is how it is set up.
[Code]....
View 3 Replies
Oct 20, 2010
Im having issues with the loading external video method in acitonscript 3.0 book by todd perkin. The issue is about the lesson on page 308 in ch 11.
[Code]...
This is the only thing that crashing my site. The load external video methods nice but if I cant make practical use of it, its useless. Any actionscript gurus out there know a solution to fix this problem?
View 1 Replies
Apr 13, 2009
i just need to know about loading external sxf into an existing flash site. i used the load external code. but i just want to know about the link . how must i be. the example it like so
[Code]...
now the path where it says path how must it be. once these files are uploaded to my server. must it be like so(as above) or how the full part which is ./public_html/pics.swf
View 1 Replies
Jun 4, 2004
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
May 12, 2009
We just moved FMS onto a new server and the fms seems to be working fine. But when I go to load a flv in flash using the component inspector i type in the content path for where the flv is located on the fms server and it just keeps saying 'Failed to load flv'. If i type the content path for the location on the old server it loads up fine. I honestly dont know what the problem is as everything is the same as it was on the old server just a different server with different IP address.
View 11 Replies
Nov 28, 2009
am sending one user object from java to flex using remote object,now i want to get each item from that array to display in text boxes...how can i do this ?
userInfo=event.result as Array;
<mx:FormItem label="FirstName" fontWeight="bold" width="325" required="true">[code].....
View 1 Replies
Oct 6, 2009
So I have this slideshow, meant to just cycle through 50 or so images, loading each up for a few seconds before it goes away. It obtains the information for the images from a database.For all my testing, it works as it should in IE, Firefox, Opera, and Safari on Windows.Yet I'm repeatedly told by someone that it does not work at all on Safari on Mac, but instead just forever shows the loading movieclip I have in.Sadly, I don't have a Mac and I don't know anyone, save for this person, who owns one, thus I'm unsure what is going on, let alone how to solve it.You can view it there. I'm just at a loss for why it's having issues. Is it just a single case, or is it Safari on Mac in general, or perhaps Mac itself in general?
View 2 Replies
Feb 7, 2011
I have a listBox and I want to take data from a php file and insert it in my list box. But I am doing something wrong, because it's not working.
The php file retrives data in the following format:
echo "nrsongs=" . $nr_songs;
$i=0;
foreach($song_ids as $song_id){
$i++;
[Code].....
View 2 Replies
Mar 23, 2012
So I have a project I am working on in which I would like to teach how to cash a scratch off card. I have made the scratch and made it so it will "scratch"
Before: After:
Now I have saved this out and am trying to load this into my "holder" however I am getting an error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ScratchTicket()
When I use this code:
stop();
import flash.events.MouseEvent;
nextPG_btn.addEventListener(MouseEvent.CLICK, nClick);
lastPG_btn.addEventListener(MouseEvent.CLICK, lClick);
[Code]....
View 1 Replies
May 17, 2010
I have one .swf that loads a second one on level 2.level 2 then in turn loads variables from a text file .The problem is that it works locally, but refuses to work on the server. The urls are all local. This is such a simple procedure, I can't figure out what is wrong..... are there limitations doing this via server vs. locally? I never get any "file open" errors locally. I've spent 2 hours on this.... I'm just using a simple LoadVars similar to this example:
Code:
loadText = new LoadVars();
loadText.load("text3.txt");
[code].....
View 5 Replies
Aug 31, 2010
My preloader works fine only for the first time, then after it not works ? I got 3 buttons on the stage which are calling 3 external swfs. I am getting this Error ?
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display:: DisplayObjectContainer/removeChild()
at Design_fla::MainTimeline/finishLoading()
[Code].....
View 1 Replies
Aug 28, 2005
I'm having trouble with this script. I have an external text file, from which all of the text on the page is loaded. I also have a series of thumbnails, but I need to have different numbers on each page, so I figured I'd put the number of thumbnails into the text file too and then run a loop to create the thumbnails and buttons dynamically. The loop works fine, until I try to use the value I have loaded from the text file. I think it is something to do with it being in a separate function, but I have tried making it _global.counter, I have tried putting the whole for() loop inside the myData.onLoad function. Basically, I have tried everything I can think of and still the loop does not run when the counter value is specified externally.
[Code]...
View 3 Replies
Jul 17, 2009
I know many have had problems getting a child .swf file to load once put on the server though it would work perfectly on the local machine.
The solution is simple: absolute linkage - so lets say your child .swf is located in a folder named myFile on the root folder and your parent .swf is on the root, and in your AS3, you are linking to an XML file which is in the myFile folder inside of a folder name "xml" like so:
var xmlLoader:URLLoader = new URLLoader();
var url:URLRequest = new URLRequest("xml/myXml.xml");
var xmlData:XML;
xmlLoader.load(url);
[Code].....
View 1 Replies
Jul 14, 2010
in my projects i often use some xml files to load external text that i can format in css and it worked fine till now..i have a site that i am prograaming in italian and german and in both languages there is much text that contains special characters as "à " "ò" "è" "ù" "ä" "ü" and so on .. the problem is that when i write some text with this special characters in xml when the text is loaded in the flash this special characters are not recognised and instead of them a small square is displayed ..
i tryed to load the text from a html file instead of a xml file (because in HTML i know how to write theese special characters and let them display right in my html pages .. for example à = à but no way .. the flash now loades the text à instead of à ..
View 2 Replies
Sep 8, 2010
myData = new LoadVars();
myData.load("myText1.txt");
myData.onLoad = function() {
[Code].....
I thought i would be able to load the files from the press of a button.
this doesnt work i can load the external files from the btns,
Problem this is not working.I cant understnd the reason why. when the above code works fine. Problem is i do need to load the external varaibles with a button press.
//loading external file 2
myData = new LoadVars();
myData.load("myText1.txt");
[Code].....
View 4 Replies
Mar 30, 2009
I found this tutorial online to load a external stylesheet to then load some text content in your box. [URL]. I applied it to my site but its not working! My settings are as follows:
stylesheet = saved under styles/flashStyles.css
text = saved under text/aboutus.txt
Dynamic box = named aboutUs_text
Here is my code. The only thing I keep seeing is 'Could not load CSS stylesheet' when I preview my .swf or when I upload it to my server.
function getNewsStyles() {
aboutUs_text.text = "Getting news...";
// load stylesheet first, then get content (separate function)
var flash_css = new TextField.StyleSheet();
flash_css.onLoad = function(success:Boolean) {
if (success) {
[Code] .....
View 3 Replies
Oct 26, 2010
I would go about loading an xml file from an external domain.I am trying to create a swf file that loads a rss feed. I have found that you must create a proxy for the xml though I am unsure how to go about this.
View 0 Replies
Jun 4, 2004
I am having trouble loading an XML file on an external server into my flash movie when it is uploaded.
The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
Nov 7, 2005
I'm using the kirupa fla source file for the hover caption URL...and have created an external movie file where I want the hover captions to appear to be loaded into the main movie swf. The hover captions don't work once this swf has been loaded but works as a standalone swf.
View 2 Replies
Nov 5, 2009
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
View 12 Replies
Dec 14, 2009
I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
View 2 Replies
Jan 17, 2010
I have a site that I created in flash and I need to add a login to a site caleld sharefile. This form works correctly in html but I can't get it to work in my flash file.Here is the code snippet:
[Code]...
I have the input text ready with one input box labeled username and the other labeled password in flash and on the submit button I have the script: When I publish the file it takes me to the right website but it does not log me in. It just acts as if I just put a regular link to the sharefile login page. I figured this was too simple.
View 1 Replies