PDA

View Full Version : problem importing my scaleform hud



daimaku
09-27-2010, 02:27 PM
hello, i'm having problems importing my scaleform hud, the problem is with the september update, i have imported it in july and august updates without any problems.

the problem is, in my flash file i have all my assets in psd format (photoshop), in the other updates (july and august) when i have clicked to import the swf file into the content browser, the udk have imported my swf and all the assets, now when i 'm trying to import the swf file the udk only import the swf file, the assets are not imported, this mean when i try to run the game the engine just crash because the udk don't find any assets for the hud.

but in the first time when i have moved all my project from july to september update, all have worked just fine, but today i have modified my hud and tried to imported again into the content browser and find this issue.

somebody can help me with this ? some advice to solve this situation?

thank you in advance for your help ....

Nate Mitchell
09-28-2010, 11:02 AM
Ensure that you have no JPEGs embedded in your SWF files. This could cause the export/import process to fail, which could result in a SWF that crashes the engine.

Also, double-check that you are following all of image and import pipline guidelines detailed on the UDN: https://udn.epicgames.com/Three/Scaleform#Import Pipeline

FlowState
09-28-2010, 12:13 PM
Just by way of commiseration: I first had all my images brought into Flash via Illustrator files (.ai) and Photoshop files. I had some issues with the import, and in the content browser, all I saw was my swf, and one "baked" texture. I then did the busy work of moving vectors to photoshop, and chopping and saving my individual images (in base2 png). Once I reimported and set up the movie clips again, it worked.

I'm not really sure if there's a direct solution there, but that's how I did it. My theory is the less working parts (flash imports of .psd's and .ai's) you have, the less chance of failure.

daimaku
09-28-2010, 06:06 PM
Nate Mitchell i can't read the document that you have posted, but in fact i don't have any JPEG pictures in the flash file, only PSD files, i have read something about the assets must be in PNG format, but i have change two or three pictures from PSD to PNG in the flash file to see if in that way the udk will import the PNG pictures, i have tried to import the hud again and nothing happend, still the same ...

i will try changing all the pictures to PNG format and i will post here the result, thank you for your replies.

FlowState
09-29-2010, 12:20 AM
Oh, and before you bash your head in with your keyboard, make sure you've reimported and saved your package between tests.

Otherwise, you'll feel like a fool. Not that I ever did that.... a friend told me. :D

Doublezer0
09-29-2010, 06:02 AM
heh ive loaded up udk many times and wondered for a second why my changes havent updated doing this. only since the new file structure though. its fun its an "omg its not funny" kinda way :)

Matt Doyle
09-29-2010, 10:28 AM
The document is here: http://udn.epicgames.com/Three/ScaleformImport (http://udn.epicgames.com/Three/ScaleformImport)

daimaku
10-03-2010, 09:32 PM
hello again, now is working, i have changed all the asset of my HUD from psd files to png files, and now is working, thank you for the tips ...