Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




SendAndLoad Problem Running Locally But Through Html Page



Hi

I have a flash application that uses sendAndLoad to load in some data from xml. This works fine when i run them locally through the Flash Player, however still running locally but inside a html page it doesnt work at all.

For some reason the xml onLoad returned result is just blank.

Anyone any idea why running it locally inside a html file would stop it working? I dont see how it could be a crossdomain thing, as i am running it locally so it isnt on a domain.

Any help?

Thanks



FlashKit > Flash Help > Flash MX
Posted on: 02-08-2006, 03:13 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

SendAndLoad Problem Running Locally But Through Html Page
Hi

I have a flash application that uses sendAndLoad to load in some data from xml. This works fine when i run them locally through the Flash Player, however still running locally but inside a html page it doesnt work at all.
For some reason the xml onLoad returned result is just blank.

Anyone any idea why running it locally inside a html file would stop it working? I dont see how it could be a crossdomain thing, as i am running it locally so it isnt on a domain.

Any help?

Thanks

Swf Running Slowly In Html Page
Hi, im a beginner in flash,im making a web site flash, when i test the scenes and movies they go quite smooth and fluent but when i publish them if i open the html page they run a bit slower and less fluently, the difference is not really huge but its annoying, does anyone know why this is happening or is it just a normal thing to happen?

thanks a lot

Intro Is Running A Bit Slow In Html Page
I have created an intro with matching sounds. Means when the scene in flash changes the song also changes, its working fine when i am exporting the movie in swf. But when i am placing that movie in html page it is running a bit slow. The sound and the sceves not matcing. Any idea why?

Flash Animation Running Slow In Html Page
Any help would be much appreciated.

I have been having problems with my animation and flash files in general once I put them in a html page. The animations run perfect running in flash player but very slow in html page.

The problem gets worse online. One of my swf's is 156k and takes up to fifteen seconds to completely load.
I've noticed that it will take about five seconds sometimes for the preloader to start. I have some code on the first page to detect for the correct flash player, but I never thought that would slow a page down five seconds.

Many thanks in advance
Kevin

SendAndLoad Works Locally But Not On Site...
Anyone have any idea on this?

My sendAndLoad

PHP Code:



temp.onPress = function() {
        if (this._parent.ratingsEnabled) {
            trace("going to update current subtitle rating");
            // show loading
            this.loadingScore._visible = true;
            // diable all rating once again...
            disableRating();
            var result_lv:LoadVars = new LoadVars();
            result_lv.onLoad = function(success:Boolean) {
                if (success) {
                    trace("success " + result_lv.newScore);
                    //wait for new score
                    _root.ratingScore = result_lv.newScore;
                    trace(_root.ratingScore);
                    //update txt and update star
                    updateMask();
                    // removing loading
                    loadingScore._visible = false;
                } else {
                    trace("fail");
                    //result_ta.text = "Error connecting to server.";
                }
            };
            var send_lv:LoadVars = new LoadVars();
            send_lv.score2 = this.tempNum;
            send_lv.id = 0;
            trace(send_lv.toString());
            send_lv.sendAndLoad("http://www.xxx.com/xx/xx/addRating.php", result_lv);
        }
    }; 




my php

PHP Code:



echo "&newScore=" . $newAvgScore; 

Having Problems Running My Site Locally
Hi guys,

A portion of my site has video content being streamed from my servers online, it works great.

Now I want to run these video locally, but the AS3 video player im using is making it difficult for me. I think it was coded to be only streamed online. I need your help to figure out where it indicated this in the code below.

Code:

import caurina.transitions.*;

var conn:NetConnection = new NetConnection();
conn.connect(null);

var stream:NetStream = new NetStream(conn);
stream.play("videos/kidsart.flv");
var metaListener:Object = new Object();
metaListener.onMetaData = theMeta;
stream.client = metaListener;

var st:SoundTransform = new SoundTransform();
stream.soundTransform = st;

var video:Video = new Video();
video.attachNetStream(stream);
video.width = 640;
video.height = 360;
video.x = 70;
video.y = 0;
video_mc.addChild(video)

SendAndLoad Dosent Works On A Remote Server But Worls Locally
Hi,

I really have a serious problem using the sendAndLoad method which i use to retrieve variable from mysql DB uploaded on a remote server. I have the php files in a folder functions which is under web and the AS classes and swf and html in the root of the web folder uploaded on the FTP server. When I execute this method locally everything is working perfectly but when it is uploaded on the server with the same db i get undefined value (vars.lastorder = this.lastorder;).I actually need to get the last order id from the PHP script. When I try and pass data the method is working and the server executes insert query but when i try retrieve im not able to retrieve the value remotley I really dont have an idea about this problem cause its functioning on the local level and not remotely. Im using Apache 2.0 server locally and the hosting provider has 1.3.37 could this be a problem? Or there are some security issues involved? Or do you see a problem that the action script files and the php are not in the same folder but i dont think so cause the other methods are working.
Can you give me any suggestions im really trying hard with this problem 3 days. The code that I use is posted below.








Attach Code

/** ACTION SCRIPT 2.0 CODE */
dataIn.onLoad = function() {

if (this.result1 == "1") {


var listOfItems :Array = new Array();
listOfItems = shoppingCart.getCart();
var i:Number;


var vars:LoadVars = new LoadVars();

for (i=0; i<listOfItems.length;i++)
{
var dummy:LoadVars = new LoadVars();


var itemx:Item= new Item();
itemx = listOfItems[i];
vars.productname = itemx.getName();
vars.quantity = itemx.getQuantity();
vars.lastorder = this.lastorder;
vars.sendAndLoad(ip+"/functions/order2.php",dummy,"POST");

}

shoppingCart.removeAllItems();
totalPreis =new Number(0);
grid1.removeAll();
custName = _root.od_payment_first_name.text;
custSurname = _root.od_payment_last_name.text;
_level0.gotoAndStop("thankYouFrame");


} else {

Alert.okLabel = "Nein";
var alertbox:Alert = Alert.show("Sorry there has been a technical problem !!", "Cart alert", Alert.OK);
}
};

/** PHP CODE * PART OF IT /

$resultx = mysql_query("SELECT tbl_order.od_id FROM tbl_order ORDER BY tbl_order.od_id DESC LIMIT 1");

for($x = 0 ; $x < mysql_num_rows($resultx) ; $x++)
{

$row = mysql_fetch_assoc($resultx);

$last_order = $row['od_id'];

}






if ($result1 == 1)
{

echo "&result1=1&lastorder=$last_order&";

}
else
{
echo "&result1=0&lastorder=$last_order&";

}

dbClose();

Close Window

Can We Post Variables By Running Flash Locally?
Hi guys!!!

I have a small clarification ....I have created a flash form and posting the variables of the form to an asp page and sending an email .....My doubt is whether I can post and send the form data's to a email by running the flash locally from our system......but the asp file will be on the server....can we do tht ....will it work? ...if so please let me know how to go about it.....I successfully receive emails if I run the flash from the server...Please somebody help me in this.....appreciate your help.......thank you....

Kind Regards,
Anthony.

.swf Running Locally - Loading Txt File Variables Off Webserver
Hi Guys,

hoping someone can help with a small problem.

I am trying to load variables stored in a text file which sits on my webserver into the .swf which is running locally.

the whole thing works fine when telling the .swf to pull the variables from an identical local text file, when telling it to pull them from the server i get nothing.

however, when i cntrl+enter within flash to export it works fine - when i minimise flash and run the .swf that has just been created i'm back to getting nothing again.

Have also tried opening the .swf with i.e. but still no joy.


Any ideas??


Hope my description is clear enough!!

Accessing Local Folders With Flash Application Running Locally
I have built a flash audio player, and have compiled it into an application. My problem is how can I use actionscript or anything else to enable a browse function to open the local folders like My Music? I have looked all over the internet and can not find anything on this.

For example if I build an HTA application, I can use an Active Object such as this one:


Code:
" function LoadDocument(){
cDialog.CancelError=true;
try{
cDialog.Filter="Money Manager Files (*.mmf)|*.mmf|"
cDialog.ShowOpen();
var ForReading = 1;
var fso = new ActiveXObject("Scripting.FileSystemObject");
var f = fso.OpenTextFile(cDialog.filename, ForReading);
var r = f.ReadAll();
f.close();
iView.document.body.innerHTML=r;
//This variable is used in the checkForSave function to see if there is new content in the div
sPersistValue=iView.document.body.innerHTML;}
catch(e){
var sCancel="true";
return sCancel;}
iView.focus(); "


to show the file open to local folders dialouge box. Is'nt there anyway I can write something in flash that will do the same thing? this is really racking my mind.

thanks for any suggestions,
Rachael

Streming Video From Pc To Flash Page (locally)? How?
I am new to this streaming idea. What I need to do is, by using the flash media encoder 2 am plan on converting an incoming video feed to my pc and then save the file to a xxamp direcotry of the pc. so if you go to http://ipaddressofmypc/video.flv (fom inside of my network). You can see the video feed so I think, or do I need the flash video server.

I am a audio visual programmer and I use flash to control your tv, vcr, mediacenter and so on. I want to take the viedo input of my pc(input is a vcr). Then stream it realtime to a touch panel that is on the same network and viewing a flash interface full screen that resieds on the local pc that has the video input and flash media encoder 2.

So as I undertsand it I can use just the media converter right? I dont need the flash media server or do I?

And is there any tutorials on how to show the flv inside of a movieclip or will it just work with the componet? Any help is apprieciated.

SendAndLoad And Asp.net Page
Hello,

I am a .net developer. I have inherited a asp.net 1.1 visual basic application that has a web page that hosts a flash presentation. When the presentation completes there is an actionscript that makes the following call:

var result_lv:LoadVars = new LoadVars();
var send_lv:LoadVars = new LoadVars();

send_lv.sendAndLoad("OrientationComplete.aspx?User ID="+_root.strUserID+"&Result=true", result_lv, "POST");


This call works in that I can hit a breakpoint in the Load() of OrientationComplete.aspx and update a database.

I cannot make OrientationComplete.aspx render however. I can also see the http for OrientationComplete.aspx in Fiddler but the page never appears. I want to have the user enter something on OrientationComplete.aspx.

Any idea why OrientationComplete.aspx does not render?


Thank you!

jmatt

SendAndLoad() To PHP Page
I'm trying to make a simple form in flash POST to a PHP page. Now, the PHP page works correctly if I access it directly with my browser, but trying to use this "sendAndLoad" function doesn't appear to hit the PHP page (the PHP page takes the POST variables and sticks them in a MySQL table).

The SWF and PHP files in question are located in the same directory.


Actionscript Code:
//POST to webpage
        var userdata:LoadVars = new LoadVars();
        userdata.text_org=text_org.text;
        userdata.text_name=text_name.text;
        userdata.text_email=text_email.text;
        userdata.text_desc=text_desc.text;
        userdata.videofilename=lastVideoName + ".flv";
        userdata.videofilelink=appDirectory + "/" + lastVideoName + ".flv";
       
        var pageresponse:LoadVars = new LoadVars();
       
        pageresponse.onLoad=function(success) {
            if(success){
                text_errorSubmit.text="Success!";
            }
        }
       
        userData.sendAndLoad("asksubmit.php", pageresponse, "POST");

Any ideas? Thanks


[edit]: Course, it could possibly be my PHP code since this is the first time I've actually touched PHP


PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>POST page</title>
</head>
 
<body>
<?php
$text_org = $_POST["text_org"];
$text_name = $_POST["text_name"];
$text_email = $_POST["text_email"];
$text_desc = $_POST["text_desc"];
$videofilename = $_POST["videofilename"];
$videofilelink = $_POST["videofilelink"];
$status = "Not Reviewed";
 
/*
echo $text_org;
echo $text_name;
echo $text_email;
echo $text_desc;
echo $videofilename;
echo $videofilelink;
*/
 
// open connection to database
$connection = mysql_connect("localhost", "myuser", "mypass") or die ("Unable to connect!");
mysql_select_db("learning_askapp") or die ("Unable to select database!");
 
// formulate and execute query
$query = "INSERT INTO submissions (org, name, email, description, videofilename, videofilelink, status) VALUES ('$text_org', '$text_name', '$text_email', '$text_desc', '$videofilename', '$videofilelink', '$status')";
$result = mysql_query($query) or die("Error in query: ". mysql_error());
 
// clean up
mysql_close($connection);
 
?>
</body>
</html>

SendAndLoad() POST To PHP Page
I'm trying to make a simple form in flash POST to a PHP page. Now, the PHP page works correctly if I access it directly with my browser, but trying to use this "sendAndLoad" function doesn't appear to hit the PHP page (the PHP page takes the POST variables and sticks them in a MySQL table).

The SWF and PHP files in question are located in the same directory.


Code:
//POST to webpage
var userdata:LoadVars = new LoadVars();
userdata.text_org=text_org.text;
userdata.text_name=text_name.text;
userdata.text_email=text_email.text;
userdata.text_desc=text_desc.text;
userdata.videofilename=lastVideoName + ".flv";
userdata.videofilelink=appDirectory + "/" + lastVideoName + ".flv";

var pageresponse:LoadVars = new LoadVars();

pageresponse.onLoad=function(success) {
if(success){
text_errorSubmit.text="Success!";
}
}

userData.sendAndLoad("asksubmit.php", pageresponse, "POST");
Any ideas? Thanks


Here's the PHP too just in case it turns out to be the problem:


Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>POST page</title>
</head>

<body>
<?php
$text_org = $_POST["text_org"];
$text_name = $_POST["text_name"];
$text_email = $_POST["text_email"];
$text_desc = $_POST["text_desc"];
$videofilename = $_POST["videofilename"];
$videofilelink = $_POST["videofilelink"];
$status = "Not Reviewed";

/*
echo $text_org;
echo $text_name;
echo $text_email;
echo $text_desc;
echo $videofilename;
echo $videofilelink;
*/

// open connection to database
$connection = mysql_connect("localhost", "myuser", "mypass") or die ("Unable to connect!");
mysql_select_db("learning_askapp") or die ("Unable to select database!");

// formulate and execute query
$query = "INSERT INTO submissions (org, name, email, description, videofilename, videofilelink, status) VALUES ('$text_org', '$text_name', '$text_email', '$text_desc', '$videofilename', '$videofilelink', '$status')";
$result = mysql_query($query) or die("Error in query: ". mysql_error());

// clean up
mysql_close($connection);

?>
</body>
</html>

SendAndLoad On A Page In Another Domain
hi!

In my movie, i must use data with xml stream.
i use the sendAndLoad
Code:
var out_xml : XML = createXMLin(current, dateMin, dateMax);
out_xml.sendAndLoad(url, data_xml);

then

Code:
data_xml.onLoad = function(ok) {
        if (ok) {
         trace ("OK");
      }
      else
         {
            trace ("nothing");
         }
   };


url is the url of the call page.

when url is a page in the same domain it's work
(if my flash movie is http://198.25.22.1:8080/home.jsp and the call url is http://198.25.22.1:7001/test.jsp)

when i excecute the .exe, the call page can be everywhere it's work

BUT
when the page with the flash is on my domain http://198.25.22.1:8080/home.jsp  and the call page is on another domain http://10.10.10.1:8080/test.jsp it doesnt work.

anything can help me
thanks

Page 2 - SendAndLoad Without Button
tisk tisk twas a bit rude! :¬) if you get an error when testing/publishing then things might not go as expected since the code will stop processing after that point. That particular error message means that you have some code placed on a button that is not within an on event handler i.e:

Code:


//good
on(release)
{
_root.myvar = 10;
myFunction(20);
}

// bad
_root.myvar = 10;
myFunction(20);


You need to move the code off the button which all in all I thought was what your post was about...

Error Loading WSDL When Hitting Page Online (works Locally)
when running the swf from Ctrl-Enter and/or running it as a local projector, I have no problems running all the web services that are on a remote server at 64.blah.blah.blah.

However, once I upload the site to our company testing webserver pixelfarminteractive.com, the web services no longer load, giving me this error:
Could not load WSDL

I could have sworn we had this working in a past project thanks to this line of code:
System.security.allowDomain("*");

Is that no longer allowed in Flash 8 player? Or is it purely because the Web service is on a different server? (maybe the old project had the WSDL on the same server the SWF was hosted?)

What's the point of connecting to a shared web service if you can only use it when your flash is on its server?

here's the (hopelessly nondescript) flash help on the matter: http://livedocs.macromedia.com/flash.../00003023.html

Keep SWF Running When Page Changes
I have built a website which is made up of a number of html pages which each have the same Flash banner positioned at the top. At the moment each time you go to a new page in the site the banner restarts again at frame 1 as it is effectively re-loaded each time.

Is there a way to have the swf run continuously whilst the browser window remains open even if the html page changes. I don't really want to use frames if possible.

Thanks.

Stef

Get The URL Of The Page Where The Swf Is Running
I've created a swf that is running in a ASP.NET Master Page.

The problem is that on every click on a specific link the page is reloading with other informations, but the swf is the same an start overt the first frame.



Because is an animation that lead to a static button group, I want it to happen on the first load.



Now the problem comes:

I was tinking of a script that gets me the url of the page where the swf is paying, and using this I can specify in the swf when to run over from the first frame.



So:

1. When I type in the browser the adress of the site it will show me the first page whith the swf playing from the first frame.

2. When I click on a link that transforms me the entire page, the Address in the Browser changes and I want the same swf not to play from the first frame, but from one choosed by me.



Thanks in anticipation.


My Quicktime Page Works Locally, But Shows A Broken Link When I Post It Online.?
I don't understand why, but when I launch the html page from my desktop, the quicktime, PANO file seems to work.

When I post them up on the web, it shows a broken link.

The embed code is...

//<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320" HEIGHT="255"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" BORDER="4"><PARAM NAME="SRC" VALUE="Studio.pano">
<PARAM NAME="AUTOPLAY" VALUE="TRUE"> <PARAM NAME="CONTROLLER" VALUE="TRUE">
<EMBED SRC="Studio.pano" WIDTH="320" HEIGHT="255" CONTROLLER="TRUE"
PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </OBJECT>

What is going on?


Thanks.

Published HTML Works Locally, But Not From The Webserver
Hi there all,
Can anyone suggest why my site might work on my local machine but when I upload it to my serverspace and then go to it with IE I just get a white (blank screen) The file is there ok, and IE is getting the code because you can see it with view source, and I also get the 'click to activate this control' or whatever standard Flash message when I hover over it, but no content??
Something to do with Macromedia settings manager maybe? I have looked but can't figure out the answer...any hints would be greatly appreciated..


Kody

Flv Skin Only Shows When Previewing Html Locally
When I import FLV into a flash file then publish to HTML, I have no problem seeing the video (WITH skin controls) in a browser but only when opening the html file directly (ie: double clicking html file in windows explorer). But when I view the html through our file system http:/etc etc (running an apache server) the video plays but there are no controls. I'm guessing something is filtering the controls out for some reason? If so how do I get around this? I've tried using the preset skins and also uploading skin to our server and using an http path, doesn't help.

The bigger picture is that I want video to play in our web pages, without the "click to activate" thing and also so our javascript navigation flyouts display over top of the flash (not beneath). I can get all these things to work for *normal* swf/html files but not flash video. It seems to be a completely different beast... Thought I'd mention this too, as solving the skin problem is just one obstacle on the way to solving this wider objective.

Access Another Running Swf On Same Page
Which class/method should i use to call a function in another swf running in the same page?


thanks in advance

A Load Html Page Button On A Two Frame Html Page
can someone help me? I want to load an html page on a different frame of the same html page from a swf that are in the principal frame. I know i have to use javascript and, i suppose, fscommand. Can someone help me? I'm a novice on javascript

SendAndLoad Html Entities
hi

I have an issue trying to send out a url with value name pairs in different languages. Does anyone know if there is a function in flash to convert the characters to html entities before hand?

please help :/

Flash MX - Load Page After Running
I have an embeded Flash movie in HTML and after it does its run, I want it to load an html file in its place on the page.. Is this possible? or do I have to ahve it all html or all flash?

Thanks in advance..

Chap

Linking A Flash To A Locally Saved File Or Html Document
hey there guys im doing my final major poject for college in media and were making a set of films and making a flash interface to go with them i was just wondering how can i make links in flash that either link to a an localy saved Html document or a localy saved .mov? i know how to link them to a website but not a locally saved file?

i would much appricate the help has this is the most important of my projects.

so thanks in advance

Matthew

[F8] Turn Off HTML Formatting For SendAndLoad
Hi guys,

I'm using sendAndLoad to send some variables but the output is coming like this:
name=<TEXTFORMAT LEADING="-5"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" LETTERSPACING="0" KERNING="0">arnie</FONT></P></TEXTFORM

email=<TEXTFORMAT LEADING="-5"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" LETTERSPACING="0" KERNING="0">anrie@bigmuscles.com</FON
/P></TEXTFORMAT>
contact_no=<TEXTFORMAT LEADING="-5"><P ALIGN=

Is there anyway to turn off the HTML formatting?

Cheers
Matt

Flash Movie Is Not Running Properly On Web Page
I am having some issues with my flash movie on a website. The movie seems to start correctly then it simply freezes andf the additional elements dont come up. It resets when it is supposed to loop but continues to show the other elements. The movie looks fine in flash and on my root computer but once I put it on the web I have this problem from every computer I check it from. I created the movie and web page on amc but experience the problem on both pcs and macs. Any ideas?
Edit/Delete Message

Need To Avoid Running Menu Animation Every Time The Page Changes
Hello,

I'm wondering if there's a way that I don't have to run a menu's animation every time a different page is called with the same menu. I will have a series of pages sharing a menu via SSI. Can I do this with any kind of server side cookie or something?

I'm also planning to have a hidden frame with a sound loop. Maybe I can hide a variable or something in that frame.

Any ideas?

Thanks in advance

Will Swf Loaded Into One Html Page Be Cached For Another Html Page
Trying to decide how best to structure a flash website and would like to know if loaded swf elements are cached.

Basically I was going to structure the site into 5 separate sections each a separate flash file on a separate html page.

i.e

Homepage.html (this holds homepage.swf)
Services.html (this holds services.swf)
Portfolio.html (this holds portfolio.swf)
ComingSoon.html (this holds comingsoon.swf)
Contact.html (this holds contact.swf)

Each of these main flash files will share certain elements such as the navigation buttons, the main interface etc.

My question is, once a shared swf element has been loaded into homepage.html, is this shared element then in the browsers cache and does not require to be downloaded again when the user navigates to say services.html?

The main reason I am structuring it this way is to allow bookmarking of each of the main sections and also to keep the initial download file size down rather than have to download all 5 sections as one movie.

Thanks

Paul

Tut On Flash Running On Top Of HTML
where can i find a great tutorial on how to make those flash files that dance on top of html files...

i have an intranet site that i manage here at work, and would like a flash button that would dance all over the page for a section on inspirational art links... (breaking out of the mold, so to speak)

any help pointing me to the right direction would be fantastically appreciated...

thank you a MILLION in advance,
manny

Running Js Function In Html From A Swf.
Hi there,

I've got an html page with a swf inside it. Using a click in the swf, I want a javascript function in the head of the html (which has effects in the html) to run.

Hope that makes sense, any help on how to solve this would be wonderful!

Thanks,
Rebecca

Running Behind The Html File
hi
i am using the image(human body) function where user can see the partcular part i.e like when the user want to see the head part then the user need to select the particular part the function(head of the human body) will zoom ,
but now user will pass the parameter which part to zoom from flash parm after it need to zoom the particular part and save it as jpg . but in the html file it should show the jpg file not an swf file and its function
How to solve this issue can any one give the idea for this ..
~~
Sk

Running HTML From Within Flash
Hi All Im a newbie to Flash. I have some html file that I need to put in my website how do run these files from within Flash

thanks guys

Incoherence Between Running Swf And Embedding Into Html...? Please Help...
i have an interface that loads external swfs into a mc that covers the entire stage at the bottommost level, using this code

to_load = "design" + [_root.pos+1]+".swf";
_root.target.unloadMovie();
_root.target.loadMovie(to_load);

it constructs a filename to load from a dynamic variable. i know the unloadmovie is unneccesary but i've just been trying anything...

now it works when i am in flash mx and say test movie... the external swf files (design1.swf, design2.swf) loads properly and bump each other out of the way as the other is loaded...

and then i try it with html...

<embed src="blocks.swf" width="800" height="600">

that's the code i used in the html file index.html...
and it does show, and it does work... except!!

when i load design1.swf into the target mc, and try to load design2.swf into and over it it DOES NOTHING...
nor can i try to reload design1.swf... which i could do while in the flash player environment...

a reload of the page doesn't solve the problem, in fact after the reload it refuses to load anything at all into the target mc...

but if i shut down the browser and open the page again, i can again load one of the swfs before it refuses to load anything anymore...

what the heck am i doing wrong that it doesn't register in the flash player but in the html!?

all the swfs are in the same directory in my computer, under "my site" in My Documents...

Slow Running Flash In Html
hey did anyone notice that flash animations run slower when viewed through an html file. Am i going crazy or is this actually happening. Anyone who might no the answer, please respond. Thanks a bunch

Opening Popup Page In Standalone Projection (no Html Mother Page)
Hello,
I am creating a standalone projector (CD with autorun).
This means my swf files are NOT contained within html.
I would like to, when clicking on button, open a popup html page with specific dimensions.
I was wondering if it is possible to do that, and what AS to use,
or if I have the obligation, to openpopups, to launch my swf files WITHIN html mother page.
HERE IS THE CODE OF MY BUTTON THAT WORKS (but does not open popup):
on (press) {
getURL("URL", "_blank");
}
HERE IS THE CODE FOR POPUP BUT DOES NOT WORK (opens html page normaly):
on (press) {
getURL("URL", "", "width=580,height=400,left=100,top=100");
}

thanks guys.

Opening Popup Page In Standalone Projection (no Html Mother Page)
Hello,
I am creating a standalone projector (CD with autorun).
This means my swf files are NOT contained within html.
I would like to, when clicking on button, open a popup html page with specific dimensions.
I was wondering if it is possible to do that, and what AS to use,
or if I have the obligation, to openpopups, to launch my swf files WITHIN html mother page.
HERE IS THE CODE OF MY BUTTON THAT WORKS (but does not open popup):
on (press) {
getURL("URL", "_blank");
}
HERE IS THE CODE FOR POPUP BUT DOES NOT WORK (opens html page normaly):
on (press) {
getURL("URL", "", "width=580,height=400,left=100,top=100");
}

thanks guys.

Swf Working Fine In Html Page But Showing In Asp Page In Ie Only(not Firefox &Opera)
Hi friends,

I am stuck in a weird problem.

A simple code for displaying flash slider in asp page is wrking fine in IE but not wrking properly in firefox & Opera browser.

same piece of code is wrking good in HTML file and showing properly in IE, firefox & Opera.

I am placing the piece of code and also attaching the asp page containing the code.

Please help me to solve the issue.




Code:
<table border=0 cellspacing=0 cellpadding=3 align=<%=imgAlign%>>
<tr>
<td align="center" width="50%">
<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="420" HEIGHT="730" id="slideShow">
<PARAM NAME=movie VALUE="slideShow.swf">
<PARAM NAME=quality VALUE=high>
<PARAM name="wmode" value="transparent">
<EMBED src="slideShow.swf" quality=high bgcolor=#FFFFFF WIDTH="420" HEIGHT="730" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</td>
</tr>
</table>
regards

Naming Of HTML Entry Page & Flash Intro Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?

One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected on both Mac & PC platforms? Detailed answers will be much appreciated, as well as links to tutorials.

peace out,
*< Scottie

Naming Of HTML Entry Page & Flash Main Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?

One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected. Detailed answers will be much appreciated, as well as links to tutorials.

peace out,
*< Scottie

Anyway To Have A Small Html Page Embedded Into A Larger Flash Page?
I've developed a website completely in Flash. Now, I have a space in this Flash page where I would like to have, upon a certain button click, load up an HTML page...within the Flash page itself. So, I have the layout, and all the links and all that in the Flash website. In the content area of that Flash site, I want an html page to appear after clicking a certain button, thus turning the Flash into somewhat of a border. Is there any simple way to do this?


Thanks a lot!

Embedd A Dynamic HTML Page In A Flash Page
Hello,
Lets say If i have a list of sorted html pages on my server, can I pull on of them and display it in my FLash movie dynamically according to the user prefrence. Say, the user want to only see files with the first letter 's', then can I pull up these files and display them dynamically in the Flash movie? if so, how do i go abt doign this???any help is appreciated!!!!thanks...

Ugly Transition From Flash Page To Html Page
Hi-

I made a flash movie with soundtrack as an intro for my client. At the end of the movie I put a frame action to get URL and automatically jump to the main page of the site. The background color for the site is black, but in between the intro flash page and the main nav page, white flashes for a split second. You can see the work in progress at www.musicbymelinda.com/melindasite/.

She loves the movie, hates the jarring white flash. I tried lengthening the movie, it didn't help ... she does not want to make her viewers click on a button to enter site.

Any suggestions how to make a smooth transition? thanks. -knox

Call Anchor In Html Page From Dynamic Page
Hi,

I'm having a problem with calling an anchor in an html page.
I try to do this from an dynamic textfield, in this textfield is a html code like:
<a href="page.html#anchor1">link</a> when i click it my default browser Safari(OSX) is opening and is pointing to page.html without the anchor link....This problem is a that is only happening in Safari. Can someone help me out here??

Greeting Zeb

Flash Splash Page Redirect To Html Page
I am very new to flash and please forgive my lack of knowledge.

So here is my question... How do I get this splash page to redirect to this HTML page as soon as the flash movie stops?

Also any preloader guidance or reading material would be greatly appreciated. I have no idea where to begin with the preloader.

Thanks in advance -

Popup Page In Standalone Swf (no Parent Html Page)
I am having a similar problem as david68 http://www.kirupa.com/forum/showthre...ight=popup+swf

I have created a standalone swf (my swf files are NOT contained within html). When a button is clicked I would like to open a popup html page with specific dimensions. There is surely a way to do this, right? By specifying the size in the HTML document using JavaScript or CSS....or possibly using some sort of script in getURL?

I tried using JavaScript in getURL in Flash...like this somewhat...

getURL("javascript:window.open('URL', 'win_name', 'width=580,height=400,left=100,top=100');");

But like david68, a blank white page opens and closes itself in the speed of a blinking eye.

Any ideas? Please help! Thanks.

Import The HTML Page Or Web Page Into Flash MovieClip
Hi,

Is there any possible to load or import the HTML page or web page (i.e, http://mail.yahoo.com) into Flash MovieClip?. If any knows the answer plz reply me immediately.

Balaji..

Copyright © 2005-08 www.BigResource.com, All rights reserved