Flash - XML - PHP together.....
How to get xml data created by php in flash file (Action script 3).....?
You would use a URLLoader in as3 and the as3 XML object which parses the XML text.
check out:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000132.html#wp118987
in the place of the Sample3.xml you just use your php script (which needs to generate correctly formatted xml)
Similar Messages
-
High Score Table: Writing a Simple Text File with Flash and PHP
I am having a problem getting Flash to work with PHP as I need Flash to read and write to a text file on a server to store simple name/score data for a games hi score table. I can read from the text file into Flash easily enough but also need to write to the file when a new high score is reached, so I need to use PHP to do that. I can send the data from flash to the php file via POST but so far it is not working. The PHP file is confirmed as working as I added an echo to the file which displayed a message so I could check that the server was running PHP - the files were also uploaded to a remote server so I could test them properly. Flash code is as follows:
//php filewriter
var myLV = new LoadVars();
function sendData() {
//sets up variable 'hsdata' to send to php
myLV.hsdata = myText;
myLV.send("hiscores.php");
I believe this sends the variable 'myText' to the php file as a variable called 'hsdata' which I want the php file to write into a text file. The mytext variable is just a long string that has all the scores and names in the hiscore. OK, XML would be better way of doing this but for speed I just want to get basic functionality working, so storing a simple text sting is adequate for now. The PHP code that reads the Flash 'hsdata' variable and writes it to the text file 'scores.txt' follows:
<?php
//assigns to variable the data POSTed from flash
$flashdata = $_POST["hsdata"];
//file handler opens file and erases all contents with w arg
$fh = fopen("scores.txt","w");
//adds data to file
fwrite ($fh,$flashdata);
//closes file
fclose ($fh);
echo 'php file is working';
?>
Any help with this would be greatly appreciated - once I can get php to write simple text files I should be ok. Thanks.Thanks for your help.
I have got Flash working to a certain extent with PHP using loadVars but have been unable to get flash to receive a variable declared in PHP. Here's my Flash code:
var outLV = new LoadVars();
var inLV = new LoadVars();
function sendData() {
outLV.hsdata = "Hello from Flash";
outLV.sendAndLoad("http://www.mysite.com/hiscores/test23.php",inLV,"post");
inLV.onLoad = function(success) {
if (success) {
//sets dynamic text box to show variable sent from php
statusTxt.text = phpmess;
} else {
statusTxt.text = "No Data Received";
This works ok and the inLV.onLoad function reports that it is receiving data but does not display the variable received from PHP. The PHP file is like this:
<?php
$mytxt =$_POST['hsdata'];
$myfile = "test23.txt";
$fh = fopen($myfile,'w');
//adds data to file
fwrite($fh, $mytxt);
//closes file
fclose ($fh);
$mess = "hello there from php";
echo ("&phpmess=$mess&");
?>
The PHP file is correctly receiving the hsdata from flash and writing it to a text file, but there seems to be a problem with the final part of the code which is intended to send a variable called 'phpmess' back to Flash, this is the string "hello there from php". How do I set up Flash and PHP so that PHP can send a variable back to Flash using echo? Really have tried everything but am totally baffled. Online tutorials have given numerous different syntax configurations for how the PHP file should be written which has really confused me - any help would be greatly appreciated. -
Array data between Flash and PHP
As the title suggests, I'm trying to find a good way of
getting an ActionScript/Flash dynamic array into PHP, so I can
serialize it and store it in a DB, then simply give back that same
array when it's called. Are there any popular techniques? The array
will always be a different size, containing different values -
which is why I'd like to keep the array in tact, to minimise the
amount of parameter transfers. If there's no good solution, I
suppose I could pass in parameters and read them in, create an
array and serialize that... but I'd much rather find a way of
having my flasher serialize his own array and pass me the
byte-code. Is this possible?
PHP doesn't need to read the contents of the array, simply
store it in a DB, so if there's some kind of flash method for
serializing an array into bytecode that it can unserialize and read
back later, that would be awesome.
Thanks. =]
[edit]
I found this:
http://sourceforge.net/projects/serializerclass/
a serializer class. Is this the best method?Sorry, I should have explained, we already use XML for data
transfers (though I personally find JSON much nicer with less
overhead). So, in this project, we use XML for data transfer
between flash and PHP/Database. The reason I wanted this
functionality, is because the flash array, in this one case, will
be completely dynamic and the PHP doesn't need to know the contents
of the array at all. In fact, in this instance, PHP is just the
mechanism used for storing the data. Becuase of the nature of the
data, I wanted to serialize the flash array, store it in the
database as Bytecode, then when the flash needs that information
again, I can pass back the same bytecode, which can then be
unserialized back into the original array.
I think I've found the solution, the one I linked in the
original post. I should know if it's as effective as I want it to
be in the next couple of days when my flasher gives it a try. =]
Thanks for the responses. If anyone has any other ideas,
please throw them in here. -
Flash & XML ... Please help me !!??
hi,
i have flash document & i want to write some data one my
xml docyment with flash. Plase help me. but i want to do it with
flash and not to do with .Net or something like that ... if any one
can help please mail me .
My email address:
[email protected]For starters, read the Help Docs in Flash on Data
Integration. There's even a tutorial in Flash 8 called "Flash and
PHP Integration." Then you might want to Google "flash php xml
tutorial" which returns plenty of stuff to keep you reading for a
while.
Good luck! -
I am using AS2 and passing some values from flash to php, flash files is on page file1.php values are passing fine , it pass values when user click button
when button is pressed { var myVal:LoadVars = new LoadVars(); myVal.flieName = "fileid1 "; myVal.send("file1.php", "_parent", "POST"); }
Problem: when it pass the values , it refresh the page and Flash File is also refreshed and Flash file start from frame 1 and all the values on flash becomes default in other words when user click "file1.php" is sumbitted , so the page is refreshed What is the solution , that after passing values the page remains or flash reamins as it is ( not refresh the contents )use:
var receiveLV:LoadVars=new LoadVars();
receiveLV.onData=function(src){
var myVal:LoadVars = new LoadVars(); myVal.flieName = "fileid1 "; myVal.sendAndLoad("file1.php", receiveLV,"POST"); } -
LoadVars-using send to pass a variable from flash to php
For the life of me, I've tried everything:
I've researched LoadVars on Adobe forum, used David Powers'
books, googled 'flash to php', LoadVars, etc. and tried
sendAndLoad, send, and using $_POST, $_GET, $_REQUEST.
$HTTP_POSTVARS but I keep getting this same error. any advice
please?
I have a Unix server running Apache/PHP 4 - LoadVars worked
to load name-value pairs into an array -see thread)
My goal with this simple app is to prototype being able to
pass a variable from flash to a variable in php.
Parse error: syntax error, unexpected T_VARIABLE in
flash_to_SQL.php on line 5
Actionscript 2.0 code:
var c :LoadVars = new LoadVars();
c.testing = "123FOUR";
c.send ("
http://127.0.0.1/flash_to_SQL.php","_self","POST");
php code: (I also tried $_POST, $_GET, $_REQUEST.
$HTTP_POSTVARS)
<?php
//mysql 4.1.2, php 4 , NO mysqli
ecbo $_REQUEST ['testing'];
/?>var formData:LoadVars = new LoadVars();
formData.fname = "Name";
formData.send("
http://www.website.com/flash_php.php",
formData, "POST");
<?php
$name = $_POST['fname'];
echo $name;
?> -
i have a flash & xml gallery source. whatever click the
thumbnails, opening first image. where is the problem? i need help,
please...
Flash & Xml
Gallerythen that's a problem. sometimes your cookie may loaded
sooner than the needed frame in your swf and when you try to go to
a frame that hasn't been downloaded, the swf will stay on frame 1.
i assume you already have a stop() on frame 1 and you check
the cookie's value before proceeding. in addition to waiting for
the cookie to load, you should wait for the needed frame of your
swf to load.
so, if you're not using a loop now to check for your cookie,
you'll need one for your swf to check its _framesloaded property
before advancing the timeline. -
Flash & XML Photo Gallery with Categories
Hello friends
i am trying but
i want to create Flash & XML Photo Gallery with Different Categories
please help meIf you want to do using oop
go throgh this article first
http://active.tutsplus.com/tutorials/actionscript/as3-101-oop-additional-concepts/ -
Flash xml slideshow in iWeb not working
Hallo
I am really struggling to get a Flash xml slideshow to work. I have used Flash Slideshow Maker app, which creates a slide.xml, .swf and .html file and everything is published in one folder "slideshow" on a local disk.
I am using the following code and it works perfectly when viewed in iWeb:
<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="920" HEIGHT="400" id="Phambili">
<PARAM NAME=movie VALUE="/Users/elsjevanzyl/Documents/Websites/Published Websites/Phambili/Slideshow/Phambili.swf?xml_path=slides.xml">
<PARAM NAME=quality VALUE=high>
<PARAM NAME="wmode" value="transparent">
<PARAM NAME=base VALUE=".">
<EMBED src="/Users/elsjevanzyl/Documents/Websites/Published Websites/Phambili/Slideshow/Phambili.swf?xml_path=slides.xml" quality=high wmode="transparent" WIDTH="920" HEIGHT="400"
NAME="Phambili" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
</EMBED>
</OBJECT>
But as soon as I publish it to FTP with following code, it displays the slideshow but NOT the photos or thumbs:
<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="920" HEIGHT="400" id="Phambili">
<PARAM NAME=movie VALUE="http://harmonieproteas.co.za/Slideshow/Phambili.swf?xml_path=slides.xml">
<PARAM NAME=quality VALUE=high>
<PARAM NAME="wmode" value="transparent">
<PARAM NAME=base VALUE=".">
<EMBED src="http://harmonieproteas.co.za/Slideshow/Phambili.swf?xml_path=slides.xml" quality=high wmode="transparent" WIDTH="920" HEIGHT="400"
NAME="Phambili" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
</EMBED>
</OBJECT>
I have also tried iFrame code, but this is not working at all.
Can anybody tell me what I am doing wrong when publishing the above code to FTP?
Any help will be appreciated.Flash isn't my thing but, it appears that you are missing the images:
<flash_parameters copyright="socusoftFSMTheme">
<preferences>
<global>
<basic_property movieWidth="920" movieHeight="400" decoration="" html_title="Title" loadStyle="Pie" startAutoPlay="true" continuum="true" backgroundColor="0x00000000" hideAdobeMenu="true" photoDynamicShow="true" enableURL="true"transitionArray="" socusoftMenu="false"/>
<title_property showTitle="true" photoTitleColor="0x00000000" backgroundColor="0x00c0c0c0" alpha="30" autoHide="true"/>
<music_property path="" stream="true" loop="true"/>
<photo_property topPadding="2" bottomPadding="64" leftPadding="2" rightPadding="2"/>
<properties enable="true" backgroundColor="0x00c0c0c0" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
</global>
<thumbnail>
<basic_property width="40" height="40" thumBackColor="0x002c2c2c" borderColor="0x002c2c2c" thumborder="2" thumSpacing="4" shapeAlpha="60" buttonColor="0x00000000" currentbuttonColor="0x00ffffff"/>
</thumbnail>
</preferences>
<album>
<slide jpegURL="thumbs/mozzie tour 2.jpg" d_URL="slides/mozzie tour 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie Tour 2" width="916" height="334"/>
<slide jpegURL="thumbs/mozzie10.jpg" d_URL="slides/mozzie10.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie10" width="916" height="334"/>
<slide jpegURL="thumbs/snow on hogsback.jpg" d_URL="slides/snow on hogsback.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Snow on Hogsback" width="916" height="334"/>
<slide jpegURL="thumbs/tea time@santa maria.jpg" d_URL="slides/tea time@santa maria.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Tea Time@Santa Maria" width="916" height="334"/>
<slide jpegURL="thumbs/western cape tour knersvlakte.jpg" d_URL="slides/western cape tour knersvlakte.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour Knersvlakte" width="916" height="334"/>
<slide jpegURL="thumbs/western cape tour[2].jpg" d_URL="slides/western cape tour[2].jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour[2]" width="916" height="334"/>
<slide jpegURL="thumbs/bush camp in botswana[2].jpg" d_URL="slides/bush camp in botswana[2].jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Bush Camp in Botswana[2]" width="916" height="334"/>
<slide jpegURL="thumbs/eastern cape tour 2.jpg" d_URL="slides/eastern cape tour 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Eastern Cape tour 2" width="916" height="334"/>
<slide jpegURL="thumbs/hogsback 2.jpg" d_URL="slides/hogsback 2.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Hogsback 2" width="916" height="334"/>
<slide jpegURL="thumbs/mozzie tour.jpg" d_URL="slides/mozzie tour.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Mozzie Tour" width="916" height="334"/>
<slide jpegURL="thumbs/western cape tour.jpg" d_URL="slides/western cape tour.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" url="" title="Western Cape Tour" width="916" height="334"/>
</album>
</flash_parameters>
http://harmonieproteas.co.za/Slideshow/ -
Embedded Flash in PHP - Need help!
Hello everyone!
We're having problems embedding Flash-files into our .php-files, so I thought the best place to ask for help would be the official Flash-forums :-) First of all, I'll let you know what exactly we're doing....
We have a few flash-files which you should only be allowed to view once you're logged in and authenticated to our "portal". You can only view those files over some sort of JavaScript-Popup-Flashplayer thing (personally not too much into JS). The JS-Player requires the flash-files to be available over an exisiting URL (such as http://page.domain/flash/file.swf) - And this is where the whole problem begins...
After hours of research and conversing with my collegues and the project-management, we decided to use the following technique to still keep those URLs for the JS-Player while preventing the user from simply accessing our "top secret flash movies" by typing in the URL in their browser...
We move the Flash-folder to a location outside of our document root -> Flash-files can't be randomly accessed or downloaded via the URL.
We use an Apache-plugin called "mod_rewrite" to rewrite/redirect URLs that look similar to http://page.domain/flash/*.swf to a PHP-file -> We can work with REQUEST_URI to see which flash-file the user wanted to view. Now, inside that PHP file we check wether the user is authenticated or not and either embed the flash-file into the PHP-file or redirect him to an error-page. In theory, the user could still view the flash-file over the URL (without even noticing PHP, since the URL stays http://page.domain/flash/file.swf, hence a perfect fake, no? ;-) ) and everything actually works exactly the way we wanted..........IN FIREFOX!
Now we went live with our application and we had to realise that one of the only things we haven't tested in other browsers (this being one of them) don't work the way we want and instead of viewing/playing the film, we get to see a white window in the JS-Player, while it's trying to download a file called "filename_swf" (underscore instead of dot?) when you access the movie over the URL (http://page.domain/flash/file.swf).
How we embed Flash into PHP:
Headers + outputting the flash-files content....
header('Content-Type: application/x-shockwave-flash');
header('Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1');
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
echo file_get_contents($request);
As I said, this works just fine in Firefox, however we're sure most of our users will be using IE, in which it doesn't work at all. I personally believe we're missing some sort of header or we have to set a different header depending on the browser...so I thought the best place to ask about Flash Headers would be the actual flash forums. Maybe I'm even totally wrong and missing out something crucial and someone can point me in the right direction...
Thanks!Thank you for your help.
I have uploaded the skin to the same directory as the video.
It's now showing. Do I have to reference it on the code?
http://www.custommlmleads.com/test.html
skin :
http://www.custommlmleads.com/VIDEO/SkinUnderPlaySeekStop.swf
Thank you -
Flash and PHP for login status
Hello and thank you in advance for taking the time to read my question.
I currently have a login utility that is the front end of a multi page site. The individual logs in and is then granted access to what ever their "authorization level" is.
I wish to have my Flash website, request the users "authorization level" from our PHP server side script.
I have already constructed a three page timeline, where depending on their "authorization level", they will be forwarded to the page that's matches that level however I'm having a heck of time finding a reasonable place to start.
I have included a visual map of what i'm looking to accomplish as I've always found it easier to see what's being discussed.
Again, thanks in advance for anyone that might be able to help. Additonally, i have attached the image to assist with review as well.
CheersYou will need to send variables to PHP which will in turn send it to MySQL and check for the authorization level and then send back the result to Flash via PHP... I have a very general idea of this whole thing so I won't be able to help you much (I'm still a beginner in AS3), but you can check these places for some good video tutorials on the subject:
http://www.developphp.com/Flash_tutorials/
htttp://www.gotoandlearn.com
and there's also some good tutorials on Cartoon Smart.
Good luck! -
Saving XML from Flash XML.sendAndLoad
I'm new to XML and haven't a clue how to integrate Flash xml
and Coldfusion 7. There is a Flash app ( I didn't develop it) that
is sending xml.sendAndLoad formatted data like this to a cf page
setSummaryQuiz.cfm
<?xml version="1.0" encoding="UTF-8"?>
<result lessonID="19" userID="56">
<word id="281" value="1" />
<word id="282" value="1" />
<word id="283" value="5" />
<word id="284" value="5" />
<word id="285" value="3" />
<word id="286" value="7" />
<word id="287" value="3" />
<word id="288" value="8" />
<word id="289" value="7" />
<word id="290" value="4" />
<word id="291" value="8" />
<word id="292" value="2" />
<word id="293" value="5" />
<word id="294" value="4" />
<word id="295" value="1" />
<word id="296" value="4" />
<word id="297" value="8" />
<word id="298" value="1" />
<word id="299" value="7" />
<word id="300" value="1" />
</result>
My page is supposed to return saved = true or false like
this:
<? xml version = " 1.0" encoding = "UTF-8"?>
<result saved = "true"/>
Can someone help me or point me to a tutorial or code snippet
where I can see how CF reads and parses the XML data from
Flash?In ASP setting the response type to "text/xml" you can do a
response.write command to send back XML to Flash if you were
performing an XMLSendAndLoad command ie. send XML from Flash,
processed by ASP and receive an XML response from the ASP - good
for Flash to know if something worked or an error resulted in
processing the info. -
Flash XML Slideshow - Load next image after set amount of time
I'm creating flash xml slideshow and have managed to get the
images to load from the XML file. What I want to do now is have a
timer that loads the next image after x amount of seconds. Any help
would be great.
Code sample
stop();
// Create XML Object
slideshow_xml = new XML();
// Start slideshow once XML file is loaded
slideshow_xml.onLoad = startSlideShow;
//Load XML file
slideshow_xml.load("slideshow.xml");
//Ignore Whitespace in XML Document
slideshow_xml.ignoreWhite = true;
//Create Function for Slideshow - Shows first slide and
initalises variables
function startSlideShow(success) {
if (success == true) {
rootNode = slideshow_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpgURL;
slideText = newSlideNode.firstChild.nodeValue;
loadMovie(imagePath, loadTarget);
}Ok I've managed to get most of this working including the
alpha fade in. I haven't been able to get the images to fade out
(fadeImageOut function) so if someone can tell me what I'm doing
wrong. Also should I have some sort of preloader function for when
each image loads? and if so any pointers, then it should be done
except that I might need to add some text for each image in the XML
file.
stop();
var container:MovieClip =
this.createEmptyMovieClip("container", this.getNextHighestDepth());
var loader1:MovieClip = this.createEmptyMovieClip("loader1",
this.getNextHighestDepth());
var loader2:MovieClip = this.createEmptyMovieClip("loader2",
this.getNextHighestDepth());
container._x = 0;
container._y = 0;
function fadeImageIn() {
var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
mx.transitions.easing.Regular.easeIn, 0, 100, 1.5, true);
loadmovie(imagePath, loader1);
function fadeImageOut(loader1) {
var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
mx.transitions.easing.Regular.easeOut, 100, 0, 1.5, true);
unloadMovie(loader1);
// Create XML Object
slideshow_xml = new XML();
// Find out what this does
slideshow_xml.onLoad = startSlideShow;
//Load XML file
slideshow_xml.load("slideshow.xml");
//Ignore Whitespace in XML Document
slideshow_xml.ignoreWhite = true;
//Create Function for Slideshow - Shows first slide and
initalises variables
function startSlideShow(success) {
if (success == true) {
rootNode = slideshow_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpgURL;
slideText = newSlideNode.firstChild.nodeValue;
//loadMovie(imagePath, loader1);
fadeImageIn();
function nextSlideImage() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
rootNode = slideshow_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
slideTimer = setInterval(nextSlideImage, 5000); -
I have downloaded a flash-xml template which is working
perfectly in my PC, but when I upload it to a hosting server, the
data (coming from the XML file) is incomplete!! The data
corresponding to the menu doesn't appear, as well as the titles of
the different pages, however the main text is there. Crazy to me.
I found an identical webpage which is working fine (
http://www.nullsetinteractive.com),
but after extracting it with Teleport, and uploading it again in my
hosting server, the same problem appears!!
Check
http://andresbrugger.byethost12.com/page/index.htm
to see how it looks like).
I tried many hosting servers, but this seems to not be the
problem.
Any idea why this could be happening?
You are my last chance...thx.I have downloaded a flash-xml template which is working
perfectly in my PC, but when I upload it to a hosting server, the
data (coming from the XML file) is incomplete!! The data
corresponding to the menu doesn't appear, as well as the titles of
the different pages, however the main text is there. Crazy to me.
I found an identical webpage which is working fine (
http://www.nullsetinteractive.com),
but after extracting it with Teleport, and uploading it again in my
hosting server, the same problem appears!!
Check
http://andresbrugger.byethost12.com/page/index.htm
to see how it looks like).
I tried many hosting servers, but this seems to not be the
problem.
Any idea why this could be happening?
You are my last chance...thx. -
How can I have xml/php feed text to a flash multipage banner?
Hi guys,
Wondering if you could help me on this one...
I've made a few sites a few years ago with flash CS3/AS2 and using the TextArea as an output for xml content. that really sucked and looked terrible as it flashed white everytime it was loading (especially on slow connections). so I don't want to go that route again. no thank you sir!
ok, so I have a banner that has 3 text elements per page (with various graphics per page behind the text) ...all text needs to be live as it is fed by 3 different languages. (referably the image link too)
1. consistant big title across 8 pages
2. sub-title that changes per page
3. paragraph of text per sub-title
4. the background image
Each of the 8 "slides" lasts about 6 seconds each (this part im fine with and sorted in AS2...but not AS3). On the top left are 8 numbered buttons that a user can click on to view whichever "slide" they may have missed or whatever. (this part i'm ok with....just the external text and formating are the issue)
how would i go about setting this up via dynamic text with either XML or PHP in CS4/AS3? (using dynamic text fields, but so its nicely formated).
any extended info or some links to modern tutorials would be a great help.
thanks
ThaliThe main question is how do I separate the text that is needed for the different pages?
so screen one:
1. screen one title
screen one description text goes here
then you click the button "2" and it displays:
2. screen two title
screen two description text goes here
etc.
Maybe you are looking for
-
Is it just me???
Ok, I know this has been discussed probably millions of times... but I'm going to throw it back out there one more time. This COMPRESSION thing *****!!! It is a broken system. It should never be this difficult to get a decent end product. How do the
-
8610 Printing PDFs very slowly
I just got this printer and hooked it up and it prints fine except when i attempt to print PDF's its super slow. Maybe a page a minute. I did print one PDF that was fast then the rest have been slow. Is there a known issue for this or is it just user
-
Only wireless B mode works properly?
Okay, so I have an iPhone 5 and the Wifi speeds are ridiculously slow, unless I set my router to wireless b mode only. I wouldn't even bother with that, if it weren't for the fact that wireless b only supports a max speed of 11Mbps. So, I really need
-
why did apple let verizon in on apple the people dont no anything at all about iphones and to me worthless,they wern't very helpful when i asked them about helping with my phone,and apple should of tried to help me out a little more than they did, it
-
How to set Flash Player to use alternate sound device?
How is the Flash Player configured to use a different sound output device? The default sound device goes to small speakers on the computer. There is an alternate sound device that connects to a high quality audio system via SPDIF. I don't want to set