Php :: Flash Integration Inconsistencies?
Jul 1, 2010
I am having some consistency problems with my flash application, when I echo out variables for flash to get, it doesn't always pick up what PHP is sending, it seems to vary from PC to PC.I am getting info from a database, and I need to pass it to flash, say for instance I need to send through 5 variables $uid,$name,$points,$from,$page , how could I go about sending these from PHP to flash using AMFPHP?
View 2 Replies
Similar Posts:
Mar 22, 2012
We have multiple people working on a single project (and often even a single FLA), everyone's using Flash CS5.5 but some users are running Windows whilst others OSX. I've noticed that some Fonts appear differently when moving a FLA from OSX to Windows or vice versa. In particular, the vertical gutter will often be larger on Windows and sometimes even the leading will be significantly increased.
Published SWFs appear fine across both systems, it's only when you edit an unpublished FLA in the IDE or re-publish it that you notice the difference. I'll also add that this doesn't occur across all fonts and as far as I'm aware, I've only noticed it on the OTF file type (the Helvetica Neue LT family is one such example). And of course, all users have installed the same version of the font.
The problem exists regardless of whether the TextField has been added to the editor or programatically. TLF TextFields don't appear to exhibit this problem, however, we already have an extensive library built up that utilises the old TextField class so migrating to TLF isn't preferable.
This is incredibly frustrating as files move back and forth frequently and it basically boils down to telling users of one OS to ignore the alignment issues because they won't exist when published from the other system. Does anyone have any theories as to why this could be happening or how to get around it?
View 1 Replies
Apr 14, 2010
Does anyone have any clue why the formatting of the contents of a .txt file dumped into a TextField would differ when the same file is loaded locally (during testing) versus remotely (when the project is deployed on a server)?The .txt file has simple HTML formatting that is set by a stylesheet (creating 100% in Flash, so it's not a stylesheet issue), but the paragraph breaks are much bigger when viewed online versus when tested locally.
View 4 Replies
May 13, 2009
I have a set of dynamic textfields created and loaded with text at runtime. When I go to print them they print OK but on close inspection you can see that the printed version has words dropping down a line compared to the version on the screen!
I have tried different align settings for the text, system fonts and embedded fonts, cacheAsBitmap the textfields, printAsBitmap=true option, all to no effect.
The only thing that has worked is by drawing the texfields to a bitmapdata and printing that instead. This produces an exact copy of the screen version but the printed quality is very bad and unacceptable.
I'm pretty sure its not a procedural error in my code as the bitmapdata version is made in the same flow. So could it be a quirk in Textfield or TextFormat, or a quirk in PrintJob?
View 1 Replies
Feb 6, 2010
I'm trying to build a calculator in Flex / actionscript 3 but have some weird results using the class Math :
trace(1.4 - .4); //should be 1 but it is 0.9999999999999999
trace(1.5 - .5); //should be 1 and it is 1
trace(1.444 - .444); //should be 1 and it is 1
trace(1.555 - .555); //should be 1 but it is 0.9999999999999999
I know there are some issues with floating point numbers, but as you can see, it should at least fail for all of my examples, am I right?How the problem is solved in other calculators and how should I proceed in order to build a usable calculator in Actionscript 3 .
View 3 Replies
Jan 1, 2010
I have a video player that is currently using XML for its video library which is all fine and dandy. Now I have some developers working on a CMS type page in PHP that is going to hopefully pass some sort of information to my player that will let it know where the video is stored on our server. Is there a way to do this without using FMS? If so does anyone have ideas where I can find the information for it.
View 2 Replies
Nov 12, 2007
I'd like to create one empty Flash movie that is essentially a placeholder for externally loaded content I can change through XML. This content would just be able to randomly load 1 of 3 photos, with a button linking to a website within each of the photos on page load. If the user refreshes the page, a new photo with it's link would appear, but I understand since it's random,having 3 images the same image is likely to reappear, but I can always add additional photos and links.
Does anyone know of a tutorial that might lead me on the correct path to create this? I've found some tuts, but they've been different than my need.
View 2 Replies
Feb 1, 2007
We want to be able to upload over 100+ files (if needed) to a server along with desc + keywords. I see that Flash 8 has the neccessary tools to handle file uploading, but my question is, can we have it act as a Stand alone FTP program so that we can utilize the fastest user upload, or will we be confined to the settings in the server INI settings.IE MAX_UPLOAD_TIME,MAX_FILESIZE, etc. If possible we want to avoid using the HTTP upload as it is noticeably slower. So if we can use flash to utilize user BW to upload, then that would be ideal.
View 1 Replies
May 21, 2009
I want to ask if these theory is possible in Actionscript 3.0.Basically, whenever accessing an xml file in actionscript 3 we use this var xml FilePath: String = "../XML/XmlFileName.xml" or we could declare a url.I want to ask if it is possible to declare an xml file that accesses variables from vb Instead of declaring the path, we pass a variable in vb instead ? I want the xml to be dynamic instead of being hardcoded.
View 1 Replies
Jan 26, 2011
Is there an alternative to using JavaScript to send information to a SWF at runtime?
I have file uploader written in AS3 which does not seem to be getting updates on file upload progress, etc.
View 2 Replies
Dec 2, 2010
I am currently making a website using Flash as the UI and asp.net as the backend. I managed to pass variable to flash to asp and viceversa using loadVariableNum and I found here on some thread explaining the loadVar but unfortunately I was unable to run it don't know why. So what I'm going to ask is could someone explain or give me an example using the loadVar and second how to pass and receive an array in flash and asp ?
View 5 Replies
Jul 14, 2006
I have a flash8 object embedded in a VB.net form. I use GetVariable and SetVariable from VB to get and set variables in the flash movie. This works great until you try to do a GetVariable on a variable in the movie that hasn't been defined. I would expect it to return 'undefined' or 'null', but instead my VB app becomes stuck, seemingly waiting for the GetVariable response... I tried to do a TypeOf check to see if a null is returned, but no luck with that either.
View 1 Replies
Jun 24, 2006
Using Flash 8 & Freehand 11
Whenever I try to copy an object from Freehand into flash,either with Copy&Paste or with Import, My Flash crashes (closes without any msg)
View 1 Replies
Oct 27, 2006
Is it possible to develop original content with Actionscript using bespoke question formats and transfer this to a LMS. I have just developed lots of script without using the question templates & feel that it has been a waste if I cannot make it SCORM compliant. The alternative is that I switch off so much of the functionality and just use the question templates but it will make so much of it bland.
View 1 Replies
Jul 14, 2006
I have a flash application which contains a "dynamic text"with a var name "myVar" and an instance name "dt_txt".I have a button to which I attached the code:
____________________________________
on (release) {
var lv = new LoadVars();
lv.load ("[code].............
View 2 Replies
Oct 26, 2007
I`ve got a .php script that contains html that loads up my.swf file. The .swf file is the core of my site. What I want toknow is if I can call some PH functions (that I have wrote in the.php script) from within the .swf file... This functions wouldperform the reading and updating of my database. The only way I know of to modify a database from Flash isusing the POST and GET methods. But that opens up a new browserwindow in which the PHP script is called. And that only handleswriting in the database. So, what if I just want to read from the
View 2 Replies
Dec 11, 2007
I have got to send sth by ASP in Flash. I wrote some code but this doesnt work.[code]If I just click on email. asp without Flash, I will get a email from there. But if I use the above method to call that page, the email wont be sent. So do anyone know what wrong?
View 3 Replies
Jun 26, 2006
I have heard that there are ways that Flash can create an external XML file. Most of my searches have revealed that this can be done using PHP for server side solutions. However, I am wondering if there are other ways that this can be done on a local maching, using the XML resolver for example. There doesn't seem to be much information about this out there.
View 1 Replies
Apr 17, 2007
I create an xml in flash and want to save it on the server. i user my_xm.send("script.php"); to send the created xml, but don't know how to handle it in PHP in order to save the file on the disk.
View 2 Replies
Mar 30, 2007
Im making a three related VB program and i want to integrate them into one package, for the easier access and navigation on those program, I make a flash file which serves as interface or menu for the navigation. My problem is how to call or run on those program in just one click of a flash button, i want to run the exe program not the installer. I mean if I install the program that I made in the VB on my PC, there must a menu to choose on the three program. I try to use the geturl and it works but there is prompt(popup message for to choose run and save. I want if i click the button, it will go directly on the application.
View 1 Replies
Mar 10, 2009
I stayed out of the picture as long as I could ..because Ifigured there would be confusion and consternation as Adobe assimilated Macromedia's products.Here I am with Adobe Illustrator and Flash CS3,and the disconnect between the two is astonishing! I'll attribute some of my unfamiliarity to my recent involvement with Flash, but still,the vector pen tools operate soooo differently. Furthermore,selected anchor points are black in Illustrator and hollow in Flash polar opposites! The respective tool bars look similar, but often the selected tool behaves in a distinctly different manner, and the palette serves up dissimilar options.
Go the path of least resistance. I'll do my vector work in Illustrator, my workhorse tool of choice,then paste or import into Flash. But then gradients look like poo.Pfffff. (If anyone knows,what IS the problem with Illustrator-to Flash gradients. Is it that Flash Player is still too heavily based on Macromedia technology? i.e. the PostScript is OK but FlashPlayer doesn't render it well?)So, enough rant ...
What are the chances that Illustrator and Flash are better aligned in CS4, at least as far as object compatibility and similaar vector pen tool behavior? I can probably deal with the rest.
View 4 Replies
Jun 6, 2006
i am creating a dynamic site that pulls all of its content from and access database. i would like to make the entire page in flash. i have never used flash to pull any content from a datbase before.i can only seem to find tutorials for flash 8 or flash 5,nothing for mx2004.
View 4 Replies
Aug 27, 2008
Are there any really important things I need to know when building a Flash header for a Joomla website? Will the header need to be scalable? Can I use bitmaps? Are there any restrictions when developing for a Joomla site like AS2 only?
View 2 Replies
Sep 29, 2008
in loading an XML List intoFlash CS3.
View 1 Replies
Jun 26, 2010
I am making a site in php, however the menu in header is made in flash.Until now working, taking variables from php, but now is the site of two languages and having to take an array of php (texts in the menu (flash) must be read from the php file). My question is how to make Flash (action script 2) to read this array in php.
PHP Code:
get Object ( [query] => Array ( )
[pages] => Array ( [0] => Array ( [id] => 1 [language_id] => 1 [menu] => Home )
[1] => Array ( [id] => 2 [language_id] => 1 [menu] => Products )[code]..........
View 2 Replies
Jan 6, 2011
I am looking out for an swf output for my course.
1) Screen 1: A user login Screen - Once i enter my user name and password i will enter into the Screen 2
2) Screen 2: Screen 2 Displays with my User name on Top and Frame out looks like Course Lessons under the course
1)
2)
3)....
Towards the right side i want to view whether the lesson is Completed/Not Started/In Progress (which has to call from the database) followed with Date and Duration.
(To make this output format what do we need to use like.. flash, xml,sql database...)
View 1 Replies
Feb 3, 2011
I used TortoiseSvn for source control in my flash projects. I recently upgraded from cs3 to cs5 and I like the new project window but was curious if anyone knows of an svn plug-in that would work inside the project window? My google-foo has failed me in this matter.
View 1 Replies
Oct 17, 2011
i need to know how can we integrate or code a flash program into my android app.I would like to see a source code for reference if anyone has done coding in android containing flash into it,
View 1 Replies
Sep 22, 2009
i have to make a database in microsoft access and i need to connect it to flash, i have been looking for tutorials but can't find any for as3.
View 5 Replies
Jun 21, 2011
Is there a nice way to integrate several air apps into one Showcase Application, without having to modify the original Air App Code to fit into the Showcase ?Without necessary modifcations it would be possible to easy update the containtng app.
View 2 Replies